]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
De-warning a few stubs.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4bee4cd9
RM
12014-12-04 Roland McGrath <roland@hack.frob.com>
2
3 * io/openat64.c: #include <libc-internal.h>
4 (__openat64): Prototypify. Use ignore_value on MODE.
5 * io/openat.c: Likewise.
6 * misc/reboot.c: #include <libc-internal.h>
7 (reboot): Prototypify. Use ignore_value on HOWTO.
8 * misc/ptrace.c: #include <libc-internal.h>
9 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
10
84dbedb6
JM
112014-12-04 Joseph Myers <joseph@codesourcery.com>
12
13 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
14 XPG4, UNIX98 and XOPEN2K.
15 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16 Remove variable.
17 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18
b7a3e1c4 192014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 20
af50dfc1 21 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
22 * libio/iofopen.c: Likewise.
23 * libio/wfileops.c: Likewise.
24
fe8b4d98
SP
25 [BZ #17653]
26 * libio/fileops.c (_IO_new_file_underflow): Unset cached
27 offset on EOF.
28 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
30 (fgets_func): Function pointer to fgets and fgetws.
31 (do_ftell_test): Add test to verify ftell value after read
32 EOF.
33 (do_test): Set fgets_func.
34
61b4f792
SP
35 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36 O_TRUNC flag for w and w+ modes.
37 (do_rewind_test): Likewise.
38 (do_ftell_test): Likewise.
39 (do_write_test): Likewise.
40
be349d70
SP
41 [BZ #17647]
42 * libio/fileops.c (do_ftell): Seek only when there are
43 unflushed writes.
44 * libio/wfileops.c (do_ftell_wide): Likewise.
45 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
46 test case.
47 (do_one_test): Call it.
48
e3d6dba5
JM
492014-12-03 Joseph Myers <joseph@codesourcery.com>
50
51 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
52 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
53 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
54 Remove variable.
55 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
56 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
57 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
58
7f994279
JM
592014-12-02 Joseph Myers <joseph@codesourcery.com>
60
28a91e8f
JM
61 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
62 Remove variable.
63 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
64
7f994279
JM
65 [BZ #17668]
66 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
67 as weak alias of __getifaddrs. Use libc_hidden_weak.
68 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
69 __freeifaddrs. Use libc_hidden_weak.
70 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
71 define as weak alias of __getifaddrs. Use libc_hidden_weak.
72 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
73 __freeifaddrs. Use libc_hidden_weak.
74 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
75 __getifaddrs and define as weak alias of __getifaddrs. Use
76 libc_hidden_weak.
77 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
78 __freeifaddrs. Use libc_hidden_weak.
79 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
80 Remove variable.
81 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
82 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
83
bbe4c142
PJ
842014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
85
86 [BZ #17601]
87 * sysdeps/mips/start.S (__start): Use indirect jump to call
88 __libc_start_main.
89
66cadc05
JM
902014-12-02 Joseph Myers <joseph@codesourcery.com>
91
909e16d9
JM
92 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
93
4e0b9016
JM
94 * nptl/tst-mutex1.c: Include <stdbool.h>.
95 [!ATTR] (ATTR_NULL): New macro.
96 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
97 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
98 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
99
b1aff6a4
JM
100 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
101 to char *.
102
266865c0
JM
103 [BZ #17665]
104 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
105 Change conditional to [__USE_MISC].
106
84e5e756
JM
107 [BZ #17664]
108 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
109 fgets_unlocked.
110 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
111 __fgets_unlocked.
112 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
113 fgets_unlocked.
114 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
115 Remove variable.
116 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
117 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
118 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
119 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
120 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
121 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
122 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
123 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
124 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
125
66cadc05
JM
126 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
127
2e8a2de2 1282014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
129
130 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
131 Remove strpbrk objects.
132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
133 (__libc_ifunc_impl_list): Remove strpbrk implementation.
134 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
135 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
136 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
137 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
138
bb2542e0
AZ
139 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
140 Remove strcspn objects.
141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
142 (__libc_ifunc_impl_list): Remove strcspn implementation.
143 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
144 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
145 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
146 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
147
148 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
149 Remove strspn objetcs.
150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
151 (__libc_ifunc_impl_list): Remove strspn implementation.
152 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
153 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
154 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
155 * sysdeps/powerpc/powerpc64/strspn.S: New file.
156
08f1e1d2
JL
1572014-12-01 James Lemke <jwlemke@codesourcery.com>
158
159 [BZ #17581]
160 * malloc/hooks.c
161 (mem2mem_check): Add a terminator to the chain of checking blocks.
162 (malloc_check_get_size): Use it here.
163 (mem2chunk_check): Ditto.
164
a8a7d7d2
RS
1652014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
166
167 * sysdeps/powerpc/powerpc64/strtok.S: New file.
168 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
169
97114a38
CD
1702014-11-29 Carlos O'Donell <carlos@redhat.com>
171
c8dc1727
CD
172 * bits/ioctl-types.h: Indent preprocessor directives correctly.
173
6d03458e
CD
174 * nptl/nptl-init.c: Include libc-internal.h.
175 (__pthread_initialize_minimal_internal): Use ROUND_UP.
176
97114a38
CD
177 * elf/ldconfig.c (search_dir): Expand comment.
178
0e7e69ba
JM
1792014-11-29 Joseph Myers <joseph@codesourcery.com>
180
181 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
182 variable.
183 (linknamespace-symlist-stdlibs-tests): Likewise.
184 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
185 instead of $(objpfx)symlist-stdlibs.
186 (linknamespace-libs-isoc): New variable.
187 (linknamespace-libs): Use $(linknamespace-libs-isoc).
188 (linknamespace-libs-ISO): New variable.
189 (linknamespace-libs-ISO99): Likewise.
190 (linknamespace-libs-ISO11): Likewise.
191 (linknamespace-libs-XPG3): Likewise.
192 (linknamespace-libs-XPG4): Likewise.
193 (linknamespace-libs-POSIX): Likewise.
194 (linknamespace-libs-UNIX98): Likewise.
195 (linknamespace-libs-XOPEN2K): Likewise.
196 (linknamespace-libs-POSIX2008): Likewise.
197 (linknamespace-libs-XOPEN2K8): Likewise.
198 ($(objpfx)symlist-stdlibs): Replace by
199 $(linknamespace-symlist-stdlibs-tests). Use
200 $(linknamespace-libs-$*) as set of libraries.
201 ($(linknamespace-header-tests)): Update dependencies. Use
202 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
203 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
204 * conform/linknamespace.pl: Remove comment about considering
205 definitions of symbols from irrelevant libraries.
206
d8dd0080
L
2072014-11-28 H.J. Lu <hongjiu.lu@intel.com>
208
209 [BZ #13862]
210 * elf/dl-tls.c: Include <atomic.h>.
211 (oom): Remove #ifdef SHARED/#endif.
212 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
213 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
214 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
215 big enough.
216 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
217 * nptl/Makefile (tests): Add tst-stack4.
218 (modules-names): Add tst-stack4mod.
219 ($(objpfx)tst-stack4): New.
220 (tst-stack4mod.sos): Likewise.
221 ($(objpfx)tst-stack4.out): Likewise.
222 ($(tst-stack4mod.sos)): Likewise.
223 (clean): Likewise.
224 * nptl/tst-stack4.c: New file.
225 * nptl/tst-stack4mod.c: Likewise.
226
167da422
B
2272014-11-27 J. Brown <jb999@gmx.de>
228
229 * sysdeps/x86/bits/string.h: Add recent CPUs.
230
9114625b
JM
2312014-11-27 Joseph Myers <joseph@codesourcery.com>
232
6b5189eb
JM
233 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
234 sigblock.
235
49051f8e
JM
236 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
237 feof.
238
9114625b
JM
239 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
240 variable.
241
e7300fef
SL
2422014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
243
244 * nscd/connections.c: Include libc-internal.h because of macro
245 usage ignore_value.
246
1721f0a4
SP
2472014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
248
249 * string/bits/string3.h (__warn_memset_zero_len): Don't
250 declare for gcc newer than 5.0.
251 (memset): Don't test for zero-length __LEN for gcc newer than
252 5.0.
253
be970916
JM
2542014-11-27 Joseph Myers <joseph@codesourcery.com>
255
d88548f4
JM
256 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
257 size_t for %zu format.
258
be970916
JM
259 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
260 difference, not %ju.
261
3b20fd5c
JM
2622014-11-26 Joseph Myers <joseph@codesourcery.com>
263
8915eace
JM
264 * include/libc-internal.h (ignore_value): New macro.
265 * nscd/connections.c (restart): Wrap calls to setuid and setgid
266 with ignore_value.
267
f1a5a0e3
JM
268 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
269 definition.
270
59ef1715
JM
271 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
272 pthread_cleanup_push to void *.
273
a6f3079b
JM
274 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
275 Undefine.
276
706688aa
JM
277 [BZ #16619]
278 [BZ #16740]
279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
280 instead of 1L << 52.
281
12da14a5
JM
282 * libio/bug-rewind.c (do_test): Check fwscanf return values.
283 * libio/bug-rewind2.c (do_test): Likewise.
284
bd5dadac
JM
285 * debug/test-stpcpy_chk-ifunc.c: Remove file.
286 * debug/test-strcpy_chk-ifunc.c: Likewise.
287 * wcsmbs/test-wcschr-ifunc.c: Likewise.
288 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
289 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
290 * wcsmbs/test-wcslen-ifunc.c: Likewise.
291 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
292 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
293 * Rules [$(multi-arch) = no] (tests): Do not filter out
294 $(tests-ifunc).
295 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
296 * debug/Makefile (tests-ifunc): Remove variable.
297 (tests): Do not add $(tests-ifunc).
298 * wcsmbs/Makefile (tests-ifunc): Remove variable.
299 (tests): Do not add $(tests-ifunc).
300 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
301 [TEST_IFUNC]: Remove conditionals.
302 * string/test-string.h (TEST_IFUNC): Remove macro.
303 [TEST_IFUNC]: Remove conditionals.
304
3b20fd5c
JM
305 * string/test-strchr.c [!WIDE] (L): New macro.
306 [WIDE] (L): Likewise.
307 (check1): Use CHAR instead of char. Use L on string and character
308 constants.
309
704f7947
AZ
3102014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
311
312 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
313 tests.
314 * sysdeps/powerpc/bits/atomic.h
315 (__arch_atomic_exchange_and_add_32_acq): Add definition.
316 (__arch_atomic_exchange_and_add_32_rel): Likewise.
317 (atomic_exchange_and_add_acq): Likewise.
318 (atomic_exchange_and_add_rel): Likewise.
319 * sysdeps/powerpc/powerpc32/bits/atomic.h
320 (__arch_atomic_exchange_and_add_64_acq): Add definition.
321 (__arch_atomic_exchange_and_add_64_rel): Likewise.
322 * sysdeps/powerpc/powerpc64/bits/atomic.h
323 (__arch_atomic_exchange_and_add_64_acq): Add definition.
324 (__arch_atomic_exchange_and_add_64_rel): Likewise.
325
cdcb42d7
TR
3262014-11-26 Torvald Riegel <triegel@redhat.com>
327
328 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
329 Change synchronization of __sched_fifo_min_prio and
330 __sched_fifo_max_prio.
331 * nptl/pthread_mutexattr_getprioceiling.c
332 (pthread_mutexattr_getprioceiling): Likewise.
333 * nptl/pthread_mutexattr_setprioceiling.c
334 (pthread_mutexattr_setprioceiling): Likewise.
335 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
336 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
337 Likewise.
338
c82f5c0c
JM
3392014-11-26 Joseph Myers <joseph@codesourcery.com>
340
341 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
342 void.
343
439e1ad6
JM
3442014-11-25 Joseph Myers <joseph@codesourcery.com>
345
346 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
347 third argument const.
348
b1eda10e
PE
3492014-11-25 Paul Eggert <eggert@cs.ucla.edu>
350
351 fnmatch: work around GCC compiler warning bug with uninit var
352 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
353 This works around a bug with x86-64 GCC 4.9.2 and earlier
354 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
355 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
356 used uninitialized in this function [-Wmaybe-uninitialized]".
357
bde2667a
JM
3582014-11-25 Joseph Myers <joseph@codesourcery.com>
359
360 * posix/bug-regex31.c (main): Return RES not 0.
361
5fbb5691
AB
3622014-11-25 Anton Blanchard <anton@samba.org>
363
364 * sysdeps/powerpc/bits/atomic.h
365 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
366
467fec0b
BM
3672014-11-24 Sterling Augustine <saugustine@google.com>
368
369 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
370
e9ff8efb
RC
3712014-11-24 Ryan Cumming <etaoins@gmail.com>
372
373 [BZ #17608]
374 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
375
9744496f
JM
3762014-11-24 Joseph Myers <joseph@codesourcery.com>
377
378 [BZ #17633]
379 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
380 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
381 variable.
382 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
383 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
384
6423d475
WD
3852014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
386
387 * string/strncpy.c (strncpy): Improve performance by using memset.
388
3892014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
390
391 * string/strcpy.c (strcpy):
392 Improve performance by using strlen and memcpy.
393
5d178c37
LH
3942014-11-24 Leonhard Holz <leonhard.holz@web.de>
395
396 * string/strcoll_l.c (get_next_seq): __always_inline.
397 * string/strcoll_l.c (do_compare): __always_inline.
398
279bc5b3
SP
3992014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
400
7a9ebfa1
SP
401 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
402 defined.
403 * include/mqueue.h: Likewise.
404 * include/stdlib.h: Likewise.
405
4f41c682
SP
406 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
407 (get_null_defines): Adjust.
408 * sunrpc/Makefile: Adjust comment.
409 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
410 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
411 (CFLAGS-interp.c): Likewise.
412 (CFLAGS-ldconfig.c): Likewise.
413 (CPPFLAGS-.os): Likewise.
414 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
415 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
416 * extra-modules.mk (extra-modules.mk): Likewise.
417 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
418 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
419 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
420 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
421 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
422 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
423 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
424 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
425 * iconvdata/Makefile (CPPFLAGS): Likewise.
426 (cpp-srcs-left): Add libof for all iconvdata routines.
427 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
428 * include/assert.h: Likewise.
429 * include/ctype.h: Likewise.
430 * include/errno.h: Likewise.
431 * include/libc-symbols.h: Likewise.
432 * include/math.h: Likewise.
433 * include/netdb.h: Likewise.
434 * include/resolv.h: Likewise.
435 * include/stdio.h: Likewise.
436 * include/stdlib.h: Likewise.
437 * include/string.h: Likewise.
438 * include/sys/stat.h: Likewise.
439 * include/wctype.h: Likewise.
440 * intl/l10nflist.c: Likewise.
441 * libidn/idn-stub.c: Likewise.
442 * libio/libioP.h: Likewise.
443 * nptl/libc_multiple_threads.c: Likewise.
444 * nptl/pthreadP.h: Likewise.
445 * posix/regex_internal.h: Likewise.
446 * resolv/res_hconf.c: Likewise.
447 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
448 * sysdeps/arm/memmove.S: Likewise.
449 * sysdeps/arm/sysdep.h: Likewise.
450 * sysdeps/generic/_itoa.h: Likewise.
451 * sysdeps/generic/symbol-hacks.h: Likewise.
452 * sysdeps/gnu/errlist.awk: Likewise.
453 * sysdeps/gnu/errlist.c: Likewise.
454 * sysdeps/i386/i586/memcpy.S: Likewise.
455 * sysdeps/i386/i586/memset.S: Likewise.
456 * sysdeps/i386/i686/memcpy.S: Likewise.
457 * sysdeps/i386/i686/memmove.S: Likewise.
458 * sysdeps/i386/i686/mempcpy.S: Likewise.
459 * sysdeps/i386/i686/memset.S: Likewise.
460 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
461 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
462 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
463 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
464 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
465 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
466 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
467 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
468 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
469 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
470 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
471 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
472 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
473 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
474 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
476 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
477 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
478 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
479 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
480 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
481 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
482 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
483 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
484 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
486 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
487 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
488 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
489 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
490 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
496 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
497 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
498 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
499 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
500 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
501 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
502 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
503 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
504 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
505 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
506 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
507 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
508 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
509 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
511 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
512 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
513 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
514 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
515 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
516 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
517 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
518 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
520 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
521 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
522 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
523 * sysdeps/nptl/bits/libc-lock.h: Likewise.
524 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
525 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
526 * sysdeps/posix/closedir.c: Likewise.
527 * sysdeps/posix/opendir.c: Likewise.
528 * sysdeps/posix/readdir.c: Likewise.
529 * sysdeps/posix/rewinddir.c: Likewise.
530 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
531 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
533 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
534 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
535 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
536 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
538 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
539 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
540 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
541 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
542 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
543 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
544 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
545 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
546 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
547 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
549 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
550 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
551 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
552 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
553 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
554 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
556 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
561 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
563 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
565 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
566 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
567 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
568 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
569 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
570 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
571 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
572 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
574 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
575 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
576 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
577 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
578 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
579 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
580 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
581 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
582 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
583 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
584 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
587 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
588 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
589 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
591 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
592 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
593 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
594 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
596 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
597 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
598 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
599 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
600 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
601 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
602 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
603 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
604 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
605 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
606 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
607 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
608 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
609 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
610 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
614 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
615 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
616 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
617 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
618 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
620 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
621 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
622 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
625 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
626 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
628 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
629 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
630 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
631 * sysdeps/unix/alpha/sysdep.S: Likewise.
632 * sysdeps/unix/alpha/sysdep.h: Likewise.
633 * sysdeps/unix/make-syscalls.sh: Likewise.
634 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
635 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
636 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
637 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
638 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
639 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
640 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
641 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
642 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
643 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
644 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
645 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
647 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
648 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
649 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
650 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
651 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
652 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
653 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
654 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
655 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
656 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
657 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
658 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
659 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
660 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
663 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
664 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
665 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
668 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
672 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
673 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
674 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
675 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
676 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
677 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
678 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
681 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
684 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
685 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
686 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
687 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
688 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
689 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
690 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
692 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
693 * sysdeps/x86_64/memcpy.S: Likewise.
694 * sysdeps/x86_64/memmove.c: Likewise.
695 * sysdeps/x86_64/memset.S: Likewise.
696 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
698 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
699 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
700 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
703 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
704 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
705 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
706 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
708 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
709 * sysdeps/x86_64/multiarch/memset.S: Likewise.
710 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
711 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
712 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
713 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
714 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
715 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
716 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
717 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
720 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
721 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
722 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
723 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
724 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
725 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
726 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
727 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
728 * sysdeps/x86_64/strcmp.S: Likewise.
729
76ca86a5
SP
730 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
731
a3848485
SP
732 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
733 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
734 * elf/rtld-Rules: Likewise.
735 * elf/setup-vdso.h: Likewise.
736 * include/assert.h: Likewise.
737 * include/bits/stdlib-float.h: Likewise.
738 * include/errno.h: Likewise.
739 * include/sys/stat.h: Likewise.
740 * include/unistd.h: Likewise.
741 * sysdeps/aarch64/setjmp.S: Likewise.
742 * sysdeps/alpha/setjmp.S: Likewise.
743 * sysdeps/arm/__longjmp.S: Likewise.
744 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
745 * sysdeps/arm/setjmp.S: Likewise.
746 * sysdeps/arm/sysdep.h: Likewise.
747 * sysdeps/generic/_itoa.h: Likewise.
748 * sysdeps/generic/dl-sysdep.h: Likewise.
749 * sysdeps/generic/ldsodefs.h: Likewise.
750 * sysdeps/i386/dl-tls.h: Likewise.
751 * sysdeps/i386/setjmp.S: Likewise.
752 * sysdeps/m68k/setjmp.c: Likewise.
753 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
754 * sysdeps/mach/hurd/opendir.c: Likewise.
755 * sysdeps/posix/getcwd.c: Likewise.
756 * sysdeps/posix/opendir.c: Likewise.
757 * sysdeps/posix/profil.c: Likewise.
758 * sysdeps/powerpc/dl-procinfo.h: Likewise.
759 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
760 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
761 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
762 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
763 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
764 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
765 * sysdeps/s390/dl-tls.h: Likewise.
766 * sysdeps/s390/s390-32/setjmp.S: Likewise.
767 * sysdeps/s390/s390-64/setjmp.S: Likewise.
768 * sysdeps/sh/sh3/setjmp.S: Likewise.
769 * sysdeps/sh/sh4/setjmp.S: Likewise.
770 * sysdeps/unix/alpha/sysdep.h: Likewise.
771 * sysdeps/unix/arm/sysdep.S: Likewise.
772 * sysdeps/unix/i386/sysdep.S: Likewise.
773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
774 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
775 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
776 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
778 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
779 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
780 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
781 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
782 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
783 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
784 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
785 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
788 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
791 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
793 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
796 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
797 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
798 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
801 * sysdeps/x86_64/setjmp.S: Likewise.
802
a109996e
SP
803 * include/math.h: Use IS_IN instead of IS_IN_libm.
804 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
805 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
807 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
814 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
815 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
816 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
817 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
818 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
819 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
820 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
821 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
822 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
823 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
824 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
825 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
826 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
827 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
828 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
829 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
830 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
831 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
832 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
833 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
834 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
835 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
836 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
838 Likewise.
839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
840 Likewise.
841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
842 Likewise.
843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
844 Likewise.
845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
846 Likewise.
847 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
848 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
849 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
850 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
851 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
852 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
858 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
859 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
860 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
861 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
862 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
863 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
865 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
866 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
867 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
868 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
871 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
873 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
874
ce9f10f7
SP
875 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
876 * nptl/pthreadP.h: Likewise.
877 * nptl_db/structs.def: Likewise.
878 * sysdeps/arm/sysdep.h: Likewise.
879 * sysdeps/nptl/bits/libc-lock.h: Likewise.
880 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
881 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
882 * sysdeps/unix/alpha/sysdep.h: Likewise.
883 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
884 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
885 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
886 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
887 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
888 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
889 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
890 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
891 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
892 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
893 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
894 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
895 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
896 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
901 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
904 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
905 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
906 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
907 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
908 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
909
016afc75
SP
910 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
911 * nptl/pthreadP.h: Likewise.
912 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
913 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
914 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
915 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
916 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
917 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
918 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
919 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
920 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
921 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
922 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
923 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
925 Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
927 Likewise.
928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
930 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
933 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
934 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
935 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
936
9b42a0b3
SP
937 * dlfcn/dladdr.c: Use IS_IN.
938 * dlfcn/dladdr1.c: Likewise.
939 * dlfcn/dlclose.c: Likewise.
940 * dlfcn/dlerror.c: Likewise.
941 * dlfcn/dlinfo.c: Likewise.
942 * dlfcn/dlmopen.c: Likewise.
943 * dlfcn/dlopen.c: Likewise.
944 * dlfcn/dlsym.c: Likewise.
945 * dlfcn/dlvsym.c: Likewise.
946
85f36372
SP
947 * include/ifaddrs.h: Use IS_IN.
948 * inet/check_pf.c: Likewise.
949 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
950 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
951
fb6784e3
SP
952 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
953 IS_IN_ldconfig.
954 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
955 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
956
2886d2d1
SP
957 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
958 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
959 IS_IN (libc).
960
9a484857
SP
961 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
962
a10178bd
SP
963 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
964 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
965 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
966 * include/libc-symbols.h (IS_IN_LIB): New macro.
967 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
968 * include/netdb.h: Likewise.
969 * include/stap-probe.h: Remove all uses of IN_LIB.
970
279bc5b3
SP
971 * Makeconfig (module-cppflags-real): Define MODULE_NAME
972 instead of IN_MODULE.
973 * include/libc-symbols.h (IN_MODULE): Define using
974 MODULE_NAME.
975 (PASTE_NAME, PASTE_NAME1): New macros.
976 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
977 of IN_LIB.
978 (STAP_PROBE_ASM): Likewise.
979
e0cfa510
ST
9802014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
981
982 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
983 __mach_init in dlopened libc.
984
34d97d87
MF
9852014-11-22 Mike Frysinger <vapier@gentoo.org>
986
987 * sysdeps/arm/preconfigure.ac: Delete EABI check.
988 * sysdeps/arm/preconfigure: Regenerate.
989
33cd1f74
RM
9902014-11-21 Roland McGrath <roland@hack.frob.com>
991
992 * nptl/pthread_create.c (__pthread_create_2_1): Set
993 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
994 when copying values from IATTR into PD.
995
8c230039
WN
9962014-11-21 Will Newton <will.newton@linaro.org>
997 Andrew Pinski <andrew.pinski@caviumnetworks.com>
998
6d3db89b
AP
999 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1000 Refactor inline-asm. Also add comment.
1001
01194ba1
WN
1002 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1003 ElfW macro instead of hardcoded Elf64 types.
1004 (la_aarch64_gnu_pltenter): Likewise.
1005 * sysdeps/aarch64/dl-machine.h
1006 (elf_machine_runtime_setup): Use ElfW(Addr).
1007
8c230039
WN
1008 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1009 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1010 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1011 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1012 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1013 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1014 (R_AARCH64_TLS_DTPMOD): This.
1015 (R_AARCH64_TLS_DTPREL64): Rename to ...
1016 (R_AARCH64_TLS_DTPREL): This.
1017 (R_AARCH64_TLS_TPREL64): Rename to ...
1018 (R_AARCH64_TLS_TPREL): This.
1019 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1020 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1021 R_AARCH64_TLS_TPREL64.
1022 (elf_machine_rela): Likewise.
1023
0d79fa53
TR
10242014-11-21 Torvald Riegel <triegel@redhat.com>
1025
1026 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1027 by setting it to 0. 64b atomics are not supported currently.
1028
b59d114b
AO
10292014-11-21 Alexandre Oliva <aoliva@redhat.com>
1030
1031 [BZ #16469]
1032 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1033 search domain names.
1034
f3d945d5
AO
10352014-11-21 Alexandre Oliva <aoliva@redhat.com>
1036
1037 [BZ #16469]
1038 * NEWS: Update.
1039 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1040 trailing dot.
1041 * posix/tst-getaddrinfo5.c: New.
1042 * posix/Makefile (tests): Add it.
1043
49698902
AO
10442014-11-21 Alexandre Oliva <aoliva@redhat.com>
1045
1046 [BZ #14498]
1047 * NEWS: Fixed.
1048 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1049 after parsing line but before break_if_match.
1050 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1051 if there is a protocol mismatch.
1052
81959214
MS
10532014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1054
1055 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1056 because the potential race is on the user-supplied stream.
1057
7729e0e9
AO
10582014-11-21 Alexandre Oliva <aoliva@redhat.com>
1059
1060 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1061 string literal if not passed a buffer.
1062 * manual/job.texi (ctermid): Update reasoning, note deviation
1063 from posix, suggest mtasurace when not passed a buffer, for
1064 future non-preliminary safety notes.
1065
a4ea5e28
AO
10662014-11-21 Alexandre Oliva <aoliva@redhat.com>
1067
1068 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1069 of not passing it a buffer.
1070 Reported by Peng Haitao.
1071
a2b581cb
AO
10722014-11-21 Alexandre Oliva <aoliva@redhat.com>
1073
1074 * manual/Makefile ($(objpfx)stamp-summary): Require
1075 check-safety.sh to pass.
1076 * manual/check-safety.sh: Wish for verification that every
1077 @deftypefn and @deftypefun is followed by a @safety remark.
1078
f214ff74
RM
10792014-11-20 Roland McGrath <roland@hack.frob.com>
1080
7f0dfae0
RM
1081 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1082
2f531bbb
RM
1083 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1084 PTHREAD_CANCEL_ASYNCHRONOUS.
1085 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1086 send SIGCANCEL.
1087
f214ff74
RM
1088 * nptl/default-sched.h: New file.
1089 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1090 * nptl/pthread_create.c: Include it.
1091 (__pthread_create_2_1): Use collect_default_sched instead of making
1092 Linux syscalls here directly.
1093
e37c91d4
TR
10942014-11-20 Torvald Riegel <triegel@redhat.com>
1095
1096 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1097 __pthread_once): Use C11 atomics.
1098
1eccfecd
TR
10992014-11-20 Torvald Riegel <triegel@redhat.com>
1100
1101 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1102
ff871426
TR
11032014-11-20 Torvald Riegel <triegel@redhat.com>
1104
1105 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1106 atomic_thread_fence_acquire, atomic_thread_fence_release,
1107 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1108 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1109 atomic_compare_exchange_weak_relaxed,
1110 atomic_compare_exchange_weak_acquire,
1111 atomic_compare_exchange_weak_release,
1112 atomic_exchange_acquire, atomic_exchange_release,
1113 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1114 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1115 atomic_fetch_and_acquire,
1116 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1117
1ea339b6
TR
11182014-11-20 Torvald Riegel <triegel@redhat.com>
1119
1120 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1121 USE_ATOMIC_COMPILER_BUILTINS): Define.
1122 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1124 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1126 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1128 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1130 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1132 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1133 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1134 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1135 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1136 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1137 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1138 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1139 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1140 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1141 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1142 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1143 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1144 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1145 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1146 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1147 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1148 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1149 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1150 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1151 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1152 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1153 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1154 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1156 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1157 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1158 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1160 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1162
cbd463e2
RM
11632014-11-19 Roland McGrath <roland@hack.frob.com>
1164
d960211f
RM
1165 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1166 the sched_priority value here. It was already checked when the user
1167 called pthread_attr_setschedparam.
1168
cbd463e2
RM
1169 * nptl/tst-bad-schedattr.c: New file.
1170 * nptl/Makefile (tests): Add it.
1171
a39208bd
CD
11722014-11-19 Carlos O'Donell <carlos@redhat.com>
1173 Florian Weimer <fweimer@redhat.com>
1174 Joseph Myers <joseph@codesourcery.com>
1175 Adam Conrad <adconrad@0c3.net>
1176 Andreas Schwab <schwab@suse.de>
1177 Brooks <bmoses@google.com>
1178
1179 [BZ #17625]
1180 * wordexp-test.c (__dso_handle): Add prototype.
1181 (__register_atfork): Likewise.
1182 (__app_register_atfork): New function.
1183 (registered_forks): New global.
1184 (register_fork): New function.
1185 (test_case): Add 3 new tests for WRDE_CMDSUB.
1186 (main): Call __app_register_atfork.
1187 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1188 fork count is non-zero fail the test.
1189 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1190 is set.
1191 (parse_dollars): Remove check for WRDE_NOCMD.
1192 (parse_dquote): Likewise.
1193
9cd47470
SP
11942014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1195
130ac68c
SP
1196 * Makeconfig (built-modules): List non-library modules to be
1197 built.
1198 (module-cppflags): Include libc-modules.h for
1199 everything except shlib-versions.v.i.
1200 (CPPFLAGS): Use it.
1201 (before-compile): Add libc-modules.h.
1202 ($(common-objpfx)libc-modules.h,
1203 $(common-objpfx)libc-modules.stmp): New targets.
1204 (common-generated): Add libc-modules.h and libc-modules.stmp.
1205 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1206 * include/libc-symbols.h: Don't include libc-modules.h.
1207 * include/libc-modules.h: Remove file.
1208 * scripts/gen-libc-modules.awk: New script to generate
1209 libc-modules.h.
1210 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1211 Depend on libc-modules.stmp.
1212
286663c3
SP
1213 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1214
9cd47470
SP
1215 * Makeconfig (in-module): Get value of libof set for the
1216 translation unit.
1217 (CPPFLAGS): Use $(in-module).
1218 * Makerules: Don't suffix routine names for nonlib.
1219 * include/libc-modules.h: New file.
1220 * include/libc-symbols.h: Include libc-modules.h
1221 (IS_IN): New macro to replace IS_IN_* macros.
1222 * elf/Makefile: Set libof-* for each routine.
1223 * elf/rtld-Rules: Likewise.
1224 * extra-modules.mk: Likewise.
1225 * iconv/Makefile: Likewise.
1226 * iconvdata/Makefile: Likewise.
1227 * locale/Makefile: Likewise.
1228 * malloc/Makefile: Likewise.
1229 * nss/Makefile: Likewise.
1230 * sysdeps/gnu/Makefile: Likewise.
1231 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1232 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1233 * sysdeps/s390/s390-64/Makefile: Likewise.
1234 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1235 CPPFLAGS for nscd instead of nonlib.
1236
32fed10f
RM
12372014-11-18 Roland McGrath <roland@hack.frob.com>
1238
d71035bd
RM
1239 * nptl/createthread.c: New file.
1240
6540b991
RM
1241 * nptl/createthread.c: Moved ...
1242 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1243
32fed10f
RM
1244 * nptl/createthread.c: Add proper top-line comment.
1245 (do_clone): Folded into ...
1246 (create_thread): ... here. Take new arguments STOPPED_START and
1247 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1248 increment __nptl_threads, do event-reporting logic, do
1249 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1250 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1251 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1252 just send SIGCANCEL.
1253 * nptl/pthread_create.c: Forward-declare create_thread before
1254 including createthread.c.
1255 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1256 declaration, and new macro START_THREAD_SELF to replace argument.
1257 Remove return statement.
1258 (report_thread_creation): New function.
1259 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1260 synchronization logic, and __nptl_nthreads increment here, around
1261 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1262 PD->parent_cancelhandling here, before create_thread. When
1263 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1264 __deallocate_stack, and ENOMEM translation here.
1265
107a5bf0
JM
12662014-11-18 Joseph Myers <joseph@codesourcery.com>
1267
1268 [BZ #17616]
1269 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1270 (mptwo): Rename to __mptwo.
1271 (__inv): Use __mptwo instead of mptwo.
1272 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1273 (mptwo): Rename to __mptwo.
1274 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1275 of mpone and __mptwo instead of mptwo.
1276 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1277 instead of mpone.
1278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1279 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1280 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1281 of mpone and __mptwo instead of mptwo.
1282 (__mpranred): Use __mpone instead of mpone.
1283 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1284 variable.
1285 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1286 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1287 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1288 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1289 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1290 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1291 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1292 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1293 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1294 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1295 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1296 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1297 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1298 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1299 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1300 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1301 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1302 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1303 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1304
3b679ab3
TV
13052014-11-18 Tom de Vries <tom@codesoucery.com>
1306
1307 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1308 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1309
13102014-11-17 Richard Henderson <rth@redhat.com>
1311
1312 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1313 (_FP_PACK_RAW_2): Remove.
1314 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1315 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1316 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1317 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1318 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1319 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1320 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1321 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1322 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1323 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1324 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1325 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1326 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1327 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1328 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1329 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1330
0781a777
RM
13312014-11-14 Roland McGrath <roland@hack.frob.com>
1332
1333 * signal/signal.h [__USE_MISC]
1334 (struct sigvec): Remove type.
1335 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1336 (sigvec): Remove declaration.
1337 * sysdeps/posix/sigvec.c: Moved ...
1338 * signal/sigvec.c: ... here, replacing old file.
1339 (struct sigvec): New type, copied from old signal.h definition.
1340 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1341 (__sigvec): Convert definition to prototype.
1342 (sigvec): Replace weak_alias with compat_symbol.
1343 * signal/Versions (libc: GLIBC_2.21): New version set.
1344 * include/signal.h: Remove __sigvec declaration.
1345 * sysdeps/unix/bsd/sigvec.c: Remove file.
1346 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1347 * manual/signal.texi (BSD Handler): Remove subsection.
1348 Move siginterrupt up to ...
1349 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1350 (Blocking in BSD): Fold subsection into its parent.
1351 * NEWS: Mention sigvec removal.
1352
a4733812
JM
13532014-11-14 Joseph Myers <joseph@codesourcery.com>
1354
5ae4fe60
JM
1355 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1356 (DLA_FMS): Make definition conditional only on [__FMA4__].
1357 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1358 definition.
1359
6a0dd472
JM
1360 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1361 Make definition conditional only on [PROF].
1362 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1363 definition.
1364 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1365 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1366
a4733812
JM
1367 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1368 !__GNUC__].
1369 * include/signal.h (__sigpause): Move declaration above call to
1370 libc_hidden_proto.
1371 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1372 variable.
1373 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1374 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1375
cf7246dd
DM
13762014-11-14 David S. Miller <davem@davemloft.net>
1377
1378 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1379 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1380
c1b0aadc
JM
13812014-11-14 Joseph Myers <joseph@codesourcery.com>
1382
4863355a
JM
1383 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1384 * configure: Regenerated.
1385 * manual/install.texi (Tools for Compilation): Document a
1386 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1387 compiler verified to work.
1388 * INSTALL: Regenerated.
1389
c1b0aadc
JM
1390 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1391 redeclare with asm name.
1392 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1393 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1394 including <string.h>.
1395 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1396 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1397 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1398 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1399 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1400 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1401 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1402
2a1cfd94
JM
14032014-11-13 Joseph Myers <joseph@codesourcery.com>
1404
bf438382
JM
1405 * stdlib/strtol.c (__strtol): Use prototype definition.
1406
2a1cfd94
JM
1407 [BZ #17594]
1408 * stdlib/strtol.c (SYM__): New macro.
1409 (SYM__1): Likewise.
1410 (__strtol): Likewise.
1411 (strtol): Rename to __strtol and define as weak alias of
1412 __strtol. Use libc_hidden_weak.
1413
20ed0d26
SL
14142014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1415
1416 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1417 Use numbered labels in inline assembly.
1418
53244a4e
SL
14192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1420
1421 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1422 Add setjmp LIBC_PROBE.
1423 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1424 Likewise.
1425 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1426 Add longjmp, longjmp_target LIBC_PROBE.
1427 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1428 Likewise.
1429
47df8251
SL
14302014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1431
1432 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1433 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1434 to get rid of unused variable warning.
1435
618cebef
SL
14362014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1437
1438 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1439 Check for unwind_backtrace == NULL only in SHARED case.
1440 (__backchain_backtrace): Compile only in SHARED case.
1441 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1442 Likewise.
1443 (__backchain_backtrace): Declare as static.
1444
c6aab2cb
RM
14452014-11-12 Roland McGrath <roland@hack.frob.com>
1446
1447 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1448 (__libc_multiple_threads_ptr): Variable moved ...
1449 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1450
5a6fa4d7
JM
14512014-11-12 Joseph Myers <joseph@codesourcery.com>
1452
24f4f825
JM
1453 * conform/GlibcConform.pm: New file.
1454 * conform/conformtest.pl: Use GlibcConform module.
1455 * conform/linknamespace.pl: New file.
1456 * conform/list-header-symbols.pl: Likewise.
1457 * conform/Makefile (linknamespace-symlists-base): New variable.
1458 (linknamespace-symlists-tests): Likewise.
1459 (linknamespace-header-base): Likewise.
1460 (linknamespace-header-tests): Likewise.
1461 (tests-special): Add new tests.
1462 ($(linknamespace-symlists-tests)): New rule.
1463 (linknamespace-libs): New variable.
1464 ($(objpfx)symlist-stdlibs): New rule.
1465 ($(linknamespace-header-tests)): Likewise.
1466 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1467 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1468 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1469 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1470 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1471 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1472 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1473 (test-xfail-ISO/math.h/linknamespace): Likewise.
1474 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1475 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1476 (test-xfail-ISO/time.h/linknamespace): Likewise.
1477 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1478 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1479 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1480 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1481 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1482 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1483 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1484 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1485 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1486 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1487 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1488 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1489 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1490 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1491 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1492 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1493 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1494 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1495 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1496 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1497 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1498 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1499 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1500 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1501 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1502 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1503 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1504 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1505 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1506 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1507 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1508 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1509 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1510 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1511 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1512 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1513 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1514 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1515 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1516 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1517 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1518 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1519 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1520 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1521 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1522 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1523 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1524 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1525 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1526 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1527 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1528 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1529 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1530 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1531 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1532 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1533 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1534 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1535 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1536 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1537 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1538 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1539 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1540 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1541 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1542 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1543 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1544 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1545 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1546 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1547 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1548 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1549 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1550 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1551 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1552 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1553 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1554 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1555 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1556 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1557 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1558 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1559 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1560 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1561 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1562 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1563 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1564 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1565 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1566 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1567 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1568 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1569 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1570 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1571 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1572 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1573 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1574 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1575 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1576 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1577 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1578 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1579 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1580 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1581 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1582 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1583 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1584 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1585 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1586 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1587 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1588 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1589 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1590 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1591 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1592 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1593 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1594 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1595 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1596 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1597 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1598 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1599 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1600 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1601 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1602 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1603 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1604 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1605 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1606 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1607 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1608 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1609 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1610 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1611 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1612 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1613 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1614 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1615 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1616 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1617 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1618 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1619 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1620 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1621 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1622 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1623 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1624 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1625 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1626 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1627
cc67478e
JM
1628 [BZ #17589]
1629 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1630 of fgets_unlocked.
1631
9975e3d3
JM
1632 [BZ #17585]
1633 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1634 (memmem): Rename to __memmem and define as weak alias of
1635 __memmem. Use libc_hidden_weak.
1636 (__memmem): Use libc_hidden_def.
1637 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1638 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1639 memmem.
1640
c4eae752
JM
1641 [BZ #17582]
1642 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1643 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1644 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1645 and define as weak alias of __fgets_unlocked. Use
1646 libc_hidden_weak.
1647 (__fgets_unlocked): Use libc_hidden_def.
1648 * include/stdio.h (__fgets_unlocked): Declare. Use
1649 libc_hidden_proto.
1650 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1651 __fgets_unlocked instead of fgets_unlocked.
1652 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1653 (GET_NPROCS_CONF_PARSER): Likewise.
1654 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1655 (GET_NPROCS_CONF_PARSER): Likewise.
1656
01cad84e
JM
1657 [BZ #17574]
1658 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1659 weak alias of __wmemset. Use libc_hidden_weak.
1660 (__wmemset): Use libc_hidden_def.
1661 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1662 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1663 of wmemset.
1664
939da411
JM
1665 [BZ #17573]
1666 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1667 with asm name __mempcpy.
1668 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1669
293d9a41
JM
1670 [BZ #17572]
1671 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1672 and define as weak alias of __rawmemchr.
1673 (__rawmemchr): Do not define as strong alias of rawmemchr.
1674
bef8fd60
JM
1675 [BZ #17571]
1676 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1677 alias of __qsort_r.
1678 (qsort): Call __qsort_r instead of qsort_r.
1679 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1680 (__qsort_r): Declare. Call libc_hidden_proto.
1681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1682 instead of qsort_r.
1683 * nscd/gai.c (__qsort_r): Define to qsort_r.
1684 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1685 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1686 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1687
c52ff39e
JM
1688 [BZ #17570]
1689 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1690 define as weak alias of __malloc_info.
1691
2f5c1b00
JM
1692 [BZ #17584]
1693 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1694 as weak alias of __rewinddir. Don't use libc_hidden_def.
1695 (__rewinddir): Use libc_hidden_def.
1696 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1697 as weak alias of __rewinddir. Don't use libc_hidden_def.
1698 (__rewinddir): Use libc_hidden_def.
1699 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1700 weak alias of __rewinddir. Don't use libc_hidden_def.
1701 (__rewinddir): Use libc_hidden_def.
1702 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1703 (__rewinddir): Use libc_hidden_proto.
1704 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1705 rewinddir.
1706 (__getcwd): Use __rewinddir instead of rewinddir.
1707
5a6fa4d7
JM
1708 [BZ #17583]
1709 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1710 alias of __fileno. Use libc_hidden_weak.
1711 (__fileno): Use libc_hidden_def.
1712 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1713 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1714 alias of __ftello.
1715 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1716 __ftello.
1717 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1718 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1719 libc_hidden_def.
1720 (fread_unlocked): Don't use libc_hidden_ver.
1721 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1722 and define as weak alias of __fread_unlocked. Don't use
1723 libc_hidden_def.
1724 (__fread_unlocked): Use libc_hidden_def.
1725 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1726 (ftello): Don't use libc_hidden_proto.
1727 (__ftello): Declare. Use libc_hidden_proto.
1728 (fread_unlocked): Don't use libc_hidden_proto.
1729 (__fread_unlocked): Declare. Use libc_hidden_proto.
1730 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1731 and __ftello instead of fileno, fread_unlocked and ftello.
1732
2581b98e
SP
17332012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1734
1735 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1736 GOT12.
1737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1738 Likewise.
1739 (_dl_start_user): Likewise.
1740 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1741
533bb7c2
SP
17422014-11-12 Carlos O'Donell <carlos@redhat.com>
1743 Siddhesh Poyarekar <siddhesh@redhat.com>
1744
1745 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1746 Move argv and envp down instead of moving argc up.
1747 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1748
fffa1cf8
LH
17492014-11-12 Leonhard Holz <leonhard.holz@web.de>
1750
1751 [BZ #17506]
1752 * test-skeleton.c (main): Return successful if one of
1753 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1754 * string/tst-strcoll-overflow.c: Define expected status.
1755
fb89b46d
TU
17562014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1757
1758 [BZ #17475]
1759 * locale/iso-639.def: Define Bhili and Tulu language codes.
1760
5c40c3ba
AH
17612014-11-11 Alan Hayward <alan.hayward@arm.com>
1762
1763 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1764
b17fe01b 17652014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
1766
1767 [BZ #17555]
1768 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1769
bd805071
AS
17702014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1771
1772 * configure.ac: Updated check of minimal required version to
1773 2.22.
1774 * manual/install.texi (Tools for Compilation): Updated version
1775 number.
1776 * configure: Regenerated.
1777 * INSTALL: Likewise.
1778
1400983e
AS
17792014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1780
1781 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1782 __tls_get_addr.
1783
2c46a66a
JM
17842014-11-07 Joseph Myers <joseph@codesourcery.com>
1785
1786 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1787 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1788 (__waitpid): Don't define as alias. Use libc_hidden_def not
1789 libc_hidden_weak.
1790 (waitpid): Define as alias of __waitpid.
1791 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1792 __waitpid.
1793 (__waitpid): Don't define as alias. Use libc_hidden_def not
1794 libc_hidden_weak.
1795 (waitpid): Define as alias of __waitpid.
1796 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1797 __libc_waitpid alias.
1798 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1799 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1800 Likewise.
1801 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1802 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1803 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1804 alias.
1805 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1806 __waitpid.
1807 (__waitpid): Don't define as alias. Use libc_hidden_def not
1808 libc_hidden_weak.
1809 (waitpid): Define as alias of __waitpid.
1810
da53d6db
CD
18112014-11-06 Carlos O'Donell <carlos@redhat.com>
1812
a2887bdb
CD
1813 * manual/llio.texi: Add comment that write safety has been
1814 fixed in Linux.
1815
da53d6db
CD
1816 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1817 (localplt-build-dso): Add elf/ld.so.
1818 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1819 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1820 and free for ld.so.
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1822 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1824 Likewise.
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1826 Likewise.
1827 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1828 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1829 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1830 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1831 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1832 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1833 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1834 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1835 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1836 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1838
9cf27b8d
JM
18392014-11-05 Joseph Myers <joseph@codesourcery.com>
1840
1841 [BZ #14132]
1842 * include/libc-symbols.h (INTUSE): Remove macro.
1843 (INTDEF): Likewise.
1844 (INTVARDEF): Likewise.
1845 (_INTVARDEF): Likewise.
1846 (INTDEF2): Likewise.
1847 (INTVARDEF2): Likewise.
1848 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1849 rtld_hidden_def instead of INTVARDEF.
1850 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1851 (_dl_starting_up_internal): Remove declaration.
1852 (_dl_starting_up): Use rtld_hidden_proto.
1853 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1854 declaration.
1855 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1856 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1857 _dl_starting_up.
1858 * elf/dl-writev.h (_dl_writev): Likewise.
1859 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1860 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1861 _dl_starting_up_internal.
1862
af83568d
AZ
18632014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1864
1865 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1866 test-skeleton.c.
1867
b01ee67c
WN
18682014-11-05 Will Newton <will.newton@linaro.org>
1869
1870 * benchtests/Makefile: (bench-malloc): Add malloc thread
1871 scalability benchmark.
1872 * benchtests/bench-malloc-threads.c: New file.
1873
be9d4ccc
RE
18742014-11-05 Richard Earnshaw <rearnsha@arm.com>
1875
1876 * sysdeps/aarch64/strchrnul.S: New file.
1877
7110166d
AZ
18782014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1879
1880 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1881 definition.
1882 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1883 Likwise.
1884 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1885 Likewise.
1886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1887 Likewise.
1888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1889 Likewise.
1890 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1891 Likewise.
1892
18932014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
1894
1895 * catgets/test-gencat.c: Use test-skeleton.c.
1896 * catgets/tst-catgets.c: Likewise.
1897 * csu/tst-empty.c: Likewise.
1898 * elf/tst-audit2.c: Likewise.
1899 * elf/tst-global1.c: Likewise.
1900 * elf/tst-pathopt.c: Likewise.
1901 * elf/tst-piemod1.c: Likewise.
1902 * elf/tst-tls10.c: Likewise.
1903 * elf/tst-tls11.c: Likewise.
1904 * elf/tst-tls12.c: Likewise.
1905 * gnulib/tst-gcc.c: Likewise.
1906 * iconvdata/tst-e2big.c: Likewise.
1907 * iconvdata/tst-loading.c: Likewise.
1908 * iconv/tst-iconv1.c: Likewise.
1909 * iconv/tst-iconv2.c: Likewise.
1910 * inet/test-inet6_opt.c: Likewise.
1911 * inet/tst-gethnm.c: Likewise.
1912 * inet/tst-network.c: Likewise.
1913 * inet/tst-ntoa.c: Likewise.
1914 * intl/tst-codeset.c: Likewise.
1915 * intl/tst-gettext2.c: Likewise.
1916 * intl/tst-gettext3.c: Likewise.
1917 * intl/tst-ngettext.c: Likewise.
1918 * intl/tst-translit.c: Likewise.
1919 * io/test-stat.c: Likewise.
1920 * libio/test-fmemopen.c: Likewise.
1921 * libio/tst-freopen.c: Likewise.
1922 * libio/tst-sscanf.c: Likewise.
1923 * libio/tst-ungetwc1.c: Likewise.
1924 * libio/tst-ungetwc2.c: Likewise.
1925 * libio/tst-widetext.c: Likewise.
1926 * localedata/tst-ctype.c: Likewise.
1927 * localedata/tst-digits.c: Likewise.
1928 * localedata/tst-leaks.c: Likewise.
1929 * localedata/tst-mbswcs1.c: Likewise.
1930 * localedata/tst-mbswcs2.c: Likewise.
1931 * localedata/tst-mbswcs3.c: Likewise.
1932 * localedata/tst-mbswcs4.c: Likewise.
1933 * localedata/tst-mbswcs5.c: Likewise.
1934 * localedata/tst-setlocale.c: Likewise.
1935 * localedata/tst-trans.c: Likewise.
1936 * localedata/tst-wctype.c: Likewise.
1937 * localedata/tst-xlocale1.c: Likewise.
1938 * login/tst-grantpt.c: Likewise.
1939 * malloc/tst-calloc.c: Likewise.
1940 * malloc/tst-malloc.c: Likewise.
1941 * malloc/tst-mallocstate.c: Likewise.
1942 * malloc/tst-mcheck.c: Likewise.
1943 * malloc/tst-mtrace.c: Likewise.
1944 * malloc/tst-obstack.c: Likewise.
1945 * math/atest-exp2.c: Likewise.
1946 * math/atest-exp.c: Likewise.
1947 * math/atest-sincos.c: Likewise.
1948 * math/test-matherr.c: Likewise.
1949 * math/test-misc.c: Likewise.
1950 * math/test-powl.c: Likewise.
1951 * math/tst-definitions.c: Likewise.
1952 * misc/tst-dirname.c: Likewise.
1953 * misc/tst-efgcvt.c: Likewise.
1954 * misc/tst-fdset.c: Likewise.
1955 * misc/tst-hsearch.c: Likewise.
1956 * misc/tst-mntent2.c: Likewise.
1957 * nptl/tst-sem7.c: Likewise.
1958 * nptl/tst-sem8.c: Likewise.
1959 * nptl/tst-sem9.c: Likewise.
1960 * nss/test-netdb.c: Likewise.
1961 * posix/tst-fnmatch.c: Likewise.
1962 * posix/tst-getlogin.c: Likewise.
1963 * posix/tst-gnuglob.c: Likewise.
1964 * posix/tst-mmap.c: Likewise.
1965 * pwd/tst-getpw.c: Likewise.
1966 * resolv/tst-inet_ntop.c: Likewise.
1967 * rt/tst-timer.c: Likewise.
1968 * stdio-common/test-fseek.c: Likewise.
1969 * stdio-common/test-popen.c: Likewise.
1970 * stdio-common/test-vfprintf.c: Likewise.
1971 * stdio-common/tst-cookie.c: Likewise.
1972 * stdio-common/tst-fileno.c: Likewise.
1973 * stdio-common/tst-gets.c: Likewise.
1974 * stdio-common/tst-obprintf.c: Likewise.
1975 * stdio-common/tst-perror.c: Likewise.
1976 * stdio-common/tst-sprintf2.c: Likewise.
1977 * stdio-common/tst-sprintf3.c: Likewise.
1978 * stdio-common/tst-sprintf.c: Likewise.
1979 * stdio-common/tst-swprintf.c: Likewise.
1980 * stdio-common/tst-tmpnam.c: Likewise.
1981 * stdio-common/tst-unbputc.c: Likewise.
1982 * stdio-common/tst-wc-printf.c: Likewise.
1983 * stdlib/tst-environ.c: Likewise.
1984 * stdlib/tst-fmtmsg.c: Likewise.
1985 * stdlib/tst-limits.c: Likewise.
1986 * stdlib/tst-rand48-2.c: Likewise.
1987 * stdlib/tst-rand48.c: Likewise.
1988 * stdlib/tst-random2.c: Likewise.
1989 * stdlib/tst-random.c: Likewise.
1990 * stdlib/tst-strtol.c: Likewise.
1991 * stdlib/tst-strtoll.c: Likewise.
1992 * stdlib/tst-tls-atexit.c: Likewise.
1993 * stdlib/tst-xpg-basename.c: Likewise.
1994 * string/test-ffs.c: Likewise.
1995 * string/tst-bswap.c: Likewise.
1996 * string/tst-inlcall.c: Likewise.
1997 * string/tst-strtok.c: Likewise.
1998 * string/tst-strxfrm.c: Likewise.
1999 * sysdeps/x86_64/tst-audit10.c: Likewise.
2000 * sysdeps/x86_64/tst-audit3.c: Likewise.
2001 * sysdeps/x86_64/tst-audit4.c: Likewise.
2002 * sysdeps/x86_64/tst-audit5.c: Likewise.
2003 * time/tst-ftime_l.c: Likewise.
2004 * time/tst-getdate.c: Likewise.
2005 * time/tst-mktime3.c: Likewise.
2006 * time/tst-mktime.c: Likewise.
2007 * time/tst-posixtz.c: Likewise.
2008 * time/tst-strptime2.c: Likewise.
2009 * time/tst-strptime3.c: Likewise.
2010 * wcsmbs/tst-btowc.c: Likewise.
2011 * wcsmbs/tst-mbrtowc.c: Likewise.
2012 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2013 * wcsmbs/tst-wchar-h.c: Likewise.
2014 * wcsmbs/tst-wcpncpy.c: Likewise.
2015 * wcsmbs/tst-wcrtomb.c: Likewise.
2016 * wcsmbs/tst-wcsnlen.c: Likewise.
2017 * wcsmbs/tst-wcstof.c: Likewise.
2018
2004e7fb
JM
20192014-11-04 Joseph Myers <joseph@codesourcery.com>
2020
ab97ee8f
JM
2021 [BZ #14132]
2022 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2023 INTDEF.
2024 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2025 declaration.
2026 (_dl_mcount): Use rtld_hidden_proto.
2027 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2028 _dl_mcount.
2029 * elf/rtld.c (_rtld_global_ro): Likewise.
2030
c5684fdb
JM
2031 [BZ #14132]
2032 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2033 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2034 of _dl_init_internal.
2035 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2036 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2037 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2038 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2039 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2040 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2041 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2042 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2043 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2044 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2045 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2046 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2047 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2048 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2049 * sysdeps/tile/dl-start.S (_start): Likewise.
2050 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2051 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2052
4243cbea
JM
2053 [BZ #14132]
2054 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2055 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2056 (rtld_progname): Make macro definition unconditional.
2057 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2058 INTDEF.
2059 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2060 (dl_main): Likewise.
2061 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2062 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2063 instead of _dl_argv_internal.
2064 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2065 __GI__dl_argv instead of INTUSE(_dl_argv).
2066 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2067 __GI__dl_argv instead of _dl_argv_internal.
2068
2004e7fb
JM
2069 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2070 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2071 macro.
2072 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2073 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2074 New macro.
2075 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2076 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2077 macro.
2078 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2079 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2080
97827bfc
AS
20812014-11-04 Andreas Schwab <schwab@suse.de>
2082
2083 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2084
5e4df284
AZ
20852014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086
2087 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2088 mtvsrd instruction in binary form.
2089
04b76b5a
AS
20902014-11-03 Andreas Schwab <schwab@suse.de>
2091
2092 [BZ #17522]
2093 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2094 for less than MB_LEN_MAX use a local buffer of that size.
2095 * libio/tst-fputws.c: New file.
2096 * libio/Makefile (tests): Add tst-fputws.
2097
4c6da7da
JM
20982014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2099
2100 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2101 the size of the fpu_fr.fpu_dregs[] array.
2102
1679ba8e
JM
21032014-11-01 Joseph Myers <joseph@codesourcery.com>
2104
2105 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2106 (__nanosleep): Do not define as alias.
2107 (nanosleep): Define as alias of __nanosleep.
2108 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2109 __libc_nanosleep name.
2110
2626c183
JM
21112014-10-31 Joseph Myers <joseph@codesourcery.com>
2112
2113 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2114 install.texi in comment.
2115
7f981fc2
TR
21162014-10-31 Torvald Riegel <triegel@redhat.com>
2117
2118 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2119 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2120 ... add here and use lwsync or sync ...
2121 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2122 ... and add here using lwsync.
2123
d6f373d2
MF
21242014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2125
2126 * elf/dl-machine-reject-phdr.h: New file.
2127 * elf/dl-load.c: #include that.
2128 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2129 if that returned true.
2130
67c37987
RM
21312014-10-31 Roland McGrath <roland@hack.frob.com>
2132
2133 [BZ #17496]
2134 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2135 gen-as-const-headers chunk. Add a big scare comment after the last
2136 safe place to touch before-compile.
2137
94a42455 21382014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2139
f3f5d895
JM
2140 * manual/install.texi (Tools for Compilation): Update autoconf
2141 version requirements.
2142 * INSTALL: Regenerated.
2143
f62ff286
JM
2144 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2145 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2146 (__libc_pselect): Likewise.
94a42455
JM
2147
2148 [BZ #14138]
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2153
ff9dbdc0
TR
21542014-10-31 Torvald Riegel <triegel@redhat.com>
2155
2156 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2157 correct barrier instruction.
2158 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2159 Likewise.
2160 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2161 Likewise.
2162
b4f66884
RM
21632014-10-30 Roland McGrath <roland@hack.frob.com>
2164
2165 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2166 after defining inlines. Instead, just use parens to defeat macro
2167 expansion of __isctype in its declaration.
2168
e19c95fd
JM
21692014-10-30 Joseph Myers <joseph@codesourcery.com>
2170
2171 * include/sys/uio.h (__libc_readv): Remove declaration.
2172 (__libc_writev): Likewise.
2173 * misc/readv.c (__libc_readv): Rename to __readv.
2174 (__readv): Do not define as alias.
2175 (readv): Define as alias of __readv.
2176 * misc/writev.c (__libc_writev): Rename to __writev.
2177 (__writev): Do not define as alias.
2178 (writev): Define as alias of __writev.
2179 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2180 (__readv): Do not define as alias.
2181 (readv): Define unconditionally as alias of __readv.
2182 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2183 (__writev): Do not define as alias.
2184 (writev): Define unconditionally as alias of __writev.
2185 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2186 name.
2187 (writev): Do not define __libc_writev name.
2188
65b00b6c
RM
21892014-10-30 Roland McGrath <roland@hack.frob.com>
2190
2191 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2192 (convert_charseq): New function, broken out of ...
2193 (use_from_charmap): ... here. Call it.
2194 (use_to_charmap): Use convert_charseq and free instead of duplicating
2195 its code with a variable-length stack struct.
2196
d4e157aa
JM
21972014-10-30 Joseph Myers <joseph@codesourcery.com>
2198
2199 * include/fcntl.h (__libc_creat): Remove declaration.
2200 * io/creat.c (__libc_creat): Rename to creat.
2201 (creat): Do not define as alias.
2202 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2203 of creat instead of __libc_creat.
2204 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2205 to creat.
2206 (creat): Do not define as alias.
2207 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2208 __libc_creat.
2209 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2210 __libc_creat name.
2211 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2212 Likewise.
2213
0c6891a0
CD
22142014-10-29 Carlos O'Donell <carlos@redhat.com>
2215
2216 * manual/llio.texi: Add comments discussing why write() may be
2217 considered MT-unsafe on Linux.
2218
cc00cece
CD
22192014-10-28 Carlos O'Donell <carlos@redhat.com>
2220
2221 * dl-load.c (local_strdup): Remove.
2222 (expand_dynamic_string_token): Use __strdup.
2223 (decompose_rpath): Likewise.
2224 (_dl_map_object): Likewise.
2225
51e623f2
JM
22262014-10-28 Joseph Myers <joseph@codesourcery.com>
2227
2228 [BZ #14132]
2229 * sysdeps/generic/unwind-dw2-fde.c
2230 (__register_frame_info_bases_internal): Do not declare.
2231 (__register_frame_info_table_bases_internal): Likewise.
2232 (__deregister_frame_info_bases_internal): Likewise.
2233 (__register_frame_info_bases): Declare and use hidden_proto before
2234 definition. Use hidden_def instead of INTDEF.
2235 (__register_frame_info_table_bases): Likewise.
2236 (__deregister_frame_info_bases): Likewise.
2237 (__register_frame_info): Do not use INTUSE.
2238 (__register_frame): Likewise.
2239 (__register_frame_info_table): Likewise.
2240 (__register_frame_table): Likewise.
2241 (__deregister_frame_info): Likewise.
2242 (__deregister_frame): Likewise.
2243
03d41216
GC
22442014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2245
2246 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2247 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2248 not undefine.
2249 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2250 Likewise.
2251 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2252 Likewise.
2253
a4b3624d
JM
22542014-10-27 Joseph Myers <joseph@codesourcery.com>
2255
2256 [BZ #14138]
2257 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2258 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2259 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2260 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2261 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2262 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2263 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2264 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2265 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2266 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2267 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2268 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2269 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2270 syscall.
2271 (setfsuid): Likewise.
2272 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2273 (setfsuid): Likewise.
2274 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2275 (setfsuid): Likewise.
2276 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2277 Likewise.
2278 (setfsuid): Likewise.
2279 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2280 (setfsuid): Likewise.
2281 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2282 Likewise.
2283 (setfsuid): Likewise.
2284
3574f2fd
AS
22852014-10-27 Andreas Schwab <schwab@suse.de>
2286
2287 [BZ #17501]
2288 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2289 check for Slow_SSE4_2 feature bit.
2290 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2291 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2292 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2293 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2294
70996a37
RM
22952014-10-24 Roland McGrath <roland@hack.frob.com>
2296
461a7b1e
RM
2297 * configure.ac: Validate compiler version with a empirical test of
2298 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2299 $CC -v output.
2300 * configure: Regenerated.
2301
70996a37
RM
2302 * inet/htons.c (htons): Prototypify.
2303 * inet/htonl.c (htonl): Likewise.
2304
e80514b5
WD
23052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2306
2307 * string/strncat.c (strncat): Improve performance by using strlen.
2308
6e46de42
WD
23092014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2310
2311 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2312
6a9ad2fa
WD
23132014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2314
2315 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2316 Call libc_fetestexcept_aarch64.
2317
1c8810ed
WD
23182014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2319
2320 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2321 Call libc_feholdexcept_aarch64.
2322
8b1af712
WD
23232014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2324
2325 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2326 Call get_rounding_mode.
2327
a7b00c11
WD
23282014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2329
2330 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2331 Simplify logic.
2332
3a84f1a6
WD
23332014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2334
2335 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2336 Simplify logic.
2337
48eb7a94
JM
23382014-10-24 Joseph Myers <joseph@codesourcery.com>
2339
c8bc4038
JM
2340 [BZ #14138]
2341 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2342 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2343 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2344 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2345 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2346 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2347 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2348 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2349 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2350 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2351 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2352 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2353 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2354 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2355 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2356 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2357 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2358 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2359 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2360 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2361 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2362 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2363 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2364 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2365 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2366 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2367 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2368 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2369 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2370 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2371 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2372 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2373 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2374 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2375 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2376 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2377 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2379 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2381 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2382 syscall.
2383 (geteuid): Likewise.
2384 (getgid): Likewise.
2385 (getuid): Likewise.
2386 (getresgid): Likewise.
2387 (getresuid): Likewise.
2388 (getgroups): Likewise.
2389 * sysdeps/unix/sysv/linux/i386/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/m68k/syscalls.list (getegid): Likewise.
2397 (geteuid): Likewise.
2398 (getgid): Likewise.
2399 (getuid): Likewise.
2400 (getresgid): Likewise.
2401 (getresuid): Likewise.
2402 (getgroups): Likewise.
2403 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2404 Likewise.
2405 (geteuid): Likewise.
2406 (getgid): Likewise.
2407 (getuid): Likewise.
2408 (getresgid): Likewise.
2409 (getresuid): Likewise.
2410 (getgroups): Likewise.
2411 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2412 (geteuid): Likewise.
2413 (getgid): Likewise.
2414 (getuid): Likewise.
2415 (getresgid): Likewise.
2416 (getresuid): Likewise.
2417 (getgroups): Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2419 Likewise.
2420 (geteuid): Likewise.
2421 (getgid): Likewise.
2422 (getuid): Likewise.
2423 (getgroups): Likewise.
2424
48eb7a94
JM
2425 [BZ #14138]
2426 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2427 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2428 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2430 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2431 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2432 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2433 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2434 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2436 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2438 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2439 __chown.
2440 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2441 (lchown): Likewise.
2442 (fchown): Likewise.
2443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2444 Likewise.
2445 (lchown): Likewise.
2446 (fchown): Likewise.
2447 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2448 (lchown): Likewise.
2449 (fchown): Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2451 Likewise.
2452 (lchown): Likewise.
2453 (fchown): Likewise.
2454
ea9a7c8b
WD
24552014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2456
2457 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2458 Simplify logic.
2459
e226de33
WD
24602014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2461
2462 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2463 Cleanup logic.
2464
6e3d8ed3
WD
24652014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2466
2467 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2468 Remove unused include.
2469
eb04247d
WD
24702014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2471
2472 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2473 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2474 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2475 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2476
13d84554
CD
24772014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2478 Helge Deller <deller@gmx.de>
2479
2480 [BZ #17508]
2481 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2482 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2483 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2484
15f9c5df
JM
24852014-10-23 Joseph Myers <joseph@codesourcery.com>
2486
2487 [BZ #14132]
2488 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2489 Remove macro definition.
2490 (__ashrdi3_v_glibc20): Likewise.
2491 (__lshrdi3_v_glibc20): Likewise.
2492 (__cmpdi2_v_glibc20): Likewise.
2493 (__ucmpdi2_v_glibc20): Likewise.
2494 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2495 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2496 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2497 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2498 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2499 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2500
c6dfed24
RM
25012014-10-22 Roland McGrath <roland@hack.frob.com>
2502
2503 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2504 old GNU extension [0] syntax.
2505 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2506 alloca rather than an array member with variable length.
2507 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2508 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2509 (parse_opt): ... here. Likewise use alloca there.
2510 Validate the -i argument before checking for rootness.
2511 (send_shutdown): New function, broken out of ...
2512 (parse_opt): ... here.
2513
8c2b1ed8
RM
25142014-10-22 Roland McGrath <roland@hack.frob.com>
2515
2516 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2517 macro to get at the _rt_local_ro field.
2518 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2519 ([PIC] case) or _dl_hwcap ([!PIC] case).
2520 * sysdeps/arm/setjmp.S: Likewise.
2521
2522 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2523 * sysdeps/arm/configure.ac: New check to define it.
2524 * sysdeps/arm/configure: Regenerated.
2525 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2526 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2527 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2528 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2529 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2530 Use move/movt pair instead of a load.
2531 (LDST_GLOBAL): Macro removed.
2532 (LDR_GLOBAL): New macro replaces it.
2533 (LDR_HIDDEN): New macro.
2534 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2535 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2536
2537 * setjmp/tst-setjmp-static.c: New file.
2538 * setjmp/Makefile (tests): Add it.
2539 (tests-static): New variable.
2540
b5af9297
MR
25412014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2542
2543 [BZ #17485]
2544 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2545
a13d0d74
JM
25462014-10-21 Joseph Myers <joseph@codesourcery.com>
2547
2548 [BZ #14132]
2549 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2550
f05e73f6
RM
25512014-10-21 Roland McGrath <roland@hack.frob.com>
2552
2553 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2554
6ab1d1ea
RM
25552014-10-20 Roland McGrath <roland@hack.frob.com>
2556
2557 * io/fts.c (dirent_not_directory): New function.
2558 (fts_build): Call it.
2559
ab49e763
RM
25602014-10-20 Roland McGrath <roland@hack.frob.com>
2561
e436eb79
RM
2562 * nptl/version.c (__nptl_main): Use normal __write rather than
2563 INTERNAL_SYSCALL.
2564 (banner): Update copyright years.
2565
6af246cf
RM
2566 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2567 gettimeofday.
2568 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2569 * nptl/pthread_cond_timedwait.c: Likewise.
2570 * nptl/pthread_mutex_timedlock.c: Likewise.
2571 * nptl/sem_timedwait.c: Likewise.
2572
ab49e763
RM
2573 * sysdeps/nptl/bits/libc-lock.h
2574 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2575 (__libc_lock_init_recursive): Return void, not 0.
2576 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2577 (__libc_rwlock_init): Likewise.
2578 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2579
f50277c1
TR
25802014-10-20 Torvald Riegel <triegel@redhat.com>
2581
2582 [BZ #15215]
2583 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2584 (__pthread_once_slow): ... here.
2585 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2586 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2587
63668b70
TR
25882014-10-20 Torvald Riegel <triegel@redhat.com>
2589
2590 [BZ #15215]
2591 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2592 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2593 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2594 * nptl/pthread_once.c (__pthread_once): Likewise.
2595 Update comments.
2596
42b7f5d4
JM
25972014-10-20 Joseph Myers <joseph@codesourcery.com>
2598
2599 [BZ #14138]
2600 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2601 name.
2602 (writev): Use __libc_writev as strong name.
2603 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2604 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2605
b0643088
RM
26062014-10-17 Roland McGrath <roland@hack.frob.com>
2607
114c4e09
RM
2608 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2609
674b8978
RM
2610 * sysdeps/i386/nptl/tls.h
2611 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2612 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2613 New macros.
2614 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2615 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2616 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2617 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2618 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2619 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2620
184ee940
RM
2621 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2622 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2623 on [__NR_futex].
2624 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2625 broken out of ...
2626 (__pthread_mutex_init): ... here. Call it.
2627 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2628 Conditionalize PI cases on [__NR_futex].
2629 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2630 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2631 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2632
327ae257
RM
2633 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2634 conditional on [SIGSETXID].
2635 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2636 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2637 is defined. Likewise for SIGSETXID.
2638 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2639 Conditionalize definitions on [SIGSETXID].
2640 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2641 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2642 unblocking on [SIGCANCEL].
2643
b0643088
RM
2644 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2645 [__NR_set_robust_list].
2646
33cc770b
SP
26472014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2648
2649 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2650 (do_compare): Likewise.
2651
0742aef6
LH
26522014-10-17 Leonhard Holz <leonhard.holz@web.de>
2653
2654 [BZ #15884]
2655 * string/strcoll_l.c: Don't include stdio.h.
2656 (coll_seq): Remove members idxarr and rulearr.
2657 (get_next_seq_cached): Remove function.
2658 (get_next_seq): Likewise.
2659 (get_next_seq_nocache): Rename to get_next_seq.
2660 (do_compare): Remove function.
2661 (do_compare_nocache): Rename to do_compare.
2662 (STRCOLL): Remove weight and rules cache.
2663
ee54ce44
RM
26642014-10-16 Roland McGrath <roland@hack.frob.com>
2665
2666 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2667 * sysdeps/arm/sfp-machine.h: ... to here.
2668 * sysdeps/arm/Implies: Remove arm/soft-fp.
2669
a75d3b02
JM
26702014-10-14 Joseph Myers <joseph@codesourcery.com>
2671
2672 * conform/data/sys/utsname.h-data (*_t): Allow.
2673 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2674 [POSIX] (WEXITED): Do not expect constant.
2675 [POSIX] (WSTOPPED): Likewise.
2676 [POSIX] (WNOHANG): Likewise.
2677 [POSIX] (WNOWAIT): Likewise.
2678 [POSIX] (siginfo_t): Do not expect type or elements.
2679 [POSIX] (pid_t): Do not expect type.
2680 [POSIX] (signal.h): Do not allow header.
2681 [POSIX] (sys/resource.h): Likewise.
2682 [POSIX] (si_*): Do not allow pattern.
2683 [POSIX] (W*): Likewise.
2684 [POSIX] (P_*): Likewise.
2685 [POSIX] (BUS_*): Likewise.
2686 [POSIX] (CLD_*): Likewise.
2687 [POSIX] (FPE_*): Likewise.
2688 [POSIX] (ILL_*): Likewise.
2689 [POSIX] (POLL_*): Likewise.
2690 [POSIX] (SEGV_*): Likewise.
2691 [POSIX] (SI_*): Likewise.
2692 [POSIX] (TRAP_*): Likewise.
2693 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2694 variable.
2695
fda389c8
SP
26962014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2697
2698 [BZ #12926]
2699 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2700 infinite loop when __recvmsg returns 0.
2701
6bc6bd3b
JM
27022014-10-10 Joseph Myers <joseph@codesourcery.com>
2703
fcb32af1
JM
2704 * CANCEL-FCT-WAIVE: Remove file.
2705 * CANCEL-FILE-WAIVE: Likewise.
2706
6bc6bd3b
JM
2707 [BZ #14132]
2708 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2709 instead of INTVARDEF.
2710 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2711 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2712 rtld_hidden_data_def instead of INTVARDEF.
2713 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2714 * elf/dl-deps.c (expand_dst): Likewise.
2715 * elf/dl-load.c (_dl_dst_count): Likewise.
2716 (_dl_dst_substitute): Likewise.
2717 (decompose_rpath): Likewise.
2718 (_dl_init_paths): Likewise.
2719 (open_path): Likewise.
2720 (_dl_map_object): Likewise.
2721 * elf/rtld.c (dl_main): Likewise.
2722 (process_dl_audit): Likewise.
2723 (process_envvars): Likewise.
2724 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2725 Remove declaration.
2726 (__libc_enable_secure): Use rtld_hidden_proto.
2727
b8c80a7e
KS
27282014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2729
2730 * elf/dl-load.c
2731 (add_path): New function broken out of _dl_rtld_di_serinfo.
2732 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2733
ff12c11f
JM
27342014-10-09 Joseph Myers <joseph@codesourcery.com>
2735
5c0508a3
JM
2736 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2737 parentheses around macro arguments.
2738 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2739 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2740 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2741 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2742 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2744 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2745 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2747 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2748 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2749 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2750 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2751 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2752 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2753 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2754 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2755 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2756 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2757 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2758 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2759 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2762 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2763 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2764 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2765 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2766 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2767 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2768 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2769 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2770 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2771 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2772 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2773 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2774 Likewise.
2775 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2776 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2777 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2781 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2782 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2783 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2784 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2785 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2786 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2787 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2796 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2797 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2798 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2799 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2800 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2801 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2802 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2803 (_FP_FRAC_SRS_1): Likewise.
2804 (_FP_FRAC_CLZ_1): Likewise.
2805 (_FP_MUL_MEAT_1_imm): Likewise.
2806 (_FP_MUL_MEAT_1_wide): Likewise.
2807 (_FP_MUL_MEAT_1_hard): Likewise.
2808 (_FP_SQRT_MEAT_1): Likewise.
2809 (_FP_FRAC_ASSEMBLE_1): Likewise.
2810 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2811 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2812 (__FP_CLZ_2): Likewise.
2813 (_FP_MUL_MEAT_2_wide): Likewise.
2814 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2815 (_FP_MUL_MEAT_2_gmp): Likewise.
2816 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2817 (_FP_SQRT_MEAT_2): Likewise.
2818 (_FP_FRAC_ASSEMBLE_2): Likewise.
2819 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2820 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2821 (_FP_FRAC_CLZ_4): Likewise.
2822 (_FP_MUL_MEAT_4_wide): Likewise.
2823 (_FP_MUL_MEAT_4_gmp): Likewise.
2824 (_FP_SQRT_MEAT_4): Likewise.
2825 (_FP_FRAC_ASSEMBLE_4): Likewise.
2826 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2827 * soft-fp/op-common.h (_FP_CMP): Likewise.
2828 (_FP_CMP_EQ): Likewise.
2829 (_FP_CMP_UNORD): Likewise.
2830 (_FP_TO_INT): Likewise.
2831 (_FP_FROM_INT): Likewise.
2832 [!__FP_CLZ] (__FP_CLZ): Likewise.
2833 (_FP_DIV_HELP_imm): Likewise.
2834 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2835 Likewise.
2836 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2837 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2838 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2839 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2840 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2842 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2843 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2844 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2845 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2846 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2847 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2848 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2849 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2850 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2851 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2852 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2853 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2855 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2856 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2857 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2858 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2860 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2862 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2863 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2864 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2865 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2866 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2867 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2868 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2869 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2870 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2871 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2872 (FP_UNPACK_RAW_SP): Likewise.
2873 (FP_PACK_RAW_S): Likewise.
2874 (FP_PACK_RAW_SP): Likewise.
2875 (FP_UNPACK_S): Likewise.
2876 (FP_UNPACK_SP): Likewise.
2877 (FP_UNPACK_SEMIRAW_S): Likewise.
2878 (FP_UNPACK_SEMIRAW_SP): Likewise.
2879 (FP_PACK_S): Likewise.
2880 (FP_PACK_SP): Likewise.
2881 (FP_PACK_SEMIRAW_S): Likewise.
2882 (FP_PACK_SEMIRAW_SP): Likewise.
2883 (_FP_SQRT_MEAT_S): Likewise.
2884 (FP_CMP_S): Likewise.
2885 (FP_CMP_EQ_S): Likewise.
2886 (FP_CMP_UNORD_S): Likewise.
2887 (FP_TO_INT_S): Likewise.
2888 (FP_FROM_INT_S): Likewise.
2889
a736ec37
JM
2890 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2891
ff12c11f
JM
2892 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2893 (FP_EX_INVALID_IMZ): Likewise.
2894 (FP_EX_INVALID_IMZ_FMA): Likewise.
2895 (FP_EX_INVALID_ISI): Likewise.
2896 (FP_EX_INVALID_ZDZ): Likewise.
2897 (FP_EX_INVALID_IDI): Likewise.
2898 (FP_EX_INVALID_SQRT): Likewise.
2899 (FP_EX_INVALID_CVI): Likewise.
2900 (FP_EX_INVALID_VC): Likewise.
2901 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2902 "invalid" exceptions.
2903 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2904 (_FP_ADD_INTERNAL): Likewise.
2905 (_FP_MUL): Likewise.
2906 (_FP_FMA): Likewise.
2907 (_FP_DIV): Likewise.
2908 (_FP_CMP_CHECK_NAN): Likewise.
2909 (_FP_SQRT): Likewise.
2910 (_FP_TO_INT): Likewise.
2911 (FP_EXTEND): Likewise.
2912
b6dcfe8c
AM
29132014-10-09 Allan McRae <allan@archlinux.org>
2914
2915 * po/fr.po: Update French translation from translation project.
2916
2d6a47ba
JM
29172014-10-09 Joseph Myers <joseph@codesourcery.com>
2918
cb831245
JM
2919 [BZ #14132]
2920 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2921 of INTDEF.
2922 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2923 (__cxa_atexit): Use libc_hidden_proto.
2924 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2925
5deeb190
JM
2926 [BZ #14132]
2927 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2928 declaration.
2929 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2930 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2931 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2932 [!_ISOMAC] (__iswctype_internal): Likewise.
2933 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2934 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2935 alias.
2936 (fcntl): Remove __fcntl_internal alias.
2937 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2938 __connect_internal alias.
2939 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2940 Likewise.
2941
454ac701
JM
2942 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2943 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2944 FP_DENORM_ZERO.
2945 (_FP_CHECK_FLUSH_ZERO): New macro.
2946 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2947 (_FP_CMP): Likewise.
2948 (_FP_CMP_EQ): Likewise.
2949 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2950 FP_DENORM_ZERO.
2951 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2952 (FP_TRUNC): Likewise.
2953
0022e688
JM
2954 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2955 treated as invalid conversion, not as normal exponent.
2956
73e28d9c
JM
2957 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2958 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2959 (_FP_CMP_EQ): Likewise.
2960 (_FP_CMP_UNORD): Likewise.
2961 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2962 (FP_CMP_EQ_D): Likewise.
2963 (FP_CMP_UNORD_D): Likewise.
2964 * soft-fp/extended.h (FP_CMP_E): Likewise.
2965 (FP_CMP_EQ_E): Likewise.
2966 (FP_CMP_UNORD_E): Likewise.
2967 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2968 (FP_CMP_EQ_Q): Likewise.
2969 (FP_CMP_UNORD_Q): Likewise.
2970 * soft-fp/single.h (FP_CMP_S): Likewise.
2971 (FP_CMP_EQ_S): Likewise.
2972 (FP_CMP_UNORD_S): Likewise.
2973 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2974 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2975 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2976 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2977 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2978 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2979 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2980 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2981 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2982 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2983 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2984 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2985 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2986 to FP_CMP_Q.
2987 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2988 FP_CMP_Q.
2989 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2990 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2991 FP_CMP_EQ_Q.
2992 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2993 FP_CMP_Q.
2994 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2995 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2996 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2997 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2998 FP_CMP_EQ_Q.
2999 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3000 FP_CMP_Q.
3001 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3002 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3003 FP_CMP_EQ_Q.
3004 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3005 FP_CMP_Q.
3006 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3007 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3008 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3009 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3010 FP_CMP_EQ_Q.
3011
43059f42
JM
3012 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3013 a subnormal result, set the underflow exception if trapping on
3014 underflow is enabled.
3015 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3016 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3017 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3018 redefine to 0.
3019 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3020 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3021 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3022 * soft-fp/extendxftf2.c (__extendxftf2): Use
3023 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3024
2d6a47ba
JM
3025 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3026 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3027 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3028 FP_HANDLE_EXCEPTIONS.
3029 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3030 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3031 FP_HANDLE_EXCEPTIONS.
3032 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3033 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3034 FP_HANDLE_EXCEPTIONS.
3035 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3036 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3037 FP_HANDLE_EXCEPTIONS.
3038
620f462e
JM
30392014-10-08 Joseph Myers <joseph@codesourcery.com>
3040
3041 [BZ #14132]
3042 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3043 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3044 use INTUSE.
3045 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3046 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3047 Remove alias.
3048 (__adjtimex): Define using libc_hidden_ver.
3049 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3050 Remove declaration.
3051 (ntp_gettime): Call __adjtimex directly.
3052 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3053 Remove declaration.
3054 (ntp_gettimex): Call __adjtimex directly.
3055 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3056 __adjtimex_internal alias.
3057
c763c5d2
RM
30582014-10-08 Roland McGrath <roland@hack.frob.com>
3059
3060 [BZ #17460]
3061 * nscd/nscd.c (more_help): Rewrite list of tables collection
3062 using xstrdup and asprintf.
3063
3064 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3065
7b8fb2b8
RM
30662014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3067 Roland McGrath <roland@hack.frob.com>
3068
3069 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3070 (do_lookup_unique): ... local function 'enter' here; update callers.
3071
abb280f7
JM
30722014-10-06 Joseph Myers <joseph@codesourcery.com>
3073
f7b42517
JM
3074 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3075 compat_symbol calls on [SHARED].
3076 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3077 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3078 Remove.
3079 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3080 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3081 (oldsetrlimit): Remove.
3082 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3084 (lchown): New syscall entry.
3085 (oldsetrlimit): Remove.
3086 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3088 (oldsetrlimit): Remove.
3089 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3090
abb280f7
JM
3091 [BZ #14138]
3092 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3093 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3094 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3095 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3097 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3098 (fchown): Likewise.
3099 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3100 (fchown): Likewise.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3102 Likewise.
3103
47d46237
AZ
31042014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3107 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3108 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3109 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3110 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3111 Likewise.
3112 (__old_sem_post): Likewise.
3113
31142014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3115
845a7343
CM
3116 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3117 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3118 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3119 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3120 Use INLINE_VSYSCALL macro.
3121 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3122 __vdso_clock_gettime.
3123 * sysdeps/unix/sysv/linux/tile/init-first.c
3124 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3125 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3126 __vdso_clock_gettime.
3127
83d641ef
CM
3128 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3129 to set up frame more cleanly.
3130
d9cd52e6
CM
3131 * sysdeps/tile/memcmp.c: New file.
3132
4b68ea11
CM
3133 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3134
c86f7b80
CM
3135 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3136 * sysdeps/tile/tilegx/strcasestr.c: New file.
3137 * sysdeps/tile/tilegx/strnlen.c: New file.
3138 * sysdeps/tile/tilegx/strstr.c: New file.
3139
1c4c1a6f
CM
3140 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3141
99d86ea3
AS
31422014-10-06 Arjun Shankar <arjun.is@lostca.se>
3143
3144 * nptl/tst-setuid3.c: Write errors to stdout.
3145
06210a44
KS
31462014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3147
3148 * elf/dl-deps.c
3149 (preload): New functions broken out of _dl_map_object_deps.
3150 (_dl_map_object_deps): Remove a nested function. Update call sites.
3151
6268f532
JM
31522014-10-01 Joseph Myers <joseph@codesourcery.com>
3153
3154 [BZ #14138]
3155 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3156 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3157
b925285f
SE
31582014-10-01 Steve Ellcey <sellcey@mips.com>
3159
3160 * sysdeps/mips/strcmp.S: New.
3161
754a15c6
JM
31622014-09-30 Joseph Myers <joseph@codesourcery.com>
3163
3164 [BZ #14138]
3165 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3166 (linkat): Likewise.
3167 (mkdirat): Likewise.
3168 (readlinkat): Likewise.
3169 (renameat): Likewise.
3170 (symlinkat): Likewise.
3171 (unlinkat): Likewise.
3172 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3173 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3174 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3175 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3176 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3177 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3178 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3179
85bb81c9
WN
31802014-09-30 Will Newton <will.newton@linaro.org>
3181
dc6fe23b
WN
3182 * math/math.h: Define long double math functions if
3183 _LIBC_TEST is defined.
3184 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3185
85bb81c9
WN
3186 * localedata/Makefile: Move assignment to tests-special
3187 into an ifdef testing run-built-tests.
3188 * timezone/Makefile: Likewise.
3189
b7e02da4
JM
31902014-09-29 Joseph Myers <joseph@codesourcery.com>
3191
3192 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3193 with $(BASH) not $(SHELL).
3194
62058ce6
CD
31952014-09-29 Carlos O'Donell <carlos@redhat.com>
3196 Matthew LeGendre <legendre1@llnl.gov>
3197
3198 [BZ #17411]
3199 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3200 l_reloc_result.
3201
8e257a29
KS
32022014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3203
3204 * stdio-common/printf_fp.c
3205 (hack_digit): New function, broken out of ...
3206 (__printf_fp): ... local function here. Update call sites.
3207 hack_digit now takes an additional parameter that is a pointer
3208 to a struct of the referenced locals. Those locals moved inside
3209 the struct and references updated.
3210
f4a58f0d
L
32112014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3212
3213 * aclocal.m4: Require autoconf 2.69.
3214 * configure: Regenerated.
3215 * sysdeps/aarch64/configure: Likewise.
3216 * sysdeps/alpha/configure: Likewise.
3217 * sysdeps/arm/armv7/configure: Likewise.
3218 * sysdeps/arm/configure: Likewise.
3219 * sysdeps/ia64/configure: Likewise.
3220 * sysdeps/mach/configure: Likewise.
3221 * sysdeps/mips/configure: Likewise.
3222 * sysdeps/s390/configure: Likewise.
3223 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3225
3226 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3227 file.
3228 * sysdeps/ia64/configure.ac: Likewise.
3229
93ae1eba
JM
32302014-09-26 Joseph Myers <joseph@codesourcery.com>
3231
1810d3ab
JM
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3233 specify symbol version for ld.so. Do not include entry for
3234 libpthread.
3235 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3237 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3238
93ae1eba
JM
3239 [BZ #14171]
3240 * Makeconfig [$(build-shared) = yes]
3241 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3242 makefiles.
3243 [$(build-shared) = yes && $(soversions.mk-done) = t]
3244 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3245 [$(build-shared) = yes && $(soversions.mk-done) = t]
3246 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3247 to Makerules.
3248 [$(build-shared) = yes && $(soversions.mk-done) = t]
3249 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3250 here.
3251 [$(build-shared) = yes && $(soversions.mk-done) = t]
3252 (common-generated): Don't append gnu/lib-names.h and
3253 gnu/lib-names.stmp here.
3254 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3255 (lib-names-h-abi): New variable.
3256 [$(build-shared) = yes && $(soversions.mk-done) = t]
3257 (lib-names-stmp-abi): Likewise.
3258 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3259 abi-variants] (before-compile): Append
3260 $(common-objpfx)$(lib-names-h-abi).
3261 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3262 abi-variants] (common-generated): Append gnu/lib-names.h.
3263 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3264 abi-variants] (install-others-nosubdir): Depend on
3265 $(inst_includedir)/$(lib-names-h-abi).
3266 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3267 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3268 [$(build-shared) = yes && $(soversions.mk-done) = t]
3269 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3270 [$(build-shared) = yes && $(soversions.mk-done) = t]
3271 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3272 [$(build-shared) = yes && $(soversions.mk-done) = t]
3273 (common-generated): Append $(lib-names-h-abi) and
3274 $(lib-names-stmp-abi).
3275 * scripts/lib-names.awk: Do not handle multi being set.
3276 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3277 Remove variable.
3278 (abi-lp64_be-ld-soname): Likewise.
3279 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3280 Likewise.
3281 (abi-hard-ld-soname): Likewise.
3282 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3283 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3284 Remove variable.
3285 (abi-o32_hard-ld-soname): Likewise.
3286 (abi-o32_soft_2008-ld-soname): Likewise.
3287 (abi-o32_hard_2008-ld-soname): Likewise.
3288 (abi-n32_soft-ld-soname): Likewise.
3289 (abi-n32_hard-ld-soname): Likewise.
3290 (abi-n32_soft_2008-ld-soname): Likewise.
3291 (abi-n32_hard_2008-ld-soname): Likewise.
3292 (abi-n64_soft-ld-soname): Likewise.
3293 (abi-n64_hard-ld-soname): Likewise.
3294 (abi-n64_soft_2008-ld-soname): Likewise.
3295 (abi-n64_hard_2008-ld-soname): Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3297 Likewise.
3298 (abi-64-v2-ld-soname): Likewise.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3300 ld.so entries.
3301 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3302 variable.
3303 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3304 entry.
3305 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3306 variable.
3307 (abi-64-ld-soname): Likewise.
3308 (abi-x32-ld-soname): Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3310 entry.
3311 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3312
68870f12
JM
33132014-09-23 Joseph Myers <joseph@codesourcery.com>
3314
3315 [BZ #14138]
3316 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3317 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3318 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3319 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3320 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3321 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3322 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3323 syscall entry for GLIBC_2.2 symbol version.
3324 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3325 Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3327 (setrlimit): Likewise.
3328 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3329 Likewise.
3330
ea58f202
WN
33312014-09-23 Will Newton <will.newton@linaro.org>
3332
3333 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3334 _LINUX_ARM_SYSDEP_H include guard too.
3335 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3336 define.
3337
69eb9a18
RV
33382014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3339
3340 * sysdeps/unix/sysv/linux/eventfd.c:
3341 Make first argument unsigned.
3342 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3344
20e5a5f7
OB
33452014-09-20 Ondřej Bílka <neleai@seznam.cz>
3346
3347 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3348 * socket/sys/socket.h: Likewise
3349 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3350
d3c827e7
AK
33512014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3352
3353 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3354
fe1cc35a
AS
33552014-09-17 Arjun Shankar <arjun.is@lostca.se>
3356
3357 * time/tst-ftime.c: New test.
3358 * time/Makefile (tests): Add tst-ftime.
3359
4e8afe69
JM
33602014-09-17 Joseph Myers <joseph@codesourcery.com>
3361
c4fe3ea7
JM
3362 * soft-fp/extended.h: Fix comment formatting.
3363 * soft-fp/op-1.h: Likewise.
3364 * soft-fp/op-2.h: Likewise.
3365 * soft-fp/op-4.h: Likewise.
3366 * soft-fp/op-8.h: Likewise.
3367 * soft-fp/op-common.h: Likewise.
3368 * soft-fp/soft-fp.h: Likewise.
3369
4e8afe69
JM
3370 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3371
af296fcd
JM
33722014-09-16 Joseph Myers <joseph@codesourcery.com>
3373
3374 [BZ #6652]
3375 * Makeconfig (soversions-default-setname): Remove variable.
3376 ($(common-objpfx)soversions.i): Don't pass default_setname to
3377 soversions.awk.
3378 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3379 oldest_abi to abi-versions.awk.
3380 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3381 * config.make.in (oldest-abi): Remove variable.
3382 * configure.ac (--enable-oldest-abi): Remove configure option.
3383 * configure: Regenerated.
3384 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3385 text.
3386 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3387 * scripts/soversions.awk: Do not handle default_setname variable.
3388 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3389 variable.
3390 * sysdeps/mach/hurd/configure: Regenerated.
3391 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3392 variable.
3393 * sysdeps/unix/sysv/linux/configure: Regenerated.
3394
545583d6
SP
33952014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3396
d330b980
SP
3397 * elf/Makefile (CFLAGS-interp.c): Remove.
3398 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3399 path string.
3400 * elf/interp.c: Include generated runtime-linker.h
3401
02657da2
SP
3402 * Makerules (lib%.so): Don't include $(+interp) in
3403 prerequisites.
3404 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3405 * dlfcn/eval.c: Remove file.
3406
653b1080
SP
3407 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3408 macros.
3409
602f80ec
SP
3410 [BZ #17266]
3411 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3412 4.2 and newer.
3413
545583d6
SP
3414 [BZ #17370]
3415 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3416
884ddc50
SP
34172014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3418 Jakub Jelinek <jakub@redhat.com>
3419
3420 [BZ #17266]
3421 * libio/stdio.h: Check definition of __fortify_function
3422 instead of __extern_always_inline to include bits/stdio2.h.
3423 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3424 check if __extern_always_inline is defined.
3425 [__USE_MISC || __USE_XOPEN]: Likewise.
3426 [__USE_ISOC99] Likewise.
3427 * misc/sys/cdefs.h (__fortify_function): Define only if
3428 __extern_always_inline is defined.
3429 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3430 __extern_always_inline and __extern_inline only for g++-4.3
3431 and newer or a compatible gcc.
3432
a7b87268
AS
34332014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3434
3435 [BZ #17371]
3436 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3437 last change to handle zero prefix length.
3438
3f41521d
SP
34392014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3440
61fe374a
SP
3441 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3442 _SC_REGEX_VERSION.
3443
3f41521d
SP
3444 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3445 _POSIX_RAW_SOCKETS.
3446
d8f879ee
AM
34472014-09-13 Allan McRae <allan@archlinux.org>
3448
3449 * po/ru.po: Update Russian translation from translation project.
3450
c079afb7
RM
34512014-09-12 Roland McGrath <roland@hack.frob.com>
3452
a62b3c15
RM
3453 * locale/programs/locale.c (show_locale_vars): Inline local function
3454 into its sole call site. Clean up some style nits.
3455 (print_item): New function, broken out of ...
3456 (show_info): ... local function here. Clean up style nits.
3457
d7e49b19
RM
3458 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3459 out of ...
3460 (set_class_defaults): ... local function set_default here.
3461 Define set_default as a macro locally to pass constant parameters.
3462 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3463 rather than a shared local.
3464
c079afb7
RM
3465 * stdlib/rpmatch.c (try): New function, broken out of ...
3466 (rpmatch): ... local function here. Also, prototypify definition.
3467
0bd72468
JM
34682014-09-12 Joseph Myers <joseph@codesourcery.com>
3469
ba90e050
JM
3470 * scripts/soversions.awk: Do not handle configuration names.
3471 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3472 vendor and os variables to soversions.awk.
3473 * configure.ac: Do not modify gnu-* host_os.
3474 * configure: Regenerated
3475 * shlib-versions: Remove first column with configuration names.
3476 * nptl/shlib-versions: Likewise.
3477 * nptl_db/shlib-versions: Likewise.
3478 * sysdeps/hppa/shlib-versions: Likewise.
3479 * sysdeps/m68k/shlib-versions: Likewise.
3480 * sysdeps/mach/hurd/shlib-versions: Likewise.
3481 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3482 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3483 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3484 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3485 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3486 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3487 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3488 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3490 Likewise.
3491 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3492 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3493 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3494 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3496 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3497 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3499
73a39112
JM
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3501 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3503 Regenerated.
3504 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3506 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3507
c729e7c1
JM
3508 * shlib-versions: Remove OS-specific entries. Moved to files in
3509 sysdeps.
3510 * sysdeps/mach/hurd/shlib-versions: New file.
3511 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3512
dc932a24
JM
3513 * nptl/shlib-versions: Remove architecture-specific entries.
3514 Moved to files in sysdeps.
3515 * shlib-versions: Likewise.
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3517 file.
3518 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3519 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3522
0bd72468
JM
3523 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3524 (UDP_NO_CHECK6_RX): Likewise.
3525
920238e0
SP
35262014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3527
3528 * sysdeps/posix/sysconf.c (__sysconf): Spell
3529 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3530
ba7b4d29
FW
35312014-08-12 Florian Weimer <fweimer@redhat.com>
3532
3533 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3534 loading.
3535 * iconv/Versions (__gconv_transliterate): Export for use from
3536 gconv modules.
3537 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3538 (struct __gconv_trans_data, __gconv_trans_fct,
3539 __gconv_trans_context_fct, __gconv_trans_query_fct,
3540 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3541 definitions.
3542 (struct __gconv_step_data): Remove __trans member.
3543 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3544 longer hidden. Remove unused trans_data argument.
3545 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3546 (__gconv_translit_find): Remove declaration.
3547 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3548 prototype.
3549 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3550 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3551 trans_data argument. Add hidden definition.
3552 (__gconv_translit_find): Remove.
3553 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3554 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3555 * iconv/skeleton.c: Remove transliteration initialization.
3556 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3557 __gconv_step_data initialization.
3558 * libio/iofwide.c (__libio_translit_): Remove.
3559 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3560 * wcsmbs/btowc.c (__btowc): Likewise.
3561 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3562 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3563 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3564 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3565 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3566 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3567 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3568 * wcsmbs/wctob.c (wctob): Likewise.
3569
5379aebd
SP
35702014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
3572 [BZ #16194]
3573 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3574 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3575 register usage.
3576 * sysdeps/x86/Makefile: Adjust.
3577
8c0ab919
RM
35782014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3579 Roland McGrath <roland@hack.frob.com>
3580
3581 * locale/weight.h: Add include guard.
3582 (findidx): Make static rather than auto; take new parameters
3583 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3584 * locale/weightwc.h: Likewise.
3585 * posix/fnmatch_loop.c
3586 (FCT): Change type of EXTRA from int32_t to wint_t.
3587 Don't include either header inside the function.
3588 Call FINDIDX rather than findidx, and pass new arguments.
3589 #undef FINDIDX at the end of the file.
3590 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3591 FINDIDX before including fnmatch_loop.c for the non-wide version.
3592 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3593 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3594 for the wide version.
3595 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3596 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3597 Pass new arguments to findidx.
3598 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3599 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3600 Don't #include it inside the function. Pass new arguments to findidx.
3601 * posix/regex_internal.h
3602 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3603 (re_string_elem_size_at): Don't #include it inside the function.
3604 Pass new arguments to findidx.
3605 * string/strcoll_l.c: #include WEIGHT_H at top level.
3606 (get_next_seq): Don't #include it inside the function.
3607 Pass new arguments to findidx.
3608 (get_next_seq_nocache): Likewise.
3609 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3610 (STRXFRM): Don't #include it inside the function.
3611 Pass new arguments to findidx.
3612
52ffbdf2
FW
36132014-09-11 Florian Weimer <fweimer@redhat.com>
3614
3615 [BZ #17344]
3616 * malloc/malloc.c (unlink): Turn asserts into a call to
3617 malloc_printerr.
3618
984c0ea9
TL
36192014-09-11 Tim Lammens <tim.lammens@gmail.com>
3620
3621 [BZ #17370]
3622 * libio/wfileops (do_ftell_wide): Free OUT.
3623
3daee107
CM
36242014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3625
3626 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3627
58b930ae
SP
36282014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3629
3630 [BZ #17363]
3631 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3632 group if the current group is empty.
3633
3b473fec
AZ
36342014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3635
71ae8647
AZ
3636 * benchtests/bench-memset.c (test_main): Add more test from size
3637 from 32 to 512 bytes.
3638 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3639 Add POWER8 memset object.
3640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3641 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3642 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3643 implementation.
3644 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3645 Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3647 multiarch POWER8 memset optimization.
3648 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3649 POWER8 memset optimization.
3650
3b473fec
AZ
3651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3652 Remove bzero multiarch objects.
3653 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3654 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3657 Remove define.
3658 [__bzero]: Redefine to specific name.
3659 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3661 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3662 define.
3663 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3664 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3665
e6fb9587
FW
36662014-09-10 Florian Weimer <fweimer@redhat.com>
3667
3668 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3669 warnings into errors.
3670
3671 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3672 __cxa_thread_atexit_impl prototype.
3673
9d3a350b
SE
36742014-09-09 Steve Ellcey <sellcey@mips.com>
3675
3676 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3677 Fix capitalization of error message.
3678
0febba23
SE
36792014-09-09 Steve Ellcey <sellcey@mips.com>
3680
3681 * sysdeps/mips/preconfigure: Modify ABI tests.
3682
645a0e9c
CD
36832014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3684
3685 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3686
d83f0734
CD
36872014-09-07 Roland McGrath <roland@hack.frob.com>
3688 Carlos O'Donell <carlos@systemhalted.org>
3689
3690 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3691 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3692 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3693 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3694 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3695 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3696 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3697 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3698 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3699 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3700 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3701 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3702 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3703 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3704 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3705 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3706 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3707 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3708 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3709 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3710 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3711 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3712 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3713 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3714 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3715 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3716 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3717 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3718 Deconditionalize the code that was previously under [RESET_PID].
3719 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3720 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3721 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3722 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3723 include sysdep.h.
3724
21c83793
AM
37252014-09-08 Allan McRae <allan@archlinux.org>
3726
3727 * version.h (RELEASE): Set to "development".
3728 (VERSION): Set to "2.20.90"
3729
1cd9b65c
AM
37302014-09-07 Allan McRae <allan@archlinux.org
3731
b8079dd0
AM
3732 * version.h (RELEASE): Set to "stable".
3733 (VERSION): Set to "2.20"
3734 * include/features.h (__GLIBC_MINOR__): Set to 20.
3735
c46303ef
AM
3736 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3737 Liebler.
3738
1cd9b65c
AM
3739 * po/ko.po: Update Korean translation from translation project.
3740
8622092d
CM
37412014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3742
3743 [BZ #17354]
3744 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3745 macro for handling signed relocations.
3746
41488498
FW
37472014-09-03 Florian Weimer <fweimer@redhat.com>
3748
3749 [BZ #17325]
3750 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3751 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3752 assert.
3753 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3754 * iconvdata/ibm935.c (BODY): Likewise.
3755 * iconvdata/ibm937.c (BODY): Likewise.
3756 * iconvdata/ibm939.c (BODY): Likewise.
3757 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3758 assert.
3759 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3760 script.
3761 * iconvdata/run-iconv-test.sh: New test loop for checking for
3762 decoder crashers.
3763
a78b712d
KR
37642014-09-02 Khem Raj <raj.khem@gmail.com>
3765
3766 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3767 libm_hidden_ver.
3768
cb08abc6
AM
37692014-09-01 Allan McRae <allan@archlinux.org>
3770
2c31e102
AM
3771 * po/eo.po: Update Esperanto translation from translation project.
3772
cb08abc6
AM
3773 * po/ca.po: Update Catalan translation from translation project.
3774
17a62de1
ST
37752014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3776
3777 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3778 __proc_dostop call.
3779
9570bc53
MW
37802014-08-27 Mark Wielaard <mjw@redhat.com>
3781
3782 [BZ #17319]
3783 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3784 to call set_thread_area instead of hand written asm.
3785 (__NR_set_thread_area): Removed define.
3786 (TLS_FLAG_WRITABLE): Likewise.
3787 (__ASSUME_SET_THREAD_AREA): Remove check.
3788 (TLS_EBX_ARG): Remove define.
3789 (TLS_LOAD_EBX): Likewise.
3790
b0f955c9
ST
37912014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3792
3793 Simplify atomicity of socket creation in bind.
3794
3795 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3796 looking up the name after linking the file.
3797
529bf515
AM
37982014-08-27 Allan McRae <allan@archlinux.org>
3799
3800 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3801
a1a6a401
FW
38022014-08-26 Florian Weimer <fweimer@redhat.com>
3803
3804 [BZ #17187]
3805 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3806 trans_compare, open_translit, __gconv_translit_find):
3807 Remove module loading code.
3808
686ab290
AM
38092014-08-26 Allan McRae <allan@archlinux.org>
3810
e4e7cfd2
AM
3811 * po/vi.po: Update Vietnamese translation from translation project.
3812
6aa09f71
AM
3813 * po/uk.po: Update Ukrainian translation from translation project.
3814
edc0660e
AM
3815 * po/fr.po: Update French translation from translation project.
3816
7eea72ac
AM
3817 * po/ru.po: Update Russian translation from translation project.
3818
93c49eff
AM
3819 * po/pl.po: Update Polish translation from translation project.
3820
46acaf63
AM
3821 * po/cs.po: Update Czech translation from translation project.
3822
a9f5ce98
AM
3823 * po/de.po: Update German translation from translation project.
3824
373f2b78
AM
3825 * po/bg.po: Update Bulgarian translation from translation project.
3826
e7548bd8
AM
3827 * po/sv.po: Update Sweedish translation from translation project.
3828
c526bf4d
AM
3829 * po/nl.po: Update Dutch translation from translation project.
3830
686ab290
AM
3831 * po/es.po: Update Spanish translation from translation project.
3832
eb72478a
SP
38332014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3834
dd763fdb
SP
3835 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3836
318c7a58
SP
3837 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3838 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3839 (CPPFLAGS-iconvconfig): Likewise.
3840 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3841
eb72478a
SP
3842 * include/libc-symbols.h: Remove unnecessary check for
3843 NOT_IN_libc.
3844 * nptl/pthreadP.h: Likewise.
3845 * sysdeps/aarch64/setjmp.S: Likewise.
3846 * sysdeps/alpha/setjmp.S: Likewise.
3847 * sysdeps/arm/sysdep.h: Likewise.
3848 * sysdeps/i386/setjmp.S: Likewise.
3849 * sysdeps/m68k/setjmp.c: Likewise.
3850 * sysdeps/posix/getcwd.c: Likewise.
3851 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3852 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3853 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3854 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3855 * sysdeps/sh/sh3/setjmp.S: Likewise.
3856 * sysdeps/sh/sh4/setjmp.S: Likewise.
3857 * sysdeps/unix/alpha/sysdep.h: Likewise.
3858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3860 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3861 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3866 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3869 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3871 * sysdeps/x86_64/setjmp.S: Likewise.
3872
d44a052c
JM
38732014-08-13 Joseph Myers <joseph@codesourcery.com>
3874
3875 [BZ #17263]
3876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3877 <stdint.h>.
3878 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3879 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3880
508ce3ac
SP
38812014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3882
e44c8b0e
SP
3883 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3884
508ce3ac
SP
3885 [BZ #17262]
3886 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3887 and __x86_64__ when disabling x87 inline functions.
3888
b4acef1f
L
38892014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3890
3891 [BZ #17259]
3892 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3893 asm statement with __cpuid_count.
3894
61b1ef6e
MF
38952014-08-12 Mike Frysinger <vapier@gentoo.org>
3896
3897 * configure.ac: Change __ehdr_start code to dereference the struct.
3898 Run readelf on the output to look for relocations.
3899 * configure: Regenerated.
3900
898c62f4
JM
39012014-08-12 Joseph Myers <joseph@codesourcery.com>
3902
3903 [BZ #17261]
3904 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3905 value to 0.
3906 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3907
9a8a5720
RM
39082014-08-12 Roland McGrath <roland@hack.frob.com>
3909
3910 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3911
4e75751c
BO
39122014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3913
3914 [BZ #16892]
3915 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3916 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3917
bb2ce416
SA
39182014-08-12 Sean Anderson <seanga2@gmail.com>
3919
3920 * malloc/malloc.c: Fix typo in comment.
3921
7950a4ee
AM
39222014-08-09 Allan McRae <allan@archlinux.org>
3923
3924 * Regenerate libc.po.
3925
f469c49f
MF
39262014-08-08 Mike Frysinger <vapier@gentoo.org>
3927
3928 * intl/tst-gettext2.sh: Check every lang file for creation.
3929
656b84c2
WD
39302014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3931
3932 * sysdeps/aarch64/fpu/math_private.h
3933 (libc_feholdsetround_noex_aarch64_ctx): New function.
3934
538e9e45
W
39352014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3936
3937 * sysdeps/arm/armv6/strcpy.S (strcpy):
3938 Fix performance issue in misaligned cases.
3939
d4795e4a
AZ
39402014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941
3942 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3943 Move definition from termios.h.
3944 (struct termio): Likewise.
3945 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3946 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3947 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3948 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3949 Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3951 Move definition to ioctl-types.h
3952 (struct termio): Likewise.
3953 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3954 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3955 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3956 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3957 Likewise.
3958
64accb62
RH
39592014-08-05 Richard Henderson <rth@redhat.com>
3960
27bb6dc0
RH
3961 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3962 exceptions.
3963 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3964 Add fraiseexcpt.
3965 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3966 Use __feraiseexcept.
3967 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3968 Protect libm symbols with IS_IN_libm.
3969
64accb62
RH
3970 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3971
e5292691
BO
39722014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3973
3974 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3975
5b4bd2d4
WN
39762014-08-04 Will Newton <will.newton@linaro.org>
3977
3978 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3979 file.
3980
fcadaeef
MF
39812014-08-04 Mike Frysinger <vapier@gentoo.org>
3982
3983 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3984 variants for each function.
3985
43a94c64
RM
39862014-08-04 Roland McGrath <roland@hack.frob.com>
3987
3988 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3989 appended ...
3990 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3991 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3992 appended ...
3993 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3994 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3995 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3996 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3997 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3998 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3999 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4000 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4001 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4002 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4003 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4005 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4006 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4007 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4008 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4009 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4010 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4011 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4013 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4014 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4015 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4017 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4018 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4019 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4021 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4023 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4024 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4025 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4026 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4027 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4028 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4029 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4030 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4031 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4032 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4033 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4035 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4037 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4038 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4039 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4040 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4041 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4042 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4043 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4044 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4045 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4046 Update #include.
4047 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4048 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4049
8f3c1fa4
RM
40502014-08-04 Roland McGrath <roland@hack.frob.com>
4051
4052 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4053 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4054 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4055 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4056 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4057 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4058
ca08746f
RM
40592014-08-04 Roland McGrath <roland@hack.frob.com>
4060
4061 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4062 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4063 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4064 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4065
9c925ff9
RM
40662014-08-04 Roland McGrath <roland@hack.frob.com>
4067
4068 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4069 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4070 (__libc_vfork): Define function under this name.
4071 (__vfork): Define as an alias.
4072 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4073 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4074
e641054c
RM
40752014-08-04 Roland McGrath <roland@hack.frob.com>
4076
4077 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4078 that was previously under [RESET_PID].
4079 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4080
dacdc867
AS
40812014-08-04 Andreas Schwab <schwab@suse.de>
4082
4083 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4084
41f725ff
MF
40852014-08-03 Mike Frysinger <vapier@gentoo.org>
4086
4087 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4088 (main): Likewise.
4089
277cfb31
RM
40902014-08-01 Roland McGrath <roland@hack.frob.com>
4091
4092 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4093
4896f049
RH
40942014-08-01 Richard Henderon <rth@redhat.com>
4095
4096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4097 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4098 typo in exact zero test.
4099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4102
6f64e7d7
RM
41032014-08-01 Roland McGrath <roland@hack.frob.com>
4104
4105 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4106 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4107 * sysdeps/arm/sysdep.h: ... here.
4108 [!__ASSEMBLER__]: Include <stdint.h>.
4109
3f3dd810
SP
41102014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
a476ac4b
SP
4112 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4113 (HAVE_WCTYPE_H): Likewise.
4114 (HAVE_ISWCTYPE): Likewise.
4115 (ENABLE_NLS): Likewise.
4116 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4117 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4118
78dd658a
SP
4119 * posix/regex_internal.c: Check if DEBUG is defined and is
4120 set.
4121
3f3dd810
SP
4122 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4123 (HAVE_MBSRTOWCS): Likewise.
4124 * posix/fnmatch.c: Include string.h unconditionally.
4125
95ee7fb1
SL
41262014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4127
4128 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4129 reversal.
4130
23fe486b
RM
41312014-07-31 Roland McGrath <roland@hack.frob.com>
4132
f61a113f
RM
4133 * sysdeps/generic/safe-fatal.h: New file.
4134 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4135 * nptl/forward.c: Include it.
4136 (__pthread_unwind): Use __safe_fatal as default action, rather
4137 than a bogus use of INTERNAL_SYSCALL that could never work.
4138
9fe7e787
RM
4139 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4140 * configure.ac (libc_cv_builtin_trap): New test.
4141 * configure: Regenerated.
4142 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4143 (ABORT_INSTRUCTION): Define using __builtin_trap.
4144
23fe486b
RM
4145 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4146 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4147 * sysdeps/nptl/nptl-signals.h: New file.
4148 * nptl/pthreadP.h: Include <nptl-signals.h>.
4149
f349489e
SL
41502014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4151
4152 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4153 (ONE_DIRECTION): Define.
4154 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4155 (ONE_DIRECTION): Define.
4156 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4157 (ONE_DIRECTION): Define.
4158
2f438e20
SL
41592014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4160
4161 * sysdeps/s390/Makefile: Delete file.
4162 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4163 * sysdeps/s390/__longjmp.c: Delete file.
4164 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4165 Remove fields __flags and __reserved.
4166 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4167 and add versioning.
4168 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4169 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4170 * sysdeps/s390/rtld-setjmp.S: Likewise.
4171 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4172 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4173 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4174 * sysdeps/s390/s390-32/setjmp.S: ... here.
4175 Add versioning.
4176 (__sigsetjmp): Remove setting __flags field.
4177 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4178 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4179 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4180 * sysdeps/s390/s390-64/setjmp.S: ... here.
4181 Add versioning.
4182 (__sigsetjmp): Remove setting __flags field.
4183 * sysdeps/s390/setjmp.S: Delete file.
4184 * sysdeps/s390/sigjmp.c: Likewise.
4185 * sysdeps/s390/v1-longjmp.c: Likewise.
4186 * sysdeps/s390/v1-setjmp.h: Likewise.
4187 * sysdeps/s390/v1-sigjmp.c: Likewise.
4188 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4189 Remove v1-longjmp_chk.
4190 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4191 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4192 Include debug/longjmp_chk.c and add versioning.
4193 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4194 Include nptl/pt-longjmp.c and add versioning.
4195 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4196 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4197 Include __longjmp.c.
4198 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4199 Move to ...
4200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4201 (__getcontext): Remove setting __flags field.
4202 Add versioning.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4204 Don't restore upper high grps.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4206 Likewise.
4207 (__swapcontext): Remove setting uc_flags field.
4208 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4209 Delete file.
4210 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4211 Include __longjmp.c.
4212 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4213 Move to ...
4214 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4215 (__getcontext): Remove setting __flags field.
4216 Add versioning.
4217 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4218 (__swapcontext): Remove setting uc_flags field.
4219 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4220 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4221 Remove fields uc_high_gprs and __reserved.
4222 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4223 New file with reverted content.
4224 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4226 Regenerated.
4227 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4228 Regenerated.
4229
6c9578a2
AS
42302014-07-31 Andreas Schwab <schwab@suse.de>
4231
4232 * config.h.in (HAVE_IFUNC): Define to 0.
4233 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4234 definedness.
4235
05f3633d
LM
42362014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4237
4238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4239 memmove-avx-unaligned, memcpy-avx-unaligned and
4240 mempcpy-avx-unaligned.
4241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4242 Add tests for AVX memcpy functions.
4243 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4244 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4245 memcpy_chk.
4246 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4247 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4248 memmove_chk.
4249 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4250 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4251 mempcpy_chk.
4252 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4253 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4254 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4255
a53fbd8e
AZ
42562013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4257
4258 [BZ #17213]
4259 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4260 powerpc64le.
4261
0961f7e1
JL
42622014-07-29 Jeff Layton <jlayton@poochiereds.net>
4263
4264 [BZ #16839]
4265 * manual/llio.texi: Add section about open file description locks.
4266 * manual/examples/ofdlocks.c: Example of open file description
4267 lock usage.
4268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4269 F_OFD_SETLK, and F_OFD_SETLKW.
4270
cc5fb300
AM
42712014-07-23 Allan McRae <allan@archlinux.org>
4272
4273 * po/es.po: Update Spanish translation from translation project.
4274
23329dca
AS
42752014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4276
4277 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4278
9c82da17
MR
42792014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4280
4281 [BZ #17078]
4282 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4283 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4284 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4285
29c4f53e
JM
42862014-07-17 Joseph Myers <joseph@codesourcery.com>
4287
831b9896
JM
4288 [BZ #17088]
4289 * math/fesetenv.c (__fesetenv)
4290 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4291 * math/feupdateenv.c (__feupdateenv)
4292 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4293
b21c2d50
JM
4294 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4295 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4296 (__ASSUME_SOCKETCALL): Do not define.
4297
067764ef
JM
4298 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4299 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4300 (__ASSUME_SOCKETCALL): Do not define.
4301 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4302 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4303 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4304 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4305 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4306 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4307 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4308 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4309
642530c1
JM
4310 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4311 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4312 (__ASSUME_SOCKETCALL): Do not define.
4313 (__ASSUME_IPC64): Define unconditionally.
4314 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4315 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4316 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4317 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4318 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4319 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4320 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4321 Likewise.
4322
03f77315
JM
4323 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4324 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4325 (__ASSUME_SOCKETCALL): Do not define.
4326 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4327 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4328 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4329 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4330 (__ASSUME_REQUEUE_PI): Define unconditionally.
4331 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4332 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4333 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4334 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4335 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4336 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4337
083b1f7c
JM
4338 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4339 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4340 (__ASSUME_SOCKETCALL): Do not define.
4341 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4342 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4343 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4344 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4345 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4346 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4347
5be44ea6
JM
4348 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4349 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4350 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4351 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4352 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4353 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4354 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4355 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4356 (__ASSUME_GETCPU_SYSCALL): Likewise.
4357
d95ffd4c
JM
4358 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4359 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4360 cases for individual architectures.
4361 * sysdeps/gnu/configure: Regenerated.
4362 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4363 LIBC_SLIBDIR_RTLDDIR.
4364 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4365 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4366 LIBC_SLIBDIR_RTLDDIR.
4367 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4369 LIBC_SLIBDIR_RTLDDIR.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4371 Regenerated.
4372 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4373 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4374 file.
4375 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4377 file.
4378 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4379 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4382
29c4f53e
JM
4383 * sysdeps/aarch64/shlib-versions: Move to ...
4384 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4385 * sysdeps/alpha/shlib-versions: Move to ...
4386 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4387 * sysdeps/arm/shlib-versions: Move to ...
4388 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4389 * sysdeps/hppa/shlib-versions: Move all contents except for
4390 libgcc_s entry to ...
4391 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4392 entry from ...
4393 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4394 * sysdeps/ia64/shlib-versions: Move to ...
4395 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4396 entry from ...
4397 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4398 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4399 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4400 * sysdeps/microblaze/shlib-versions: Move to ...
4401 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4402 * sysdeps/mips/shlib-versions: Move to ...
4403 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4404 entry from ...
4405 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4406 * sysdeps/tile/shlib-versions: Move to ...
4407 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4408 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4409 from ...
4410 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4411 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4412 entry from ...
4413 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4414
32bead5b
WN
44152014-07-17 Will Newton <will.newton@linaro.org>
4416
57977c4b
WN
4417 * sysdeps/arm/bits/atomic.h
4418 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4419 (__arch_compare_and_exchange_bool_16_int): Likewise.
4420 (__arch_compare_and_exchange_bool_64_int): Likewise.
4421
32bead5b
WN
4422 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4423 into an #else block.
4424
37fccd41
RM
44252014-07-16 Roland McGrath <roland@hack.frob.com>
4426
4427 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4428 just Linux configurations. Test empirically that the compiler sets
4429 __ARM_EABI__, rather than using the tuple to decide.
4430 * sysdeps/arm/preconfigure: Regenerated.
4431 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4432 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4433 contents appended ...
4434 * sysdeps/arm/configure.ac: ... here.
4435 * sysdeps/arm/configure: Regenerated.
4436
b365f3ec
RM
44372014-07-15 Roland McGrath <roland@hack.frob.com>
4438
8badf496
RM
4439 * nptl/pthread_kill.c: New file.
4440 * nptl/pthread_sigmask.c: New file.
4441 * nptl/pthread_sigqueue.c: New file.
4442
3df6f22e
RM
4443 * sysdeps/nptl/lowlevellock.h: New file.
4444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4445 * sysdeps/nptl/lowlevellock-futex.h: New file.
4446
b365f3ec
RM
4447 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4448 Remove dead declarations.
4449
f2fef657
L
44502014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4453 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4454 config-cflags-avx2.
4455 * sysdeps/x86_64/configure.ac: Likewise.
4456 * sysdeps/i386/configure: Regenerated.
4457 * sysdeps/x86_64/configure: Likewise.
4458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4459 memset-avx2 only if config-cflags-avx2 is yes.
4460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4461 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4462 defined.
4463 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4464 only if HAVE_AVX2_SUPPORT is defined.
4465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4466
f6c44d47
AM
44672014-07-14 Alan Modra <amodra@gmail.com>
4468
4469 [BZ #17153]
4470 * elf/elf.h (DT_PPC64_NUM): Correct value.
4471 * NEWS: Add to fixed bug list.
4472
7ee03f00
JM
44732014-07-13 Jim Meyering <meyering@fb.com>
4474
4475 [BZ 17150]
4476 regex: don't deref NULL upon heap allocation failure
4477 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4478 failure in one more place.
4479 To trigger the segfault, configure grep -with-included-regex,
4480 build it, and run these commands:
4481 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4482
9d39d517
AS
44832014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4484
4485 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4486
a75b89b7
RH
44872014-07-11 Richard Henderson <rth@redhat.com>
4488
4489 * sysdeps/aarch64/libm-test-ulps: Update.
4490
771eb141
FW
44912014-07-10 Florian Weimer <fweimer@redhat.com>
4492
4493 [BZ #17135]
4494 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4495 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4496 (__nptl_setxid): Initialize error member. Call
4497 __nptl_setxid_error.
4498 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4499 * nptl/descr.h (struct xid_command): Add error member.
4500 * nptl/tst-setuid3.c: New file.
4501 * nptl/Makefile (tests): Add it.
4502
bc1da176
AZ
45032014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4504
4505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4506 New define.
4507 (__lll_trylock): Use __lll_base_trylock.
4508 (__lll_cond_trylock): Likewise.
4509
887865fc
RM
45102014-07-10 Roland McGrath <roland@hack.frob.com>
4511
c0c6bac9
RM
4512 * nptl/pthread_create.c (start_thread): Use atomic_or and
4513 lll_futex_wake directly rather than lll_robust_dead.
4514 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4515 (lll_robust_dead): Macro removed.
6a42be57 4516 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4517 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4518 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4519 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4520 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4521 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4522 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4523 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4524 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4526 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4527 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4530 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4531
887865fc
RM
4532 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4533 Use atomic_compare_and_exchange_val_acq directly rather than
4534 lll_robust_trylock.
4535 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4536 (__lll_robust_trylock, lll_robust_trylock): Removed.
4537 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4538 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4539 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4540 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4541 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4542 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4543 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4544 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4545 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4546 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4549 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4551
58536726
FW
45522014-07-02 Florian Weimer <fweimer@redhat.com>
4553
4554 * manual/locale.texi (Locale Names): New section documenting
4555 locale name syntax. Adjust menu and node chaining accordingly.
4556 (Choosing Locale): Reference Locale Names, Locale Categories.
4557 Mention setting LC_ALL=C. Reflect that name syntax is now
4558 documented.
4559 (Locale Categories): New section title. Reference Locale Names.
4560 LC_ALL is an environment variable, but not a category.
4561 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4562 description, now in Locale Name. Reference that section. Locale
4563 name syntax is now documented.
4564
4e8f95a0
FW
45652014-07-02 Florian Weimer <fweimer@redhat.com>
4566
4567 [BZ #17137]
4568 * locale/findlocale.c (name_present, valid_locale_name): New
4569 functions.
4570 (_nl_find_locale): Use the loc_name variable to store name
4571 candidates. Call name_present and valid_locale_name to check and
4572 validate locale names. Return an error if the locale is invalid.
4573
d1836456
FW
45742014-07-02 Florian Weimer <fweimer@redhat.com>
4575
4576 * locale/setlocale.c (setlocale): Use strdup for allocating
4577 composite name copy.
4578
d69b7f5a
SP
45792014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4580
888c679b
SP
4581 Sync up with gnulib.
4582 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4583 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4584 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4585 and _GL_ARG_NONNULL.
4586 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4587 [!_LIBC]: Include code for Windows and Cygwin.
4588 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4589 Include prototype for int strerror_r.
4590 [!_LIBC] (is_open): New function.
4591 (flush_stdout): New function.
4592 (print_errno_message): Use it.
4593 (error): Likewise.
4594 (error_at_line): Likewise.
4595 (error_tail) Add function attribute macros. Use
4596 __builtin_expect.
4597
180e0e4b
SP
4598 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4599
d22f1fe2
SP
4600 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4601
12f2254b
SP
4602 * io/ftw.c: Include sys/param.h unconditionally.
4603
c3c7c360
SP
4604 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4605
d62aa75a
SP
4606 [BZ #17125]
4607 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4608 libc_freeres_ptr.
4609 (freecache): New function to free CACHE on exit.
4610
d69b7f5a
SP
4611 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4612 initialization.
4613
5efe06a1
DM
46142014-07-09 David S. Miller <davem@davemloft.net>
4615
4616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4617
7000d82e
DM
4618 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4619 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4620 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4621 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4622 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4623 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4624 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4625 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4626 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4627 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4628 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4629 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4630 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4631
c213442d
AS
46322014-07-09 Andreas Schwab <schwab@suse.de>
4633
4a2552c3
AS
4634 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4635 output.
4636 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4637 (do_test): Likewise.
4638
c213442d
AS
4639 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4640
82374e65
WN
46412014-07-09 Will Newton <will.newton@linaro.org>
4642
4643 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4644 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4645 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4646 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4647 * sysdeps/hppa/start.S (_start): Likewise.
4648
6680738a
SP
46492014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
6ee3eab4
SP
4651 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4652
6680738a
SP
4653 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4654 defined.
4655
80b5c505
SP
46562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4657
e35c53e3
SP
4658 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4659 after checking that it is non-NULL.
4660
80b5c505
SP
4661 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4662
91f4b564
AZ
46632014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664
27b75f56
AZ
4665 * sysdeps/powerpc/memmove.c: Remove file.
4666 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4667 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4668 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4669 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4670 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4671 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4672 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4673 string memmove instead of removed powerpc one.
4674
e7f95bb5
AZ
4675 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4676 [weak_alias]: Fix compiler warning due trailing data.
4677 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4678 [weak_alias]: Likewise.
4679 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4680 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4681
91f4b564
AZ
4682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4683 (__libc_ifunc_impl_list): Add memmove functions.
4684
7c33f1e5
SP
46852014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4686
4687 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4688 Remove code.
4689 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4690 Likewise
4691 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4692 Likewise
4693 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4694 Likewise
4695 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4696 Likewise
4697 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4698 Likewise
4699 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4700 Likewise
4701 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4702 Likewise
4703 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4704 Likewise
4705 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4706 Likewise
4707 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4708 Likewise
4709 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4710 Likewise
4711 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4712 Likewise
4713 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4714 Likewise
4715 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4716 Likewise
4717 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4718 Likewise
4719 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4720 Likewise
4721
3f17b03b
AZ
47222014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4723
87868c24
AZ
4724 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4725 to avoid alignment traps in non-cacheable memory.
4726 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4727
07aedd78
AZ
4728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4729 multiarch objects.
4730 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4731 file: multiarch power7 memmove.
4732 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4733 multiarch default memmove.
4734 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4735 multiarch memove for powerpc32/power4.
4736
17762f66
AZ
4737 * string/bcopy.c: Use full path to include memmove.c.
4738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4739 multiarch objects.
4740 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4741 bcopy for powerpc64.
4742 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4743 bcopy for powerpc64.
4744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4745 and memmove implementations.
4746 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4747 optimized multiarch memmove for POWER7/powerpc64.
4748 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4749 default multiarch memmove for powerpc64.
4750 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4751 multiarch for powerpc64.
4752 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4753 for POWER7/powerpc64.
4754 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4755 memmove for POWER7/powerpc64.
4756
d6f68bbe
AZ
4757 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4758 glibc default one.
4759
3f17b03b
AZ
4760 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4761 __ELF_NATIVE_CLASS equal to 64.
4762
08192659
RM
47632014-07-07 Roland McGrath <roland@hack.frob.com>
4764
f4c4021b
RM
4765 * sysdeps/nptl/lowlevellock.h: File removed.
4766
f083450f
RM
4767 * NEWS: NPTL is no longer an add-on!
4768 * nptl/internaltypes.h: Moved ...
4769 * sysdeps/nptl/internaltypes.h: ... here.
4770 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4771 * sysdeps/nptl/fork.c: Likewise.
4772 * sysdeps/nptl/gai_misc.h: Likewise.
4773 * sysdeps/nptl/librt-cancellation.c: Likewise.
4774 * sysdeps/nptl/jmp-unwind.c: Likewise.
4775 * sysdeps/nptl/setxid.h: Likewise.
4776 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4777 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4778 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4779 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4780 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4781 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4782 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4783 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4784 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4785 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4786 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4787 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4788 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4789 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4790 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4791 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4792 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4793 * nptl/Makeconfig: Moved ...
4794 * sysdeps/nptl/Makeconfig: ... here.
4795 * nptl/configure: File removed.
4796 * nptl/ANNOUNCE: File removed.
4797 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4798 * sysdeps/unix/sysv/linux/configure: Regenerated.
4799
08192659
RM
4800 * nptl/Makefile (routines): Add libc_pthread_init,
4801 libc_multiple_threads, register-atfork and unregister-atfork.
4802 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4803 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4804 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4805 pthread-pi-defines.sym, structsem.sym.
4806 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4807 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4808 [$(subdir) = nptl] (tests): Add tst-setgetname.
4809 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4810 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4811 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4812 [!LIBC_SIGACTION]: Remove aliases.
4813 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4814 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4815 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4816 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4817 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4821 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4822 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4823 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4824 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4825 __libc_allocate_rtsig_private.
4826 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4828 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4829 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4830 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4831 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4832 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4833 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4834 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4835 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4836 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4837 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4838 * nptl/internaltypes.h: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4840 * sysdeps/nptl/jmp-unwind.c: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4842 * nptl/libc-lowlevellock.c: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4844 * nptl/libc_multiple_threads.c: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4846 * nptl/libc_pthread_init.c: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4848 * nptl/lowlevelbarrier.sym: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4850 * nptl/lowlevelcond.sym: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4852 * nptl/lowlevellock.c: ... here.
4853 * nptl/lowlevellock.h: Moved ...
4854 * sysdeps/nptl/lowlevellock.h: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4856 * nptl/lowlevelrobustlock.c: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4858 * nptl/lowlevelrobustlock.sym: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4860 * nptl/lowlevelrwlock.sym: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4862 * nptl/pt-fork.c: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4864 * nptl/pthread-pi-defines.sym: ... here.
4865 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4866 * nptl/pthread_attr_getaffinity.c: ... here.
4867 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4868 * nptl/pthread_attr_setaffinity.c: ... here.
4869 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4870 * nptl/pthread_mutex_cond_lock.c: ... here.
4871 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4872 Update #include.
4873 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4874 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4875 * nptl/pthread_once.c: ... here, replacing old file.
4876 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4877 * nptl/pthread_yield.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4879 * nptl/register-atfork.c: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4881 * nptl/sem_post.c: ... here.
4882 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4883 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4884 * nptl/sem_timedwait.c: ... here.
4885 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4886 * nptl/sem_trywait.c: ... here.
4887 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4888 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4889 * nptl/sem_wait.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4891 * nptl/structsem.sym: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4893 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4894 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4895 * nptl/unregister-atfork.c: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4897 * nptl/unwindbuf.sym: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4899 * sysdeps/nptl/fork.c: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4901 * sysdeps/nptl/fork.h: ... here.
4902 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4903 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4904 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4906 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4908 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4910 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4912 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4913 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4914 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4916 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4918 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4920 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4922 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4924 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4926 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4928 * sysdeps/unix/sysv/linux/raise.c: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4930 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4932 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4934 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4936 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4938 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4940 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4941 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4942 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4943 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4944
96baf6ff
SP
49452014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4946
4947 * sysdeps/generic/memcopy.h: Add comment for
4948 MEMCPY_OK_FOR_FWD_MEMMOVE.
4949
6b7b14b2
WN
49502014-07-04 Will Newton <will.newton@linaro.org>
4951
1570a72b
WN
4952 * string/memchr.c: Merge from gnulib.
4953 [_LIBC]: Remove conditionals.
4954 (__ptr_t): Remove define.
4955 (LONG_MAX_32_BITS): Likewise.
4956 (LONG_MAX): Likewise.
4957 (MEMCHR): Use ANSI prototype and optimize algorithm.
4958
6b7b14b2
WN
4959 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4960
38851324
SP
49612014-07-03 Roland McGrath <roland@hack.frob.com>
4962
3d9eb57c
RM
4963 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4964 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4965
78b984ae
RM
4966 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4967 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4968 in a bare environment with no <stdlib.h> installed.
4969 * sysdeps/nptl/configure: Regenerated.
4970
2d5976a5
RM
4971 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4972
c1f5acd4
RM
4973 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4974 AC_EGREP_CPP for kernel header checks, so they only succeed if
4975 including <linux/version.h> actually works right.
4976 * sysdeps/unix/sysv/linux/configure: Regenerated.
4977
4d614fe5
RM
4978 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4979 value so it's not diagnosed as unused.
4980
38851324
SP
4981 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4982 thing) with "ifeq ($(subdir),rt)".
4983
b3ec00e5
RH
49842014-07-03 Richard Henderson <rth@redhat.com>
4985
69862e25
RH
4986 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4987 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4988 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4989
d5e16ade
RH
4990 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4991 (math_force_eval): New.
4992
ca7b945c
RH
4993 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4994 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4995
cd1175a3
RH
4996 * sysdeps/alpha/fpu/s_round.c: Remove file.
4997 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4998
b3ec00e5
RH
4999 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5000 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5001 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5002 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5003 (_dl_start, print_statistics): Likewise.
5004 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5005 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5006
5007 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5008 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5009 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5010 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5011 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5012 (HP_SMALL_TIMING_AVAIL): Define.
5013 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5014 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5015 (HP_SMALL_TIMING_AVAIL): Define.
5016 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5017 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5018
5019 * sysdeps/aarch64/hp-timing.h: New file.
5020
5021 * sysdeps/generic/hp-timing.h: Remove dead comment.
5022 * sysdeps/generic/hp-timing-common.h: New file.
5023 * sysdeps/alpha/hp-timing.h: Include it.
5024 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5025 * sysdeps/i386/i686/hp-timing.h: Likewise.
5026 * sysdeps/ia64/hp-timing.h: Likewise.
5027 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5028 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5030 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5031 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5032 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5033 (hp_timing_t): New.
5034
5035 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5036 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5037 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5038 * elf/rtld.c (_dl_start_final): Likewise.
5039 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5040 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5041 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5042 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5043 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5045 (HP_TIMING_DIFF_INIT): Remove.
5046 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5048 (HP_TIMING_DIFF_INIT): Remove.
5049 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5050 * sysdeps/i386/i686/hp-timing.c: Remove file.
5051 * sysdeps/x86_64/hp-timing.c: Remove file.
5052 * sysdeps/ia64/hp-timing.c: Remove file.
5053 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5054 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5055 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5056 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5057
5058 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5059 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5060 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5061 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5063 (HP_TIMING_ACCUM): Remove.
5064 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5066 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5067
5068 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5069 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5070 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5071 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5072 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5073 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5074 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5075 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5076
5077 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5078
225f410f
MR
50792014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5080
5081 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5082
3247f285
SP
50832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5084
5085 Sync up with gettext.
5086 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5087 [_MSC_VER]: Include malloc.h
5088 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5089 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5090 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5091 TEMP_FAILURE_RETRY. Cast return of alloca.
5092 [!_LIBC] Call gl_rwlock_init.
5093 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5094
d12704c7
SP
50952014-07-02 Roland McGrath <roland@hack.frob.com>
5096
5097 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5098 before checking its value.
5099
99f8dc92
SP
51002014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5101
05fdac77
SP
5102 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5103
99f8dc92
SP
5104 * debug/memcpy_chk.c: Don't include pagecopy.h.
5105 * debug/mempcpy_chk.c: Likewise.
5106 * string/memcpy.c: Likewise.
5107 * string/memmove.c: Likewise.
5108 * sysdeps/powerpc/memmove.c: Likewise.
5109 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5110 definition of PAGE_COPY_FWD_MAYBE here...
5111 * sysdeps/generic/pagecopy.h: ... from here.
5112 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5113
bc8ea385
VR
51142014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5115 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5116
5117 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5119 optimizations.
5120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5121 (__libc_ifunc_impl_list): Likewise.
5122 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5123 multiarch strcat for PPC64.
5124 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5125 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5126
fe5f34e4
RM
51272014-07-02 Roland McGrath <roland@hack.frob.com>
5128
5129 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5130
256aa665
SP
51312014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5132
d4eb8195
SP
5133 * intl/loadmsgcat.c: Remove declaration of
5134 get_sysdep_segment_value.
5135 (get_sysdep_segment_value): Use ISO C style.
5136 (_nl_load_domain): Use ISO C style. Get rid of redundant
5137 semicolon. Fix typo and formatting in comment.
5138 (_nl_unload_domain): Use ISO C style.
5139
256aa665
SP
5140 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5141
b100f9aa
WN
51422014-07-02 Will Newton <will.newton@linaro.org>
5143
5144 * malloc/obstack.c: Merge from gnulib master.
5145 [HAVE_CONFIG_H]: Remove conditional code.
5146 [!_LIBC]: Include config.h.
5147 [!ELIDE_CODE]: Don't include inttypes.h, include
5148 stdint.h unconditionally.
5149 (print_and_abort): Mark as _Noreturn.
5150 (_obstack_allocated_p): Mark as __attribute_pure__.
5151 (obstack_free): Rename to __obstack_free.
5152 [!__attribute__]: Remove conditional code.
5153 * malloc/obstack.h: Merge from gnulib master.
5154 [__cplusplus]: Move conditional down.
5155 [!__attribute_pure__]: Define __attribute_pure__ here
5156 if it is not already defined.
5157 (_obstack_memory_used): Mark as __attribute_pure__.
5158 [!__obstack_free]: Define as obstack_free.
5159 [__GNUC__]: Remove check for ancient NeXT gcc.
5160
c4c41244
PE
51612014-07-02 Will Newton <will.newton@linaro.org>
5162 Paul Eggert <eggert@cs.ucla.edu>
5163
5164 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5165
e1e041c4
SP
51662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5167
5168 * resolv/gethnamaddr.c: Add comment warning that the file is
5169 not maintained.
5170
ccf431ff
CD
51712014-07-01 Carlos O'Donell <carlos@redhat.com>
5172
d34570a6
CD
5173 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5174 entries.
5175
ccf431ff
CD
5176 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5177 entry for aio_cancel and aio_cancel64.
5178 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5179 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5180 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5181 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5182 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5183 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5184 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5185 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5186 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5187 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5188 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5189 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5190 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5191
ca06321d
RM
51922014-07-01 Roland McGrath <roland@hack.frob.com>
5193
5194 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5195 * nptl/pthread_mutex_lock.c: Likewise.
5196 * nptl/pthread_mutex_timedlock.c: Likewise.
5197 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5198
a1ac3184
RH
51992014-07-01 Richard henderson <rth@redhat.com>
5200
631021e0
RH
5201 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5202 (__isnan, __isnanl): Remove.
5203 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5204
a1ac3184
RH
5205 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5206
0c1d731f
SL
52072014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5208
5209 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5210
76985d3e
SP
52112014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
5213 * resolv/nss_dns/dns-host.c (getanswer_r)
5214 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5215
b0cb3096
JM
52162014-07-01 Joseph Myers <joseph@codesourcery.com>
5217
5218 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5219 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5220 undefine.
5221 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5222 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5223
4d76cb39
RM
52242014-07-01 Roland McGrath <roland@hack.frob.com>
5225
5226 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5227 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5228
5229 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5230 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5231
5232 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5233 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5234 ... here.
5235 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5236 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5237
5238 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5239 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5240 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5241 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5242
5243 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5244 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5245 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5246 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5247 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5248 Moved ...
5249 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5250 ... here.
5251 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5252 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5253 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5254 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5271 ... here.
5272 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5273 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5274 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5275 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5276 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5277 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5278 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5279 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5280
0cdcad17
DH
52812014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5282
5283 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5284 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5285 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5286 Add sysdep.
5287
9b71d0e3
AZ
52882014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5289
5290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5291
665390c2
JM
52922014-06-30 Joseph Myers <joseph@codesourcery.com>
5293
ae05a9d7
JM
5294 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5295 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5296
a7672a2f
JM
5297 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5298
665390c2
JM
5299 * sysdeps/arm/libm-test-ulps: Regenerated.
5300
d7a05d07
MR
53012014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5302 Roland McGrath <roland@hack.frob.com>
5303
5304 * test-skeleton.c (signal_handler): Kill the whole process group
5305 before killing the child individually.
5306 (main): Report any failure on `setpgid'.
5307
46f1d8a6
RM
53082014-06-30 Roland McGrath <roland@hack.frob.com>
5309
5310 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5311 from _TLS_H to _ARM_NPTL_TLS_H.
5312 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5313 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5314
9c37ec0b
JM
53152014-06-30 Joseph Myers <joseph@codesourcery.com>
5316
ce9c5b3e
JM
5317 [BZ #16539]
5318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5319 (__expm1l): Return argument unchanged when small but not
5320 subnormal.
5321
3a6e9887
JM
5322 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5323 include macro name.
5324 (_FP_UNPACK_RAW_1_P): Likewise.
5325 (_FP_PACK_RAW_1): Likewise.
5326 (_FP_PACK_RAW_1_P): Likewise.
5327 (_FP_MUL_MEAT_1_wide): Likewise.
5328 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5329 (_FP_MUL_MEAT_1_hard): Likewise.
5330 (_FP_DIV_MEAT_1_imm): Likewise.
5331 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5332 (_FP_DIV_MEAT_1_udiv): Likewise.
5333 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5334 (_FP_UNPACK_RAW_2): Likewise.
5335 (_FP_UNPACK_RAW_2_P): Likewise.
5336 (_FP_PACK_RAW_2): Likewise.
5337 (_FP_PACK_RAW_2_P): Likewise.
5338 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5339 (_FP_MUL_MEAT_2_wide): Likewise.
5340 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5341 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5342 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5343 (_FP_MUL_MEAT_2_gmp): Likewise.
5344 (_FP_DIV_MEAT_2_udiv): Likewise.
5345 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5346 (_FP_FRAC_SRL_4): Likewise.
5347 (_FP_FRAC_SRST_4): Likewise.
5348 (_FP_FRAC_SRS_4): Likewise.
5349 (_FP_UNPACK_RAW_4): Likewise.
5350 (_FP_UNPACK_RAW_4_P): Likewise.
5351 (_FP_PACK_RAW_4): Likewise.
5352 (_FP_PACK_RAW_4_P): Likewise.
5353 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5354 (_FP_MUL_MEAT_4_wide): Likewise.
5355 (_FP_MUL_MEAT_4_gmp): Likewise.
5356 (umul_ppppmnnn): Likewise.
5357 (_FP_DIV_MEAT_4_udiv): Likewise.
5358 (__FP_FRAC_ADD_4): Likewise.
5359 (__FP_FRAC_SUB_3): Likewise.
5360 (__FP_FRAC_SUB_4): Likewise.
5361 (__FP_FRAC_DEC_3): Likewise.
5362 (__FP_FRAC_DEC_4): Likewise.
5363 (__FP_FRAC_ADDI_4): Likewise.
5364 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5365 (_FP_FRAC_SRL_8): Likewise.
5366 (_FP_FRAC_SRS_8): Likewise.
5367
9c37ec0b
JM
5368 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5369 include macro name.
5370 (FP_UNPACK_RAW_EP): Likewise.
5371 (FP_PACK_RAW_E): Likewise.
5372 (FP_PACK_RAW_EP): Likewise.
5373 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5374 (_FP_ISSIGNAN): Likewise.
5375 (_FP_ADD_INTERNAL): Likewise.
5376 (_FP_FMA): Likewise.
5377 (_FP_CMP): Likewise.
5378 (_FP_SQRT): Likewise.
5379 (_FP_TO_INT): Likewise.
5380 (_FP_FROM_INT): Likewise.
5381 (FP_EXTEND): Likewise.
5382 (_FP_DIV_MEAT_N_loop): Likewise.
5383
2125f674
MR
53842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5385
5386 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5387 throughout.
5388
edea4028
JM
53892014-06-29 Joseph Myers <joseph@codesourcery.com>
5390
5391 [BZ #17097]
5392 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5393 result with correct sign in case of exponents that produce
5394 overflow except for X very close to 1.
5395
dd0ba018
PE
53962014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5397
5398 mktime: merge #if/#ifdef usage from glibc
5399 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5400 as that works with both Glibc's and Gnulib's style.
5401 See thread starting at Siddhesh Poyarekar's bug report at:
5402 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5403
64df73c2
SP
54042014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5405
5406 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5407 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5408 * sysdeps/tile/tilegx/memmove.c: Remove file.
5409
f1eafb41
JM
54102014-06-27 Joseph Myers <joseph@codesourcery.com>
5411
5412 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5413 abi-name definition.
5414 * scripts/soversions.awk: Do not handle or generate ABI lines.
5415 * shlib-versions: Remove ABI entries.
5416 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5417 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5418
58eb0862
RM
54192014-06-27 Roland McGrath <roland@hack.frob.com>
5420
37caf178
RM
5421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5422 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5423 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5424 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5426 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5428 Moved ...
5429 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5430 ... here.
5431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5432 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5434 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5436 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5438 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5444 Moved ...
5445 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5451 Moved ...
5452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5454 Moved ...
5455 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5459 Moved ...
5460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5468 Moved ...
5469 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5471 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5473 Moved ...
5474 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5476 Moved ...
5477 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5479 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5481 Moved ...
5482 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5483 ... here.
5484 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5485 Identical file removed.
5486 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5487 Moved ...
5488 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5489 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5490 Identical file removed.
5491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5492 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5494 Moved ...
5495 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5497 Identical file removed.
5498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5499 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5501 Identical file removed.
5502 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5505 Identical file removed.
5506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5507 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5509 Identical file removed.
5510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5511 Moved ...
5512 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5514 Identical file removed.
5515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5516 Moved ...
5517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5519 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5521 Identical file removed.
5522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5525 ... here.
5526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5527 Identical file removed.
5528 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5529 Moved ...
5530 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5532 Identical file removed.
5533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5534 Moved ...
5535 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5536 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5537 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5539 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5541 Moved ...
5542 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5543 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5544 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5545
58eb0862
RM
5546 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5547 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5548 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5549 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5550 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5551
6f12d062
AS
55522014-06-27 Arjun Shankar <arjun.is@lostca.se>
5553
5554 [BZ #17092]
5555 * nscd/nscd.c (monitor_child): Return exit status of child
5556 instead of return value from wait syscall.
5557
be254932
JM
55582014-06-27 Joseph Myers <joseph@codesourcery.com>
5559
cb403c34
JM
5560 * configure.ac (libc_commonpagesize): Remove variable.
5561 (libc_relro_required): Likewise.
5562 (libc_cv_z_relro): Remove configure test.
5563 * configure: Regenerated.
5564 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5565 variable.
5566 (libc_relro_required): Likewise.
5567 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5568 (libc_relro_required): Likewise.
5569 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5570 (libc_relro_required): Likewise.
5571 * sysdeps/arm/preconfigure: Regenerated.
5572 * sysdeps/ia64/preconfigure: Remove file.
5573 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5574 variable.
5575 (libc_relro_required): Likewise.
5576
be254932
JM
5577 [BZ #16561]
5578 [BZ #16562]
5579 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5580 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5581 recompute overflowing results in original rounding mode.
5582 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5583 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5584 recompute overflowing results in original rounding mode.
5585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5586 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5587 recompute overflowing results in original rounding mode.
5588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5589 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5590 recompute overflowing results in original rounding mode.
5591 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5592 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5593 recompute overflowing results in original rounding mode.
5594 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5595 (libc_feholdsetround_ctx): New macro.
5596 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5597 * sysdeps/i386/fpu/libm-test-ulps: Update.
5598 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5599
b351d85a
JM
56002014-06-26 Joseph Myers <joseph@codesourcery.com>
5601
5602 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5603 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5604 corresponding .cpsetup call.
5605
3cb4de47
RM
56062014-06-26 Roland McGrath <roland@hack.frob.com>
5607
5608 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5609 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5610 * sysdeps/arm/Makefile [$(subdir) = csu]
5611 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5612 (static-only-routines): Add aeabi_read_tp here.
5613 (shared-only-routines): Add libc-aeabi_read_tp here.
5614 (CFLAGS-libc-start.c): Add -fexceptions here.
5615 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5616 (sysdep_routines, static-only-routines, shared-only-routines):
5617 Don't add to these here.
5618 (CFLAGS-libc-start.c): Likewise.
5619
5620 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5621 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5622 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5623 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5624 * sysdeps/arm/Makefile [$(subdir) = rt]
5625 (librt-sysdep_routines, librt-shared-only-routines):
5626 Append rt-aeabi_unwind_cpp_pr1 here.
5627 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5628 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5629 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5630 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5631 Append nptl-aeabi_unwind_cpp_pr1 here.
5632 (tests): Filter out tst-cleanupx4 here.
5633 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5634 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5635 Don't do those here.
5636
354426bb
JM
56372014-06-26 Joseph Myers <joseph@codesourcery.com>
5638
5639 * scripts/list-sources.sh: Do not handle ports specially.
5640
28b0a8c9
RM
56412014-06-26 Roland McGrath <roland@hack.frob.com>
5642
a3dd035d
RM
5643 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5644 * sysdeps/arm/feupdateenv.c: Likewise.
5645
28b0a8c9
RM
5646 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5647
e66a8203
JM
56482014-06-26 Joseph Myers <joseph@codesourcery.com>
5649
5650 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5651 trailing whitespace removed.
5652 * scripts/config.guess: Update to version 2014-03-23.
5653 * scripts/config.sub: Update to version 2014-05-01
5654 * scripts/install-sh: Update to version 2013-12-25.23.
5655 * scripts/move-if-change: Update from gnulib.
5656
74171115
SP
56572014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5658
b97c9ce5
SP
5659 * debug/memmove_chk.c: Remove pagecopy.h include.
5660
4000f892
SP
56612014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5662
74171115
SP
5663 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5664 identical to gnulib mktime.
5665
a8779c28
JM
56662014-06-26 Joseph Myers <joseph@codesourcery.com>
5667
e64708de
JM
5668 * configure.ac: Do not test for machine being rs6000. Do not test
5669 for powerpc*-*soft.
5670 * configure: Regenerated.
5671
a8779c28
JM
5672 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5673 test.
5674 * configure: Regenerated.
5675 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5676 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5677 Remove configure test.
5678 * sysdeps/arm/configure: Regenerated.
5679 * sysdeps/nptl/configure.ac: Do not check
5680 libc_cv_asm_cfi_directives.
5681 * sysdeps/nptl/configure: Regenerated.
5682 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5683 * sysdeps/x86_64/nptl/configure: Remove generated file.
5684 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5685 unconditional.
5686 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5687
2aac0a86
SP
56882014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5689
059bf913
SP
5690 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5691 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5692 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5693 it is defined.
5694
4cf5b6d0
SP
5695 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5696 instead of whether it is defined.
5697 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5698 * sysdeps/hppa/dl-machine.h: Likewise.
5699 * sysdeps/ia64/dl-machine.h: Likewise.
5700 * sysdeps/m68k/dl-machine.h: Likewise.
5701 * sysdeps/microblaze/dl-machine.h: Likewise.
5702 * sysdeps/mips/dl-machine.: Likewise.
5703 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5704 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5705 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5706 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5707 * sysdeps/sh/dl-machine.h: Likewise.
5708 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5709 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5710 * sysdeps/tile/dl-machine.h: Likewise.
5711 * sysdeps/x86_64/dl-machine.h: Likewise.
5712
2aac0a86
SP
5713 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5714 code.
5715 (verify_persistent_db): Likewise.
5716
6ad2df0b
RM
57172014-06-26 Roland McGrath <roland@hack.frob.com>
5718
d8a483f3
RM
5719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5720 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5724 Moved ...
5725 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5726 ... here.
5727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5730 Identical file removed.
5731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5736 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5742 Moved ...
5743 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5747 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5749 Moved ...
5750 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5752 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5754 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5756 Identical file removed.
5757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5758 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5760 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5762 Moved ...
5763 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5764 ... here.
5765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5766 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5770 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5776 Moved ...
5777 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5779 Moved ...
5780 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5784 Moved ...
5785 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5787 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5788
52ae23b4
RM
5789 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5790 folded into ...
5791 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5792 * sysdeps/unix/sysv/linux/s390/Versions
5793 (libpthread: GLIBC_2.19): New version set.
5794 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5795 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5796 (librt: GLIBC_2.3.3): New version set.
5797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5798 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5799 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5801 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5802 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5803 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5804 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5805 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5806 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5807 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5809 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5810 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5811 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5812 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5813 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5814 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5815 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5817 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5818 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5819 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5820 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5821 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5822 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5823 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5824 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5825 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5826 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5827 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5828 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5832 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5833 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5834 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5835 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5837 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5838 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5839 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5840 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5841 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5842
39507e4a
RM
5843 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5844 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5845 (__libc_vfork): Define the function under this name.
5846 [!NOT_IN_libc] (__vfork): Make this an alias.
5847 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5848 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5849 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5850 (__libc_vfork): Define the function under this name.
5851 [!NOT_IN_libc] (__vfork): Make this an alias.
5852 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5853 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5854 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5857 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5858
e549ee56
RM
5859 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5860 code that was previously under [RESET_PID].
5861 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5862 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5864
6ad2df0b
RM
5865 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5866 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5867 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5868 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5869 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5870 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5871 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5872 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5873 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5874 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5875 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5876 Moved ...
5877 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5881 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5882 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5883 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5884 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5887 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5893 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5894 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5895 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5896 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5897 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5898 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5899 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5901 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5902 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5903 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5904 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5905 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5906
7c1c1d8e
RM
59072014-06-25 Roland McGrath <roland@hack.frob.com>
5908
5909 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5910 that was previously under [RESET_PID].
5911 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5912
3e239be6
JM
59132014-06-25 Joseph Myers <joseph@codesourcery.com>
5914
74385da5
JM
5915 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5916 not undefine and redefine.
5917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5918 [O_CLOEXEC]: Make code unconditional.
5919 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5920 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5921 <kernel-features.h>.
5922 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5923 conditional variable definition.
5924 (shm_open) [O_CLOEXEC]: Make code unconditional.
5925 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5926 code.
5927
c2570a0b
JM
5928 * configure.ac (USE_REGPARMS): Don't define here.
5929 * configure: Regenerated.
5930 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5931 * sysdeps/i386/configure: Regenerated.
5932
11b076bb
JM
5933 * nptl/createthread.c: Don't include kernel-features.h.
5934 * nptl/pthread_cancel.c: Likewise.
5935 * nptl/pthread_condattr_setclock.c: Likewise.
5936 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5937 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5938 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5939 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5940 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5941 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5942 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5944 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5945 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5946 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5947 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5948 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5949 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5950 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5951 * nscd/gai.c: Likewise.
5952 * nss/nss_db/db-open.c: Likewise.
5953 * sysdeps/generic/ldsodefs.h: Likewise.
5954 * sysdeps/sh/nptl/tls.h: Likewise.
5955 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5956 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5957 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5958 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5959 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5960 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5961 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5962 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5964 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5965 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5966 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5967 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5968 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5969 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5970 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5971 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5972 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5973 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5974 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5975 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5977 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5978 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5979 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5980 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5981 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5982 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5983 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5984 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5985 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5986 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5987 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5988 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5989 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5990 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5991 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5992 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5993 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5994 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5995 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5996 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5997 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5998 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5999 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6000 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6001 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6002 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6003 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6004 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6005 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6006 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6007 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6008 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6009 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6010 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6011 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6012 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6035 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6036 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6037 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6038 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6039 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6041 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6042 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6043 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6044 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6045 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6046 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6047 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6048 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6049 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6050 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6051 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6053 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6054 * sysdeps/unix/sysv/linux/system.c: Likewise.
6055 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6056 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6057 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6058 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6059 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6060 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6061 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6062
92072d57
JM
6063 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6064 * configure: Regenerated.
6065 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6066
3e239be6
JM
6067 * configure.ac (base_machine): Do not set specially for particular
6068 machines here.
6069 * configure: Regenerated.
6070 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6071 settings from configure.ac.
6072 * sysdeps/i386/preconfigure: New file.
6073 * sysdeps/s390/preconfigure: Likewise.
6074 * sysdeps/sh/preconfigure: Likewise.
6075 * sysdeps/sparc/preconfigure: Likewise.
6076
06d50baa
RM
60772014-06-25 Roland McGrath <roland@hack.frob.com>
6078
74836003
RM
6079 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6080 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6081 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6082 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6083 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6084 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6085 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6086 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6087 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6088 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6089 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6090 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6091 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6092 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6093 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6094 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6096 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6097 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6098
6099 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6100 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6101 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6102 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6103 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6104 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6105 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6106 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6107 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6108 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6109 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6110 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6111 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6112 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6113 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6114 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6115 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6116 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6117 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6118 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6119 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6120 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6121 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6122 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6123 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6125 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6126 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6128 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6129 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6130 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6131 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6132 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6133 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6134 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6135 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6136 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6137
06d50baa
RM
6138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6143 Moved ...
6144 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6145 ... here.
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6147 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6149 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6151 Moved ...
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6154 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6156 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6160 Moved ...
6161 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6163 Moved ...
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6166 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6168 Moved ...
6169 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6171 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6173 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6179 Moved ...
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6181 ... here.
6182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6187 Moved ...
6188 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6190 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6192 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6196 Moved ...
6197 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6199 Moved ...
6200 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6202 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6204 Moved ...
6205 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6207 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6209 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6210
a4ccbc9b
JM
62112014-06-25 Joseph Myers <joseph@codesourcery.com>
6212
0828edbf
JM
6213 * timezone/checktab.awk: Update from tzcode 2014e.
6214 * timezone/private.h: Likewise.
6215 * timezone/tzfile.h: Likewise.
6216 * timezone/zdump.c: Likewise.
6217 * timezone/zic.c: Likewise.
6218
a4ccbc9b
JM
6219 * sysdeps/unix/sysv/linux/kernel-features.h
6220 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6221 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6222 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6223 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6224 Remove conditional code.
6225
9aea0cb8
WN
62262014-06-25 Will Newton <will.newton@linaro.org>
6227
6228 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6229 (_dl_arm_cap_flags): Add HWCAP2 values.
6230 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6231 (_DL_HWCAP_COUNT): Increase to 37.
6232 (_DL_HWCAP_LAST): New define.
6233 (_DL_HWCAP2_LAST): New define.
6234 (_dl_procinfo): Add support for printing
6235 AT_HWCAP2 entries.
6236 (_dl_string_hwcap): Use _dl_hwcap_string.
6237
6eaa65ce
AZ
62382014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6239
6240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6241
0f5b7185
JM
62422014-06-25 Joseph Myers <joseph@codesourcery.com>
6243
cfd2ea50
JM
6244 * README: Do not mention ports directory.
6245
cecf2ed4
JM
6246 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6247 Remove macro.
6248 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6249 <kernel-features.h>.
6250 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6251 conditional variable definition.
6252 (__futimes): Update comment.
6253 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6254 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6255
a638de82
JM
6256 [BZ #16560]
6257 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6258 arguments close to 0.
6259 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6260 Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6262 Likewise.
6263 * math/auto-libm-test-in: Add more tests of exp10.
6264 * math/auto-libm-test-out: Regenerated.
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6266
0f5b7185
JM
6267 * sysdeps/unix/sysv/linux/kernel-features.h
6268 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6269 * sysdeps/unix/sysv/linux/readv.c: Do not include
6270 <kernel-features.h>.
6271 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6272 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6273 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6274 unconditional.
6275 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6276 conditional code.
6277 * sysdeps/unix/sysv/linux/writev.c: Do not include
6278 <kernel-features.h>.
6279 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6280 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6281 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6282 unconditional.
6283 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6284 conditional code.
6285
c7aec4be
WN
62862014-06-25 Will Newton <will.newton@linaro.org>
6287
6288 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6289 comment changes throughout the file. Remove checks
6290 for HAVE_*_H definitions that are not required.
6291 (__gen_tempname): Call abort if an unknown kind value is
6292 passed.
6293
c5241f95
AS
62942014-06-25 Andreas Schwab <schwab@suse.de>
6295
6296 [BZ #17086]
6297 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6298 scalbln, scalblnf, scalblnl in libc.
6299
911422da
SP
63002014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6301
6302 [BZ #17086]
6303 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6304 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6305 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6306
0d749bbe
RM
63072014-06-24 Roland McGrath <roland@hack.frob.com>
6308
6309 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6310 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6311 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6312 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6313 Update #include.
6314 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6315 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6316 Update #include.
6317 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6318 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6319 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6320 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6321 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6322 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6323 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6324 * sysdeps/x86/bits/semaphore.h: ... here.
6325 * sysdeps/x86/nptl/elide.h: Moved ...
6326 * sysdeps/x86/elide.h: ... here.
6327 * sysdeps/x86_64/nptl/Implies: File removed.
6328 * sysdeps/i386/nptl/Implies: File removed.
6329
0ea5d373
JM
63302014-06-24 Joseph Myers <joseph@codesourcery.com>
6331
4060283d
JM
6332 [BZ #16539]
6333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6334 return the argument for normal arguments with exponent below -64.
6335 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6336 Likewise.
6337 * math/auto-libm-test-in: Add another test of expm1.
6338 * math/auto-libm-test-out: Regenerated.
6339
e7dd3c8c
JM
6340 [BZ #16287]
6341 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6342 calling __erfcl for arguments at least 16.
6343 * math/auto-libm-test-in: Add more tests of erf.
6344 * math/auto-libm-test-out: Regenerated.
6345
0ea5d373
JM
6346 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6347 individual architectures.
6348 * sysdeps/unix/sysv/linux/configure: Regenerated.
6349 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6350 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6351 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6352 (ldd_rewrite_script): Define variable.
6353 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6355 file.
6356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6357 generated file.
6358 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6359 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6360 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6361 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6362 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6363 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6364 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6365 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6366
2307e126
SP
63672014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6368
6369 [BZ #17084]
6370 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6371 Rename member __data.d to __data.__elision_data.
6372
c0a4ed77
W
63732014-06-24 Wilco <wdijkstr@arm.com>
6374
6375 * NEWS: Add 16918 to fixed bug list.
6376
b8c00573
W
63772014-06-24 Wilco <wdijkstr@arm.com>
6378
6379 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6380
b5570d92
W
63812014-06-24 Wilco <wdijkstr@arm.com>
6382
6383 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6384 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6385 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6386 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6387 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6388 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6389 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6390 Use _FPU_MASK_RM.
6391
947bdca2
W
63922014-06-24 Wilco <wdijkstr@arm.com>
6393
6394 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6395
00f669ed
W
63962014-06-24 Wilco <wdijkstr@arm.com>
6397
6398 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6399 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6400 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6401 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6402
db59bad3
W
64032014-06-24 Wilco <wdijkstr@arm.com>
6404
6405 [BZ #16918]
6406 * sysdeps/arm/feupdateenv.c (feupdateenv):
6407 Rewrite to reduce FPSCR accesses and fix return value.
6408
001f7b77
W
64092014-06-24 Wilco <wdijkstr@arm.com>
6410
6411 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6412 Optimize to avoid unnecessary FPSCR writes.
6413 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6414 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6415 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6416 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6417
4841e6a6
W
64182014-06-24 Wilco <wdijkstr@arm.com>
6419
6420 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6421 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6422 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6423 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6424 Call libc_fetestexcept_vfp.
6425 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6426 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6427 __SOFTFP__ ifdef so that they can be built for softfp.
6428
0813022c
SP
64292014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6430
08e5862f
SP
6431 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6432 argument type signed char.
6433
0813022c
SP
6434 * Makerules (check-abi): Dump diff of symlist if the test
6435 fails.
6436
3fc7236a
RM
64372014-06-23 Roland McGrath <roland@hack.frob.com>
6438
aba8ef95
RM
6439 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6440 using abort.
6441
3fc7236a
RM
6442 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6443 Remove unused variable ST.
6444
4da6db51
JM
64452014-06-23 Joseph Myers <joseph@codesourcery.com>
6446
4648909d
JM
6447 [BZ #16354]
6448 [BZ #17061]
6449 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6450 small arguments before calling __expm1.
6451 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6452 small arguments before calling __expm1f.
6453 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6454 small arguments before calling __expm1l.
6455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6456 Likewise.
6457 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6458 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6459 spurious underflow for some cosh tests.
6460 * math/auto-libm-test-out: Regenerated.
6461 * sysdeps/i386/fpu/libm-test-ulps: Update.
6462
46a3d3c7
JM
6463 [BZ #17050]
6464 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6465 (__ieee754_y1): Set errno if return value overflows.
6466 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6467 (__ieee754_y1f): Set errno if return value overflows.
6468 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6469 (__ieee754_y1l): Set errno if return value overflows.
6470 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6471 (__ieee754_y1l): Set errno if return value overflows.
6472 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6473 * math/auto-libm-test-out: Regenerated.
6474
863893ec
JM
6475 * math/gen-auto-libm-tests.c: Document use of
6476 ignore-zero-inf-sign.
6477 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6478 (input_flags): Add ignore-zero-inf-sign.
6479 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6480 * math/gen-libm-test.pl (generate_testfile): Handle
6481 ignore-zero-inf-sign.
6482 * math/auto-libm-test-in: Mark some cpow tests with
6483 ignore-zero-inf-sign and some with xfail-rounding.
6484 * math/auto-libm-test-out: Regenerated.
6485 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6486 * sysdeps/i386/fpu/libm-test-ulps: Update.
6487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488
4da6db51
JM
6489 [BZ #16315]
6490 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6491 overflowing or underflowing operations take place with sign of
6492 result.
6493 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6494 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6495 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6496 (__ieee754_pow): Recompute overflowing and underflowing results in
6497 original rounding mode.
6498 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6499 (__powl_helper): Allow negative argument X and scale negated value
6500 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6501 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6502 overflowing or underflowing operations take place with sign of
6503 result.
6504 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6505 Include <math.h>.
6506 * math/auto-libm-test-in: Add more tests of pow.
6507 * math/auto-libm-test-out: Regenerated.
6508 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6509 (pow_tonearest_test_data): Remove.
6510 (pow_test_tonearest): Likewise.
6511 (pow_towardzero_test_data): Likewise.
6512 (pow_test_towardzero): Likewise.
6513 (pow_downward_test_data): Likewise.
6514 (pow_test_downward): Likewise.
6515 (pow_upward_test_data): Likewise.
6516 (pow_test_upward): Likewise.
6517 (main): Don't call removed functions.
6518 * sysdeps/i386/fpu/libm-test-ulps: Update.
6519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6520
5686b236
RM
65212014-06-23 Roland McGrath <roland@hack.frob.com>
6522
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6524 Moved ...
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6527 Moved ...
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6530 Moved ...
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6533 Moved ...
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6536 File removed.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6538 File removed.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6540 File removed.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6542 File removed.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6544 File removed.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6546 File removed.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6548 File removed.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6550 File removed.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6552 File removed.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6554 File removed.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6556 File removed.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6558 File removed.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6560 Moved ...
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6563 Moved ...
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6565 ... here.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6567 Moved ...
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6570 Moved ...
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6573 Moved ...
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6576 Moved ...
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6579 Moved ...
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6582 Moved ...
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6585 Moved ...
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6589 ... here.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6591 Moved ...
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6594 Moved ...
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6596 ... here.
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6598 Moved ...
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6600 ... here.
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6602 Moved ...
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6604 ... here.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6606 Moved ...
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6609 Moved ...
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6614 Moved ...
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6616 ... here.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6618 Moved ...
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6620 ... here.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6622 Moved ...
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6625 Moved ...
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6628 Moved ...
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6631 Moved ...
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6634 Moved ...
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6636 ... here.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6638 Moved ...
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6641 Moved ...
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6644 Moved ...
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6647 Moved ...
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6652 Moved ...
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6655 Moved ...
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6658 Moved ...
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6660 ... here.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6662 Moved ...
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6664 ... here.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6666 Moved ...
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6668 ... here.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6670 Moved ...
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6673 Moved ...
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6676 Moved ...
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6679 Moved ...
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6681 ... here.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6683 Moved ...
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6685 ... here.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6687 Moved ...
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6689 ... here.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6691 Moved ...
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6694 Moved ...
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6696
e6d90d67
WD
66972014-06-23 Will Newton <will.newton@linaro.org>
6698 Wilco <wdijkstr@arm.com>
6699
6700 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6701 implementation. Include get-rounding-mode.h.
6702 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6703 [!libc_feholdsetround_noex_ctx]: Define
6704 libc_feholdsetround_noex_ctx.
6705 [!libc_feholdsetround_noexf_ctx]: Define
6706 libc_feholdsetround_noexf_ctx.
6707 [!libc_feholdsetround_noexl_ctx]: Define
6708 libc_feholdsetround_noexl_ctx.
6709 (libc_feholdsetround_ctx): New function.
6710 (libc_feresetround_ctx): New function.
6711 (libc_feholdsetround_noex_ctx): New function.
6712 (libc_feresetround_noex_ctx): New function.
6713
d42df555
RM
67142014-06-23 Roland McGrath <roland@hack.frob.com>
6715
88a46474
RM
6716 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6717 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6718 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6719 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6720 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6721 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6722
15bed472
RM
6723 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6724 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6725 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6726 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6727 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6728 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6730 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6732 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6734 Moved ...
6735 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6736 ... here.
6737 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6738 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6742 Moved ...
6743 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6745 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6747 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6751 Moved ...
6752 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6754 Moved ...
6755 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6757 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6759 Moved ...
6760 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6762 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6764 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6765 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6766 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6768 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6769 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6770 Moved ...
6771 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6772 ... here.
6773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6774 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6776 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6777 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6778 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6779 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6780 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6782 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6784 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6785 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6786 Moved ...
6787 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6789 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6791 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6793 Moved ...
6794 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6795 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6796 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6798 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6799
d42df555
RM
6800 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6801 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6802 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6803 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6804 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6805 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6806 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6807 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6809 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6810 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6811 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6812 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6813 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6815 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6817 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6818 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6819 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6820 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6821 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6823 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6825 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6827 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6828
76e5216e
JM
68292014-06-23 Joseph Myers <joseph@codesourcery.com>
6830
6831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6832 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6833 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6834 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6835 (IPV6_PMTUDISC_INTERFACE): Likewise.
6836 (IPV6_PMTUDISC_OMIT): Likewise.
6837
7a81cbcc
AS
68382014-06-23 Andreas Schwab <schwab@suse.de>
6839
6840 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6841 Remove unused errout label.
6842
db224009
AZ
68432014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844
6845 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6846 macro: hardware supports Vector Crypto instructions.
6847
f393b4aa
WN
68482014-06-23 Will Newton <will.newton@linaro.org>
6849
cc7d0447
WN
6850 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6851 rather than __builtin_expect.
6852
d6d06225
WN
6853 * elf/dl-lookup.c (undefined_msg): Remove variable.
6854 (_dl_lookup_symbol_x): Replace undefined_msg with string
6855 literal.
6856
f393b4aa
WN
6857 * elf/dl-lookup.c (do_lookup_unique): New function.
6858 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6859 to a separate function.
6860
ac60763e
AS
68612014-06-23 Andreas Schwab <schwab@suse.de>
6862
6863 [BZ #17079]
6864 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6865 before reading the next line.
6866
c5c13355
WN
68672014-06-23 Will Newton <will.newton@linaro.org>
6868
6869 * test-skeleton.c (signal_handler): Use printf and %m
6870 rather than perror. Use printf rather than fprintf to
6871 stderr. Use puts rather than fputs to stderr.
6872 (main): Likewise.
6873
bd3675f9
LC
68742014-06-22 Ludovic Courtès <ludo@gnu.org>
6875
6876 * nscd/nscd.c (thread_info_t): Remove typedef.
6877 (thread_info): Remove variable.
6878
d03efb2f
AM
68792014-06-21 Allan McRae <allan@archlinux.org>
6880
6881 * NEWS: Mention CVE-2014-4043.
6882
bc4a86fa
RM
68832014-06-20 Roland McGrath <roland@hack.frob.com>
6884
dc9a54f8
RM
6885 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6886 * nptl/smp.h: ... here.
6887
bd7022c4
RM
6888 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6889
26ffd5e6
RM
6890 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6891 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6892 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6893 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6894
93a6d082
RM
6895 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6896 * nptl/stack-aliasing.h: New file.
6897 * sysdeps/i386/i686/stack-aliasing.h: New file.
6898 * sysdeps/i386/i686/nptl/Makefile: File removed.
6899 * sysdeps/x86_64/stack-aliasing.h: New file.
6900 * sysdeps/x86_64/nptl/Makefile
6901 (CFLAGS-pthread_create.c): Variable removed.
6902
bc4a86fa
RM
6903 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6904 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6905 old file.
6906 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6907 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6908 old file.
6909
2272ffc1
JM
69102014-06-21 Joseph Myers <joseph@codesourcery.com>
6911
6912 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6913 (__ASSUME_SIGFRAME_V2): Remove macro.
6914 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6915 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6916 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6917 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6918 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6919 Declare as function. Remove conditional macro definitions.
6920 (__default_rt_sa_restorer): Likewise.
6921 (__default_sa_restorer_v1): Remove declaration.
6922 (__default_sa_restorer_v2): Likewise.
6923 (__default_rt_sa_restorer_v1): Likewise.
6924 (__default_rt_sa_restorer_v2): Likewise.
6925 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6926 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6927 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6928
4b88139b
RM
69292014-06-20 Roland McGrath <roland@hack.frob.com>
6930
6931 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6932 (libpthread-routines): Add sysdep.
6933 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6934 * sysdeps/unix/sysv/linux/sparc/Versions
6935 (libpthread: GLIBC_2.3.3): New version set.
6936 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6937 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6938 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6939 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6940 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6941 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6942 Moved ...
6943 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6944 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6945 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6946 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6947 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6948 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6949 * sysdeps/sparc/nptl/sem_init.c: ... here.
6950 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6951 * sysdeps/sparc/nptl/sem_post.c: ... here.
6952 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6953 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6954 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6955 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6956 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6957 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6958 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6959 (libpthread-routines): Add cpu_relax.
6960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6961 File removed.
6962 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6963 (librt: GLIBC_2.3.3): New version set.
6964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6965 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6966 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6967 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6970 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6972 Moved ...
6973 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6975 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6977 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6979 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6981 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6983 Moved ...
6984 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6985 Update #include.
6986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6987 Moved ...
6988 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6989 Update #include.
6990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6991 Moved ...
6992 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6993 Update #include.
6994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6995 Moved ...
6996 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6997 Update #include.
6998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6999 Moved ...
7000 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7001 Update #include.
7002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7003 Moved ...
7004 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7005 Update #include.
7006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7007 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7015 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7017 Moved ...
7018 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7020 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7022 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7023
d7109027
JM
70242014-06-20 Joseph Myers <joseph@codesourcery.com>
7025
9bc6103d
JM
7026 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7027 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7028 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7029 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7030 * nscd/nscd.c: Likewise.
7031 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7032 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7033 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7034 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7035
d7109027
JM
7036 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7037 <kernel-features.h>.
7038 (init_mq_netlink): Remove conditional have_sock_cloexec
7039 definitions. Remove code conditional on have_sock_cloexec < 0.
7040 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7041 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7042 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7043 <kernel-features.h>.
7044 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7045 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7046
d92d8f8a
L
70472014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7048
7049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7050 Add tests for memset_chk and memset.
7051
7052 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7053 with AVX2_Usable.
7054
4e6d2347
MR
70552014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7056
257ce712
MR
7057 [BZ #16046]
7058 * elf/tst-dl-iter-static.c: New file.
7059 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7060
4e6d2347
MR
7061 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7062 error.
7063
a2a76afe
JM
70642014-06-20 Joseph Myers <joseph@codesourcery.com>
7065
7fd00f99
JM
7066 * sysdeps/unix/sysv/linux/kernel-features.h
7067 (__ASSUME_F_GETOWN_EX): Remove macro.
7068 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7069 <kernel-features.h>.
7070 (miss_F_GETOWN_EX): Remove variable or macro.
7071 (do_fcntl): Do not check miss_F_GETOWN_EX.
7072 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7073
4a103975
JM
7074 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7075 Remove macro.
7076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7077 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7078 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7079
a2a76afe
JM
7080 * sysdeps/unix/sysv/linux/kernel-features.h
7081 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7082 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7083 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7084 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7085
90e5dd48
MR
70862014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7087
7088 [BZ #17075]
7089 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7090 Fix calculation of the symbol's value.
7091 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7092 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7093 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7094 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7095 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7096 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7097 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7098 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7099 (modules-names): Add `tst-armtlsdescmod',
7100 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7101 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7102 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7103 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7104 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7105 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7106 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7107 ($(objpfx)tst-armtlsdescloc): New dependency.
7108 ($(objpfx)tst-armtlsdescextnow): Likewise.
7109 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7110 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7111 TLS scheme support.
7112 * sysdeps/arm/configure: Regenerate.
7113
809fdf0d
JM
71142014-06-20 Joseph Myers <joseph@codesourcery.com>
7115
7116 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7117 (__atfct_seterrno_2): Likewise.
7118 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7119 <kernel-features.h>.
7120 (__ASSUME_ATFCTS): Do not undefine and redefine.
7121 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7122 (__have_atfcts): Remove conditional definition.
7123 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7124 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7125 unreachable if [__ASSUME_ATFCTS].
7126 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7127 not undefine and redefine.
7128 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7129 <kernel-features.h>.
7130 (faccessat) [__NR_faccessat]: Make code unconditional.
7131 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7132 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7133 <kernel-features.h>.
7134 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7135 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7136 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7137 <kernel-features.h>.
7138 (fchownat) [__NR_fchownat]: Make code unconditional.
7139 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7140 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7141 <kernel-features.h>.
7142 (futimesat) [__NR_futimesat]: Make code unconditional.
7143 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7144 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7145 <kernel-features.h>.
7146 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7147 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7148 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7149 <kernel-features.h>.
7150 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7151 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7152 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7153 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7154 <kernel-features.h>.
7155 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7156 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7157 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7158 <kernel-features.h>.
7159 (linkat) [__NR_linkat]: Make code unconditional.
7160 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7161 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7162 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7163 <kernel-features.h>.
7164 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7165 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7166 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7167 <kernel-features.h>.
7168 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7169 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7170 * sysdeps/unix/sysv/linux/openat.c: Do not include
7171 <kernel-features.h>.
7172 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7173 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7174 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7175 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7176 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7177 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7178 <kernel-features.h>.
7179 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7180 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7181 result of INLINE_SYSCALL directly, not via int variable.
7182 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7183 <kernel-features.h>.
7184 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7185 (renameat) [__NR_renameat]: Make code unconditional.
7186 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7187 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7188 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7189 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7190 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7191 (__ASSUME_ATFCTS): Do not undefine and redefine.
7192 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7193 <kernel-features.h>.
7194 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7195 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7196 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7197 <kernel-features.h>.
7198 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7199 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7200 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7201 (__ASSUME_ATFCTS): Do not undefine and redefine.
7202 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7203 <kernel-features.h>.
7204 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7205 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7206 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7207 <kernel-features.h>.
7208 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7209 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7210
224c6c51
L
72112014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7212
7213 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7214
aa6ec754
AS
72152014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7216
7217 [BZ #17069]
7218 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7219 constructed tree before returning error.
7220 * posix/bug-regexp36.c: Expand test case.
7221
d8c2869d
SL
72222014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7223
3ef6b850
SL
7224 [BZ #6803]
7225 * math/libm-test.inc (scalbln_test_date):
7226 Add errno expectations.
7227 * math/w_scalblnf.c: New File.
7228 Add wrapper which checks for setting errno to ERANGE.
7229 Add weak_alias for corresponding scalbln function.
7230 * math/w_scalbln.c: Likewise.
7231 * math/w_scalblnl.c: Likewise.
7232 * math/Makefile (libm-calls): Add w_scalbln.
7233 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7234 Remove weak_alias for corresponding scalbln function.
7235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7238 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7239 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7240 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7241 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7242 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7243 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7244 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7245 Remove long_double_symbol for scalblnl function in libm, libc.
7246 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7247 Add wrapper which checks for setting errno to ERANGE.
7248 Add long_double_symbol for scalblnl function in libm, libc.
7249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7250 Remove long_double_symbol for scalblnl in libm.
7251 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7252 Add wrapper which checks for setting errno to ERANGE.
7253 Add long_double_symbol for scalblnl function in libm.
7254 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7255 Do not use wrapper because of own implementation.
7256
c8daec5c
L
72572014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7258
7259 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7260 3 bytes for __pad1 for x32.
7261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7262
5c74e47c
LM
72632014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7264 H.J. Lu <hongjiu.lu@intel.com>
7265
7266 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7267 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7268 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7269 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7270 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7271
4d43ef1e
AS
72722014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7273
7274 [BZ #17069]
7275 * posix/regcomp.c (parse_expression): Deallocate partially
7276 constructed tree before returning error.
7277 * posix/Makefile.c (tests): Add bug-regex36.
7278 (generated): Add bug-regex36.mtrace.
7279 (tests-special): Add $(objpfx)bug-regex36-mem.out
7280 (bug-regex36-ENV): New variable.
7281 ($(objpfx)bug-regex36-mem.out): New rule.
7282 * posix/bug-regex36.c: New file.
7283
51a7380b
WN
72842014-06-19 Will Newton <will.newton@linaro.org>
7285
7286 * malloc/malloc.c (systrim): If extra is zero then return
7287 early.
7288
91b84fe5
SP
72892014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
7291 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7292
f940b965
RE
72932014-06-19 Richard Earnshaw <rearnsha@arm.com>
7294
7295 * sysdeps/aarch64/strchr.S: New file.
7296
4ba7a00f
JM
72972014-06-18 Joseph Myers <joseph@codesourcery.com>
7298
7299 [BZ #17022]
7300 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7301 from arguments -2 or below.
7302 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7303 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7304
b3a9f56b
AS
73052014-06-18 Andreas Schwab <schwab@suse.de>
7306
7307 [BZ #17062]
7308 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7309 of a bracket expr not to run off the end of the string.
7310 * posix/Makefile (tests): Add tst-fnmatch3.
7311 * posix/tst-fnmatch3.c: New file.
7312
85d89278
JM
73132014-06-18 Joseph Myers <joseph@codesourcery.com>
7314
7315 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7316 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7317 [$(cross-compiling) = no]: Likewise.
7318 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7319 [$(cross-compiling) = no]: Likewise.
7320
754c5a08
RS
73212014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7322
7323 [BZ #17031]
7324 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7325 double, adjusted for any remainder from the high double.
7326 * math/libm-test.inc (nearbyint): Add tests.
7327 (rint): Likewise.
7328
556f529d
AZ
73292014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7330
7331 * nptl/sysdeps/powerpc/Makefile: Moved ...
7332 * sysdeps/powerpc/nptl/Makefile: ... here.
7333 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7334 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7335 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7336 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7337 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7338 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7339 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7340 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7341 * nptl/sysdeps/powerpc/tls.h: Moved ...
7342 * sysdeps/powerpc/nptl/tls.h: ... here.
7343
91c03c53
JM
73442014-06-16 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #16681]
7347 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7348 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7349 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7350 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7351 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7352 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7353 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7354 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7355 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7356
a76e63c5
AS
73572014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7358
7359 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7360
f2f6d82f
AS
73612014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7362
ea8a15f6
AS
7363 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7364 defined operator.
7365
f2f6d82f
AS
7366 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7367 $TIMEOUTFACTOR.
7368
a7291117
FW
73692014-06-16 Florian Weimer <fweimer@redhat.com>
7370
7371 [BZ #17058]
7372 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7373 non-executed part of the test.
7374
3d7c00e3
AS
73752014-06-16 Andreas Schwab <schwab@suse.de>
7376
7377 * string/bits/string2.h (strdup, strndup): Update feature guard.
7378
6957fb31
DM
73792014-06-14 David S. Miller <davem@davemloft.net>
7380
7381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7382
11b9e55b
AS
73832014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7384
1d2a0492
AS
7385 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7386 that was previously under [RESET_PID].
7387 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7388
11b9e55b
AS
7389 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7390 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7391 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7392 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7393 (__libc_vfork): New strong alias.
7394 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7395
0f6901d0
AK
73962014-06-14 Andi Kleen <ak@linux.intel.com>
7397
7398 * sysdeps/generic/elide.h: New file.
7399
38bbbb9f
SL
74002014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7401
7402 * Makefile (installed-headers): Adjust path of pthread.h header.
7403
45193bb8
RM
74042014-06-13 Roland McGrath <roland@hack.frob.com>
7405
9a25fd1e
RM
7406 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7407 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7408 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7409 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7410
4004f7e4
RM
7411 * nptl/sysdeps/s390/Makefile: Moved ...
7412 * sysdeps/s390/nptl/Makefile: ... here.
7413 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7414 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7415 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7416 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7417 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7418 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7419 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7420 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7421 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7422 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7423 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7424 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7425 * nptl/sysdeps/s390/tls.h: Moved ...
7426 * sysdeps/s390/nptl/tls.h: ... here.
7427
45193bb8
RM
7428 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7429 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7430
f6fdf533
DM
74312014-06-13 David S. Miller <davem@davemloft.net>
7432
7433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7440 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7441 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7442 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7443 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7444 Remove RESET_PID cpp guards.
7445 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7446 Remove RESET_PID cpp guards.
7447 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7448
f5d71e14
AS
74492014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7450
7451 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7452 __sp to uintptr_t.
7453
b7aa8caa
AK
74542014-06-13 Andi Kleen <ak@linux.intel.com>
7455
4b266200
AZ
7456 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7457 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7460 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7461 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7462 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7463 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7465 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7467 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7469 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7471 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7475 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7476
7477 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7478 (pthread_rwlock_rdlock): Add elision.
7479 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7480 (pthread_rwlock_wrlock): Add elision.
7481 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7482 (pthread_rwlock_trywrlock): Add elision.
7483 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7484 (pthread_rwlock_tryrdlock): Add elision.
7485 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7486 (pthread_rwlock_tryrdlock): Add elision unlock.
7487 * nptl/sysdeps/pthread/pthread.h:
7488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7489 (PTHREAD_RWLOCK_INITIALIZER,
7490 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7491 Handle new elision field.
7492 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7493 * sysdeps/arm/nptl/bits/pthreadtypes.h
7494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7495 * sysdeps/sh/nptl/bits/pthreadtypes.h
7496 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7497 * sysdeps/tile/nptl/bits/pthreadtypes.h
7498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7499 * sysdeps/a/nptl/bits/pthreadtypes.h
7500 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7501 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7502 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7503 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7504 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7505 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7506 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7507 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7508 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7509 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7510 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7511 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7512 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7513 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7514 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7515 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7516 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7517 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7518 (elision_init): Set try_xbegin to zero when no RTM.
7519 * sysdeps/x86/nptl/bits/pthreadtypes.h
7520 (pthread_rwlock_t): Change __pad1 to __rwelision.
7521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7522
a832bdd3
AK
75232014-06-13 Andi Kleen <ak@linux.intel.com>
7524
7525 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7526 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7527 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7528 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7529
995a46bb
MI
75302014-06-13 Meador Inge <meadori@codesourcery.com>
7531
7532 [BZ #16996]
03ed7738 7533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7534 that the cached result has been set before returning it.
7535
45262aee
RM
75362014-06-12 Roland McGrath <roland@hack.frob.com>
7537
febf6cc5
RM
7538 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7539 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7541 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7542 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7543 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7544
e2682246
RM
7545 * nptl/sysdeps/sparc/Makefile: Moved ...
7546 * sysdeps/sparc/nptl/Makefile: ... here.
7547 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7548 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7549 * nptl/sysdeps/sparc/tls.h: Moved ...
7550 * sysdeps/sparc/nptl/tls.h: ... here.
7551 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7552 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7553 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7554 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7555 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7556 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7557 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7558 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7559 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7560 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7561 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7562 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7563 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7564 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7565 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7566 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7567 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7569 Update #include.
7570 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7571 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7572 Update #include.
7573 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7575 Update #include.
7576 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7577 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7578 Update #include.
7579
b0725f43
RM
7580 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7581
b14368b8
RM
7582 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7583 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7584
c5620eb3
RM
7585 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7586 (struct list_links): Type removed.
7587 (struct thread_node, struct timer_node): Replace struct list_links
7588 with struct list_head.
7589 (list_unlink_ip): Likewise.
7590 * sysdeps/pthread/timer_routines.c
7591 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7592 (list_append, list_insbefore): Likewise.
7593 (list_init): Function removed.
7594 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7595 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7596 * sysdeps/pthread/Makefile: ... here, new file.
7597
7598 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7599 * sysdeps/nptl/Implies: ... here.
7600 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7601 * nptl/sysdeps/pthread/list.h: Moved ...
7602 * include/list.h: ... here.
7603 * nptl/sysdeps/pthread/createthread.c: Moved ...
7604 * nptl/createthread.c: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7606 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7607 * nptl/pt-longjmp.c: ... here.
7608 * nptl/sysdeps/pthread/Makefile: Moved ...
7609 * sysdeps/nptl/Makefile: ... here.
7610 * nptl/sysdeps/pthread/Subdirs: Moved ...
7611 * sysdeps/nptl/Subdirs: ... here.
7612 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7613 * sysdeps/nptl/aio_misc.h: ... here.
7614 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7615 * sysdeps/nptl/bits/libc-lock.h: ... here.
7616 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7617 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7618 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7619 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7620 * nptl/sysdeps/pthread/configure: Moved ...
7621 * sysdeps/nptl/configure: ... here.
7622 * nptl/sysdeps/pthread/configure.ac: Moved ...
7623 * sysdeps/nptl/configure.ac: ... here.
7624 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7625 * sysdeps/nptl/gai_misc.h: ... here.
7626 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7627 * sysdeps/nptl/librt-cancellation.c: ... here.
7628 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7629 * sysdeps/nptl/malloc-machine.h: ... here.
7630 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7631 * sysdeps/nptl/pthread-functions.h: ... here.
7632 * nptl/sysdeps/pthread/pthread.h: Moved ...
7633 * sysdeps/nptl/pthread.h: ... here.
7634 * nptl/sysdeps/pthread/setxid.h: Moved ...
7635 * sysdeps/nptl/setxid.h: ... here.
7636 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7637 * sysdeps/nptl/sigfillset.c: ... here.
7638 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7639 * sysdeps/nptl/tcb-offsets.h: ... here.
7640 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7641 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7642 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7643 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7644 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7645 * sysdeps/pthread/allocalim.h: ... here.
7646 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7647 * sysdeps/pthread/bits/sigthread.h: ... here.
7648 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7649 * sysdeps/pthread/flockfile.c: ... here.
7650 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7651 * sysdeps/pthread/ftrylockfile.c: ... here.
7652 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7653 * sysdeps/pthread/funlockfile.c: ... here.
7654 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7655 * sysdeps/pthread/posix-timer.h: ... here.
7656 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7657 * sysdeps/pthread/timer_create.c: ... here.
7658 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7659 * sysdeps/pthread/timer_delete.c: ... here.
7660 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7661 * sysdeps/pthread/timer_getoverr.c: ... here.
7662 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7663 * sysdeps/pthread/timer_gettime.c: ... here.
7664 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7665 * sysdeps/pthread/timer_routines.c: ... here.
7666 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7667 * sysdeps/pthread/timer_settime.c: ... here.
7668 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7669 * sysdeps/pthread/tst-timer.c: ... here.
7670 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7671 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7672
e876b090
RM
7673 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7674 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7675
f6b07b3d
RM
7676 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7677 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7678 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7679 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7680 Update #include target.
7681 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7682 * sysdeps/i386/i686/nptl/Makefile: ... here.
7683 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7684 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7685 Update #include target.
7686 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7687 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7688 * nptl/sysdeps/i386/Makefile: Moved ...
7689 * sysdeps/i386/nptl/Makefile: ... here.
7690 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7691 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7692 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7693 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7694 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7695 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7696 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7697 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7698 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7699 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7700 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7701 * nptl/sysdeps/i386/tls.h: Moved ...
7702 * sysdeps/i386/nptl/tls.h: ... here.
7703
45262aee
RM
7704 * sysdeps/sh/Makefile [$(subdir) = csu]
7705 (gen-as-const-headers): Add tcb-offsets.sym.
7706 * nptl/sysdeps/sh/Makefile: File removed.
7707 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7708 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7709 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7710 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7711 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7712 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7713 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7714 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7715 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7716 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7717 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7718 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7719 * nptl/sysdeps/sh/tls.h: Moved ...
7720 * sysdeps/sh/nptl/tls.h: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7722 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7724 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7725 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7726 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7727 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7728 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7729 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7730 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7732 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7734 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7736 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7738 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7740 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7742 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7744 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7746 Moved ...
7747 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7749 Moved ...
7750 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7751 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7752 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7753 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7754 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7755 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7756 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7757 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7758 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7760 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7761 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7762 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7763 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7764 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7765 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7766 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7768 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7769
35a5e3e3
SL
77702014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7771
7772 * posix/spawn_faction_addopen.c: Include string.h.
7773
14642b85
RM
77742014-06-11 Roland McGrath <roland@hack.frob.com>
7775
7776 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7777 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7778 * nptl/sysdeps/x86_64/Makefile: Moved ...
7779 * sysdeps/x86_64/nptl/Makefile: ... here.
7780 * nptl/sysdeps/x86_64/configure: Moved ...
7781 * sysdeps/x86_64/nptl/configure: ... here.
7782 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7783 * sysdeps/x86_64/nptl/configure.ac: ... here.
7784 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7785 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7786 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7787 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7788 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7789 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7790 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7791 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7792 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7793 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7794 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7795 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7796 * nptl/sysdeps/x86_64/tls.h: Moved ...
7797 * sysdeps/x86_64/nptl/tls.h: ... here.
7798 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7799 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7800 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7801 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7802
7803 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7804
31c44fea
AZ
78052014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7806
7807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7808
e81a4f9a
JM
78092014-06-11 Joseph Myers <joseph@codesourcery.com>
7810
7811 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7812 type.
7813 [POSIX] (off_t): Likewise.
7814 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7815 [POSIX] (S_ISBLK): Require macro.
7816 [POSIX] (S_ISCHR): Likewise.
7817 [POSIX] (S_ISDIR): Likewise.
7818 [POSIX] (S_ISFIFO): Likewise.
7819 [POSIX] (S_ISREG): Likewise.
7820 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7821 optional-macro.
7822 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7823 type.
7824 [POSIX] (time_t): Likewise.
7825 [POSIX] (timer_t): Likewise.
7826
89e435f3
FW
78272014-06-11 Florian Weimer <fweimer@redhat.com>
7828
7829 [BZ #17048]
7830 * posix/spawn_int.h (struct __spawn_action): Make the path string
7831 non-const to support deallocation.
7832 * posix/spawn_faction_addopen.c
7833 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7834 * posix/spawn_faction_destroy.c
7835 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7836 path in all spawn_do_open actions.
7837 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7838 posix_spawn_file_actions_addopen.
7839
c3a2ebe1
CM
78402014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7841
7842 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7843 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7844 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7845 conditional code always true.
7846 (__libc_vfork): New alias.
7847
9503784a
RM
78482014-06-11 Roland McGrath <roland@hack.frob.com>
7849
c9cab3d2
RM
7850 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7851 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7852
d3996c79
RM
7853 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7854
ba5ec611
RM
7855 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7856 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7857
f12b4814
RM
7858 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7859 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7860
9503784a
RM
7861 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7862 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7863
e23d3d26
VR
78642014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7865
7866 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7867 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7868 multiarch strcmp for PPC64.
7869 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7870 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7872 multiarch optimizations.
7873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7874 (__libc_ifunc_impl_list): Likewise.
7875
42b1161e
SP
78762014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7877
7878 * benchtests/scripts/validate_benchout.py: New script.
7879 * benchtests/Makefile (bench-func): Call it.
7880 * benchtests/scripts/benchout.schema.json: New file.
7881
2d0fc4dc
CM
78822014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7883
4a594c34
AZ
7884 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7885 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7886 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7887 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7888 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7889 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7890 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7891 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7892 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7893 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7894 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7895 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7896 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7897 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7898 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7899 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 7901 Moved ...
4a594c34 7902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 7903 ... here.
4a594c34 7904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 7905 Moved ...
4a594c34
AZ
7906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7908 Moved ...
4a594c34 7909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7910 ... here.
4a594c34 7911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7912 Moved ...
4a594c34 7913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7914 ... here.
4a594c34 7915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7916 Moved ...
4a594c34
AZ
7917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7919 Moved ...
4a594c34 7920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7921 ... here.
4a594c34 7922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7923 Moved ...
4a594c34 7924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7925 ... here.
4a594c34 7926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7927 Moved ...
4a594c34
AZ
7928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7930 Moved ...
4a594c34 7931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7932 ... here.
4a594c34 7933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7934 Moved ...
4a594c34 7935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7936 ... here.
4a594c34 7937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7938 Moved ...
4a594c34 7939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7940 ... here.
4a594c34 7941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7942 Moved ...
4a594c34
AZ
7943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7945 Moved ...
4a594c34 7946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7947 ... here.
4a594c34 7948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7949 Moved ...
4a594c34 7950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7951 ... here.
4a594c34 7952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7953 Moved ...
4a594c34 7954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7955 ... here.
4a594c34 7956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7957 Moved ...
4a594c34
AZ
7958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7960 Moved ...
4a594c34 7961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7962 ... here.
4a594c34 7963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7964 Moved ...
4a594c34 7965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7966 ... here.
4a594c34 7967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7968 Moved ...
4a594c34
AZ
7969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7971 Moved ...
4a594c34 7972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7973 ... here.
4a594c34 7974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7975 Moved ...
4a594c34
AZ
7976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7978 Moved ...
4a594c34
AZ
7979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7981 Moved ...
4a594c34 7982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7983 ... here.
4a594c34 7984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7985 Moved ...
4a594c34 7986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7987 ... here.
4a594c34 7988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7989 Moved ...
4a594c34 7990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7991 ... here.
4a594c34 7992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7993 Moved ...
4a594c34
AZ
7994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7996 Moved ...
4a594c34 7997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7998 ... here.
4a594c34 7999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8000 Moved ...
4a594c34 8001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8002 ... here.
4a594c34
AZ
8003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8004 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8008 Moved ...
4a594c34 8009 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8010 ... here.
4a594c34
AZ
8011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8012 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8022 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8024 Moved ...
4a594c34
AZ
8025 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8027 Moved ...
4a594c34
AZ
8028 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8029 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8030 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8031 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8032 Moved ...
4a594c34
AZ
8033 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8035 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8036 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8037 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8038 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8039 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8040
0570cfed
W
80412014-06-10 Wilco <wdijkstr@arm.com>
8042
8043 * math/test-fenv-return.c: New file.
8044 * math/Makefile: Add new test test-fenv-return.
8045
f8ba1b56
JM
80462014-06-10 Joseph Myers <joseph@codesourcery.com>
8047
8048 [BZ #17042]
8049 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8050 when x - 1 is zero.
8051 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8052 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8053 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8054 0.0L for an argument of 1.0L.
8055 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8056 Likewise.
8057 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8058 value when x - 1 is zero.
8059 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8060 * sysdeps/i386/fpu/libm-test-ulps: Update.
8061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8062
2c3520d9
BO
80632014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8064
8065 [BZ #15119]
8066 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8067
acaa4d24
RM
80682014-06-09 Roland McGrath <roland@hack.frob.com>
8069
8070 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8071 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8072
962b744d
RM
80732014-06-09 Roland McGrath <roland@hack.frob.com>
8074
d752f0cc
RM
8075 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8076 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8077
34eda6d1
RM
8078 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8079 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8080
50f0a637
RM
8081 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8082 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8083
08f41f04
RM
8084 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8085 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8086
962b744d
RM
8087 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8088 if not already defined.
8089 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8090 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8091 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8092 (TLS_INIT_TP): Use it.
8093 (TLS_DEFINE_INIT_TP): New macro.
8094 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8095
09f19b05
JM
80962014-06-09 Joseph Myers <joseph@codesourcery.com>
8097
8098 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8099 constant.
8100 [POSIX] (IXANY): Likewise.
8101 [POSIX] (OLCUC): Likewise.
8102 [POSIX || POSIX2008] (CBAUD): Do not allow.
8103 [POSIX || POSIX2008] (DEFECHO): Likewise.
8104 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8105 [POSIX || POSIX2008] (ECHOKE): Likewise.
8106 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8107 [POSIX || POSIX2008] (EXTA): Likewise.
8108 [POSIX || POSIX2008] (EXTB): Likewise.
8109 [POSIX || POSIX2008] (FLUSHO): Likewise.
8110 [POSIX || POSIX2008] (LOBLK): Likewise.
8111 [POSIX || POSIX2008] (PENDIN): Likewise.
8112 [POSIX || POSIX2008] (SWTCH): Likewise.
8113 [POSIX || POSIX2008] (VDISCARD): Likewise.
8114 [POSIX || POSIX2008] (VDSUSP): Likewise.
8115 [POSIX || POSIX2008] (VLNEXT): Likewise.
8116 [POSIX || POSIX2008] (VREPRINT): Likewise.
8117 [POSIX || POSIX2008] (VSTATUS): Likewise.
8118 [POSIX || POSIX2008] (VWERASE): Likewise.
8119 (B*): Change to B[0123456789]*.
8120 * conform/data/time.h-data [POSIX || UNIX98]
8121 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8122 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8123 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8124 [POSIX] (tm_*): Do not allow.
8125
686554bf
JM
81262014-06-07 Joseph Myers <joseph@codesourcery.com>
8127
8128 * Makefile (install): Don't set LANGUAGE.
8129 * Makefile.in (install): Likewise.
8130 * assert/Makefile (test-assert-ENV): Remove variable.
8131 (test-assert-perr-ENV): Likewise.
8132 * elf/Makefile (neededtest4-ENV): Likewise.
8133 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8134 [$(cross-compiling) = no]: Don't set LANGUAGE.
8135 * io/ftwtest-sh (LANG): Remove variable.
8136 * libio/Makefile (tst-widetext-ENV): Likewise.
8137 * manual/install.texi (Running make install): Don't refer to
8138 environment settings for make install.
8139 * INSTALL: Regenerated.
8140 * nptl/tst-tls6.sh: Don't set LANG.
8141 * posix/globtest.sh (LANG): Remove variable.
8142 * string/Makefile (tester-ENV): Likewise.
8143 (inl-tester-ENV): Likewise.
8144 (noinl-tester-ENV): Likewise.
8145 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8146 [$(cross-compiling) = no]: Don't set LANGUAGE.
8147 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8148 without explicit environment settings.
8149
68e6b6b1
RM
81502014-06-06 Roland McGrath <roland@hack.frob.com>
8151
8152 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8153 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8155 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8156
4d3ae034
CM
81572014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8158
8159 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8160 other files in the crypt directory.
8161 * crypt/crypt.c: Remove duplicate includes.
8162 * crypt/crypt-entry.c: Likewise.
8163 * crypt/crypt_util.c: Likewise.
8164
8540f6d2
JM
81652014-06-06 Joseph Myers <joseph@codesourcery.com>
8166
8167 * Makeconfig (run-program-env): New variable.
8168 (run-program-prefix-before-env): Likewise.
8169 (run-program-prefix-after-env): Likewise.
8170 (run-program-prefix): Define in terms of new variables.
8171 (built-program-cmd-before-env): New variable.
8172 (built-program-cmd-after-env): Likewise.
8173 (built-program-cmd): Define in terms of new variables.
8174 (test-program-prefix-before-env): New variable.
8175 (test-program-prefix-after-env): Likewise.
8176 (test-program-prefix): Define in terms of new variables.
8177 (test-program-cmd-before-env): New variable.
8178 (test-program-cmd-after-env): Likewise.
8179 (test-program-cmd): Define in terms of new variables.
8180 * Rules (make-test-out): Use $(run-program-env).
8181 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8182 (help): Do not mention environment variables. Mention
8183 --timeoutfactor option.
8184 (timeoutfactor): New variable.
8185 (blacklist_exports): Remove function.
8186 (exports): Remove variable.
8187 (command): Do not include ${exports}.
8188 * manual/install.texi (Configuring and compiling): Do not mention
8189 test wrappers preserving environment variables. Mention that last
8190 assignment to a variable must take precedence.
8191 * INSTALL: Regenerated.
8192 * benchtests/Makefile (run-bench): Use $(run-program-env).
8193 * catgets/Makefile ($(objpfx)test1.cat): Use
8194 $(built-program-cmd-before-env), $(run-program-env) and
8195 $(built-program-cmd-after-env).
8196 ($(objpfx)test2.cat): Do not specify environment variables
8197 explicitly.
8198 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8199 $(run-program-env) and $(built-program-cmd-after-env).
8200 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8201 $(run-program-env) and $(test-program-cmd-after-env).
8202 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8203 explicitly.
8204 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8205 run_program_env and test_program_cmd_after_env arguments.
8206 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8207 * elf/tst-pathopt.sh: Use run_program_env argument.
8208 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8209 $(test-wrapper-env) and $(run-program-env).
8210 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8211 run_program_env arguments.
8212 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8213 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8214 $(test-program-prefix-before-env), $(run-program-env) and
8215 $(test-program-prefix-after-env).
8216 ($(objpfx)tst-gettext2.out): Likewise.
8217 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8218 run_program_env and test_program_prefix_after_env arguments.
8219 * intl/tst-gettext2.sh: Likewise.
8220 * intl/tst-gettext4.sh: Do not set environment variables
8221 explicitly.
8222 * intl/tst-gettext6.sh: Likewise.
8223 * intl/tst-translit.sh: Likewise.
8224 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8225 $(test-program-prefix-before-env), $(run-program-env) and
8226 $(test-program-prefix-after-env).
8227 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8228 run_program_env and test_program_prefix_after_env arguments.
8229 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8230 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8231 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8232 explicitly with each use of ${test_wrapper_env}.
8233 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8234 $(test-program-prefix-before-env), $(run-program-env) and
8235 $(test-program-prefix-after-env).
8236 * posix/tst-getconf.sh: Do not set environment variables
8237 explicitly.
8238 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8239 run_program_env and test_program_prefix_after_env arguments.
8240 * stdio-common/tst-printf.sh: Do not set environment variables
8241 explicitly.
8242 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8243 $(test-program-prefix-before-env), $(run-program-env) and
8244 $(test-program-prefix-after-env).
8245 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8246 run_program_env and test_program_prefix_after_env arguments.
8247 Split $test calls into $test_pre and $test.
8248 * timezone/Makefile (build-testdata): Use
8249 $(built-program-cmd-before-env), $(run-program-env) and
8250 $(built-program-cmd-after-env).
8251
ed36bfa1
AZ
82522014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8253
8254 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8255 strlen for non SHARED builds.
8256
fc75bf46
SP
82572014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
8259 * nptl/allocatestack.c (check_list): Inlined function...
8260 (__reclaim_stacks): ... here.
8261
d89b3d80
OB
82622014-06-05 Ondřej Bílka <neleai@seznam.cz>
8263
8264 [BZ #15698]
8265 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8266 memory overrun.
8267
2bf18041
JM
82682014-06-05 Joseph Myers <joseph@codesourcery.com>
8269
8270 * Rules (make-test-out): Include
8271 LOCPATH=$(common-objpfx)localedata in default environment.
8272 * debug/Makefile (tst-chk1-ENV): Remove variable.
8273 (tst-chk2-ENV): Likewise.
8274 (tst-chk3-ENV): Likewise.
8275 (tst-chk4-ENV): Likewise.
8276 (tst-chk5-ENV): Likewise.
8277 (tst-chk6-ENV): Likewise.
8278 (tst-lfschk1-ENV): Likewise.
8279 (tst-lfschk2-ENV): Likewise.
8280 (tst-lfschk3-ENV): Likewise.
8281 (tst-lfschk4-ENV): Likewise.
8282 (tst-lfschk5-ENV): Likewise.
8283 (tst-lfschk6-ENV): Likewise.
8284 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8285 (tst-iconv7-ENV): Likewise.
8286 * intl/Makefile (LOCPATH-ENV): Likewise.
8287 (tst-codeset-ENV): Likewise.
8288 (tst-gettext3-ENV): Likewise.
8289 (tst-gettext5-ENV): Likewise.
8290 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8291 (tst-fopenloc-ENV): Likewise.
8292 (tst-fgetws-ENV): Remove variable.
8293 (tst-ungetwc1-ENV): Likewise.
8294 (tst-ungetwc2-ENV): Likewise.
8295 (bug-ungetwc2-ENV): Likewise.
8296 (tst-swscanf-ENV): Likewise.
8297 (bug-ftell-ENV): Likewise.
8298 (tst-fgetwc-ENV): Likewise.
8299 (tst-fseek-ENV): Likewise.
8300 (tst-ftell-partial-wide-ENV): Likewise.
8301 (tst-ftell-active-handler-ENV): Likewise.
8302 (tst-ftell-append-ENV): Likewise.
8303 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8304 (tst-regexloc-ENV): Likewise.
8305 (bug-regex1-ENV): Likewise.
8306 (tst-regex-ENV): Likewise.
8307 (tst-regex2-ENV): Likewise.
8308 (bug-regex5-ENV): Likewise.
8309 (bug-regex6-ENV): Likewise.
8310 (bug-regex17-ENV): Likewise.
8311 (bug-regex18-ENV): Likewise.
8312 (bug-regex19-ENV): Likewise.
8313 (bug-regex20-ENV): Likewise.
8314 (bug-regex22-ENV): Likewise.
8315 (bug-regex23-ENV): Likewise.
8316 (bug-regex25-ENV): Likewise.
8317 (bug-regex26-ENV): Likewise.
8318 (bug-regex30-ENV): Likewise.
8319 (bug-regex32-ENV): Likewise.
8320 (bug-regex33-ENV): Likewise.
8321 (bug-regex34-ENV): Likewise.
8322 (bug-regex35-ENV): Likewise.
8323 (tst-rxspencer-ENV): Likewise.
8324 (tst-rxspencer-no-utf8-ENV): Likewise.
8325 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8326 (tst-sscanf-ENV): Likewise.
8327 (tst-swprintf-ENV): Likewise.
8328 (tst-swscanf-ENV): Likewise.
8329 (test-vfprintf-ENV): Likewise.
8330 (scanf13-ENV): Likewise.
8331 (bug14-ENV): Likewise.
8332 (tst-grouping-ENV): Likewise.
8333 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8334 (tst-strtod3-ENV): Likewise.
8335 (tst-strtod4-ENV): Likewise.
8336 (tst-strtod5-ENV): Likewise.
8337 (testmb2-ENV): Likewise./
8338 * string/Makefile (tst-strxfrm-ENV): Likewise.
8339 (tst-strxfrm2-ENV): Likewise.
8340 (bug-strcoll1-ENV): Likewise.
8341 (test-strcasecmp-ENV): Likewise.
8342 (test-strncasecmp-ENV): Likewise.
8343 * time/Makefile (tst-strptime-ENV): Likewise.
8344 (tst-ftime_l-ENV): Likewise.
8345 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8346 (tst-mbrtowc-ENV): Likewise.
8347 (tst-wcrtomb-ENV): Likewise.
8348 (tst-mbrtowc2-ENV): Likewise.
8349 (tst-c16c32-1-ENV): Likewise.
8350 (tst-mbsnrtowcs-ENV): Likewise.
8351
cd1fb604
OB
83522014-06-05 Ondřej Bílka <neleai@seznam.cz>
8353
8354 * manual/resource.texi (How to get information about the memory
8355 subsystem?): Fix typo.
8356 Reported by Peon de la Parra Ivan <peon@keba.com>
8357
b42eca7d
GY
83582014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8359
8360 [BZ #16882]
8361 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8362 (pthread_spin_lock): Branch out of spin loop to proper location.
8363 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8364 (pthread_spin_lock): Likewise.
8365
902b71f9
DM
8366 * nptl/tst-spin4.c: New test.
8367 * nptl/Makefile (tests): Add tst-spin4.
8368
f9d2d032
AS
83692014-06-03 Andreas Schwab <schwab@suse.de>
8370
8371 [BZ #15946]
8372 * resolv/res_send.c (send_dg): Reload file descriptor after
8373 calling reopen.
8374
cf7bfd28
SL
83752014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8376
8377 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8378
111cc714
RH
83792014-06-03 Richard Henderson <rth@redhat.com>
8380
89b4bd6b
RH
8381 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8382 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8383 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8384 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8385 in the SAVE_PID block.
8386 (__libc_vfork): New alias.
71840409 8387 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8388
111cc714
RH
8389 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8390 child in registers, not on the stack. Remove RESET_PID conditionals.
8391 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8392
ccc39911
MS
83932014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8394
8395 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8396
693096cc
W
83972014-06-03 Wilco <wdijkstr@arm.com>
8398
8399 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8400 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8401 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8402 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8403 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8404 Likewise.
8405
0b4366bc
W
84062014-06-03 Wilco <wdijkstr@arm.com>
8407
8408 * sysdeps/aarch64/fpu/math_private.h
8409 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8410 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8411 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8412 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8413 Fix declarations.
8414
8747cd03
KS
84152014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8416
8417 * crypt/crypt-private.h: Include ufc-crypt.h.
8418 (__b64_from_24bit): Declare extern.
8419 * crypt/crypt_util.c(__b64_from_24bit): New function.
8420 (b64t): New static const variable.
8421 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8422 (b64t): Remove variable.
8423 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8424 * crypt/sha256-crypt.c: Include crypt-private.h.
8425 (b64t): Remove variable.
8426 (__sha256_crypt_r): Remove b64_from_24bit and replace
8427 with __b64_from_24bit.
8428 * crypt/sha512-crypt.c: Likewise.
8429
d936d379
RM
84302014-06-02 Roland McGrath <roland@hack.frob.com>
8431
8432 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8433 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8434 Label the code __libc_vfork rather than __vfork.
8435 [!NOT_IN_libc] (vfork): Define as weak alias.
8436 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8437 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8438 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8439
9fa76613
SP
84402014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8441
8442 * malloc/malloc.c (malloc_info): Fix format specifier for
8443 n_mmaps.
8444
a88dadbe
W
84452014-06-02 Wilco <wdijkstr@arm.com>
8446
8447 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8448 FPCR write.
8449
c95b3011
W
84502014-06-02 Wilco <wdijkstr@arm.com>
8451
8452 [BZ #17009]
8453 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8454 Rewrite to reduce FPCR/FPSR accesses.
8455
6b4d7a90
DM
84562014-06-01 David S. Miller <davem@davemloft.net>
8457
8458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8459
30f3d07c
DM
84602014-05-31 David S. Miller <davem@davemloft.net>
8461
8462 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8463 to occur in round to nearest mode when |x| >= 2.0
8464
74f31c18
RH
84652014-05-30 Richard Henderson <rth@twiddle.net>
8466
f0712b54
RH
8467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8468 (PSEUDO_RET_NOERRNO): Remove.
8469 (ret): Don't redefine.
8470 (ret_NOERRNO): Define in terms of ret.
8471 (ret_ERRVAL): Likewise.
8472
74f31c18
RH
8473 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8474 use of PSEUDO_RET; perform the error check directly.
8475
30477995
MM
84762014-05-30 Marko Myllynen <myllynen@redhat.com>
8477
8478 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8479 with __int128_t.
8480
62a58816
SP
84812014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
8483 * malloc/malloc (malloc_info): Fix formatting.
8484
4d653a59
SP
84852014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8486 Roland McGrath <roland@hack.frob.com>
8487
8488 * malloc/malloc (malloc_info): Also print mmapped statistics.
8489
5190c17f
RM
84902014-05-30 Roland McGrath <roland@hack.frob.com>
8491
8492 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8493 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8494
987c0269
OB
84952014-05-30 Ondřej Bílka <neleai@seznam.cz>
8496
8497 * malloc/malloc.c (malloc_info): Inline mi_arena.
8498
af4e8ef9
RH
84992014-05-29 Richard Henderson <rth@twiddle.net>
8500
1670e207
RH
8501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8502 Remove comma before expanding ASM_ARGS_##nr.
8503 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8504 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8505 of ASM_ARGS_##nr.
8506 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8507 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8508 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8509 (ASM_ARGS_1): Add leading comma.
8510
11a28aee
RH
8511 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8512 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8513 to __errno_location.
8514 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8515 Remove the expected plt for __errno_location.
8516
a17e5ffb 8517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8518 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8519 call to __read_tp.
8520
b5be4597
RH
8521 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8522 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8523 it and break it down.
8524 (DOCARGS_0, DOCARGS_1): Do nothing.
8525 (DOCARGS_2): Update to store into the new stack frame.
8526 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8527 (UNDOCARGS_1): Update to restore from the new stack frame.
8528 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8529 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8530
645d44ab
RH
8531 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8532 (SINGLE_THREAD_P): New parameter for result regno.
8533 (PSEUDO): Update to match; use cbz instead of beq.
8534
a8b4f04a
RH
8535 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8536 Use ENTRY to define the _nocancel entry point. Share the syscall
8537 and syscall error check paths with the cancel path.
8538 (PSEUDO_END): New.
8539
af4e8ef9
RH
8540 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8541 whitespace; tabs before and after asm mnemonics.
8542
26b0d2e1
EW
85432014-05-29 Eric Wong <normalperson@yhbt.net>
8544
8545 [BZ #15132]
8546 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8547 Call fstat64 or stat64 internally, depending on arguments passed.
8548 Replace stat buffer argument with file descriptor argument.
8549 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8550 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8551 Pass fd to __internal_statvfs instead of calling fstat64.
8552 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8553 Pass fd to __internal_statvfs64 instead of calling fstat64.
8554 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8555 Pass -1 to __internal_statvfs instead of calling stat64.
8556 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8557 Pass -1 to __internal_statvfs64 instead of calling stat64.
8558
1efe2bd9
RM
85592014-05-28 Roland McGrath <roland@hack.frob.com>
8560
0d3b7a19
RM
8561 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8562 that was previously under [RESET_PID].
8563 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8564
1efe2bd9
RM
8565 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8566 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8567
a6bea3ca
RM
85682014-05-27 Roland McGrath <roland@hack.frob.com>
8569
30b6629e
RM
8570 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8571
a6bea3ca
RM
8572 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8573 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8574
3dfb9a5c
OB
85752014-05-27 Ondřej Bílka <neleai@seznam.cz>
8576
8577 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8578
774f9285
AS
85792014-05-27 Andreas Schwab <schwab@suse.de>
8580
8581 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8582 TLS_INIT_TP macro.
8583 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8584 * elf/rtld.c (init_tls, dl_main): Likewise.
8585 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8586 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8587 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8588 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8589 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8590 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8591 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8592 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8593 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8594 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8595 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8596 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8597 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8598 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8599 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8600 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8601 * sysdeps/generic/tls.h: Update description.
8602
36ffe739
WN
86032014-05-27 Will Newton <will.newton@linaro.org>
8604
8605 [BZ #16990]
8606 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8607 and restore r2 rather than just restoring.
8608
2482ae43
SP
86092014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8610
8611 [BZ #16724]
8612 * libio/tst-ftell-append.c: New test case.
8613 * libio/Makefile (tests): Add test case.
8614 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8615 append mode.
8616 * libio/wfileops.c (do_ftell_wide): Likewise.
8617
3d1024e8
AZ
86182014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8619
bab90016
AZ
8620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8621
c7a8d667
AZ
8622 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8623 ...
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8626 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8627 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8628 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8629 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8630 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8631 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8633 Moved ...
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8636 Moved ...
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8638 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8639 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8640 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8641 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8642 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8643 ...
8644 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8645 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8646 Moved ...
8647 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8648 here.
8649 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8650 ...
8651 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8652 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8653 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8654
daee7851
AZ
8655 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8656 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8657 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8658 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8659
50a40819
AZ
8660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8661 merge into ...
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8664 ...
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8667 ...
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8670 Moved ...
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8672 here.
8673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8674 Moved ...
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8676 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8677 Moved ...
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8679
8464c2a1
AZ
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8681 conditional [RESET_PID].
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8683 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8684 removed.
8685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8686 removed.
8687
3d1024e8
AZ
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8689 <tcb-offsets.h>.
8690 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8691 (__libc_vfork): New strong alias.
8692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8693 removed.
8694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8695 Removed.
8696
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8698 <tcb-offsets.h>.
8699 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8700 (__libc_vfork): New strong alias.
8701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8702 removed.
8703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8704 removed.
8705
fdfd175d
CD
87062014-05-26 Carlos O'Donell <carlos@redhat.com>
8707
8708 * malloc/malloc.c (mi_arena): New function.
8709 (malloc_info): Remove nested function mi_arena. Call non-nosted
8710 function mi_arena.
8711
d298c416
AZ
87122014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8713
8714 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8715 by insrwi.
8716 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8717 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8718 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8719 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8720 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8721 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8722 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8723
b60ea6ff
AS
87242014-05-26 Andreas Schwab <schwab@suse.de>
8725
8726 [BZ #16984]
8727 * locale/programs/repertoire.c (repertoire_read): Add slash
8728 between I18NPATH element and file name.
8729 * locale/programs/locfile.c (locfile_read): Likewise.
8730
67365926
SL
87312014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8732
8733 * nptl/pthread_mutexattr_settype.c
8734 (__pthread_mutexattr_settype):
8735 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8736
f8bdf1f0
SL
87372014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8738
8739 * nptl/tst-mutex5 (do_test):
8740 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8741
15eaf6ff
SP
87422014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8743
8744 * benchtests/README: Document 'init' directive.
8745 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8746 BENCH_INIT.
8747 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8748 (parse_file): Recognize 'init' directive.
8749
75f11331
KM
87502014-05-26 Kyle McMartin <kyle@redhat.com>
8751
8752 [BZ #16796]
8753 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8754 alignment of struct pthread.
8755
c3ec475c
SP
87562014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8757
8758 [BZ #16878]
8759 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8760 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8761 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8762 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8763
82aab97c
RH
87642014-05-25 Richard Henderson <rth@twiddle.net>
8765
aa2f176d
RH
8766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8767 (SINGLE_THREAD_P_PIC): Remove.
8768 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8769 (SINGLE_THREAD_P_PIC): Remove.
8770
ca3cfa40
RH
8771 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8772 branch to syscall error ...
8773 (PSEUDO): ... here.
8774 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8775 from __local_syscall_error to .Lsyscall_error.
8776 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8777 (SYSCALL_ERROR): Update label name.
8778
6e6c2d01
RH
8779 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8780 Do not use DOARGS/UNDOARGS.
8781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8782 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8783 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8784 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8785 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8786
c69abcee
RH
8787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8788 block comment.
8789
82aab97c
RH
8790 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8791 define if !NOT_IN_libc.
8792 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8793 define with non-default symbol versions.
8794
8820e3ac
RH
87952014-05-23 Richard Henderson <rth@twiddle.net>
8796
900e445f
RH
8797 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8798 (vfork, __vfork): Define via compat_symbol.
8799
8820e3ac
RH
8800 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8801 [!HAVE_IFUNC] (vfork_compat): Remove.
8802 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8803
e59252a5
JM
88042014-05-23 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #16978]
8807 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8808 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8809 variable.
8810
132c7f5f
RH
88112014-05-23 Richard Henderson <rth@twiddle.net>
8812
bc89e962
RH
8813 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8814 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8815 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8816 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8817
8818 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8819 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8820 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8821 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8822 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8823 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8824 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8825 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8826 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8827 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8828 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8829 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8830 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8857 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8858 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8859 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8860 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8861 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8862 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8863 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8864 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8865 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8866 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8867 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8868 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8869 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8870 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8871 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8872 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8873 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8874
e2fa4bc2
RH
8875 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8876 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8877 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8878 before exiting on error.
8879 (__libc_vfork): New strong alias.
8880 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8881 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8882
279b24e2
RH
8883 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8884 that was previously under [RESET_PID].
8885 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8886
132c7f5f
RH
8887 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8888
b72592e7
JM
88892014-05-23 Joseph Myers <joseph@codesourcery.com>
8890
8891 [BZ #16977]
8892 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8893 value when x - 1 is zero.
8894 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8895 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8896 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8897 0.0L for an argument of 1.0L.
8898 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8899 Likewise.
8900 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8901 value when x - 1 is zero.
8902 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8903 * sysdeps/i386/fpu/libm-test-ulps: Update.
8904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8905
2302d679
RV
89062014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8907
8908 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8909 alphasort and versionsort.
8910
32999d63
AZ
89112014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8912
8913 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8914 macro.
8915 [copysignf]: Likewise.
8916
019324d0
SP
89172014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8918
8919 * crypt/md5-crypt.c: Fix formatting.
8920
34fff5c2
KS
89212014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8922
8923 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8924 (b64_from_24bit): New function.
8925
3d2badac
AZ
89262014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8927
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8929 libc_hidden_builtin_def to ifunc.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8931 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8932
f7bb179f 89332014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8934
8935 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8936 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8937
4134b50d
JM
89382014-05-21 Joseph Myers <joseph@codesourcery.com>
8939
bb7d0337
JM
8940 * nscd/Depend (linuxthreads): Remove.
8941 (nptl): Add.
8942 * resolv/Depend (linuxthreads): Remove.
8943 * rt/Depend (linuxthreads): Remove.
8944
4134b50d
JM
8945 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8946 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8947 $(common-objpfx)elf/.
8948 (link-libc-before-gnulib): Likewise.
8949 (elfobjdir): Remove variable.
8950 * Makefile (install): Use $(elf-objpfx) instead of
8951 $(common-objpfx)elf/.
8952 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8953 $(elfobjdir)/.
8954 (link-libc-deps): Likewise.
8955 ($(common-objpfx)libc.so): Likewise.
8956 ($(common-objpfx)linkobj/libc.so): Likewise.
8957 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8958 instead of $(common-objpfx)elf/.
8959 (symbolic-link-list): Likewise.
8960 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8961 [$(cross-compiling) = no]: Likewise.
8962 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8963 $(elfobjdir)/.
8964 (static-gnulib-arch): Likewise.
8965 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8966 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8967 $(common-objpfx)elf/.
8968
3612eb8f
RH
89692014-05-21 Richard Henderson <rth@redhat.com>
8970
a6b3657b
RH
8971 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8972 (SINGLE_THREAD_P): Use the correct width load. Fold
8973 into the ldr offset.
8974
3612eb8f
RH
8975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8976 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8977
175cef41
JM
89782014-05-20 Joseph Myers <joseph@codesourcery.com>
8979
8980 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8981 (libgcc_s_resume): Use __attribute_used__.
8982 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8983 Likewise.
8984
e13bccd3
AZ
89852014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8986
8987 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8988 optimization when used with float constants.
8989
7c112a38
AZ
8990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8991
ae75a883
AJ
89922014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8993
8994 [BZ #16915]
8995 * locale/nl_langinfo_l.c: Make direct reference to every
8996 _nl_current_CATEGORY symbol.
8997 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8998 (tests-static): Add tst-langinfo-static.
8999 (tests-special): Add tst-langinfo-static.out.
9000 ($(objpfx)tst-langinfo.out): Redirect output.
9001 ($(objpfx)tst-langinfo-static.out): New.
9002 * localedata/tst-langinfo.sh: Send output to stdout.
9003 * localedata/tst-langinfo-static.c: New file.
9004
4406c41c
AJ
9005 [BZ #16965]
9006 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9007 when the shift amount is modulo the limb size.
9008
4c0a1e63
RH
90092014-05-20 Richard Henderson <rth@redhat.com>
9010
de9d8f20
RH
9011 [BZ #16967]
9012 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9013 Change type of sa_flags from unsigned int to int.
9014
4c0a1e63
RH
9015 [BZ #16966]
9016 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9017
9018 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9019
a60339aa
WN
90202014-05-20 Will Newton <will.newton@linaro.org>
9021
9022 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9023 Test the return value of the system call in the nocancel case.
9024
7d05a816
YR
90252014-05-20 Will Newton <will.newton@linaro.org>
9026 Yvan Roux <yvan.roux@linaro.org>
9027
9028 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9029 #include of asm/ptrace.h.
9030 (PTRACE_GET_THREAD_AREA): Remove #undef.
9031 (PTRACE_GETHBPREGS): Likewise.
9032 (PTRACE_SETHBPREGS): Likewise.
9033 (struct user_regs_struct): New structure.
9034 (struct user_fpsimd_struct): New structure.
9035 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9036 #include of asm/ptrace.h and second #include of sys/user.h.
9037 (PTRACE_GET_THREAD_AREA): Remove #undef.
9038 (PTRACE_GETHBPREGS): Likewise.
9039 (PTRACE_SETHBPREGS): Likewise.
9040 (ELF_NGREG): Use new struct user_regs_struct.
9041 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9042
af121e37
AZ
90432014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9044
9045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9047
834caf06
JM
90482014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9049
9050 [BZ #16958]
9051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9052 membar to avoid block loads/stores to overlap previous stores.
9053
e184a918
RH
90542014-05-17 Richard Henderson <rth@redhat.com>
9055
9056 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9057 Create the __##syscall_name##_nocancel entry point.
9058 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9059 Remove; let the sysdep-cancel.h code create it.
9060
f56c7a6a
DM
90612014-05-17 David S. Miller <davem@davemloft.net>
9062
9063 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9064 Protect with __USE_GNU.
9065 (TIOCSET_TEMPT): Likewise.
9066 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9067 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9068 these are already provided in bits/ioctl-types.h
9069
f75616b2
RM
90702014-05-16 Roland McGrath <roland@hack.frob.com>
9071
3edeca86
RM
9072 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9073 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9074
f75616b2
RM
9075 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9076 Use wait4 regardless of [__NR_waitpid].
9077
deb0f7f6
MR
90782014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9079
9080 PR libgcc/60166
9081 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9082 (_FP_NANSIGN_Q): Set the quiet bit.
9083
79520f4b
JM
90842014-05-16 Joseph Myers <joseph@codesourcery.com>
9085
9086 * benchtests/Makefile
9087 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9088 not $(common-objpfx)math/libm.so.
9089 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9090 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9091 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9092 $(common-objpfx)dlfcn/libdl.so.
9093 ($(objpfx)tst-audit8): Depend on $(libm), not
9094 $(common-objpfx)math/libm.so.
9095 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9096 not $(common-objpfx)dlfcn/libdl.so.
9097 * math/Makefile
9098 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9099 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9100 [$(build-shared) = yes].
9101 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9102 $(common-objpfx)nptl/libpthread.so.
9103 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9104 $(common-objpfx)math/libm.so$(libm.so-version) or
9105 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9106 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9107 $(common-objpfx)dlfcn/libdl.so.
9108 * setjmp/Makefile (link-libm): Remove variable.
9109 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9110 * stdio-common/Makefile (link-libm): Remove variable.
9111 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9112 * stdlib/Makefile (link-libm): Remove variable.
9113 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9114 ($(objpfx)tst-strtod-round): Likewise.
9115 ($(objpfx)tst-tininess): Likewise.
9116 ($(objpfx)tst-strtod-underflow): Likewise.
9117 ($(objpfx)tst-strtod6): Likewise.
9118 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9119 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9120 $(common-objpfx)dlfcn/libdl.so.
9121
026b0fe4
AZ
91222014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9123
9124 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9125 BSD terminal modes definitions.
9126
def4bcb2
RM
91272014-05-16 Roland McGrath <roland@hack.frob.com>
9128
fe39b021
RM
9129 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9130 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9131
1d1fc46e 9132 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9133 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9134 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9135 Don't do #include_next.
9136 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9137 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9138 Don't do #include_next.
9139 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9140 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9141 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9142 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9143
c72399fb
AM
91442014-05-16 Allan McRae <allan@archlinux.org>
9145
d51d659d
AM
9146 * po/sv.po: Update Swedish translation from translation project.
9147
c72399fb
AM
9148 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9149 in sed expression.
9150
d0583c40
AJ
91512014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9152
9153 [BZ #16917]
9154 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9155 errno if the TIOCGPTN ioctl fails with an error different than
9156 EINVAL.
9157 * login/tst-ptsname.c: New file.
9158 * login/Makefile (tests): Add tst-ptsname.
9159
d16e6ec7
AJ
9160 [BZ #16943]
9161 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9162 and prlimit64.
9163
cf26a0cb
SP
91642014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9165
9166 [BZ #16849]
9167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9168 herrno to return EAI_AGAIN.
9169
5675da1e
RM
91702014-05-14 Roland McGrath <roland@hack.frob.com>
9171
a5d87b3d
RM
9172 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9173 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9174 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9175 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9176 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9177 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9178 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9179 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9181 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9183 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9184 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9185 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9186 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9187 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9188 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9189 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9190 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9191 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9192 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9193 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9195 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9196 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9197 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9198 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9199 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9200 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9201 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9203 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9205 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9207 Moved ...
9208 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9210 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9212 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9214 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9216 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9220 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9224 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9228 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9232 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9236 Moved ...
9237 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9239 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9241 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9251 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9253 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9255 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9257 Moved ...
9258 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9260 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9261
039890a6
RM
9262 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9263 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9264 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9265 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9266 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9267 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9268 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9270 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9271 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9272 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9273 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9274 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9275 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9276 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9277 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9278 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9280 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9282 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9284 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9286 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9288 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9290 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9292 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9293
65c89320
RM
9294 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9295 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9296
348f8e8c
RM
9297 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9298 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9299 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9300 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9301 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9302 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9303 Moved ...
9304 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9306 Moved ...
9307 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9309 Moved ...
9310 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9312 Moved ...
9313 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9315 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9317 Moved ...
9318 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9320 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9322 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9324 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9326 Moved ...
9327 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9329 Moved ...
9330 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9331 ... here.
9332 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9333 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9335 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9337 Moved ...
9338 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9339 ... here.
9340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9341 Moved ...
9342 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9343 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9344 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9346 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9348 Moved ...
9349 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9351 Moved ...
9352 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9354 Moved ...
9355 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9357 Moved ...
9358 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9359 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9360 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9362 Moved ...
9363 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9364 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9365 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9367 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9369 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9371 Moved ...
9372 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9374 Moved ...
9375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9376 ... here.
9377 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9378 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9379 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9380 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9382 Moved ...
9383 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9384 ... here.
9385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9386 Moved ...
9387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9388 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9389 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9391 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9393 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9395 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9396 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9397 Moved ...
9398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9400 Moved ...
9401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9405 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9406 Moved ...
9407 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9409 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9411 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9412 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9413 Moved ...
9414 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9415 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9416 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9418 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9420 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9422 Moved ...
9423 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9425 Moved ...
9426 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9427 ... here.
9428 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9429 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9431 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9432 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9433 Moved ...
9434 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9435 ... here.
9436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9437 Moved ...
9438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9440 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9442 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9444 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9445 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9446 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9448 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9449
5085af05
RM
9450 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9451 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9452
708f0813
RM
9453 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9454 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9455
c96067bc
RM
9456 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9457 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9458 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9460 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9462 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9464 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9467 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9468 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9469 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9470 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9472 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9474 Moved ...
9475 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9477 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9479 Moved ...
9480 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9482 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9484 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9486 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9487 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9488 Moved ...
9489 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9491 Moved ...
9492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9494 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9496 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9498 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9500 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9501 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9502 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9503 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9504 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9505 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9506 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9508 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9509
ec136444
RM
9510 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9511 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9512 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9513 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9514 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9515
2fbdf533
RM
9516 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9517 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9519 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9520 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9521 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9522 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9523 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9524 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9525 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9526
4c68138b
RM
9527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9529
4eaae765
RM
9530 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9531 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9532 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9533 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9535 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9536 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9537 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9538 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9539 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9540 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9541 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9542 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9543 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9545 Update #include.
9546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9547 Likewise.
9548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9549 Likewise.
9550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9551 Likewise.
9552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9553 Likewise.
9554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9555 Likewise.
9556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9557 Likewise.
9558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9559 Likewise.
9560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9561 Likewise.
9562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9563 Likewise.
4ef6befa
RM
9564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9565 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9567 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9569 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9570 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9571 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9572 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9573 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9574 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9575 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9576 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9577 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9578 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9579
941d7dfd
RM
9580 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9581 that was previously under [RESET_PID].
9582 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9583 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9584 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9585
1b731c35
RM
9586 * sysdeps/i386/nptl/Implies: New file.
9587 * sysdeps/x86_64/nptl/Implies: New file.
9588 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9589 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9590 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9591 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9592
e2787137
RM
9593 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9594 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9595 (__libc_vfork): New strong alias.
9596 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9597 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9598
9599 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9600 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9601 (__libc_vfork): New strong alias.
9602 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9603 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9604
5675da1e
RM
9605 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9607 (__libc_vfork): New strong alias.
9608 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9609 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9610 * nptl/pt-vfork.c: New file.
9611 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9612 (libpthread: GLIBC_2.20): New version set (empty).
9613
4f02e2b8
WN
96142014-05-14 Will Newton <will.newton@linaro.org>
9615
9616 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9617 rather than #if.
9618
0bf061d3
JM
96192014-05-14 Joseph Myers <joseph@codesourcery.com>
9620
1a84c3d6
JM
9621 [BZ #16564]
9622 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9623 arguments with exponent 65 or above.
9624 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9625 arguments 0x1p113L or above.
9626 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9627 to arguments 0x1p107L or above.
9628 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9629 positive arguments with exponent 65 or above.
9630 * math/auto-libm-test-in: Add more tests of log1p.
9631 * math/auto-libm-test-out: Regenerated.
9632
01dbacd2
JM
9633 [BZ #16928]
9634 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9635 non-finite arguments is +0.
9636 * math/s_cacosf.c (__cacosf): Likewise.
9637 * math/s_cacosl.c (__cacosl): Likewise.
9638 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9639 * sysdeps/i386/fpu/libm-test-ulps: Update.
9640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9641
913d03c8
JM
9642 [BZ #16927]
9643 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9644 value.
9645 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9646 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9647 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9648 for explicit high bit of mantissa when testing for argument equal
9649 to 1.
9650 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9651 * sysdeps/i386/fpu/libm-test-ulps: Update.
9652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9653
0bf061d3
JM
9654 [BZ #16516]
9655 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9656 (__erf): Scale by 16 instead of 8 in potentially underflowing
9657 case. Ensure exception if result actually underflows.
9658 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9659 (__erff): Scale by 16 instead of 8 in potentially underflowing
9660 case. Ensure exception if result actually underflows.
9661 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9662 (efx8): Remove variable.
9663 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9664 case. Ensure exception if result actually underflows.
9665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9666 (efx8): Remove variable.
9667 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9668 case. Ensure exception if result actually underflows.
9669 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9670 (efx8): Remove variable.
9671 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9672 case. Ensure exception if result actually underflows.
9673 * math/auto-libm-test-in: Add more tests of erf.
9674 * math/auto-libm-test-out: Regenerated.
9675
73ba67cb
AS
96762014-05-14 Andreas Schwab <schwab@suse.de>
9677
3d8c8bff
AS
9678 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9679 Remove code conditionalized on USE___THREAD.
9680
73ba67cb
AS
9681 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9682 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9683 not definedness.
9684
5c521ecd
JM
96852014-05-14 Joseph Myers <joseph@codesourcery.com>
9686
5e7698c6
JM
9687 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9688 Define unconditionally.
9689 (__ASSUME_O_CLOEXEC): Likewise.
9690 (__ASSUME_SOCK_CLOEXEC): Likewise.
9691 (__ASSUME_IN_NONBLOCK): Likewise.
9692 (__ASSUME_PIPE2): Likewise.
9693 (__ASSUME_EVENTFD2): Likewise.
9694 (__ASSUME_SIGNALFD4): Likewise.
9695 (__ASSUME_DUP3): Likewise.
9696 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9697 (__ASSUME_DUP3): Do not define.
9698 (__ASSUME_EVENTFD2): Likewise.
9699 (__ASSUME_IN_NONBLOCK): Likewise.
9700 (__ASSUME_O_CLOEXEC): Likewise.
9701 (__ASSUME_PIPE2): Likewise.
9702 (__ASSUME_SIGNALFD4): Likewise.
9703 (__ASSUME_SOCK_CLOEXEC): Likewise.
9704 (__ASSUME_UTIMES): Undefine.
9705 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9706 (__ASSUME_UTIMES): Do not define.
9707 (__ASSUME_O_CLOEXEC): Likewise.
9708 (__ASSUME_SOCK_CLOEXEC): Likewise.
9709 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9710 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9711 0x020621].
9712 (__ASSUME_PIPE2): Likewise.
9713 (__ASSUME_EVENTFD2): Likewise.
9714 (__ASSUME_SIGNALFD4): Likewise.
9715 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9716 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9717 Do not define.
9718 (__ASSUME_EVENTFD2): Likewise.
9719 (__ASSUME_SIGNALFD4): Likewise.
9720 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9721 (__ASSUME_32BITUIDS): Likewise.
9722 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9723 (__ASSUME_IPC64): Likewise.
9724 (__ASSUME_ST_INO_64_BIT): Likewise.
9725 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9726 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9727 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9728 (__ASSUME_UTIMES): Do not define.
9729 (__ASSUME_PSELECT): Likewise.
9730 (__ASSUME_PPOLL): Likewise.
9731 (__ASSUME_O_CLOEXEC): Likewise.
9732 (__ASSUME_SOCK_CLOEXEC): Likewise.
9733 (__ASSUME_IN_NONBLOCK): Likewise.
9734 (__ASSUME_PIPE2): Likewise.
9735 (__ASSUME_EVENTFD2): Likewise.
9736 (__ASSUME_SIGNALFD4): Likewise.
9737 (__ASSUME_DUP3): Likewise.
9738 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9739 (__ASSUME_UTIMES): Likewise.
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 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9748 (__ASSUME_UTIMES): Likewise.
9749 (__ASSUME_O_CLOEXEC): Likewise.
9750 (__ASSUME_SOCK_CLOEXEC): Likewise.
9751 (__ASSUME_IN_NONBLOCK): Likewise.
9752 (__ASSUME_PIPE2): Likewise.
9753 (__ASSUME_EVENTFD2): Likewise.
9754 (__ASSUME_SIGNALFD4): Likewise.
9755 (__ASSUME_DUP3): Likewise.
9756 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9757 Likewise.
9758 (__ASSUME_UTIMES): Likewise.
9759 (__ASSUME_EVENTFD2): Likewise.
9760 (__ASSUME_SIGNALFD4): Likewise.
9761 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9762 (__ASSUME_O_CLOEXEC): Likewise.
9763 (__ASSUME_SOCK_CLOEXEC): Likewise.
9764 (__ASSUME_IN_NONBLOCK): Likewise.
9765 (__ASSUME_PIPE2): Likewise.
9766 (__ASSUME_EVENTFD2): Likewise.
9767 (__ASSUME_SIGNALFD4): Likewise.
9768 (__ASSUME_DUP3): Likewise.
9769 (__ASSUME_UTIMES): Undefine.
9770
5c521ecd
JM
9771 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9772 feclearexcept. Remove symbol versioning code.
9773 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9774 symbol versioning code.
9775 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9776 symbol versioning code.
9777 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9778 feupdateenv. Remove symbol versioning code.
9779 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9780 fegetexceptflag. Remove symbol versioning code.
9781 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9782 fesetexceptflag. Remove symbol versioning code.
9783 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9784 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9785 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9786 (__posix_fadvise64_l32): Remove prototype.
9787 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9788 code.
9789
5da9dfad
RM
97902014-05-13 Roland McGrath <roland@hack.frob.com>
9791
9792 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9793 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9794 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9795 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9796
893b4f37
SK
97972014-05-13 Sami Kerola <kerolasa@iki.fi>
9798
9799 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9800 current working directory
9801
e0db6517
RM
98022014-05-13 Roland McGrath <roland@hack.frob.com>
9803
58aa195d
RM
9804 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9805 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9806 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9807 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9808 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9809 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9810 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9815 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9819 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9821 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9837 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9838 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9839 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9840 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9841 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9842 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9843 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9844 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9845 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9846
8c6d01f0
RM
9847 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9848 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9849
9850 * sysdeps/unix/sysv/linux/arm/Makefile
9851 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9852 Add rt-aeabi_unwind_cpp_pr1.
9853 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9854 Add nptl-aeabi_unwind_cpp_pr1.
9855 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9856 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9857 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9858 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9859 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9860 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9861
9862 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9863 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9864 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9865 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9866
bba6da4e
RM
9867 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9868 Deconditionalize the code that was previously under [RESET_PID].
9869 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9870
e0db6517
RM
9871 * sysdeps/generic/exit-thread.h: New file.
9872 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9873 * include/unistd.h (__exit_thread): Remove declaration.
9874 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9875 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9876 * csu/libc-start.c: Include <exit-thread.h>.
9877 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9878 * nptl/pthread_create.c: Include <exit-thread.h>.
9879 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9880 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9881 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9882 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9883 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9884 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9885 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9886 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9887 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9888 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9889 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9890 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9891 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9892 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9893 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9894 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9895 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9896
01eb16fd
AS
98972014-05-13 Andreas Schwab <schwab@suse.de>
9898
9899 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9900
637461d9
JM
99012014-05-12 Joseph Myers <joseph@codesourcery.com>
9902
9903 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9904 (__ASSUME_UTIMES): Do not condition on kernel version.
9905 (__ASSUME_PSELECT): Define unconditionally.
9906 (__ASSUME_PPOLL): Likewise.
9907 (__ASSUME_ATFCTS): Likewise.
9908 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9909 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9910 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9911 (__ASSUME_UTIMENSAT): Define unconditionally.
9912 (__ASSUME_PRIVATE_FUTEX): Likewise.
9913 (__ASSUME_FALLOCATE): Likewise.
9914 (__ASSUME_O_CLOEXEC): Likewise.
9915 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9916 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9917 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9918 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9919 (__ASSUME_IN_NONBLOCK): Likewise.
9920 (__ASSUME_PIPE2): Likewise.
9921 (__ASSUME_EVENTFD2): Likewise.
9922 (__ASSUME_SIGNALFD4): Likewise.
9923 (__ASSUME_DUP3): Likewise.
9924 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9925 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9926 (__ASSUME_AT_RANDOM): Likewise.
9927 (__ASSUME_PREADV): Likewise.
9928 (__ASSUME_PWRITEV): Likewise.
9929 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9930 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9931 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9932 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9933 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9934 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9935 (__ASSUME_O_CLOEXEC): Define unconditionally.
9936 (__ASSUME_PSELECT): Do not undefine conditionally.
9937 (__ASSUME_PPOLL): Likewise.
9938 (__ASSUME_ATFCTS): Likewise.
9939 (__ASSUME_SET_ROBUST_LIST): Likewise.
9940 (__ASSUME_UTIMENSAT): Likewise.
9941 (__ASSUME_FDATASYNC): Define unconditionally.
9942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9943 (__ASSUME_SIGFRAME_V2): Likewise.
9944 )__ASSUME_EVENTFD2): Likewise.
9945 (__ASSUME_SIGNALFD4): Likewise.
9946 (__ASSUME_PSELECT): Do not undefine conditionally.
9947 (__ASSUME_PPOLL): Likewise.
9948 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9949 (__ASSUME_PSELECT): Define unconditionally.
9950 (__ASSUME_PPOLL): Likewise.
9951 (__ASSUME_O_CLOEXEC): Likewise.
9952 (__ASSUME_SOCK_CLOEXEC): Likewise.
9953 (__ASSUME_IN_NONBLOCK): Likewise.
9954 (__ASSUME_PIPE2): Likewise.
9955 (__ASSUME_EVENTFD2): Likewise.
9956 (__ASSUME_SIGNALFD4): Likewise.
9957 (__ASSUME_DUP3): Likewise.
9958 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9959 (__ASSUME_O_CLOEXEC): Likewise.
9960 (__ASSUME_SOCK_CLOEXEC): Likewise.
9961 (__ASSUME_IN_NONBLOCK): Likewise.
9962 (__ASSUME_PIPE2): Likewise.
9963 (__ASSUME_EVENTFD2): Likewise.
9964 (__ASSUME_SIGNALFD4): Likewise.
9965 (__ASSUME_DUP3): Likewise.
9966 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9967 (__ASSUME_EVENTFD2): Likewise.
9968 (__ASSUME_SIGNALFD4): Likewise.
9969 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9970
315eb1d8
AS
99712014-05-12 Andreas Schwab <schwab@suse.de>
9972
9973 [BZ #16932]
9974 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9975 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9976 than maximum RPC packet size.
9977 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9978 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9979 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9980 (_nss_nis_getservbyport_r): Likewise.
9981
91df99f7
WN
99822014-05-12 Will Newton <will.newton@linaro.org>
9983
9984 * malloc/Makefile (tests): Add tst-mallopt.
9985 * malloc/tst-mallopt.c: New file.
9986
0a982a29
RM
99872014-05-09 Roland McGrath <roland@hack.frob.com>
9988
9989 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9990 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9991
0ded08a5
AZ
99922014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993
9994 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9995 (tst-tlsmod6.so): Likewise.
9996
55d4d550
RM
99972014-05-09 Roland McGrath <roland@hack.frob.com>
9998
9999 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10000
77d08aca
JM
100012014-05-09 Joseph Myers <joseph@codesourcery.com>
10002
10003 [BZ #16064]
10004 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10005 and <dl-procinfo.h>.
10006 (__fegetenv): Save SSE state in envp->__eip if supported.
10007 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10008 envp->__eip if supported.
10009 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10010 and <dl-procinfo.h>.
10011 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10012 __data_offset and __data_selector in environment to 0. Set SSE
10013 state if supported.
10014 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10015 test-fenv-sse.
10016 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10017 -mfpmath=sse.
10018 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10019
28162f4d
WN
100202014-05-09 Will Newton <will.newton@linaro.org>
10021
10022 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10023 and libc_relro_required for ARM.
10024 * sysdeps/arm/preconfigure: Regenerate.
10025
5a414ff7
DV
100262014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10027 Stefan Liebler <stli@linux.vnet.ibm.com>
10028
10029 * config.make.in (enable-lock-elision): New Makefile variable.
10030 * configure.ac: Likewise.
10031 * configure: Regenerate.
10032 * sysdeps/s390/configure.ac:
10033 Add check for gcc transactions support.
10034 * sysdeps/s390/configure: Regenerate.
10035 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10036 Build elision files if enabled.
10037 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10038 Add lock elision support for s390.
10039 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10040 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10041 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10042 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10043 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10044 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10045 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10046 Likewise.
10047 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10048 Likewise.
10049 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10050 Likewise.
10051 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10052 Likewise.
10053 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10054 (__lll_timedlock_elision, __lll_lock_elision)
10055 (__lll_unlock_elision, __lll_trylock_elision)
10056 (lll_timedlock_elision, lll_lock_elision)
10057 (lll_unlock_elision, lll_trylock_elision): Add.
10058 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10059 (pthread_mutex_t): Add lock elision support for s390.
10060
1a2f40e5
W
100612014-05-14 Wilco <wdijkstr@arm.com>
10062
10063 * sysdeps/arm/fclrexcpt.c: Cleanup.
10064 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10065 * sysdeps/arm/feenablxcpt.c: Cleanup.
10066 * sysdeps/arm/fegetenv.c: Cleanup.
10067 * sysdeps/arm/fegetexcept.c: Cleanup.
10068 * sysdeps/arm/fegetround.c: Cleanup.
10069 * sysdeps/arm/feholdexcpt.c: Cleanup.
10070 * sysdeps/arm/fesetenv.c: Cleanup.
10071 * sysdeps/arm/fesetround.c: Cleanup.
10072 * sysdeps/arm/feupdateenv.c: Cleanup.
10073 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10074 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10075 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10076 * sysdeps/arm/ftestexcept.c: Cleanup.
10077 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10078 * sysdeps/arm/setfpucw.c: Cleanup.
10079
f63c86fe
WN
100802014-05-09 Will Newton <will.newton@linaro.org>
10081
10082 * sysdeps/arm/armv7/strcmp.S: New file.
10083 * NEWS: Mention addition of ARMv7 optimized strcmp.
10084
7a1a51b5
RM
100852014-05-08 Roland McGrath <roland@hack.frob.com>
10086
95afbbe5
RM
10087 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10088 look for %.ac rather than %.in.
10089
10090 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10091 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10092 * sysdeps/mach/hurd/configure: Regenerated.
10093 * sysdeps/unix/sysv/linux/configure: Regenerated.
10094
7a1a51b5
RM
10095 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10096
5057ad3b
SE
100972014-05-07 Steve Ellcey <sellcey@mips.com>
10098
10099 [BZ# 16922]
10100 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10101 (LONG_SUB): Ditto.
10102 (PTR_SUB): Ditto.
10103
8dc97517
AS
101042014-05-07 Andreas Schwab <schwab@suse.de>
10105
10106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10107 when skipping over non-matching result from nscd.
10108
ce0c5b8f
OB
101092014-05-07 Ondřej Bílka <neleai@seznam.cz>
10110
10111 [BZ #16876]
10112 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10113
a1189263
OB
10114 [BZ #16877]
10115 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10116 nscd security class.
ce0c5b8f 10117
0f58d252
RM
101182014-05-06 Roland McGrath <roland@hack.frob.com>
10119
10120 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10121 * sysdeps/arm/unwind.h: ... here.
10122
83df9ad0
AJ
101232014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10124
ce0c5b8f
OB
10125 [BZ# 16916]
10126 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10127 Define.
83df9ad0 10128
f360f94a
VR
101292014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10130
10131 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10132 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10133 multiarch strncpy for PPC64.
10134 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10135 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10137 multiarch optimizations.
10138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10139 (__libc_ifunc_impl_list): Likewise.
10140 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10141 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10142 multiarch stpncpy for PPC64.
10143 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10144 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10145
978a41c3
AS
101462014-05-06 Andreas Schwab <schwab@suse.de>
10147
10148 [BZ #16912]
10149 * gmon/mcount.c (_MCOUNT_DECL): Use
10150 atomic_compare_and_exchange_bool_acq instead of
10151 catomic_compare_and_exchange_bool_acq.
10152
eb1ed03d
RM
101532014-05-05 Roland McGrath <roland@hack.frob.com>
10154
fe658845
RM
10155 * elf/Makefile (others, install-bin): Remove pldd.
10156 (pldd-modules): Variable removed.
10157 ($(objpfx)pldd): Target removed.
10158 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10159 (others, install-bin): Append pldd here.
10160 ($(objpfx)pldd): New target.
10161
eb1ed03d
RM
10162 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10163 to 0, so the first #if test emitted later doesn't see it undefined.
10164 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10165 * sysdeps/gnu/errlist.c: Regenerated.
10166
19c4bec0
AZ
101672014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10168
10169 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10170 [libc_hidden_builtin_def]: Define to empty value.
10171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10172 [libc_hidden_builtin_def]: Likewise.
10173 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10174 [libc_hidden_builtin_def]: Likewise.
10175 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10176 [libc_hidden_builtin_def]: Likewise.
10177 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10178 __redirect_memcpy and define ifunc as default hidden symbol.
10179 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10180 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10181
7776e669
AC
101822014-05-04 Adam Conrad <adconrad@0c3.net>
10183
10184 * locale/iso-4217.def: Reintroduce XDR currency.
10185
d69aeb12
AM
101862014-05-04 Allan McRae <allan@archlinux.org>
10187
10188 * po/eo.po: Update Esperanto translation from translation project.
10189
8f1df5cf
CD
101902014-05-02 Carlos O'Donell <carlos@redhat.com>
10191
10192 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10193 and FEATURE_INDEX_MAX to 1.
10194 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10195
13e402e7
SE
101962014-05-01 Steve Ellcey <sellcey@mips.com>
10197
10198 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10199 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10200 * iconvdata/big5.c (ONE_DIRECTION): Define.
10201 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10202 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10203 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10204 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10205 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10206 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10207 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10208 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10209 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10210 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10211 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10212 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10213 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10214 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10215 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10216 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10217 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10218 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10219 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10220 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10221 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10222 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10223 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10224 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10225 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10226 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10227 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10228 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10229 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10230 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10231 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10232 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10233 * iconvdata/johab.c (ONE_DIRECTION): Define.
10234 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10235 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10236 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10237 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10238 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10239 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10240 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10241 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10242 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10243 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10244
c727f032
RM
102452014-05-01 Roland McGrath <roland@hack.frob.com>
10246
8f2f08d0
RM
10247 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10248 (_IO_JUMPS_OFFSET): Define to 0.
10249
c727f032
RM
10250 * nptl/sysdeps/pthread/bits/libc-lock.h
10251 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10252 (__libc_lock_define_initialized_recursive): Always define using
10253 initializer. Modern compilers treat uninitialized (implicit zero) and
10254 explicit zero initializers the same (i.e. put the datum in bss).
10255
a849e800
AS
102562014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10257
10258 * nscd/nscd-client.h: Include <string.h>.
10259
5331255b
DM
102602014-05-01 David S. Miller <davem@davemloft.net>
10261
10262 [BZ #16885]
10263 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10264 multiple zero bytes exist at the end of a string.
10265 Reported by Aurelien Jarno <aurelien@aurel32.net>
10266
10267 * string/test-strcmp.c (check): Add explicit test for situations where
10268 there are multiple zero bytes after the first.
10269
4fdfe821
AS
102702014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10271
10272 [BZ #16890]
10273 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10274 when compiling wprintf.
10275 * stdio-common/tstdiomisc.c (t3): New function.
10276 (main): Call it.
10277
0cdddc25
SE
102782014-05-01 Steve Ellcey <sellcey@mips.com>
10279
10280 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10281 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10282 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10283 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10284
6426d77e
SE
102852014-05-01 Steve Ellcey <sellcey@mips.com>
10286
10287 * stdlib/longlong.h: Updated from GCC.
10288
6d96f5e4
WN
102892014-05-01 Will Newton <will.newton@linaro.org>
10290 Bernard Ogden <bernie.ogden@linaro.org>
10291
7470db0c
WN
10292 * NEWS: Update fixed bug list.
10293
6d96f5e4
WN
10294 [BZ #15119]
10295 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10296
211d653c
DM
102972014-04-30 David S. Miller <davem@davemloft.net>
10298
4fa262fa
DM
10299 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10300 (libc_feholdexcept_setround_sparc_ctx): New function.
10301 (libc_fesetenv_sparc_ctx): Likewise.
10302 (libc_feupdateenv_sparc_ctx): Likewise.
10303 (libc_feholdsetround_sparc_ctx): Likewise.
10304 (libc_feholdexcept_setround_ctx): Define.
10305 (libc_feholdexcept_setroundf_ctx): Likewise.
10306 (libc_feholdexcept_setroundl_ctx): Likewise.
10307 (libc_fesetenv_ctx): Likewise.
10308 (libc_fesetenvf_ctx): Likewise.
10309 (libc_fesetenvl_ctx): Likewise.
10310 (libc_feupdateenv_ctx): Likewise.
10311 (libc_feupdateenvf_ctx): Likewise.
10312 (libc_feupdateenvl_ctx): Likewise.
10313 (libc_feresetround_ctx): Likewise.
10314 (libc_feresetroundf_ctx): Likewise.
10315 (libc_feresetroundl_ctx): Likewise.
10316 (libc_feholdsetround_ctx): Likewise.
10317 (libc_feholdsetroundf_ctx): Likewise.
10318 (libc_feholdsetroundl_ctx): Likewise.
10319
1d3d93ef
DM
10320 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10321 with __USE_GNU instead of XOPEN cpp guards.
10322
8aa583c3
DM
10323 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10324 0.
10325
211d653c
DM
10326 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10327 with XOPEN cpp guards.
10328
60c8f1f6
JB
103292014-04-30 Julian Brown <julian@codesourcery.com>
10330
10331 [BZ #16888]
10332 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10333 handling.
10334
9a461d46
JM
103352014-04-30 Joseph Myers <joseph@codesourcery.com>
10336
d0f5b3f8
JM
10337 [BZ #9894]
10338 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10339 Change to 2.6.32.
10340 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10341 * sysdeps/unix/sysv/linux/configure: Regenerated.
10342 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10343 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10344 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10345 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10346 * README: Update reference to required Linux kernel version.
10347 * manual/install.texi (Linux): Update reference to required Linux
10348 kernel headers version.
10349 * INSTALL: Regenerated.
10350
9a461d46
JM
10351 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10352 header inclusion.
10353 [POSIX] (limits.h): Likewise.
10354 [POSIX] (math.h): Likewise.
10355 [POSIX] (sys/wait.h): Likewise.
10356 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10357 function.
10358 [POSIX] (stddef.h): Do not allow header inclusion.
10359
1775babf
AZ
103602014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361
57f41c40 10362 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10363
8f630cca
YY
103642014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10365
10366 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10367 Return immediately after lll_futex_wake.
10368
1cdeb237
SP
103692014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
bc8f194c
SP
10371 [BZ #16791]
10372 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10373 structure.
10374 (datahead_init_pos): Call datahead_init_common early.
10375 (datahead_init_neg): Likewise.
10376
1cdeb237
SP
10377 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10378 datahead_init_neg): New functions.
10379 * nscd/aicache.c (addhstaiX): Use them.
10380 * nscd/grpcache.c (cache_addgr): Likewise.
10381 * nscd/hstcache.c (cache_addhst): Likewise.
10382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10383 * nscd/netgroupcache.c (do_notfound): Likewise.
10384 (addgetnetgrentX): Likewise.
10385 (addinnetgrX): Likewise.
10386 * nscd/pwdcache.c (cache_addpw): Likewise.
10387 * nscd/servicescache.c (cache_addserv): Likewise.
10388
16b293a7
SP
103892014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10390 Atsushi Onoe <atsushi@onoe.org>
10391
10392 [BZ #14308]
10393 [BZ #12994]
10394 [BZ #13651]
10395 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10396 one response is valid.
10397 * resolv/res_send.c (send_dg): Check for validity of other
10398 response if the current response is a referral.
10399
a28a9b94
SE
104002014-04-29 Steve Ellcey <sellcey@mips.com>
10401
10402 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10403
2ca180e9
SL
104042014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10405
10406 [BZ #16823]
10407 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10408 Always divide by positive zero when computing -Inf result.
10409 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10410 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10411
18f2945a
AZ
104122014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10413
10414 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10415 FPSCR if value do not change.
10416 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10417 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10418 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10419 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10420 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10421 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10422 function.
10423
5abebba4
CD
104242014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10425
10426 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10427 * sysdeps/unix/sysv/linux/hppa: Move directory from
10428 ports/systeps/unix/sysv/linux/hppa.
10429 * README: Update listing for hppa-*-linux-gnu.
10430
f7ed60c2
OB
104312014-04-28 Ondřej Bílka <neleai@seznam.cz>
10432
fff763a5
OB
10433 [BZ #16754]
10434 * manual/stdio.texi (Hook functions): Fix types of stream hook
10435 functions.
f7ed60c2
OB
10436 [BZ #16854]
10437 * socket/sys/socket.h: Fix typo in comment.
10438
df639d73
WD
104392014-04-28 Wilco <wdijkstr@arm.com>
10440
f7ed60c2 10441 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10442 * sysdeps/arm/math_private.h: New file.
10443 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10444
48332d82
L
104452014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10446
10447 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10448 with __int128_t.
10449 (La_x86_64_retval): Likewise.
10450
e5e0d9a4
IB
104512014-04-24 Ian Bolton <ian.bolton@arm.com>
10452
10453 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10454 fpsr if value didn't change.
10455 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10456 to fpcr if value didn't change.
10457 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10458 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10459 fpsr or fpcr if value didn't change.
10460 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10461 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10462 fpcr if value didn't change.
10463 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10464 to fpsr if value didn't change.
10465
bacc75f7
SP
104662014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10467
10468 * nptl/tst-sem3.c: Use test-skeleton.c
10469 (main): Rename to do_test. Use return instead of
10470 exit.
10471 * nptl/tst-sem4.c: Use test-skeleton.c
10472 (main): Rename to do_test.
10473
a059d359
DM
104742014-04-22 David S. Miller <davem@davemloft.net>
10475
10476 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10477 (struct sigaction): New struct member __glibc_reserved0, change
10478 type of sa_flags to int.
10479
ea6c92f3
YZ
104802014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10481
10482 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10483 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10484
766c4a36
SP
104852014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10486
10487 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10488 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10489
140cc7ab
VK
104902014-04-22 Will Newton <will.newton@linaro.org>
10491 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10492
10493 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10494 (__longjmp): Add longjmp and longjmp_target SystemTap
10495 probes.
10496 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10497 (__sigsetjmp): Add setjmp SystemTap probe.
10498
c54e5cf7
CD
104992014-04-17 Carlos O'Donell <carlos@redhat.com>
10500
10501 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10502 match manual order.
10503
75ffb047
AZ
105042014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10505
10506 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10507
2cd925f7
AZ
10508 * sysdeps/powerpc/fpu/fenv_private.h
10509 (libc_feholdexcept_setroundl_ctx): Define to
10510 libc_feholdexcept_setround_ppc_ctx.
10511 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10512 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10513 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10514 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10515
39e6cd8d
IB
105162014-04-17 Ian Bolton <ian.bolton@arm.com>
10517
10518 * sysdeps/aarch64/math-tests.h: New file.
10519
f9281df9
SY
105202014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10521
10522 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10523 New.
10524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10525 Check and set bit_AVX2_Usable.
10526 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10527 macro.
10528 (bit_AVX2): Likewise.
10529 (index_AVX2_Usable): Likewise.
10530 (CPUID_AVX2): Likewise.
10531 (HAS_AVX2): Likewise.
10532
37d35007
WN
105332014-04-17 Will Newton <will.newton@linaro.org>
10534
7c677662
WN
10535 * manual/setjmp.texi (System V contexts): Add note that
10536 calling setcontext on a context created by a call to a
10537 signal handler is undefined. Update text to note that
10538 setcontext from a signal handler is possible but not
10539 recommended.
10540
37d35007 10541 [BZ #16629]
e04a4e9d
WN
10542 * stdlib/tst-setcontext.c: Include signal.h.
10543 (main): Check that the signal stack before and
10544 after swapcontext is the same.
10545
37d35007
WN
10546 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10547 Re-implement to restore registers in user code and avoid
10548 rt_sigreturn system call.
10549
423a7160
W
105502014-04-17 Wilco <wdijkstr@arm.com>
10551
10552 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10553 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10554 * math/test-fenv.c: Skip exception trap tests on targets which only
10555 support non-stop mode.
10556
bc93ab29
IB
105572014-04-17 Ian Bolton <ian.bolton@arm.com>
10558 Wilco Dijkstra <wilco.dijkstra@arm.com>
10559
10560 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10561 (libc_feholdsetround_aarch64_ctx)
10562 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10563 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10564 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10565 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10566 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10567 (libc_feresetround_noexl_ctx): Define.
10568
95fc5fa3
RH
105692014-04-16 Richard Henderson <rth@redhat.com>
10570
ddb04724
RH
10571 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10572
d77c0899
RH
10573 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10574 unwind tables.
10575
a3df56fc
RH
10576 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10577 const from the non-libc, non-ldso copy.
10578
95fc5fa3
RH
10579 * sysdeps/alpha/libm-test-ulps: Regenerate.
10580
7e0b6763
IB
105812014-04-16 Ian Bolton <ian.bolton@arm.com>
10582 Wilco Dijkstra <wilco.dijkstra@arm.com>
10583
10584 * sysdeps/aarch64/fpu/math_private.h: New file.
10585
a9ea2e0c
MS
105862014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10587
10588 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10589
ea8ba7cd
IZ
105902014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10591
7e54fd04 10592 [BZ #16275]
ea8ba7cd
IZ
10593 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10594 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10596 Intel MPX bound registers before _dl_profile_fixup.
10597 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10598 registers after _dl_profile_fixup. Save and restore bound
10599 registers bnd0/bnd1 when calling _dl_call_pltexit.
10600 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10601 (LR_BND_OFFSET): Likewise.
10602 (LRV_BND0_OFFSET): Likewise.
10603 (LRV_BND1_OFFSET): Likewise.
10604
9f2a4fbc
ST
106052014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10606
10607 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10608 to...
10609 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10610 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10611 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10612 fields.
9f2a4fbc 10613
fd15a59b
ST
106142014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10615
10616 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10617
f19dfa0a
SL
106182014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10619
10620 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10621
4fa8bc3b
SL
106222014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10623
10624 [BZ #14770]
10625 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10626 * sysdeps/s390/configure: Regenerate.
10627
8ea587db
SL
10628 [BZ #16824]
10629 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10630 Set round-to-nearest internally to reduce error accumulation.
10631
aa5f0ff1
AM
106322014-04-16 Alan Modra <amodra@gmail.com>
10633
10634 [BZ #16740]
10635 [BZ #16619]
10636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10637 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10638 * NEWS: Update fixed bug list.
aa5f0ff1 10639
bb9c256f
SP
106402014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10641
10642 * benchtests/Makefile: Depend on libraries in build directory.
10643 (bench-math): Separate out math tests.
10644 (bench-pthread): Separate out pthread tests.
10645 (bench): Include math and pthread tests.
10646
f737dfd0
CD
106472014-04-14 Carlos O'Donell <carlos@redhat.com>
10648
10649 [BZ #16831]
10650 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10651 _dl_debug_initialize.
10652
0699f766
CD
10653 * configure.ac: Remove SELinux header check.
10654 * configure: Regenerate.
10655 * nscd/selinux.c (perms): Array of const char* to permission names.
10656 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10657 default policy. Call string_to_security_class and string_to_av_perm to
10658 translate strings. Enforce default policy and call avs_has_perm with
10659 results of translated strings.
10660
809bd45f
DM
106612014-04-13 David S. Miller <davem@davemloft.net>
10662
10663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10664
89e691f2
AM
106652014-04-12 Allan McRae <allan@archlinux.org>
10666
10667 [BZ #16838]
10668 * manual/string.texi (Collation Functions): Fix qsort argument
10669 order in example.
10670 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10671
9c9daaeb
CM
106722014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10673
10674 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10675 Make the test a no-op if there are no exceptions defined.
10676
95561fb9
PP
106772014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10678
fe8d072c 10679 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10680 enable-hardcoded-path-in-tests
10681
970c602a
WN
106822014-04-11 Will Newton <will.newton@linaro.org>
10683
10684 * benchtests/Makefile (extra-objs): Add json-lib.o.
10685 (bench-func): Tidy up JSON output.
10686 * benchtests/bench-skeleton.c: Include json-lib.h.
10687 (main): Use JSON library functions to do output of
10688 benchmark results.
10689 * benchtests/bench-timing-type.c (main): Output the
10690 timing type simply, leaving formatting to the user.
10691 * benchtests/json-lib.c: New file.
10692 * benchtests/json-lib.h: Likewise.
10693
36875b06
TR
106942014-04-11 Torvald Riegel <triegel@redhat.com>
10695
10696 [BZ #15215]
10697 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10698 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10699 memory barriers. Add comments.
10700 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10701 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10702 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10703 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10704 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10705 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10706
579db35a
SL
107072014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10708
10709 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10710 * sysdeps/s390/s390-64/configure.ac: ... this ...
10711 * sysdeps/s390/configure.ac: ... to here.
10712 * sysdeps/s390/s390-32/configure: Delete file.
10713 * sysdeps/s390/s390-64/configure: Delete file.
10714 * sysdeps/s390/configure: Regenerate.
10715
c12e9f37
JAPH
107162014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10717
10718 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10719
439bda32
WN
107202014-04-11 Will Newton <will.newton@linaro.org>
10721
10722 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10723 to zero if it is not defined elsewhere. (mtrim): Test
10724 the value of MALLOC_DEBUG with #if rather than #ifdef.
10725
6a5d6ea1
TR
107262014-04-10 Torvald Riegel <triegel@redhat.com>
10727
10728 * benchtests/pthread_once-inputs: New file.
10729 * benchtests/pthread_once-source.c: New file.
10730 * benchtests/README: Update documentation.
10731
a4c75cfd
IZ
107322014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10733 H.J. Lu <hongjiu.lu@intel.com>
10734
7e54fd04 10735 [BZ #16275]
a4c75cfd
IZ
10736 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10737 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10738 * sysdeps/x86_64/configure: Regenerated.
10739 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10740 macro.
10741 (REGISTER_SAVE_RAX): Likewise.
10742 (REGISTER_SAVE_RCX): Likewise.
10743 (REGISTER_SAVE_RDX): Likewise.
10744 (REGISTER_SAVE_RSI): Likewise.
10745 (REGISTER_SAVE_RDI): Likewise.
10746 (REGISTER_SAVE_R8): Likewise.
10747 (REGISTER_SAVE_R9): Likewise.
10748 (REGISTER_SAVE_BND0): Likewise.
10749 (REGISTER_SAVE_BND1): Likewise.
10750 (REGISTER_SAVE_BND2): Likewise.
10751 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10752 bound registers when calling _dl_fixup.
10753
27822ce6
AZ
107542014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10755
10756 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
10757 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10758 of its definition.
27822ce6
AZ
10759 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10760 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10761 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10762 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10763 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10764 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10765 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10766
a88ddc90
PTB
107672014-04-09 Peter Brett <peter@peter-b.co.uk>
10768
10769 [BZ #15514]
10770 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10771 pathconf(_PC_NAME_MAX).
10772
01f8eac2
AZ
107732014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10774
10775 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10776 Remove macro usage.
10777 (__PTHREAD_SPINS): Move definition to ...
10778 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10779 (__PTHREAD_SPINS): ... here.
10780 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10781 (__PTHREAD_SPIN): Likewise.
10782 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10783 (__PTHREAD_SPIN): Likewise.
10784 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10785 (__PTHREAD_SPIN): Likewise.
10786 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10787 (__PTHREAD_SPIN): Likewise.
10788 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10789 (__PTHREAD_SPIN): Likewise.
10790 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10791 (__PTHREAD_SPIN): Likewise.
10792 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10793 (__PTHREAD_SPIN): Likewise.
10794 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10795 (__PTHREAD_SPIN): Likewise.
10796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10797 (__PTHREAD_SPIN): Likewise.
10798 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10799 (__PTHREAD_SPIN): Likewise.
10800 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10801 (__PTHREAD_SPIN): Likewise.
10802 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10803 (__PTHREAD_SPIN): Likewise.
10804
de21c33c
AZ
10805 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10806 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10807 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10808 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10809 imply folder.
10810 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10811 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10812 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10813 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10814 correct imply path.
10815 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10816 strlen symbol for non multi-arch builds.
10817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10818 missing hidden_def and weak_alias.
10819
862c472e
CD
108202014-04-08 Carlos O'Donell <carlos@redhat.com>
10821
10822 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10823
8667f90e
WN
108242014-04-07 Will Newton <will.newton@linaro.org>
10825
10826 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10827 and contents. [!_LIBC] Remove #ifndef and contents.
10828 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10829 * string/memccpy.c (__memccpy): Use ANSI prototype.
10830 * string/memfrob.c (memfrob): Likewise.
10831 * string/strcoll.c (STRCOLL): Likewise.
10832 * string/strlen.c (strlen): Likewise.
10833 * string/strtok.c (STRTOK): Likewise.
10834 * string/strcat.c: Remove unused #include of memcopy.h.
10835 (strcat): Use ANSI prototype.
10836 * string/strchr.c: Remove unused #include of memcopy.h.
10837 (strchr): Use ANSI prototype.
10838 * string/strcmp.c: Remove unused #include of memcopy.h.
10839 (strcmp): Use ANSI prototype.
10840 * string/strcpy.c: Remove unused #include of memcopy.h.
10841 (strcpy): Use ANSI prototype.
10842
7ffa9423
AZ
108432014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10844
10845 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10846 * config.make.in (config-extra-cppflags): Set it from
10847 libc_extra_cppflags.
10848 * configure.ac (libc_extra_cflags): Make it accumulate over
10849 configure fragments.
10850 (libc_extra_cppflags): New flag.
10851 * configure. Regenerate.
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
10853 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10854 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10856
8bd70862
AZ
10857 [BZ #16815]
10858 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10859 result for FE_DOWNWARD rounding mode.
10860 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10861 Likewise.
10862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10863
d42f3448
CM
108642014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10865
10866 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10867 in function argument name.
10868
1c21d115
DS
108692014-04-03 David Svoboda <svoboda@cert.org>
10870
10871 [BZ #5666]
10872 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10873 explicitly.
10874
fcccd512
RM
108752014-04-03 Roland McGrath <roland@hack.frob.com>
10876
10877 * elf/dl-unmap-segments.h: New file.
10878 * sysdeps/generic/ldsodefs.h
10879 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10880 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10881 * elf/dl-fptr.c: Likewise.
10882 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10883 * sysdeps/aarch64/tlsdesc.c: Likewise.
10884 * sysdeps/arm/tlsdesc.c: Likewise.
10885 * sysdeps/i386/tlsdesc.c: Likewise.
10886 * sysdeps/tile/dl-runtime.c: Likewise.
10887 * sysdeps/x86_64/tlsdesc.c: Likewise.
10888 * elf/dl-load.h: New file.
10889 * elf/dl-load.c: Include it.
10890 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10891 Macros moved to dl-load.h.
10892 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10893 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10894 Use _dl_unmap_segments in place of __munmap.
10895 Break out segment-mapping loop into ...
10896 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10897
f6488e2b
WN
108982014-04-03 Will Newton <will.newton@linaro.org>
10899
10900 * elf/dl-lookup.c (do_lookup_x): Remove comment
10901 referring to nested function and move variable
10902 declarations down to before first use.
10903
6f05bafe
JM
109042014-04-02 Joseph Myers <joseph@codesourcery.com>
10905
a84e78c8
JM
10906 [BZ #16799]
10907 [BZ #16800]
10908 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10909 with 0 numerator.
10910 * math/s_catanf.c (__catanf): Likewise.
10911 * math/s_catanh.c (__catanh): Likewise.
10912 * math/s_catanhf.c (__catanhf): Likewise.
10913 * math/s_catanhl.c (__catanhl): Likewise.
10914 * math/s_catanl.c (__catanl): Likewise.
10915 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10916 by positive zero when computing -Inf result.
10917 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10918 (catanh_test): Likewise.
10919 * sysdeps/i386/fpu/libm-test-ulps: Update.
10920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921
6f05bafe
JM
10922 [BZ #16789]
10923 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10924 instead of using underflowing value in computing result.
10925 * math/s_clog10.c (__clog10): Likewise.
10926 * math/s_clog10f.c (__clog10f): Likewise.
10927 * math/s_clog10l.c (__clog10l): Likewise.
10928 * math/s_clogf.c (__clogf): Likewise.
10929 * math/s_clogl.c (__clogl): Likewise.
10930 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10931 (clog10_test): Likewise.
10932 * sysdeps/i386/fpu/libm-test-ulps: Update.
10933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10934
b0abbc21
AM
109352014-04-02 Alan Modra <amodra@gmail.com>
10936
10937 [BZ #16739]
10938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10939 output when value is near a power of two. Use int64_t for lx and
10940 remove casts. Use decimal rather than hex exponent constants.
10941 Don't use long double multiplication when double will suffice.
10942 * math/libm-test.inc (nextafter_test_data): Add tests.
10943 * NEWS: Add 16739 and 16786 to bug list.
10944
af6b1797
AM
10945 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10946
483818d7
AM
10947 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10948
f6c55796
WN
109492014-04-01 Will Newton <will.newton@linaro.org>
10950
10951 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10952 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10953
13f7fe35
FW
109542014-04-01 Florian Weimer <fweimer@redhat.com>
10955
10956 [BZ #13347]
10957 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10958 * nptl/tst-setuid2.c: New file.
10959 * nptl/Makefile (xtests): Add tst-setuid2.
10960
c859b32e
AM
109612014-04-01 Alan Modra <amodra@gmail.com>
10962
10963 [BZ #16786]
10964 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10965
54fa2475
JM
109662014-03-31 Joseph Myers <joseph@codesourcery.com>
10967
8795b4a4
JM
10968 [BZ #6803]
10969 [BZ #6804]
10970 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10971 set errno as appropriate.
10972 * math/w_scalbf.c (__scalbf): Likewise.
10973 * math/w_scalbl.c (__scalbl): Likewise.
10974 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10975 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10976 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10977 Add more NaN tests.
10978
54fa2475
JM
10979 [BZ #16349]
10980 * math/w_atan2.c: Include <errno.h>.
10981 (__atan2): Set errno for result underflowing to zero.
10982 * math/w_atan2f.c: Include <errno.h>.
10983 (__atan2f): Set errno for result underflowing to zero.
10984 * math/w_atan2l.c: Include <errno.h>.
10985 (__atan2l): Set errno for result underflowing to zero.
10986 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10987 tests.
10988 * math/auto-libm-test-out: Regenerated.
10989
757d9dd5
AZ
109902014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10991
10992 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10993 Encode instruction correctly in little endian.
10994 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10995 Likewise.
10996 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10997 Likewise.
10998 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10999 Likewise.
11000 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11001 Likewise.
11002
d7a68734
JM
110032014-03-31 Joseph Myers <joseph@codesourcery.com>
11004
47c5adeb
JM
11005 [BZ #9894]
11006 * sysdeps/unix/sysv/linux/kernel-features.h
11007 [__sparc__ && !__arch64__ && !__sparc_v9__]
11008 (__ASSUME_SET_ROBUST_LIST): Do not define.
11009 [__sparc__ && !__arch64__ && !__sparc_v9__]
11010 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11011 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11012 Likewise.
11013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11014 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11015 (__ASSUME_REQUEUE_PI): Likewise.
11016 (__ASSUME_SET_ROBUST_LIST): Likewise.
11017 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11018 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11019 Undefine.
11020 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11021 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11022 Likewise.
11023 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11024 Likewise.
11025 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11026 Likewise.
11027 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11028 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11029 Undefine.
11030 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11031 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11032 Likewise.
11033
d7a68734
JM
11034 [BZ #16648]
11035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11036 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11037 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11038
c760f5c2
WN
110392014-03-31 Will Newton <will.newton@linaro.org>
11040
11041 * benchtests/Makefile (bench): Add ffs and ffsll to list
11042 of tests.
11043 * benchtests/ffs-inputs: New file.
11044 * benchtests/ffsll-inputs: Likewise.
11045
ea6029b1
JM
110462014-03-29 Joseph Myers <joseph@codesourcery.com>
11047
11048 [BZ #16770]
11049 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11050 too large before casting to int.
11051 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11052 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11053 * math/libm-test.inc (scalb_test_data): Add more tests.
11054
cf806aff
SP
110552014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11056
56737508
SP
11057 * benchtests/Makefile (DETAILED_OPT): New make option.
11058 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11059 set.
11060 * benchtests/bench-skeleton.c: Include stdbool.h.
11061 (main): Store and print timings per input.
11062 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11063 member to each argument value.
11064 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11065 (_print_arg_data): Initialize per-input timing to 0.
11066
cb5e4aad
SP
11067 * benchtests/Makefile (timing-type): New binary.
11068 (bench-clean): Also remove bench-timing-type.
11069 (bench): New target for timing-type.
11070 (bench-func): Print output in JSON format.
11071 * benchtests/bench-skeleton.c (main): Print output in JSON
11072 format.
11073 * benchtests/bench-timing-type.c: New file.
11074 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11075 (TIMING_PRINT_STATS): Remove.
11076 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11077 name separately.
11078
cf806aff
SP
11079 * benchtests/bench-modf.c: Remove.
11080 * benchtests/modf-inputs: New inputs file.
11081
289e0779
JM
110822014-03-28 Joseph Myers <joseph@codesourcery.com>
11083
11084 [BZ #16362]
11085 * math/s_clog10.c (M_PI_LOG10E): New macro.
11086 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11087 imaginary parts are 0.
11088 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11089 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11090 imaginary parts are 0.
11091 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11092 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11093 imaginary parts are 0.
11094 * math/libm-test.inc (clog10_test_data): Update expected results
11095 for when real and imaginary parts are 0.
11096
277ae3f1
PP
110972014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11098
11099 * elf/dl-load.c: Finish conversion of __builtin_expect into
11100 __glibc_{un}likely.
11101
03a7091f
JM
111022014-03-27 Joseph Myers <joseph@codesourcery.com>
11103
11104 [BZ #16348]
11105 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11106 1+x for argument with exponent below -67.
11107 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11108 Likewise.
11109 * math/auto-libm-test-in: Add more tests of exp.
11110 * math/auto-libm-test-out: Regenerated.
11111
ea7d8b95
SP
111122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11113
dd3022d7
SP
11114 [BZ #16759]
11115 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11116 (nscd_getnetgrent): Use it.
11117
ea7d8b95
SP
11118 [BZ #16760]
11119 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11120 of stpcpy.
11121
df5b85da
AK
111222014-03-27 Andi Kleen <ak@linux.intel.com>
11123
57f41c40
AS
11124 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11125 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11126 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11127 (lll_robust_unlock): Remove out of line section. Use cfi
11128 intrinsics.
df5b85da 11129 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11130 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11131 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11132 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11133 (lll_robust_unlock): Remove out of line section. Use cfi
11134 intrinsics.
df5b85da
AK
11135 (LLL_STUB_UNWIND_INFO*): Remove.
11136
fbd6b5a4
SP
111372014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11138
11139 [BZ #16758]
11140 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11141 blank values.
11142
1b26b855
PP
111432014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11144
11145 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11146
9be36fb8
JM
111472014-03-26 Joseph Myers <joseph@codesourcery.com>
11148
11149 [BZ #16198]
11150 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11151 fnstenv.
11152 * math/test-fenv-preserve.c: New file.
11153 * math/Makefile (tests): Add test-fenv-preserve.
11154
60a2f3c1
WN
111552014-03-26 Will Newton <will.newton@linaro.org>
11156
11157 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11158
a5e5f1e2
RM
111592014-03-25 Roland McGrath <roland@hack.frob.com>
11160
11161 * scripts/versionlist.awk: Partition the version sets and emit all
11162 GLIBC_* (sorted) before all others (sorted).
11163
00f4012a
JM
111642014-03-25 Joseph Myers <joseph@codesourcery.com>
11165
11166 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11167 GLIBC_2.2.5 version.
11168
7bc5a741
AZ
111692014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11170
11171 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11172 calls.
11173
7578473b
AZ
11174 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11175 previous change.
11176
f3f1dab3
AZ
11177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11178
6da36183
AS
111792014-03-25 Andreas Schwab <schwab@suse.de>
11180
11181 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11182 label to be used after in6ailist is initialized.
11183
f3f1dab3 111842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11185
7578473b 11186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11187 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11188
046651c1
JM
111892014-03-25 Joseph Myers <joseph@codesourcery.com>
11190
11191 [BZ #16357]
11192 [BZ #16599]
11193 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11194 min_plus_half.
11195 (fp_formats): Update initializers.
11196 (init_fp_formats): Initialize new field.
11197 (output_for_one_input_case): Allow underflow for results up to
11198 min_plus_half.
11199 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11200 * math/auto-libm-test-in: Don't mark some underflows from asin and
11201 atanh as spurious.
11202 * math/auto-libm-test-out: Regenerated.
11203 * sysdeps/i386/fpu/libm-test-ulps: Update.
11204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11205
003e49ed
AS
112062014-03-25 Andreas Schwab <schwab@suse.de>
11207
11208 * libio/Makefile (tst-ftell-partial-wide-ENV)
11209 (tst-ftell-active-handler-ENV): Define.
11210
de031874
SL
112112014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11212
11213 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11214
55a81e3b
PP
112152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11216
11217 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11218
f3426898
JM
112192014-03-24 Joseph Myers <joseph@codesourcery.com>
11220
11221 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11222 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11223 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11224
a42faf59
PP
112252014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11226
11227 [BZ #16634]
a42faf59 11228 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11229 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11230 (open_path): Change from boolean 'secure' to complete flag 'mode'
11231 (_dl_map_object): Adjust.
a42faf59
PP
11232 * elf/Makefile (tests): Add tst-dlopen-aout.
11233 * elf/tst-dlopen-aout.c: New test.
11234
50936127
SL
112352014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11236
11237 [BZ #16714]
11238 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11239 (struct stat): Rename member pad0 to __glibc_reserved0.
11240
26011b5c
SL
11241 [BZ #16712]
11242 * sysdeps/s390/s390-32/bits/wordsize.h
11243 (__WORDSIZE32_SIZE_ULONG): New define.
11244 * sysdeps/s390/s390-64/bits/wordsize.h
11245 (__WORDSIZE32_SIZE_ULONG): Likewise.
11246 * sysdeps/generic/stdint.h (SIZE_MAX):
11247 Define as UL if __WORDSIZE32_SIZE_ULONG.
11248
a2d86bf1
SL
11249 [BZ #16713]
11250 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11251 (__glibc_reserved0): New variable.
11252 (sa_flags): Change type to int.
11253
78b6eebc
SL
11254 * posix/Makefile (before-compile): Use += before-compile instead
11255 of a :=.
11256
f1399b5a
SL
11257 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11258 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11259
a071766e
AS
112602014-03-20 Andreas Schwab <schwab@suse.de>
11261
11262 [BZ #16743]
11263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11264 non-matching result from nscd.
11265
27c673b8
SP
112662014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11267
11268 * scripts/bench.py: Moved to ...
11269 * benchtests/scripts/bench.py: ... here.
11270 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11271
44152e4b
AS
112722014-03-24 Andreas Schwab <schwab@suse.de>
11273
11274 [BZ #16002]
11275 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11276 alloca_account and account alloca use for struct in6ailist.
11277
b376a11a
JM
112782014-03-24 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #16284]
11281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11282 rounding mode to recompute results that overflow to infinity or
11283 underflow to zero.
11284 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11285 bug 16284.
11286 * math/auto-libm-test-out: Regenerated.
11287 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11288 (ccosh_test): Likewise.
11289 (csin_test_data): Use plus_oflow.
11290 (csin_test): Use ALL_RM_TEST.
11291 (csinh_test_data): Use plus_oflow.
11292 (csinh_test): Use ALL_RM_TEST.
11293 * sysdeps/i386/fpu/libm-test-ulps: Update.
11294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295
f7be7376
JM
112962014-03-21 Joseph Myers <joseph@codesourcery.com>
11297
1ca2d03e
JM
11298 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11299 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11300 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11301
f7be7376
JM
11302 [BZ #16731]
11303 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11304 when x - 1 is zero.
11305 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11306 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11307 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11309 argument is 1.
11310 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11311 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11312 zero.
11313 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11314 * sysdeps/i386/fpu/libm-test-ulps: Update.
11315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11316
fdf4534d
SP
113172014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11318
df26ea53
SP
11319 * scripts/bench.pl: Remove file.
11320 * scripts/bench.py: New benchmark script.
11321 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11322 * benchtests/README: Mention python dependency.
11323 * scripts/pylintrc: New file.
11324 * scripts/pylint: New file.
11325
fdf4534d
SP
11326 * bits/mathdef.h: Use #ifdef instead of #if.
11327 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11328 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11329 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11330 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11331 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11332 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11333
6f23d093
AZ
113342014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11335 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11336
11337 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11339 and strpbrk-ppc64 objects.
11340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11341 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11342 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11343 multiarch strpbrk for POWER7.
11344 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11345 multiarch strpbrk for PPC64.
11346 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11347 ifunc selector.
11348 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11349 strpbrk for POWER7.
11350
8c92dfff
JM
113512014-03-20 Joseph Myers <joseph@codesourcery.com>
11352
11353 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11354 (atan_test): Likewise.
11355 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11356 (atanh_test): Use ALL_RM_TEST.
11357 (atan2_test_data): Likewise.
11358 (cabs_test): Likewise.
11359 (cacosh_test): Likewise.
11360 (carg_test): Likewise.
11361 (casin_test): Likewise.
11362 (casinh_test): Likewise.
11363 (cbrt_test): Likewise.
11364 (csqrt_test): Likewise.
11365 (erf_test): Likewise.
11366 (erfc_test): Likewise.
11367 (pow10_test): Likewise.
11368 (exp2_test): Likewise.
11369 (hypot_test): Likewise.
11370 (j0_test): Likewise.
11371 (j1_test): Likewise.
11372 (lgamma_test): Likewise.
11373 (gamma_test): Likewise.
11374 (sincos_test): Likewise.
11375 (tanh_test): Likewise.
11376 (y0_test): Likewise.
11377 (y1_test): Likewise.
11378 * sysdeps/i386/fpu/libm-test-ulps: Update.
11379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11380
6eaf95cb
AZ
113812014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11382
a387428c
SP
11383 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11385 and strcspn-ppc64 objects.
11386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11387 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11388 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11389 multiarch strcspn for POWER7.
11390 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11391 multiarch strcspn for PPC64.
11392 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11393 ifunc selector.
11394 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11395 strcspn for POWER7.
11396
ae3a5dff
JM
113972014-03-20 Joseph Myers <joseph@codesourcery.com>
11398
11399 * math/gen-libm-test.pl (generate_testfile): Expect only function
11400 name as argument to AUTO_TESTS_* and pass results for all rounding
11401 modes to parse_args.
11402 (parse_auto_input): Separate inputs of automatic tests from
11403 outputs before storing in %auto_tests.
11404 * math/libm-test.inc (acos_test_data): Update call to
11405 AUTO_TESTS_f_f.
11406 (acos_test): Use ALL_RM_TEST.
11407 (acos_tonearest_test_data): Remove.
11408 (acos_test_tonearest): Likewise.
11409 (acos_towardzero_test_data): Likewise.
11410 (acos_test_towardzero): Likewise.
11411 (acos_downward_test_data): Likewise.
11412 (acos_test_downward): Likewise.
11413 (acos_upward_test_data): Likewise.
11414 (acos_test_upward): Likewise.
11415 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11416 (asin_test_data): Likewise.
11417 (asin_test): Use ALL_RM_TEST.
11418 (asin_tonearest_test_data): Remove.
11419 (asin_test_tonearest): Likewise.
11420 (asin_towardzero_test_data): Likewise.
11421 (asin_test_towardzero): Likewise.
11422 (asin_downward_test_data): Likewise.
11423 (asin_test_downward): Likewise.
11424 (asin_upward_test_data): Likewise.
11425 (asin_test_upward): Likewise.
11426 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11427 (atan_test_data): Likewise.
11428 (atanh_test_data): Likewise.
11429 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11430 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11431 (carg_test_data): Likewise.
11432 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11433 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11434 (ccosh_test_data): Likewise.
11435 (cexp_test_data): Likewise.
11436 (clog_test_data): Likewise.
11437 (clog10_test_data): Likewise.
11438 (cos_test_data): Update call to AUTO_TESTS_f_f.
11439 (cos_test): Use ALL_RM_TEST.
11440 (cos_tonearest_test_data): Remove.
11441 (cos_test_tonearest): Likewise.
11442 (cos_towardzero_test_data): Likewise.
11443 (cos_test_towardzero): Likewise.
11444 (cos_downward_test_data): Likewise.
11445 (cos_test_downward): Likewise.
11446 (cos_upward_test_data): Likewise.
11447 (cos_test_upward): Likewise.
11448 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11449 (cosh_test): Use ALL_RM_TEST.
11450 (cosh_tonearest_test_data): Remove.
11451 (cosh_test_tonearest): Likewise.
11452 (cosh_towardzero_test_data): Likewise.
11453 (cosh_test_towardzero): Likewise.
11454 (cosh_downward_test_data): Likewise.
11455 (cosh_test_downward): Likewise.
11456 (cosh_upward_test_data): Likewise.
11457 (cosh_test_upward): Likewise.
11458 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11459 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11460 (ctan_test_data): Likewise.
11461 (ctan_test): Use ALL_RM_TEST.
11462 (ctan_tonearest_test_data): Remove.
11463 (ctan_test_tonearest): Likewise.
11464 (ctan_towardzero_test_data): Likewise.
11465 (ctan_test_towardzero): Likewise.
11466 (ctan_downward_test_data): Likewise.
11467 (ctan_test_downward): Likewise.
11468 (ctan_upward_test_data): Likewise.
11469 (ctan_test_upward): Likewise.
11470 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11471 (ctanh_test): Use ALL_RM_TEST.
11472 (ctanh_tonearest_test_data): Remove.
11473 (ctanh_test_tonearest): Likewise.
11474 (ctanh_towardzero_test_data): Likewise.
11475 (ctanh_test_towardzero): Likewise.
11476 (ctanh_downward_test_data): Likewise.
11477 (ctanh_test_downward): Likewise.
11478 (ctanh_upward_test_data): Likewise.
11479 (ctanh_test_upward): Likewise.
11480 (erf_test_data): Update call to AUTO_TESTS_f_f.
11481 (erfc_test_data): Likewise.
11482 (exp_test_data): Likewise.
11483 (exp_test): Use ALL_RM_TEST.
11484 (exp_tonearest_test_data): Remove.
11485 (exp_test_tonearest): Likewise.
11486 (exp_towardzero_test_data): Likewise.
11487 (exp_test_towardzero): Likewise.
11488 (exp_downward_test_data): Likewise.
11489 (exp_test_downward): Likewise.
11490 (exp_upward_test_data): Likewise.
11491 (exp_test_upward): Likewise.
11492 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11493 (exp10_test): Use ALL_RM_TEST.
11494 (exp10_tonearest_test_data): Remove.
11495 (exp10_test_tonearest): Likewise.
11496 (exp10_towardzero_test_data): Likewise.
11497 (exp10_test_towardzero): Likewise.
11498 (exp10_downward_test_data): Likewise.
11499 (exp10_test_downward): Likewise.
11500 (exp10_upward_test_data): Likewise.
11501 (exp10_test_upward): Likewise.
11502 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11503 (expm1_test_data): Likewise.
11504 (expm1_test): Use ALL_RM_TEST.
11505 (expm1_tonearest_test_data): Remove.
11506 (expm1_test_tonearest): Likewise.
11507 (expm1_towardzero_test_data): Likewise.
11508 (expm1_test_towardzero): Likewise.
11509 (expm1_downward_test_data): Likewise.
11510 (expm1_test_downward): Likewise.
11511 (expm1_upward_test_data): Likewise.
11512 (expm1_test_upward): Likewise.
11513 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11514 (fma_test): Use ALL_RM_TEST.
11515 (fma_towardzero_test_data): Remove.
11516 (fma_test_towardzero): Likewise.
11517 (fma_downward_test_data): Likewise.
11518 (fma_test_downward): Likewise.
11519 (fma_upward_test_data): Likewise.
11520 (fma_test_upward): Likewise.
11521 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11522 (j0_test_data): Update call to AUTO_TESTS_f_f.
11523 (j1_test_data): Likewise.
11524 (jn_test_data): Update call to AUTO_TESTS_if_f.
11525 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11526 (log_test_data): Update call to AUTO_TESTS_f_f.
11527 (log10_test_data): Likewise.
11528 (log1p_test_data): Likewise.
11529 (log2_test_data): Likewise.
11530 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11531 (pow_tonearest_test_data): Likewise.
11532 (sin_test_data): Update call to AUTO_TESTS_f_f.
11533 (sin_test): Use ALL_RM_TEST.
11534 (sin_tonearest_test_data): Remove.
11535 (sin_test_tonearest): Likewise.
11536 (sin_towardzero_test_data): Likewise.
11537 (sin_test_towardzero): Likewise.
11538 (sin_downward_test_data): Likewise.
11539 (sin_test_downward): Likewise.
11540 (sin_upward_test_data): Likewise.
11541 (sin_test_upward): Likewise.
11542 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11543 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11544 (sinh_test): Use ALL_RM_TEST.
11545 (sinh_tonearest_test_data): Remove.
11546 (sinh_test_tonearest): Likewise.
11547 (sinh_towardzero_test_data): Likewise.
11548 (sinh_test_towardzero): Likewise.
11549 (sinh_downward_test_data): Likewise.
11550 (sinh_test_downward): Likewise.
11551 (sinh_upward_test_data): Likewise.
11552 (sinh_test_upward): Likewise.
11553 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11554 (sqrt_test): Use ALL_RM_TEST.
11555 (sqrt_tonearest_test_data): Remove.
11556 (sqrt_test_tonearest): Likewise.
11557 (sqrt_towardzero_test_data): Likewise.
11558 (sqrt_test_towardzero): Likewise.
11559 (sqrt_downward_test_data): Likewise.
11560 (sqrt_test_downward): Likewise.
11561 (sqrt_upward_test_data): Likewise.
11562 (sqrt_test_upward): Likewise.
11563 (tan_test_data): Update call to AUTO_TESTS_f_f.
11564 (tan_test): Use ALL_RM_TEST.
11565 (tan_tonearest_test_data): Remove.
11566 (tan_test_tonearest): Likewise.
11567 (tan_towardzero_test_data): Likewise.
11568 (tan_test_towardzero): Likewise.
11569 (tan_downward_test_data): Likewise.
11570 (tan_test_downward): Likewise.
11571 (tan_upward_test_data): Likewise.
11572 (tan_test_upward): Likewise.
11573 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11574 (tgamma_test_data): Likewise.
11575 (y0_test_data): Likewise.
11576 (y1_test_data): Likewise.
11577 (yn_test_data): Update call to AUTO_TESTS_if_f.
11578 (main): Do not call removed functions.
11579
d71aeee8
JM
115802014-03-19 Joseph Myers <joseph@codesourcery.com>
11581
11582 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11583 (ldexp_test_data): Remove.
11584 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11585 scalbn_test_data.
11586 (scalb_test): Use ALL_RM_TEST.
11587
baaf1ded
AS
115882014-03-19 Andreas Schwab <schwab@suse.de>
11589
11590 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11591
b1115e91
JM
115922014-03-19 Joseph Myers <joseph@codesourcery.com>
11593
11594 [BZ #16649]
11595 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11596 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11597 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11599 (__ASSUME_PREADV): Undefine.
11600 (__ASSUME_PWRITEV): Likewise.
11601
0283ecca
RM
116022014-03-18 Roland McGrath <roland@hack.frob.com>
11603
7d375303
RM
11604 * bits/mman-linux.h: Add comment about non-Linux use.
11605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11606 bits/mman-linux.h resting place.
11607
0283ecca
RM
11608 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11609 * bits/mman-linux.h: ... here.
11610
aebe1003
AZ
116112014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 * conform/conformtest.pl: Add standard definition when calling C
11614 preprocessor on data files.
11615 (checknamespace): Remove unused variable.
11616
b29b6bb8
JM
116172014-03-18 Joseph Myers <joseph@codesourcery.com>
11618
11619 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11620 minus_oflow, plus_uflow and minus_uflow in expected results.
11621 * math/libm-test.inc (scalbn_test_data): Add more tests of
11622 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11623 minus_uflow.
11624 (scalbn_test): Use ALL_RM_TEST.
11625 (scalbln_test_data): Add more tests of negative arguments. Use
11626 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11627 (scalbln_test): Use ALL_RM_TEST.
11628
c8f8fa15
RM
116292014-03-18 Roland McGrath <roland@hack.frob.com>
11630
11631 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11632
fede7a5f
WN
116332014-03-18 Will Newton <will.newton@linaro.org>
11634
11635 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11636 inaccurate comment.
11637
80cf0a58
JM
116382014-03-18 Joseph Myers <joseph@codesourcery.com>
11639
11640 * Makerules [!subdir] (check-abi): Exit with error status if a
11641 test failed.
11642
b3620862
JM
116432014-03-17 Joseph Myers <joseph@codesourcery.com>
11644
11645 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11646 for rint. Include results for all rounding modes.
11647 (nearbyint_test): Use ALL_RM_TEST.
11648 (rint_test_data): Include all tests used for nearbyint.
11649
788bba36
WN
116502014-03-17 Will Newton <will.newton@linaro.org>
11651
04ec140a
WN
11652 * nptl/sysdeps/pthread/pthread.h: Revert previous
11653 change.
11654
7579d8d5
WN
11655 * sysdeps/generic/ldsodefs.h: Revert previous
11656 change.
11657
c15cf13a
WN
11658 * libio/genops.c: Revert previous change.
11659 * libio/libioP.h: Likewise.
11660 * stdio-common/vfprintf.c: Likewise.
11661
d0ac1324
WN
11662 * sysdeps/generic/math_private.h: Revert previous
11663 change.
11664
9290130a
WN
11665 * sysdeps/generic/math_private.h: Check whether
11666 HAVE_RM_CTX is defined with #ifdef rather
11667 than #if.
11668
afb466fc
WN
11669 * argp/argp-fmtstream.h: Check whether
11670 __STRICT_ANSI__ is defined with #ifdef rather
11671 than #if.
11672 * argp/argp.h: Likewise.
11673
f7efd7c3
WN
11674 * libio/genops.c: Check whether
11675 _IO_JUMPS_OFFSET is defined with #ifdef rather
11676 than #if.
11677 * libio/libioP.h: Likewise.
11678 * stdio-common/vfprintf.c: Likewise.
11679
53f1bed3
WN
11680 * sysdeps/generic/ldsodefs.h: Check whether
11681 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11682 than #if.
11683
788bba36
WN
11684 * nptl/sysdeps/pthread/pthread.h: Check
11685 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11686 its value.
11687
fcd89ebe
SP
116882014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11689
ae42bbc5
SP
11690 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11691 setting O_APPEND.
11692 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11693 test case.
11694
ea33158c
SP
11695 [BZ #16680]
11696 * libio/fileops.c (_IO_file_open): Seek to end of file but
11697 don't cache the offset.
11698 (get_file_offset): Remove function.
11699 (do_ftell): Use cached offset when available.
11700 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11701 don't cache the offset.
11702 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11703 case.
11704 (do_one_test): Call it.
11705 (do_ftell_test): Fix up expected old offset for a+ mode.
11706 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11707 available.
11708
b1dbb426
SP
11709 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11710 up test status with function return status.
11711 (do_write_test): Likewise.
11712 (do_append_test): Likewise.
11713
fcd89ebe
SP
11714 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11715 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11716 Remove.
11717
9962a2d3
JM
117182014-03-17 Joseph Myers <joseph@codesourcery.com>
11719
11720 * math/gen-libm-test.pl (parse_args): Handle results specified for
11721 each rounding mode separately.
11722 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11723 tests and results from lrint_tonearest_test_data,
11724 lrint_towardzero_test_data, lrint_downward_test_data and
11725 lrint_upward_test_data.
11726 (lrint_test): Use ALL_RM_TEST.
11727 (lrint_tonearest_test_data): Remove.
11728 (lrint_test_tonearest): Likewise.
11729 (lrint_towardzero_test_data): Likewise.
11730 (lrint_test_towardzero): Likewise.
11731 (lrint_downward_test_data): Likewise.
11732 (lrint_test_downward): Likewise.
11733 (lrint_upward_test_data): Likewise.
11734 (lrint_test_upward): Likewise.
11735 (llrint_test_data): Merge in per-rounding-mode tests and results
11736 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11737 llrint_downward_test_data and llrint_upward_test_data.
11738 (llrint_test): Use ALL_RM_TEST.
11739 (llrint_tonearest_test_data): Remove.
11740 (llrint_test_tonearest): Likewise.
11741 (llrint_towardzero_test_data): Likewise.
11742 (llrint_test_towardzero): Likewise.
11743 (llrint_downward_test_data): Likewise.
11744 (llrint_test_downward): Likewise.
11745 (llrint_upward_test_data): Likewise.
11746 (llrint_test_upward): Likewise.
11747 (rint_test_data): Merge in per-rounding-mode tests and results
11748 from rint_tonearest_test_data, rint_towardzero_test_data,
11749 rint_downward_test_data and rint_upward_test_data. Add
11750 per-rounding-mode results for tests not in those arrays.
11751 (rint_test): Use ALL_RM_TEST.
11752 (rint_tonearest_test_data): Remove.
11753 (rint_test_tonearest): Likewise.
11754 (rint_towardzero_test_data): Likewise.
11755 (rint_test_towardzero): Likewise.
11756 (rint_downward_test_data): Likewise.
11757 (rint_test_downward): Likewise.
11758 (rint_upward_test_data): Likewise.
11759 (rint_test_upward): Likewise.
11760 (main): Don't call removed functions.
11761
5006148e
RM
117622014-03-14 Roland McGrath <roland@hack.frob.com>
11763
11764 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11765 "Compiled on ..." crapola. It is anti-useful.
11766
d6fe5e58
JM
117672014-03-14 Joseph Myers <joseph@codesourcery.com>
11768
11769 * scripts/evaluate-test.sh: Handle fourth argument to determine
11770 whether test run should stop on failure.
11771 * Makeconfig (stop-on-test-failure): New variable.
11772 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11773 $(stop-on-test-failure).
11774 * Makefile (tests): Give a summary of results from testing and
11775 exit with failure status if they include an ERROR or FAIL.
11776 (xtests): Likewise.
11777 * manual/install.texi (Configuring and compiling): Mention
11778 stop-on-test-failure=y.
11779 * INSTALL: Regenerated.
11780
498a2233
RM
117812014-03-14 Roland McGrath <roland@hack.frob.com>
11782
22dbc19d
RM
11783 * scripts/versionlist.awk: New file.
11784 * Makerules [$(build-shared) = yes]
11785 (postclean-generated): Add Versions.def, not Versions.def.v and
11786 Versions.def.v.i.
11787 ($(common-objpfx)Versions.def.v.i): Target removed.
11788 ($(common-objpfx)Versions.def): New target.
11789 ($(common-objpfx)Versions.all): Depend on that rather that
11790 $(common-objpfx)Versions.def.v.
11791 * Versions.def: File removed.
11792
498a2233
RM
11793 * Makeconfig (+gccwarn): Add -Wundef.
11794 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11795 a dl-sysdep.h breaking its contract.
11796 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11797 * include/stackinfo.h: New file.
11798 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11799 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11800 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11801 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11802 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11803 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11804 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11805 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11806 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11807 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11808 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11809 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11810 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11811 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11812 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11813
c7de5025
AZ
118142014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11815
11816 [BZ #16707]
11817 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11818 implementation.
11819 * math/libm-test.inc (round_test_data): Add more tests.
11820
98fb27a3
AZ
11821 [BZ #16706]
11822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11823 implementation.
11824 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11825
374f7f61
AZ
11826 [BZ #16701]
11827 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11828 implementation.
11829 * math/libm-test.inc (ceil_test_data): Add more tests.
11830
4655c291
AZ
11831 * math/libm-test.inc (trunc_test_data): Add more tests related to
11832 BZ#16414.
11833
d7329d4b
RM
118342014-03-14 Roland McGrath <roland@hack.frob.com>
11835
11836 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11837 with #if rather than #ifdef.
11838 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11839
aa4de9ce
L
118402014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11843 first. Disable AVX-512 GCC support if assembler doesn't support
11844 it.
11845 * sysdeps/x86_64/configure: Regenerated.
11846
2e03fae7
CD
118472014-03-13 Carlos O'Donell <carlos@redhat.com>
11848
11849 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11850 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11851 (__old_pthread_attr_setstack): Likewise.
11852 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11853 [!_STACK_GROWS_DOWN]: Likewise.
11854
43ca83ec
MF
118552014-03-13 Mike Frysinger <vapier@gentoo.org>
11856
11857 * config.make.in (have-bash2): Delete.
11858 * configure.ac (libc_cv_have_bash2): Delete.
11859 * configure: Regenerate.
11860 * elf/Makefile (common-ldd-rewrite): Rename to ...
11861 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11862 (sh-ldd-rewrite): Delete.
11863 (bash-ldd-rewrite): Delete.
11864 (have-bash2): Delete checks.
57f41c40
AS
11865 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11866 ldd-rewrite.
c66e48b4
MF
11867
11868 * config.make.in (have-ksh): Delete.
11869 (KSH): Delete.
11870 * configure.ac (libc_cv_have_ksh): Delete.
11871 * configure: Regenerate.
11872
b93834ef
MF
11873 * elf/Makefile: Delete $(have-ksh) check.
11874 ($(objpfx)sotruss): Change KSH to BASH.
11875 * elf/sotruss.ksh: Rename to ...
11876 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11877 function style to match POSIX. Drop ksh vim mode setting.
11878
f3a4632a
MF
11879 * manual/time.texi (Specifying the Time Zone with TZ): Change
11880 Tuesday to Thursday.
11881
5896c8bd
MF
11882 * debug/tst-longjmp_chk2.c: Update header comment.
11883 (stackoverflow_handler): Add comment. Call assert on pass value.
11884
2d63a517
IZ
118852014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11886
7e54fd04 11887 [BZ #16194]
2d63a517
IZ
11888 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11889 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11890 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11891 (La_x86_64_vector): Add zmm.
11892 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11893 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11894 ($(objpfx)tst-audit10): New target.
11895 ($(objpfx)tst-audit10.out): Likewise.
11896 (tst-audit10-ENV): New.
11897 (AVX512-CFLAGS): Likewise.
11898 (CFLAGS-tst-audit10.c): Likewise.
11899 (CFLAGS-tst-auditmod10a.c): Likewise.
11900 (CFLAGS-tst-auditmod10b.c): Likewise.
11901 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11902 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11903 * sysdeps/x86_64/configure: Regenerated.
11904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11905 AVX-512 zmm register support.
11906 (_dl_x86_64_save_sse): Likewise.
11907 (_dl_x86_64_restore_sse): Likewise.
11908 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11909 size vector registers.
11910 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11911 (ZMM_SIZE): Likewise.
11912 * sysdeps/x86_64/tst-audit10.c: New file.
11913 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11914 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11915
44c4e5d5
RM
119162014-03-13 Roland McGrath <roland@hack.frob.com>
11917
11918 * configure.ac (HAVE_EHDR_START): New check.
11919 * configure: Regenerated.
11920 * config.h.in (HAVE_EHDR_START): New #undef.
11921 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11922 assuming the lowest-addressed segment maps the start of the file.
11923
acd6e389
JM
119242014-03-13 Joseph Myers <joseph@codesourcery.com>
11925
11926 * INSTALL: Regenerated.
11927
6f918f36
WN
119282014-03-13 Will Newton <will.newton@linaro.org>
11929
11930 * manual/setjmp.texi (System V contexts): Improve
11931 clarity and grammar of documentation.
11932
798212a0
PP
119332014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11934
11935 [BZ #16381]
798212a0 11936 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11937 (tests-pie): Add tst-pie2.
798212a0
PP
11938 * elf/tst-pie2.c: New file.
11939 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11940 for ET_EXEC.
11941 * elf/rtld.c (map_doit): Load executable as lt_executable.
11942 (dl_main): Likewise.
11943
abe6d90c
JM
119442014-03-12 Joseph Myers <joseph@codesourcery.com>
11945
11946 [BZ #16642]
11947 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11948 (__ASSUME_PSELECT): Undefine.
11949
dd3946c6
AZ
119502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951
11952 [BZ #16689]
11953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11954 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11955 static build.
11956 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11957 selector for static builds.
11958
c44496df
SP
119592014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11960
11961 [BZ #16695]
11962 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11963 key in the buffer.
11964
27c7220a
AZ
119652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11966
57f41c40
AS
11967 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11968 IFUNC selector for static builds.
27c7220a 11969
600fa361
JM
119702014-03-11 Joseph Myers <joseph@codesourcery.com>
11971
76c96cf7
JM
11972 * sysdeps/mips/math_private.h [__mips_hard_float]
11973 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11974 libc_feresetround_mips_ctx.
11975 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11976 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11977 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11978
600fa361
JM
11979 [BZ #16677]
11980 * math/s_nextafter.c (__nextafter): Do not return value from
11981 overflowing computation.
11982 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11983 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11984 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11985 Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11987 Likewise.
11988 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11989 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11990
d7706c32
RM
119912014-03-11 Roland McGrath <roland@hack.frob.com>
11992
11993 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11994 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11995 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11996 the new mov targetting sp.
11997
4facea47
AZ
119982014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11999
12000 [BZ #16683]
12001 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12002 Define it for static builds as well.
12003 (NO_BZERO_IMPL): Likewise.
12004
e65caf1f
VR
120052014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12006
12007 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12008 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12009 multiarch strspn for PPC64.
12010 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12011 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12013 (__libc_ifunc_impl_list): Likewise.
12014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12015 multiarch optimizations
12016 * string/strspn.c (strspn): Using macro to redefine symbol name.
12017
ba9cc071
AZ
120182014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12019 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020
12021 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12022 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12023 multiarch strncat for PPC64.
12024 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12025 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12027 (__libc_ifunc_impl_list): Likewise.
12028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12029 multiarch optimizations
12030
8b4ff974
SP
120312014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12032
12033 [BZ #16639]
12034 * nscd/nscd.service: Make service type forking.
12035
54b46a4b
AZ
120362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12037
12038 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12039 sign in non default rounding modes.
12040 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12041
e9996ef7
JM
120422014-03-08 Joseph Myers <joseph@codesourcery.com>
12043
12044 * math/libm-test.inc (ALL_RM_TEST): New macro.
12045 (ceil_test): Use ALL_RM_TEST.
12046 (cimag_test): Likewise.
12047 (conj_test): Likewise.
12048 (copysign_test): Likewise.
12049 (cproj_test): Likewise.
12050 (creal_test): Likewise.
12051 (fabs_test): Likewise.
12052 (floor_test): Likewise.
12053 (fmax_test): Likewise.
12054 (fmin_test): Likewise.
12055 (fmod_test): Likewise.
12056 (fpclassify_test): Likewise.
12057 (frexp_test): Likewise.
12058 (ilogb_test): Likewise.
12059 (isfinite_test): Likewise.
12060 (finite_test): Likewise.
12061 (isgreater_test): Likewise.
12062 (isgreaterequal_test): Likewise.
12063 (isinf_test): Likewise.
12064 (isless_test): Likewise.
12065 (islessequal_test): Likewise.
12066 (islessgreater_test): Likewise.
12067 (isnan_test): Likewise.
12068 (isnormal_test): Likewise.
12069 (issignaling_test): Likewise.
12070 (isunordered_test): Likewise.
12071 (logb_test): Likewise.
12072 (logb_downward_test_data): Remove.
12073 (logb_test_downward): Likewise.
12074 (lround_test): Use ALL_RM_TEST.
12075 (llround_test): Likewise.
12076 (modf_test): Likewise.
12077 (nexttoward_test): Likewise.
12078 (remainder_test): Likewise.
12079 (drem_test): Likewise.
12080 (remainder_tonearest_test_data): Likewise.
12081 (remainder_test_tonearest): Likewise.
12082 (drem_test_tonearest): Likewise.
12083 (remainder_towardzero_test_data): Likewise.
12084 (remainder_test_towardzero): Likewise.
12085 (drem_test_towardzero): Likewise.
12086 (remainder_downward_test_data): Likewise.
12087 (remainder_test_downward): Likewise.
12088 (drem_test_downward): Likewise.
12089 (remainder_upward_test_data): Likewise.
12090 (remainder_test_upward): Likewise.
12091 (drem_test_upward): Likewise.
12092 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12093 (round_test): Use ALL_RM_TEST.
12094 (signbit_test): Likewise.
12095 (trunc_test): Likewise.
12096 (significand_test): Likewise.
12097 (main): Don't call removed functions.
12098
bc61d27c
JM
120992014-03-07 Joseph Myers <joseph@codesourcery.com>
12100
5c780849
JM
12101 [BZ #16674]
12102 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12103 || __USE_XOPEN2K8].
12104 (ILL_ILLOPN): Likewise.
12105 (ILL_ILLADR): Likewise.
12106 (ILL_ILLTRP): Likewise.
12107 (ILL_PRVOPC): Likewise.
12108 (ILL_PRVREG): Likewise.
12109 (ILL_COPROC): Likewise.
12110 (ILL_BADSTK): Likewise.
12111 (FPE_INTDIV): Likewise.
12112 (FPE_INTOVF): Likewise.
12113 (FPE_FLTDIV): Likewise.
12114 (FPE_FLTOVF): Likewise.
12115 (FPE_FLTUND): Likewise.
12116 (FPE_FLTRES): Likewise.
12117 (FPE_FLTINV): Likewise.
12118 (FPE_FLTSUB): Likewise.
12119 (SEGV_MAPERR): Likewise.
12120 (SEGV_ACCERR): Likewise.
12121 (BUS_ADRALN): Likewise.
12122 (BUS_ADRERR): Likewise.
12123 (BUS_OBJERR): Likewise.
12124 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12125 (TRAP_TRACE): Likewise.
12126 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12127 __USE_XOPEN2K8].
12128 (CLD_KILLED): Likewise.
12129 (CLD_DUMPED): Likewise.
12130 (CLD_TRAPPED): Likewise.
12131 (CLD_STOPPED): Likewise.
12132 (CLD_CONTINUED): Likewise.
12133 (POLL_IN): Likewise.
12134 (POLL_OUT): Likewise.
12135 (POLL_MSG): Likewise.
12136 (POLL_ERR): Likewise.
12137 (POLL_PRI): Likewise.
12138 (POLL_HUP): Likewise.
12139 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12140 Likewise.
12141 (ILL_ILLOPN): Likewise.
12142 (ILL_ILLADR): Likewise.
12143 (ILL_ILLTRP): Likewise.
12144 (ILL_PRVOPC): Likewise.
12145 (ILL_PRVREG): Likewise.
12146 (ILL_COPROC): Likewise.
12147 (ILL_BADSTK): Likewise.
12148 (FPE_INTDIV): Likewise.
12149 (FPE_INTOVF): Likewise.
12150 (FPE_FLTDIV): Likewise.
12151 (FPE_FLTOVF): Likewise.
12152 (FPE_FLTUND): Likewise.
12153 (FPE_FLTRES): Likewise.
12154 (FPE_FLTINV): Likewise.
12155 (FPE_FLTSUB): Likewise.
12156 (SEGV_MAPERR): Likewise.
12157 (SEGV_ACCERR): Likewise.
12158 (BUS_ADRALN): Likewise.
12159 (BUS_ADRERR): Likewise.
12160 (BUS_OBJERR): Likewise.
12161 (BUS_MCEERR_AR): Likewise.
12162 (BUS_MCEERR_AO): Likewise.
12163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12164 (TRAP_TRACE): Likewise.
12165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12166 __USE_XOPEN2K8].
12167 (CLD_KILLED): Likewise.
12168 (CLD_DUMPED): Likewise.
12169 (CLD_TRAPPED): Likewise.
12170 (CLD_STOPPED): Likewise.
12171 (CLD_CONTINUED): Likewise.
12172 (POLL_IN): Likewise.
12173 (POLL_OUT): Likewise.
12174 (POLL_MSG): Likewise.
12175 (POLL_ERR): Likewise.
12176 (POLL_PRI): Likewise.
12177 (POLL_HUP): Likewise.
12178 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12179 (ILL_ILLOPN): Likewise.
12180 (ILL_ILLADR): Likewise.
12181 (ILL_ILLTRP): Likewise.
12182 (ILL_PRVOPC): Likewise.
12183 (ILL_PRVREG): Likewise.
12184 (ILL_COPROC): Likewise.
12185 (ILL_BADSTK): Likewise.
12186 (FPE_INTDIV): Likewise.
12187 (FPE_INTOVF): Likewise.
12188 (FPE_FLTDIV): Likewise.
12189 (FPE_FLTOVF): Likewise.
12190 (FPE_FLTUND): Likewise.
12191 (FPE_FLTRES): Likewise.
12192 (FPE_FLTINV): Likewise.
12193 (FPE_FLTSUB): Likewise.
12194 (SEGV_MAPERR): Likewise.
12195 (SEGV_ACCERR): Likewise.
12196 (BUS_ADRALN): Likewise.
12197 (BUS_ADRERR): Likewise.
12198 (BUS_OBJERR): Likewise.
12199 (BUS_MCEERR_AR): Likewise.
12200 (BUS_MCEERR_AO): Likewise.
12201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12202 (TRAP_TRACE): Likewise.
12203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12204 __USE_XOPEN2K8].
12205 (CLD_KILLED): Likewise.
12206 (CLD_DUMPED): Likewise.
12207 (CLD_TRAPPED): Likewise.
12208 (CLD_STOPPED): Likewise.
12209 (CLD_CONTINUED): Likewise.
12210 (POLL_IN): Likewise.
12211 (POLL_OUT): Likewise.
12212 (POLL_MSG): Likewise.
12213 (POLL_ERR): Likewise.
12214 (POLL_PRI): Likewise.
12215 (POLL_HUP): Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12217 Likewise.
12218 (ILL_ILLOPN): Likewise.
12219 (ILL_ILLADR): Likewise.
12220 (ILL_ILLTRP): Likewise.
12221 (ILL_PRVOPC): Likewise.
12222 (ILL_PRVREG): Likewise.
12223 (ILL_COPROC): Likewise.
12224 (ILL_BADSTK): Likewise.
12225 (ILL_BADIADDR): Likewise.
12226 (ILL_BREAK): Likewise.
12227 (FPE_INTDIV): Likewise.
12228 (FPE_INTOVF): Likewise.
12229 (FPE_FLTDIV): Likewise.
12230 (FPE_FLTOVF): Likewise.
12231 (FPE_FLTUND): Likewise.
12232 (FPE_FLTRES): Likewise.
12233 (FPE_FLTINV): Likewise.
12234 (FPE_FLTSUB): Likewise.
12235 (FPE_DECOVF): Likewise.
12236 (FPE_DECDIV): Likewise.
12237 (FPE_DECERR): Likewise.
12238 (FPE_INVASC): Likewise.
12239 (FPE_INVDEC): Likewise.
12240 (SEGV_MAPERR): Likewise.
12241 (SEGV_ACCERR): Likewise.
12242 (SEGV_PSTKOVF): Likewise.
12243 (BUS_ADRALN): Likewise.
12244 (BUS_ADRERR): Likewise.
12245 (BUS_OBJERR): Likewise.
12246 (BUS_MCEERR_AR): Likewise.
12247 (BUS_MCEERR_AO): Likewise.
12248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12249 (TRAP_TRACE): Likewise.
12250 (TRAP_BRANCH): Likewise.
12251 (TRAP_HWBKPT): Likewise.
12252 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12253 __USE_XOPEN2K8].
12254 (CLD_KILLED): Likewise.
12255 (CLD_DUMPED): Likewise.
12256 (CLD_TRAPPED): Likewise.
12257 (CLD_STOPPED): Likewise.
12258 (CLD_CONTINUED): Likewise.
12259 (POLL_IN): Likewise.
12260 (POLL_OUT): Likewise.
12261 (POLL_MSG): Likewise.
12262 (POLL_ERR): Likewise.
12263 (POLL_PRI): Likewise.
12264 (POLL_HUP): Likewise.
12265 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12266 (ILL_ILLOPN): Likewise.
12267 (ILL_ILLADR): Likewise.
12268 (ILL_ILLTRP): Likewise.
12269 (ILL_PRVOPC): Likewise.
12270 (ILL_PRVREG): Likewise.
12271 (ILL_COPROC): Likewise.
12272 (ILL_BADSTK): Likewise.
12273 (FPE_INTDIV): Likewise.
12274 (FPE_INTOVF): Likewise.
12275 (FPE_FLTDIV): Likewise.
12276 (FPE_FLTOVF): Likewise.
12277 (FPE_FLTUND): Likewise.
12278 (FPE_FLTRES): Likewise.
12279 (FPE_FLTINV): Likewise.
12280 (FPE_FLTSUB): Likewise.
12281 (SEGV_MAPERR): Likewise.
12282 (SEGV_ACCERR): Likewise.
12283 (BUS_ADRALN): Likewise.
12284 (BUS_ADRERR): Likewise.
12285 (BUS_OBJERR): Likewise.
12286 (BUS_MCEERR_AR): Likewise.
12287 (BUS_MCEERR_AO): Likewise.
12288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12289 (TRAP_TRACE): Likewise.
12290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12291 __USE_XOPEN2K8].
12292 (CLD_KILLED): Likewise.
12293 (CLD_DUMPED): Likewise.
12294 (CLD_TRAPPED): Likewise.
12295 (CLD_STOPPED): Likewise.
12296 (CLD_CONTINUED): Likewise.
12297 (POLL_IN): Likewise.
12298 (POLL_OUT): Likewise.
12299 (POLL_MSG): Likewise.
12300 (POLL_ERR): Likewise.
12301 (POLL_PRI): Likewise.
12302 (POLL_HUP): Likewise.
12303 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12304 (ILL_ILLOPN): Likewise.
12305 (ILL_ILLADR): Likewise.
12306 (ILL_ILLTRP): Likewise.
12307 (ILL_PRVOPC): Likewise.
12308 (ILL_PRVREG): Likewise.
12309 (ILL_COPROC): Likewise.
12310 (ILL_BADSTK): Likewise.
12311 (FPE_INTDIV): Likewise.
12312 (FPE_INTOVF): Likewise.
12313 (FPE_FLTDIV): Likewise.
12314 (FPE_FLTOVF): Likewise.
12315 (FPE_FLTUND): Likewise.
12316 (FPE_FLTRES): Likewise.
12317 (FPE_FLTINV): Likewise.
12318 (FPE_FLTSUB): Likewise.
12319 (SEGV_MAPERR): Likewise.
12320 (SEGV_ACCERR): Likewise.
12321 (BUS_ADRALN): Likewise.
12322 (BUS_ADRERR): Likewise.
12323 (BUS_OBJERR): Likewise.
12324 (BUS_MCEERR_AR): Likewise.
12325 (BUS_MCEERR_AO): Likewise.
12326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12327 (TRAP_TRACE): Likewise.
12328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12329 __USE_XOPEN2K8].
12330 (CLD_KILLED): Likewise.
12331 (CLD_DUMPED): Likewise.
12332 (CLD_TRAPPED): Likewise.
12333 (CLD_STOPPED): Likewise.
12334 (CLD_CONTINUED): Likewise.
12335 (POLL_IN): Likewise.
12336 (POLL_OUT): Likewise.
12337 (POLL_MSG): Likewise.
12338 (POLL_ERR): Likewise.
12339 (POLL_PRI): Likewise.
12340 (POLL_HUP): Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12342 (ILL_ILLOPN): Likewise.
12343 (ILL_ILLADR): Likewise.
12344 (ILL_ILLTRP): Likewise.
12345 (ILL_PRVOPC): Likewise.
12346 (ILL_PRVREG): Likewise.
12347 (ILL_COPROC): Likewise.
12348 (ILL_BADSTK): Likewise.
12349 (FPE_INTDIV): Likewise.
12350 (FPE_INTOVF): Likewise.
12351 (FPE_FLTDIV): Likewise.
12352 (FPE_FLTOVF): Likewise.
12353 (FPE_FLTUND): Likewise.
12354 (FPE_FLTRES): Likewise.
12355 (FPE_FLTINV): Likewise.
12356 (FPE_FLTSUB): Likewise.
12357 (SEGV_MAPERR): Likewise.
12358 (SEGV_ACCERR): Likewise.
12359 (BUS_ADRALN): Likewise.
12360 (BUS_ADRERR): Likewise.
12361 (BUS_OBJERR): Likewise.
12362 (BUS_MCEERR_AR): Likewise.
12363 (BUS_MCEERR_AO): Likewise.
12364 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12365 (TRAP_TRACE): Likewise.
12366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12367 __USE_XOPEN2K8].
12368 (CLD_KILLED): Likewise.
12369 (CLD_DUMPED): Likewise.
12370 (CLD_TRAPPED): Likewise.
12371 (CLD_STOPPED): Likewise.
12372 (CLD_CONTINUED): Likewise.
12373 (POLL_IN): Likewise.
12374 (POLL_OUT): Likewise.
12375 (POLL_MSG): Likewise.
12376 (POLL_ERR): Likewise.
12377 (POLL_PRI): Likewise.
12378 (POLL_HUP): Likewise.
12379 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12380 (ILL_ILLOPN): Likewise.
12381 (ILL_ILLADR): Likewise.
12382 (ILL_ILLTRP): Likewise.
12383 (ILL_PRVOPC): Likewise.
12384 (ILL_PRVREG): Likewise.
12385 (ILL_COPROC): Likewise.
12386 (ILL_BADSTK): Likewise.
12387 (ILL_DBLFLT): Likewise.
12388 (ILL_HARDWALL): Likewise.
12389 (FPE_INTDIV): Likewise.
12390 (FPE_INTOVF): Likewise.
12391 (FPE_FLTDIV): Likewise.
12392 (FPE_FLTOVF): Likewise.
12393 (FPE_FLTUND): Likewise.
12394 (FPE_FLTRES): Likewise.
12395 (FPE_FLTINV): Likewise.
12396 (FPE_FLTSUB): Likewise.
12397 (SEGV_MAPERR): Likewise.
12398 (SEGV_ACCERR): Likewise.
12399 (BUS_ADRALN): Likewise.
12400 (BUS_ADRERR): Likewise.
12401 (BUS_OBJERR): Likewise.
12402 (BUS_MCEERR_AR): Likewise.
12403 (BUS_MCEERR_AO): Likewise.
12404 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12405 (TRAP_TRACE): Likewise.
12406 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12407 __USE_XOPEN2K8].
12408 (CLD_KILLED): Likewise.
12409 (CLD_DUMPED): Likewise.
12410 (CLD_TRAPPED): Likewise.
12411 (CLD_STOPPED): Likewise.
12412 (CLD_CONTINUED): Likewise.
12413 (POLL_IN): Likewise.
12414 (POLL_OUT): Likewise.
12415 (POLL_MSG): Likewise.
12416 (POLL_ERR): Likewise.
12417 (POLL_PRI): Likewise.
12418 (POLL_HUP): Likewise.
12419 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12420 (ILL_ILLOPN): Likewise.
12421 (ILL_ILLADR): Likewise.
12422 (ILL_ILLTRP): Likewise.
12423 (ILL_PRVOPC): Likewise.
12424 (ILL_PRVREG): Likewise.
12425 (ILL_COPROC): Likewise.
12426 (ILL_BADSTK): Likewise.
12427 (FPE_INTDIV): Likewise.
12428 (FPE_INTOVF): Likewise.
12429 (FPE_FLTDIV): Likewise.
12430 (FPE_FLTOVF): Likewise.
12431 (FPE_FLTUND): Likewise.
12432 (FPE_FLTRES): Likewise.
12433 (FPE_FLTINV): Likewise.
12434 (FPE_FLTSUB): Likewise.
12435 (SEGV_MAPERR): Likewise.
12436 (SEGV_ACCERR): Likewise.
12437 (BUS_ADRALN): Likewise.
12438 (BUS_ADRERR): Likewise.
12439 (BUS_OBJERR): Likewise.
12440 (BUS_MCEERR_AR): Likewise.
12441 (BUS_MCEERR_AO): Likewise.
12442 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12443 (TRAP_TRACE): Likewise.
12444 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12445 __USE_XOPEN2K8].
12446 (CLD_KILLED): Likewise.
12447 (CLD_DUMPED): Likewise.
12448 (CLD_TRAPPED): Likewise.
12449 (CLD_STOPPED): Likewise.
12450 (CLD_CONTINUED): Likewise.
12451 (POLL_IN): Likewise.
12452 (POLL_OUT): Likewise.
12453 (POLL_MSG): Likewise.
12454 (POLL_ERR): Likewise.
12455 (POLL_PRI): Likewise.
12456 (POLL_HUP): Likewise.
12457 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12458 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12459
bc61d27c
JM
12460 [BZ #16670]
12461 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12462 before #include of <time.h>.
12463 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12464 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12465 (test-xfail-UNIX98/sched.h/conform): Likewise.
12466
302949e2
MS
124672014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12468
12469 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12470 error absence of trapping exception support.
12471 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12472
a00f522a
JM
124732014-03-07 Joseph Myers <joseph@codesourcery.com>
12474
6f99f280
JM
12475 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12476 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12477 * timezone/Makefile (testdata): Move definition above include of
12478 Rules.
12479 (test-zones): New variable.
12480 (tests-special): Add zone files.
12481 (build-testdata): Use $(evaluate-test).
12482
0b20a9e8
JM
12483 * elf/Makefile (tests-special): Rename tests to end with .out.
12484 ($(objpfx)noload-mem): Likewise.
12485 ($(objpfx)tst-leaks1-mem): Likewise.
12486 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12487 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12488 $(objpfx)test-iconvconfig.out.
12489 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12490 set -e inside subshell and redirect output to file.
12491 * iconvdata/Makefile (generated): Rename tests to end with .out.
12492 Correct type.
12493 (tests-special): Rename tests to end with .out.
12494 ($(objpfx)mtrace-tst-loading): Likewise.
12495 * intl/Makefile (generated): Likewise.
12496 (tests-special): Likewise.
12497 ($(objpfx)mtrace-tst-gettext): Likewise.
12498 * misc/Makefile (generated): Likewise.
12499 (tests-special): Likewise.
12500 ($(objpfx)tst-error1-mem): Likewise.
12501 * nptl/Makefile (tests-special): Likewise.
12502 ($(objpfx)tst-stack3-mem): Likewise.
12503 (generated): Likewise.
12504 * posix/Makefile (generated): Likewise.
12505 (tests-special): Likewise.
12506 (xtests-special): Likewise.
12507 ($(objpfx)tst-fnmatch-mem): Likewise.
12508 ($(objpfx)bug-regex2-mem): Likewise.
12509 ($(objpfx)bug-regex14-mem): Likewise.
12510 ($(objpfx)bug-regex21-mem): Likewise.
12511 ($(objpfx)bug-regex31-mem): Likewise.
12512 ($(objpfx)tst-vfork3-mem): Likewise.
12513 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12514 ($(objpfx)tst-pcre-mem): Likewise.
12515 ($(objpfx)tst-boost-mem): Likewise.
12516 ($(objpfx)bug-ga2-mem): Likewise.
12517 ($(objpfx)bug-glob2-mem): Likewise.
12518 * resolv/Makefile (generate): Likewise.
12519 (tests-special): Likewise.
12520 (xtests-special): Likewise.
12521 (generated): Likewise.
12522 ($(objpfx)mtrace-tst-leaks): Likewise.
12523 ($(objpfx)mtrace-tst-leaks2): Likewise.
12524
265d52ab
JM
12525 * scripts/merge-test-results.sh: New file.
12526 * Makefile (tests-special-notdir): New variable.
12527 (tests): Run merge-test-results.sh.
12528 (xtests): Likewise.
12529 * Rules (tests-special-notdir): New variable.
12530 (xtests-special-notdir): Likewise.
12531 (tests): Run merge-test-results.sh
12532 (xtests): Likewise.
12533
54ee292d
JM
12534 * Makeconfig (test-xfail-name): New variable.
12535 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12536 compute variable name for expected failures.
12537 * conform/Makefile (conformtest-headers-data): New variable.
12538 (conformtest-standards): Likewise.
12539 (conformtest-headers-ISO): Likewise.
12540 (conformtest-headers-ISO99): Likewise.
12541 (conformtest-headers-ISO11): Likewise.
12542 (conformtest-headers-POSIX): Likewise.
12543 (conformtest-headers-XPG3): Likewise.
12544 (conformtest-headers-XPG4): Likewise.
12545 (conformtest-headers-UNIX98): Likewise.
12546 (conformtest-headers-XOPEN2K): Likewise.
12547 (conformtest-headers-POSIX2008): Likewise.
12548 (conformtest-headers-XOPEN2K8): Likewise.
12549 (conformtest-header-list-base): Likewise.
12550 (conformtest-header-list-tests): Likewise.
12551 (conformtest-header-base): Likewise.
12552 (conformtest-header-tests): Likewise.
12553 (tests-special): Add $(conformtest-header-list-tests). If
12554 [$(fast-check) && !$(cross-compiling)], add
12555 $(conformtest-header-tests) instead of
12556 $(objpfx)run-conformtest.out.
12557 (generated): Add $(conformtest-header-list-base). If
12558 [$(fast-check) && !$(cross-compiling)], add
12559 $(conformtest-header-base). Remove previous setting.
12560 ($(conformtest-header-list-tests)): New target.
12561 (test-xfail-run-conformtest): Remove variable.
12562 ($(objpfx)run-conformtest.out): Remove target.
12563 (test-xfail-ISO11/complex.h/conform): New variable.
12564 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12565 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12566 (test-xfail-XPG3/varargs.h/conform): Likewise.
12567 (test-xfail-XPG4/varargs.h/conform): Likewise.
12568 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12569 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12570 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12571 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12572 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12573 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12574 (test-xfail-XPG3/ftw.h/conform): Likewise.
12575 (test-xfail-XPG3/grp.h/conform): Likewise.
12576 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12577 (test-xfail-XPG3/limits.h/conform): Likewise.
12578 (test-xfail-XPG3/pwd.h/conform): Likewise.
12579 (test-xfail-XPG3/search.h/conform): Likewise.
12580 (test-xfail-XPG3/signal.h/conform): Likewise.
12581 (test-xfail-XPG3/stdio.h/conform): Likewise.
12582 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12583 (test-xfail-XPG3/string.h/conform): Likewise.
12584 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12585 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12586 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12587 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12588 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12589 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12590 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12591 (test-xfail-XPG3/termios.h/conform): Likewise.
12592 (test-xfail-XPG3/time.h/conform): Likewise.
12593 (test-xfail-XPG3/unistd.h/conform): Likewise.
12594 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12595 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12596 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12597 (test-xfail-XPG4/netdb.h/conform): Likewise.
12598 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12599 (test-xfail-XPG4/signal.h/conform): Likewise.
12600 (test-xfail-XPG4/stdio.h/conform): Likewise.
12601 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12602 (test-xfail-XPG4/stropts.h/conform): Likewise.
12603 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12604 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12605 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12606 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12607 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12608 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12609 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12610 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12611 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12612 (test-xfail-XPG4/termios.h/conform): Likewise.
12613 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12614 (test-xfail-XPG4/unistd.h/conform): Likewise.
12615 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12616 (test-xfail-POSIX/sched.h/conform): Likewise.
12617 (test-xfail-POSIX/signal.h/conform): Likewise.
12618 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12619 (test-xfail-POSIX/tar.h/conform): Likewise.
12620 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12621 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12622 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12623 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12624 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12625 (test-xfail-UNIX98/sched.h/conform): Likewise.
12626 (test-xfail-UNIX98/signal.h/conform): Likewise.
12627 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12628 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12629 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12630 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12631 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12632 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12633 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12634 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12635 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12636 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12637 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12638 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12639 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12640 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12641 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12642 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12643 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12644 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12645 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12646 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12647 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12648 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12649 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12650 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12651 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12652 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12653 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12654 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12655 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12656 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12657 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12658 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12659 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12660 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12661 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12662 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12663 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12664 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12665 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12666 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12667 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12668 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12669 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12670 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12671 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12672 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12673 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12674 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12675 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12676 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12677 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12678 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12679 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12680 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12681 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12682 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12683 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12684 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12685 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12686 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12687 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12688 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12689 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12690 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12691 (conformtest-cc-flags): Likewise.
12692 ($(conformtest-header-tests): New target.
12693 * conform/check-header-lists.sh: New file.
12694 * conform/run-conformtest.sh: Remove.
12695
a00f522a
JM
12696 * conform/conformtest.pl: Allow ' and \ in values given for
12697 constants.
12698 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12699 inclusion.
12700 [POSIX] (sys/types.h): Likewise.
12701 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12702 inclusion.
12703 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12704 inclusion.
12705 * conform/data/signal.h-data (SIGIO): Remove expectation.
12706 [XPG3] (SIGBUS): Do not expect.
12707 [POSIX || XPG3] (SIGPOLL): Likewise.
12708 [POSIX || XPG3] (SIGPROF): Likewise.
12709 [POSIX || XPG3] (SIGSYS): Likewise.
12710 [XPG3] (SIGTRAP): Likewise.
12711 [POSIX || XPG3] (SIGURG): Likewise.
12712 [POSIX || XPG3] (SIGVTALRM): Likewise.
12713 [POSIX || XPG3] (SIGXCPU): Likewise.
12714 [POSIX || XPG3] (SIGXFSZ): Likewise.
12715 [POSIX] (SA_SIGINFO): Expect.
12716 [XPG3] (siginfo_t): Do not expect type or contents.
12717 [POSIX] (si_pid): Do not expect element.
12718 [POSIX] (si_uid): Likewise.
12719 [POSIX] (si_addr): Likewise.
12720 [POSIX] (si_status): Likewise.
12721 [POSIX] (si_band): Likewise.
12722 [XPG4] (si_value): Likewise.
12723 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12724 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12725 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12726 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12727 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12728 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12729 [POSIX || XPG3] (ILL_COPROC): Likewise.
12730 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12731 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12732 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12733 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12734 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12735 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12736 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12737 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12738 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12739 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12740 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12741 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12742 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12743 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12744 [POSIX || XPG3] (CLD_EXITED): Likewise.
12745 [POSIX || XPG3] (CLD_KILLED): Likewise.
12746 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12747 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12748 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12749 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12750 [POSIX || XPG3] (POLL_IN): Likewise.
12751 [POSIX || XPG3] (POLL_OUT): Likewise.
12752 [POSIX || XPG3] (POLL_MSG): Likewise.
12753 [POSIX || XPG3] (POLL_ERR): Likewise.
12754 [POSIX || XPG3] (POLL_PRI): Likewise.
12755 [POSIX || XPG3] (POLL_HUP): Likewise.
12756 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12757 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12758 (SIG*): Do not allow.
12759 [XPG3] (si_*): Likewise.
12760 [XPG3] (SI_*): Likewise.
12761 [XPG3 || XPG4] (sigev_*): Likewise.
12762 [XPG3 || XPG4] (SIGEV_*): Likewise.
12763 [XPG3 || XPG4] (sival_*): Likewise.
12764 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12765 [POSIX || XPG3] (BUS_*): Likewise.
12766 [POSIX || XPG3] (CLD_*): Likewise.
12767 [POSIX || XPG3] (FPE_*): Likewise.
12768 [POSIX || XPG3] (ILL_*): Likewise.
12769 [POSIX || XPG3] (POLL_*): Likewise.
12770 [POSIX || XPG3] (SEGV_*): Likewise.
12771 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12772 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12773 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12774 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12775 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12776 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12777 Specify type and value.
12778 (TVERSLEN): Likewise.
12779 (REGTYPE): Likewise.
12780 (AREGTYPE): Likewise.
12781 (LNKTYPE): Likewise.
12782 (SYMTYPE): Likewise.
12783 (CHRTYPE): Likewise.
12784 (BLKTYPE): Likewise.
12785 (DIRTYPE): Likewise.
12786 (FIFOTYPE): Likewise.
12787 (CONTTYPE): Likewise.
12788 (TSUID): Likewise.
12789 (TSGID): Likewise.
12790 (TSVTX): Likewise.
12791 (TUREAD): Likewise.
12792 (TUWRITE): Likewise.
12793 (TUEXEC): Likewise.
12794 (TGREAD): Likewise.
12795 (TGWRITE): Likewise.
12796 (TGEXEC): Likewise.
12797 (TOREAD): Likewise.
12798 (TOWRITE): Likewise.
12799 (TOEXEC): Likewise.
12800 [POSIX] (TSVTX): Expect constant.
12801
aa97dee1
JM
128022014-03-06 Joseph Myers <joseph@codesourcery.com>
12803
f214606a
JM
12804 * Makefile (tests): Change dependencies to ....
12805 (tests-special): ... additions to this variable.
12806 (tests): Depend on $(tests-special).
12807 * Makerules (check-abi-list): New variable.
12808 (check-abi): Depend on $(check-abi-list).
12809 [$(subdir) = elf] (tests-special): Add
12810 $(objpfx)check-abi-libc.out.
12811 [$(build-shared) = yes && subdir] (tests-special): Add
12812 $(check-abi-list).
12813 [$(build-shared) = yes && subdir] (tests): Do not depend on
12814 check-abi.
12815 * Rules (tests): Depend on $(tests-special).
12816 (xtests): Depend on $(xtests-special).
12817 * catgets/Makefile (tests): Change dependencies to ....
12818 (tests-special): ... additions to this variable.
12819 * conform/Makefile (tests): Change dependencies to ....
12820 (tests-special): ... additions to this variable.
12821 * elf/Makefile (tests): Change dependencies to ....
12822 (tests-special): ... additions to this variable.
12823 * grp/Makefile (tests): Change dependencies to ....
12824 (tests-special): ... additions to this variable.
12825 * iconv/Makefile (xtests): Change dependencies to ....
12826 (xtests-special): ... additions to this variable.
12827 * iconvdata/Makefile (tests): Change dependencies to ....
12828 (tests-special): ... additions to this variable.
12829 * intl/Makefile (tests): Change dependencies to ....
12830 (tests-special): ... additions to this variable. Also add
12831 $(objpfx)tst-gettext.out.
12832 * io/Makefile (tests): Change dependencies to ....
12833 (tests-special): ... additions to this variable.
12834 * libio/Makefile (tests): Change dependencies to ....
12835 (tests-special): ... additions to this variable.
12836 * malloc/Makefile (tests): Change dependencies to ....
12837 (tests-special): ... additions to this variable.
12838 * misc/Makefile (tests): Change dependencies to ....
12839 (tests-special): ... additions to this variable.
12840 * nptl/Makefile (tests): Change dependencies to ....
12841 (tests-special): ... additions to this variable.
12842 * nptl_db/Makefile (tests): Change dependencies to ....
12843 (tests-special): ... additions to this variable.
12844 * posix/Makefile (tests): Change dependencies to ....
12845 (tests-special): ... additions to this variable.
12846 (xtests): Change dependencies to ....
12847 (xtests-special): ... additions to this variable.
12848 * resolv/Makefile (tests): Change dependencies to ....
12849 (tests-special): ... additions to this variable.
12850 (xtests): Change dependencies to ....
12851 (xtests-special): ... additions to this variable.
12852 * stdio-common/Makefile (tests): Change dependencies to ....
12853 (tests-special): ... additions to this variable.
12854 (do-tst-unbputc): Remove target.
12855 (do-tst-printf): Likewise.
12856 * stdlib/Makefile (tests): Change dependencies to ....
12857 (tests-special): ... additions to this variable.
12858 * string/Makefile (tests): Change dependencies to ....
12859 (tests-special): ... additions to this variable.
12860 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12861 (tests-special): ... additions to this variable.
12862
81700b53
JM
12863 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12864 whole file.
12865 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12866 whole file.
12867 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12868 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12869
2ea18461
JM
12870 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12871 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12872 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12873 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12874 * conform/data/libgen.h-data [XPG3]: Likewise.
12875 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12876 * conform/data/ndbm.h-data [XPG3]: Likewise.
12877 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12878 * conform/data/netdb.h-data [XPG3]: Likewise.
12879 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12880 * conform/data/poll.h-data [XPG3]: Likewise.
12881 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12882 * conform/data/strings.h-data [XPG3]: Likewise.
12883 * conform/data/stropts.h-data [XPG3]: Likewise.
12884 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12885 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12886 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12887 Likewise.
12888 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12889 * conform/data/sys/time.h-data [XPG3]: Likewise.
12890 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12891 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12892 * conform/data/sys/un.h-data [XPG3]: Likewise.
12893 * conform/data/syslog.h-data [XPG3]: Likewise.
12894 * conform/data/ucontext.h-data [XPG3]: Likewise.
12895 * conform/data/utmpx.h-data [XPG3]: Likewise.
12896 * conform/data/varargs.h-data [UNIX98]: Enable file.
12897
355bc986
JM
12898 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12899
215db402
JM
12900 * math/libm-test.inc (struct test_f_f_data): Move expected results
12901 into structure for each rounding mode.
12902 (struct test_ff_f_data): Likewise.
12903 (struct test_ff_f_data_nexttoward): Likewise.
12904 (struct test_fi_f_data): Likewise.
12905 (struct test_fl_f_data): Likewise.
12906 (struct test_if_f_data): Likewise.
12907 (struct test_fff_f_data): Likewise.
12908 (struct test_c_f_data): Likewise.
12909 (struct test_f_f1_data): Likewise.
12910 (struct test_fF_f1_data): Likewise.
12911 (struct test_ffI_f1_data): Likewise.
12912 (struct test_c_c_data): Likewise.
12913 (struct test_cc_c_data): Likewise.
12914 (struct test_f_i_data): Likewise.
12915 (struct test_ff_i_data): Likewise.
12916 (struct test_f_l_data): Likewise.
12917 (struct test_f_L_data): Likewise.
12918 (struct test_fFF_11_data): Likewise.
12919 (RM_): New macro.
12920 (RM_FE_DOWNWARD): Likewise.
12921 (RM_FE_TONEAREST): Likewise.
12922 (RM_FE_TOWARDZERO): Likewise.
12923 (RM_FE_UPWARD): Likewise.
12924 (RUN_TEST_LOOP_f_f): Update references to expected results.
12925 (RUN_TEST_LOOP_2_f): Likewise.
12926 (RUN_TEST_LOOP_fff_f): Likewise.
12927 (RUN_TEST_LOOP_c_f): Likewise.
12928 (RUN_TEST_LOOP_f_f1): Likewise.
12929 (RUN_TEST_LOOP_fF_f1): Likewise.
12930 (RUN_TEST_LOOP_fI_f1): Likewise.
12931 (RUN_TEST_LOOP_ffI_f1): Likewise.
12932 (RUN_TEST_LOOP_c_c): Likewise.
12933 (RUN_TEST_LOOP_cc_c): Likewise.
12934 (RUN_TEST_LOOP_f_i): Likewise.
12935 (RUN_TEST_LOOP_f_i_tg): Likewise.
12936 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12937 (RUN_TEST_LOOP_f_b): Likewise.
12938 (RUN_TEST_LOOP_f_b_tg): Likewise.
12939 (RUN_TEST_LOOP_f_l): Likewise.
12940 (RUN_TEST_LOOP_f_L): Likewise.
12941 (RUN_TEST_LOOP_fFF_11): Likewise.
12942 * math/gen-libm-test.pl (parse_args): Output four copies of
12943 expected results for each test.
12944
67737b8f
JM
12945 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12946 (__ASSUME_UTIMES): Remove.
12947 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12948 (__ASSUME_UTIMES): Likewise.
12949
aa97dee1
JM
12950 * math/gen-auto-libm-tests.c: Update comment on output format.
12951 (output_for_one_input_case): Generate before-rounding and
12952 after-rounding information as conditions on output flags not
12953 floating-point format.
12954 * math/auto-libm-test-out: Regenerated.
12955 * math/gen-libm-test.pl (cond_value): New function.
12956 (or_cond_value): Use cond_value.
12957 (generate_testfile): Handle conditional exceptions.
12958
e6b6a857
JM
129592014-03-05 Joseph Myers <joseph@codesourcery.com>
12960
2f0a0f44
JM
12961 * math/libm-test.inc (max_valid_error): New variable.
12962 (init_max_error): Take new argument specifying whether function
12963 results are exactly determined. Set max_valid_error and bound
12964 other variables for errors based on this argument.
12965 (set_max_error): Do not record results above max_valid_error.
12966 (check_float_internal): Only accept errors of up to 0.5ulps if
12967 also at most max_valid_error.
12968 (START): Take new argument EXACT and pass it to init_max_error.
12969 (acos_test): Update call to START.
12970 (acos_test_tonearest): Likewise.
12971 (acos_test_towardzero): Likewise.
12972 (acos_test_downward): Likewise.
12973 (acos_test_upward): Likewise.
12974 (acosh_test): Likewise.
12975 (asin_test): Likewise.
12976 (asin_test_tonearest): Likewise.
12977 (asin_test_towardzero): Likewise.
12978 (asin_test_downward): Likewise.
12979 (asin_test_upward): Likewise.
12980 (asinh_test): Likewise.
12981 (atan_test): Likewise.
12982 (atanh_test): Likewise.
12983 (atan2_test): Likewise.
12984 (cabs_test): Likewise.
12985 (cacos_test): Likewise.
12986 (cacosh_test): Likewise.
12987 (carg_test): Likewise.
12988 (casin_test): Likewise.
12989 (casinh_test): Likewise.
12990 (catan_test): Likewise.
12991 (catanh_test): Likewise.
12992 (cbrt_test): Likewise.
12993 (ccos_test): Likewise.
12994 (ccosh_test): Likewise.
12995 (ceil_test): Likewise.
12996 (cexp_test): Likewise.
12997 (cimag_test): Likewise.
12998 (clog_test): Likewise.
12999 (clog10_test): Likewise.
13000 (conj_test): Likewise.
13001 (copysign_test): Likewise.
13002 (cos_test): Likewise.
13003 (cos_test_tonearest): Likewise.
13004 (cos_test_towardzero): Likewise.
13005 (cos_test_downward): Likewise.
13006 (cos_test_upward): Likewise.
13007 (cosh_test): Likewise.
13008 (cosh_test_tonearest): Likewise.
13009 (cosh_test_towardzero): Likewise.
13010 (cosh_test_downward): Likewise.
13011 (cosh_test_upward): Likewise.
13012 (cpow_test): Likewise.
13013 (cproj_test): Likewise.
13014 (creal_test): Likewise.
13015 (csin_test): Likewise.
13016 (csinh_test): Likewise.
13017 (csqrt_test): Likewise.
13018 (ctan_test): Likewise.
13019 (ctan_test_tonearest): Likewise.
13020 (ctan_test_towardzero): Likewise.
13021 (ctan_test_downward): Likewise.
13022 (ctan_test_upward): Likewise.
13023 (ctanh_test): Likewise.
13024 (ctanh_test_tonearest): Likewise.
13025 (ctanh_test_towardzero): Likewise.
13026 (ctanh_test_downward): Likewise.
13027 (ctanh_test_upward): Likewise.
13028 (erf_test): Likewise.
13029 (erfc_test): Likewise.
13030 (exp_test): Likewise.
13031 (exp_test_tonearest): Likewise.
13032 (exp_test_towardzero): Likewise.
13033 (exp_test_downward): Likewise.
13034 (exp_test_upward): Likewise.
13035 (exp10_test): Likewise.
13036 (exp10_test_tonearest): Likewise.
13037 (exp10_test_towardzero): Likewise.
13038 (exp10_test_downward): Likewise.
13039 (exp10_test_upward): Likewise.
13040 (pow10_test): Likewise.
13041 (exp2_test): Likewise.
13042 (expm1_test): Likewise.
13043 (expm1_test_tonearest): Likewise.
13044 (expm1_test_towardzero): Likewise.
13045 (expm1_test_downward): Likewise.
13046 (expm1_test_upward): Likewise.
13047 (fabs_test): Likewise.
13048 (fdim_test): Likewise.
13049 (floor_test): Likewise.
13050 (fma_test): Likewise.
13051 (fma_test_towardzero): Likewise.
13052 (fma_test_downward): Likewise.
13053 (fma_test_upward): Likewise.
13054 (fmax_test): Likewise.
13055 (fmin_test): Likewise.
13056 (fmod_test): Likewise.
13057 (fpclassify_test): Likewise.
13058 (frexp_test): Likewise.
13059 (hypot_test): Likewise.
13060 (ilogb_test): Likewise.
13061 (isfinite_test): Likewise.
13062 (finite_test): Likewise.
13063 (isgreater_test): Likewise.
13064 (isgreaterequal_test): Likewise.
13065 (isinf_test): Likewise.
13066 (isless_test): Likewise.
13067 (islessequal_test): Likewise.
13068 (islessgreater_test): Likewise.
13069 (isnan_test): Likewise.
13070 (isnormal_test): Likewise.
13071 (issignaling_test): Likewise.
13072 (isunordered_test): Likewise.
13073 (j0_test): Likewise.
13074 (j1_test): Likewise.
13075 (jn_test): Likewise.
13076 (ldexp_test): Likewise.
13077 (lgamma_test): Likewise.
13078 (gamma_test): Likewise.
13079 (lrint_test): Likewise.
13080 (lrint_test_tonearest): Likewise.
13081 (lrint_test_towardzero): Likewise.
13082 (lrint_test_downward): Likewise.
13083 (lrint_test_upward): Likewise.
13084 (llrint_test): Likewise.
13085 (llrint_test_tonearest): Likewise.
13086 (llrint_test_towardzero): Likewise.
13087 (llrint_test_downward): Likewise.
13088 (llrint_test_upward): Likewise.
13089 (log_test): Likewise.
13090 (log10_test): Likewise.
13091 (log1p_test): Likewise.
13092 (log2_test): Likewise.
13093 (logb_test): Likewise.
13094 (logb_test_downward): Likewise.
13095 (lround_test): Likewise.
13096 (llround_test): Likewise.
13097 (modf_test): Likewise.
13098 (nearbyint_test): Likewise.
13099 (nextafter_test): Likewise.
13100 (nexttoward_test): Likewise.
13101 (pow_test): Likewise.
13102 (pow_test_tonearest): Likewise.
13103 (pow_test_towardzero): Likewise.
13104 (pow_test_downward): Likewise.
13105 (pow_test_upward): Likewise.
13106 (remainder_test): Likewise.
13107 (drem_test): Likewise.
13108 (remainder_test_tonearest): Likewise.
13109 (drem_test_tonearest): Likewise.
13110 (remainder_test_towardzero): Likewise.
13111 (drem_test_towardzero): Likewise.
13112 (remainder_test_downward): Likewise.
13113 (drem_test_downward): Likewise.
13114 (remainder_test_upward): Likewise.
13115 (drem_test_upward): Likewise.
13116 (remquo_test): Likewise.
13117 (rint_test): Likewise.
13118 (rint_test_tonearest): Likewise.
13119 (rint_test_towardzero): Likewise.
13120 (rint_test_downward): Likewise.
13121 (rint_test_upward): Likewise.
13122 (round_test): Likewise.
13123 (scalb_test): Likewise.
13124 (scalbn_test): Likewise.
13125 (scalbln_test): Likewise.
13126 (signbit_test): Likewise.
13127 (sin_test): Likewise.
13128 (sin_test_tonearest): Likewise.
13129 (sin_test_towardzero): Likewise.
13130 (sin_test_downward): Likewise.
13131 (sin_test_upward): Likewise.
13132 (sincos_test): Likewise.
13133 (sinh_test): Likewise.
13134 (sinh_test_tonearest): Likewise.
13135 (sinh_test_towardzero): Likewise.
13136 (sinh_test_downward): Likewise.
13137 (sinh_test_upward): Likewise.
13138 (sqrt_test): Likewise.
13139 (sqrt_test_tonearest): Likewise.
13140 (sqrt_test_towardzero): Likewise.
13141 (sqrt_test_downward): Likewise.
13142 (sqrt_test_upward): Likewise.
13143 (tan_test): Likewise.
13144 (tan_test_tonearest): Likewise.
13145 (tan_test_towardzero): Likewise.
13146 (tan_test_downward): Likewise.
13147 (tan_test_upward): Likewise.
13148 (tanh_test): Likewise.
13149 (tgamma_test): Likewise.
13150 (trunc_test): Likewise.
13151 (y0_test): Likewise.
13152 (y1_test): Likewise.
13153 (yn_test): Likewise.
13154 (significand_test): Likewise.
13155
e6b6a857
JM
13156 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13157 individual tests in comment.
13158 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13159 (prev_max_error): New variable.
13160 (prev_real_max_error): Likewise.
13161 (prev_imag_max_error): Likewise.
13162 (compare_ulp_data): Don't refer to test names in comment.
13163 (find_test_ulps): Remove function.
13164 (find_function_ulps): Likewise.
13165 (find_complex_function_ulps): Likewise.
13166 (init_max_error): Take function name as argument. Look up ulps
13167 for that function.
13168 (print_ulps): Remove function.
13169 (print_max_error): Use prev_max_error instead of calling
13170 find_function_ulps.
13171 (print_complex_max_error): Use prev_real_max_error and
13172 prev_imag_max_error instead of calling find_complex_function_ulps.
13173 (check_float_internal): Take max_ulp parameter instead of calling
13174 find_test_ulps. Don't call print_ulps.
13175 (check_float): Update call to check_float_internal.
13176 (check_complex): Update calls to check_float_internal.
13177 (START): Pass argument to init_max_error.
13178 * math/gen-libm-test.pl (%results): Don't include "kind"
13179 information.
13180 (parse_ulps): Don't handle ulps of individual tests.
13181 (print_ulps_file): Likewise.
13182 (output_ulps): Likewise.
13183 * math/README.libm-test: Update.
13184 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13185 individual tests.
13186 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13187 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13188 * sysdeps/arm/libm-test-ulps: Likewise.
13189 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13190 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13191 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13192 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13193 * sysdeps/microblaze/libm-test-ulps: Likewise.
13194 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13195 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13197 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13198 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13199 * sysdeps/sh/libm-test-ulps: Likewise.
13200 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13201 * sysdeps/tile/libm-test-ulps: Likewise.
13202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13203
45adef3c
JM
132042014-03-04 Joseph Myers <joseph@codesourcery.com>
13205
13206 * math/libm-test.inc (print_complex_max_error): Check separately
13207 whether real and imaginary errors are within allowed range and
13208 pass 0 to print_complex_function_ulps instead of value within
13209 allowed range.
13210
000232b9
SP
132112014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13212
d4b17258
SP
13213 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13214 formatting.
13215 (get_handles_fopen): Likewise.
13216 (do_write_test): Likewise.
13217
091eff71
SP
13218 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13219
fa3cd248
SP
13220 * libio/fileops.c (do_ftell): Use cached offset when
13221 available.
13222 * libio/iofwide.c (do_ftell_wide): Likewise.
13223 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13224 _IO_file_attach.
13225 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13226
000232b9
SP
13227 [BZ #16532]
13228 * libio/libioP.h (get_file_offset): New function.
13229 * libio/fileops.c (get_file_offset): Likewise.
13230 (do_ftell): Likewise.
13231 (_IO_new_file_seekoff): Split out ftell logic.
13232 * libio/wfileops.c (do_ftell_wide): Likewise.
13233 (_IO_wfile_seekoff): Split out ftell logic.
13234 * libio/tst-ftell-active-handler.c: New test case.
13235 * libio/Makefile (tests): Add it.
13236
116f4d1a
RM
132372014-03-03 Roland McGrath <roland@hack.frob.com>
13238
13239 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13240 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13241
532a6035
SP
132422014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13243
13244 [BZ #16639]
13245 * nscd/connections.c (nscd_init): Call do_exit.
13246 (start_threads): Call do_exit and notify_parent.
13247 (begin_drop_privileges): Call do_exit.
13248 (finish_drop_privileges): Likewise.
13249 * nscd/selinux.c (preserve_capabilities): Likewise.
13250 (install_real_capabilities): Likewise.
13251 (nscd_selinux_enabled): Likewise.
13252 (avc_create_thread): Likewise.
13253 (avc_alloc_lock): Likewise.
13254 (nscd_avc_init): Likewise.
13255 * nscd/nscd.c (parent_fd): New static variable.
13256 (main): Create a pipe between parent and child processes.
13257 Skip closing parent_fd.
13258 (monitor_child): New function.
13259 (do_exit): Likewise.
13260 (notify_parent): Likewise.
13261 * nscd/nscd.h (notify_parent): Likewise.
13262 (do_exit): Likewise.
13263
d6285c9f
CD
132642014-03-03 Carlos O'Donell <carlos@redhat.com>
13265
13266 * malloc/malloc.c (__libc_calloc): Revert last change.
13267
2b85d2a0
AZ
132682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13269
13270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13271
c7debbdf
RS
132722014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13273
13274 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13276 implementation.
13277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13278 (__libc_ifunc_impl_list): Likewise.
13279 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13280 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13281 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13282 * string/strrchr.c: Define STRRCHR.
13283
235eed86
OB
132842014-02-28 Ondřej Bílka <neleai@seznam.cz>
13285
13286 * benchtest/bench-strtok.c (simple_strtok): Delete.
13287 (strtok_string): Use as benchmark.
13288 * string/strtok (STRTOK): New macro.
13289
8e25d1e7
CD
132902014-02-28 Carlos O'Donell <carlos@redhat.com>
13291
ef563f92
CD
13292 * manual/threads.texi: Add header and standard comments to all
13293 functions.
13294
8e25d1e7
CD
13295 * elf/dl-lookup.c (check_match): New function.
13296 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13297 (do_lookup_x): Remove nested function check_match. Use non-nested
13298 function check_match.
13299
ff71cc37
RM
133002014-02-28 Roland McGrath <roland@hack.frob.com>
13301
f08e9a26
RM
13302 * csu/Makefile (generated, before-compile): Use += rather than =.
13303 * catgets/Makefile (generated, generated-dirs): Likewise.
13304 * debug/Makefile (generated): Likewise.
13305 * dlfcn/Makefile (generated): Likewise.
13306 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13307 * iconvdata/Makefile (before-compile, generated): Likewise.
13308 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13309 * libio/Makefile (generated): Likewise.
13310 * malloc/Makefile (generated): Likewise.
13311 * manual/Makefile (generated, generated-dirs): Likewise.
13312 * misc/Makefile (generated): Likewise.
13313 * posix/Makefile (generated): Likewise.
13314 * resolv/Makefile (generated): Likewise.
13315 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13316 * timezone/Makefile (generated, generated-dirs): Likewise.
13317
ff71cc37
RM
13318 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13319
fe13a20c
AZ
133202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13321
57f41c40
AS
13322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13323 power8 implementation.
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13325 file: POWER8 llround ifunc implementation.
13326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13327 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13328 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13329 POWER8 llround implementation.
13330
57f41c40
AS
13331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13332 power8 implementation.
13333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13334 file: POWER8 llrint ifunc implementation.
13335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13336 Add POWER8 implementation.
1ad8950a
AZ
13337 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13338 POWER8 llrint implementation.
13339
57f41c40
AS
13340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13341 power8 implementation.
13342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13343 file: POWER8 finite ifunc implementation.
13344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13345 Add POWER8 implementation.
cac626d6
AZ
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13347 Likewise.
13348 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13349 POWER8 finite implementation.
13350 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13351
57f41c40
AS
13352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13353 power8 implementation.
13354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13355 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13357 POWER8 implementation.
13358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13359 Likewise.
57f41c40
AS
13360 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13361 isinf implementation.
4393fc11
AZ
13362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13363
57f41c40
AS
13364 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13365 (INIT_ARCH): Add hwcap2 initialization.
13366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13367 power8 implementation.
13368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13369 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13371 POWER8 implementation.
13372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13373 Likewise.
57f41c40
AS
13374 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13375 isnan implementation.
487972ae
AZ
13376 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13377
7d92b787
JY
133782014-02-27 Joey Ye <joey.ye@arm.com>
13379
13380 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13381 (_FP_NANFRAC_Q): Set to zero.
13382
1cadc858
SP
133832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13384
13385 [BZ #16623]
13386 * math/auto-libm-test-in: New test inputs.
13387 * math/auto-libm-test-out: Regenerate.
13388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13389 and DA.
13390 (__cos): Likewise.
13391 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13392
f8c17e79
JM
133932014-02-27 Joseph Myers <joseph@codesourcery.com>
13394
13395 * scripts/evaluate-test.sh: Take new argument indicating whether
13396 failure is expected.
13397 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13398 indicating whether failure is expected.
13399 * conform/Makefile (test-xfail-run-conformtest): New variable.
13400 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13401 level.
13402 * posix/Makefile (test-xfail-annexc): New variable.
13403 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13404
a5f891ac
JM
134052014-02-26 Joseph Myers <joseph@codesourcery.com>
13406
13407 * argp/Makefile: Include Makeconfig immediately after defining
13408 subdir.
13409 * assert/Makefile: Likewise.
13410 * benchtests/Makefile: Likewise.
13411 * catgets/Makefile: Likewise.
13412 * conform/Makefile: Likewise.
13413 * crypt/Makefile: Likewise.
13414 * csu/Makefile: Likewise.
13415 (all): Remove target.
13416 * ctype/Makefile: Include Makeconfig immediately after defining
13417 subdir.
13418 * debug/Makefile: Likewise.
13419 * dirent/Makefile: Likewise.
13420 * dlfcn/Makefile: Likewise.
13421 * gmon/Makefile: Likewise.
13422 * gnulib/Makefile: Likewise.
13423 * grp/Makefile: Likewise.
13424 * gshadow/Makefile: Likewise.
13425 * hesiod/Makefile: Likewise.
13426 * hurd/Makefile: Likewise.
13427 (all): Remove target.
13428 * iconvdata/Makefile: Include Makeconfig immediately after
13429 defining subdir.
13430 * inet/Makefile: Likewise.
13431 * intl/Makefile: Likewise.
13432 * io/Makefile: Likewise.
13433 * libio/Makefile: Likewise.
13434 (all): Remove target.
13435 * locale/Makefile: Include Makeconfig immediately after defining
13436 subdir.
13437 * login/Makefile: Likewise.
13438 * mach/Makefile: Likewise.
13439 (all): Remove target.
13440 * malloc/Makefile: Include Makeconfig immediately after defining
13441 subdir.
13442 (all): Remove target.
13443 * manual/Makefile: Include Makeconfig immediately after defining
13444 subdir.
13445 * math/Makefile: Likewise.
13446 * misc/Makefile: Likewise.
13447 * nis/Makefile: Likewise.
13448 * nss/Makefile: Likewise.
13449 * po/Makefile: Likewise.
13450 (all): Remove target.
13451 * posix/Makefile: Include Makeconfig immediately after defining
13452 subdir.
13453 * pwd/Makefile: Likewise.
13454 * resolv/Makefile: Likewise.
13455 * resource/Makefile: Likewise.
13456 * rt/Makefile: Likewise.
13457 * setjmp/Makefile: Likewise.
13458 * shadow/Makefile: Likewise.
13459 * signal/Makefile: Likewise.
13460 * socket/Makefile: Likewise.
13461 * soft-fp/Makefile: Likewise.
13462 * stdio-common/Makefile: Likewise.
13463 * stdlib/Makefile: Likewise.
13464 * streams/Makefile: Likewise.
13465 * string/Makefile: Likewise.
13466 * sunrpc/Makefile: Likewise.
13467 (all): Remove target.
13468 * sysvipc/Makefile: Include Makeconfig immediately after defining
13469 subdir.
13470 * termios/Makefile: Likewise.
13471 * time/Makefile: Likewise.
13472 * timezone/Makefile: Likewise.
13473 (all): Remove target.
13474 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13475 subdir.
13476 * wctype/Makefile: Likewise.
13477
5b456e9d
SE
134782014-02-26 Steve Ellcey <sellcey@mips.com>
13479
13480 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13481 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13482 (libc_feholdexcept_setround_mips): Ditto.
13483 (libc_feholdsetround): New.
13484 (libc_feholdsetroundf): New.
13485 (libc_feholdsetroundl): New.
13486 (libc_feupdateenv_test_mips): New.
13487 (libc_feupdateenv_test): New.
13488 (libc_feupdateenv_testf): New.
13489 (libc_feupdateenv_testl): New.
13490 (libc_feresetround): New.
13491 (libc_feresetroundf): New.
13492 (libc_feresetroundl): New.
13493 (libc_fetestexcept_mips): New.
13494 (libc_fetestexcept): New.
13495 (libc_fetestexceptf): New.
13496 (libc_fetestexceptl): New.
13497 (HAVE_RM_CTX): New.
13498 (libc_feholdexcept_setround_mips_ctx): New.
13499 (libc_feholdexcept_setround_ctx): New.
13500 (libc_feholdexcept_setroundf_ctx): New.
13501 (libc_feholdexcept_setroundl_ctx): New.
13502 (libc_fesetenv_mips_ctx): New.
13503 (libc_fesetenv_ctx): New.
13504 (libc_fesetenv_ctxf): New.
13505 (libc_fesetenv_ctxl): New.
13506 (libc_feupdateenv_mips_ctx): New.
13507 (libc_feupdateenv_ctx): New.
13508 (libc_feupdateenvf_ctx): New.
13509 (libc_feupdateenvl_ctx): New.
13510 (libc_feholdsetround_mips_ctx): New.
13511 (libc_feholdsetround_ctx): New.
13512 (libc_feholdsetroundf_ctx): New.
13513 (libc_feholdsetroundl_ctx): New.
13514 (libc_feresetround_mips_ctx): New.
13515 (libc_feresetround_ctx): New.
13516 (libc_feresetroundf_ctx): New.
13517 (libc_feresetroundl_ctx): New.
13518
085d0e35
CD
135192014-02-26 Carlos O'Donell <carlos@redhat.com>
13520
f067bf1f
CD
13521 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13522
085d0e35
CD
13523 * manual/ipc.texi: New file.
13524 * manual/Makefile (chapters): Add ipc.
13525 * manual/job.texi: Add "Inter-Process Communication" to next.
13526 * manual/process.texi: Add "Inter-Process Communication" to prev.
13527
86e58c08
AZ
135282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13529
13530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13531
4248f0da
OB
135322014-02-26 Ondřej Bílka <neleai@seznam.cz>
13533
13534 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13535
cf822e3c
OB
13536 * manual/arith.texi: Fix spaces after sentences.
13537 * manual/charset.texi: Likewise.
13538 * manual/errno.texi: Likewise.
13539 * manual/install.texi: Likewise.
13540 * manual/llio.texi: Likewise.
13541 * manual/locale.texi: Likewise.
13542 * manual/maint.texi: Likewise.
13543 * manual/math.texi: Likewise.
13544 * manual/memory.texi: Likewise.
13545 * manual/message.texi: Likewise.
13546 * manual/probes.texi: Likewise.
13547 * manual/resource.texi: Likewise.
13548 * manual/signal.texi: Likewise.
13549 * manual/socket.texi: Likewise.
13550 * manual/stdio.texi: Likewise.
13551 * manual/string.texi: Likewise.
13552 * manual/time.texi: Likewise.
13553 * manual/users.texi: Likewise.
13554
ade40b10
CD
135552014-02-25 Carlos O'Donell <carlos@redhat.com>
13556
13557 [BZ #16632]
13558 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13559 _DEFAULT_SOURCE is defined.
13560
d0503676
CD
135612014-02-25 Ulrich Drepper <drepper@gmail.com>
13562 Carlos O'Donell <carlos@redhat.com>
13563
13564 [BZ #16613]
13565 * elf/dl-tls.c (_dl_count_modids): New function.
13566 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13567 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13568 audit library and increment generation counter.
13569 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13570 * elf/tst-audit9.c: New file.
13571 * elf/tst-auditmod9a.c: New file.
13572 * elf/tst-auditmod9b.c: New file.
13573 * elf/Makefile: Add rules to build and run tst-audit9.
13574
4cbf380c
FW
135752014-02-25 Florian Weimer <fweimer@redhat.com>
13576
13577 [BZ #15347]
13578 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13579
80a56cc3
WN
135802014-02-25 Will Newton <will.newton@linaro.org>
13581
13582 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13583 (__longjmp): Restore sp and lr before restoring callee
13584 saved registers. Add longjmp and longjmp_target
13585 SystemTap probe point.
13586 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13587 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13588 Define to zero to match jmpbuf layout.
13589 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13590 (__sigsetjmp): Save sp and lr before saving callee
13591 saved registers. Add setjmp SystemTap probe point.
13592
3ea0f74e
SL
135932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13594
13595 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13596
b04acb26
AS
135972014-02-24 Andreas Schwab <schwab@suse.de>
13598
13599 [BZ #15804]
13600 * elf/pldd.c (wait_for_ptrace_stop): New function.
13601 (main): Call it after attaching.
13602
098ad55c
RM
136032014-02-22 Roland McGrath <roland@hack.frob.com>
13604
d4ec6ae1
RM
13605 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13606 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13607 Versions files is now verboten.
13608 * hurd/Versions (libc: GLIBC_2.0):
13609 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13610 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13611 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13612 * mach/Versions: Likewise.
13613
098ad55c
RM
13614 * csu/Versions: Remove unused %include.
13615 * resolv/Versions: Likewise.
13616
acd7f096
JM
136172014-02-21 Joseph Myers <joseph@codesourcery.com>
13618
f0881698
JM
13619 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13620 ($(objpfx)check-local-headers.out): Likewise.
13621 ($(objpfx)begin-end-check.out): Likewise.
13622 * Makerules (check-abi-%.out): Likewise.
13623 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13624 ($(objpfx)test2.cat): Likewise.
13625 ($(objpfx)de/libc.cat): Likewise.
13626 ($(objpfx)test-gencat.out): Likewise.
13627 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13628 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13629 ($(objpfx)noload-mem): Likewise.
13630 ($(objpfx)tst-pathopt.out): Likewise.
13631 ($(objpfx)tst-rtld-load-self.out): Likewise.
13632 ($(objpfx)tst-array1-cmp.out): Likewise.
13633 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13634 ($(objpfx)tst-array2-cmp.out): Likewise.
13635 ($(objpfx)tst-array3-cmp.out): Likewise.
13636 ($(objpfx)tst-array4-cmp.out): Likewise.
13637 ($(objpfx)tst-array5-cmp.out): Likewise.
13638 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13639 ($(objpfx)check-textrel.out): Likewise.
13640 ($(objpfx)check-execstack.out): Likewise.
13641 ($(objpfx)check-localplt.out): Likewise.
13642 ($(objpfx)order2-cmp.out): Likewise.
13643 ($(objpfx)tst-leaks1-mem): Likewise.
13644 ($(objpfx)tst-leaks1-static-mem): Likewise.
13645 ($(objpfx)tst-initorder-cmp.out): Likewise.
13646 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13647 ($(objpfx)tst-unused-dep.out): Likewise.
13648 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13649 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13650 * iconv/Makefile (test-iconvconfig): Likewise.
13651 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13652 ($(objpfx)iconv-test.out): Likewise.
13653 ($(objpfx)tst-tables.out): Likewise.
13654 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13655 ($(objpfx)tst-gettext.out): Likewise.
13656 ($(objpfx)tst-translit.out): Likewise.
13657 ($(objpfx)tst-gettext2.out): Likewise.
13658 ($(objpfx)tst-gettext4.out): Likewise.
13659 ($(objpfx)tst-gettext6.out): Likewise.
13660 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13661 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13662 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13663 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13664 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13665 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13666 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13667 ($(objpfx)wordexp-tst.out): Likewise.
13668 ($(objpfx)annexc.out): Likewise.
13669 ($(objpfx)tst-fnmatch-mem): Likewise.
13670 ($(objpfx)bug-regex2-mem): Likewise.
13671 ($(objpfx)bug-regex14-mem): Likewise.
13672 ($(objpfx)bug-regex21-mem): Likewise.
13673 ($(objpfx)bug-regex31-mem): Likewise.
13674 ($(objpfx)tst-vfork3-mem): Likewise.
13675 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13676 ($(objpfx)tst-pcre-mem): Likewise.
13677 ($(objpfx)tst-boost-mem): Likewise.
13678 ($(objpfx)tst-getconf.out): Likewise.
13679 ($(objpfx)bug-ga2-mem): Likewise.
13680 ($(objpfx)bug-glob2-mem): Likewise.
13681 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13682 ($(objpfx)mtrace-tst-leaks2): Likewise.
13683 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13684 ($(objpfx)tst-printf.out): Likewise.
13685 ($(objpfx)tst-setvbuf1.out): Likewise.
13686 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13687 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13688 ($(objpfx)tst-fmtmsg.out): Likewise.
13689 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13690 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13691
acd7f096
JM
13692 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13693 * bits/sigaction.h [__USE_MISC]: Likewise.
13694 * bits/waitstatus.h: Update #endif comments.
13695 * ctype/ctype.h: Likewise.
13696 * dirent/dirent.h: Likewise.
13697 [__USE_MISC]: Remove redundant conditionals.
13698 * grp/grp.h: Update #endif comments.
13699 [__USE_GNU]: Remove redundant conditionals.
13700 [__USE_MISC]: Likewise.
13701 * inet/netinet/in.h [__USE_GNU]: Likewise.
13702 * io/sys/stat.h [__USE_MISC]: Likewise.
13703 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13704 * libio/bits/stdio.h: Update #endif comments.
13705 [__USE_MISC]: Remove redundant conditionals.
13706 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13707 * libio/stdio.h: Update #endif comments.
13708 [__USE_MISC]: Remove redundant conditionals.
13709 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13710 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13711 * math/math.h: Update #else and #endif comments.
13712 [__USE_MISC]: Remove redundant conditionals.
13713 * misc/sys/uio.h: Update #endif comments.
13714 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13715 * posix/glob.h [__USE_MISC]: Likewise.
13716 * posix/sys/types.h: Update #endif comments.
13717 [__USE_MISC]: Remove redundant conditionals.
13718 * posix/sys/wait.h: Update #endif comments.
13719 [__USE_MISC]: Remove redundant conditionals.
13720 * posix/unistd.h: Update #endif comments.
13721 [__USE_MISC]: Remove redundant conditionals.
13722 * pwd/pwd.h [__USE_GNU]: Likewise.
13723 [__USE_MISC]: Likewise.
13724 * resolv/netdb.h [__USE_GNU]: Likewise.
13725 * signal/signal.h: Update #endif comments.
13726 [__USE_MISC]: Remove redundant conditionals.
13727 * stdlib/stdlib.h: Update #else and #endif comments.
13728 [__USE_MISC]: Remove redundant conditionals.
13729 [__USE_GNU]: Likewise.
13730 * string/bits/string2.h [__USE_MISC]: Likewise.
13731 * string/string.h: Update #endif comments.
13732 [__USE_MISC]: Remove redundant conditionals.
13733 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13734 Likewise.
13735 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13736 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13737 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13738 Likewise.
13739 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13740 Likewise.
13741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13742 comments.
13743 [__USE_MISC]: Remove redundant conditionals.
13744 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13745 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13746 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13747 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13748 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13749 Likewise.
13750 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13751 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13752 Likewise.
13753 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13754 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13755 Likewise.
13756 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13757 Likewise.
13758 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13759 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13760 Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13762 Likewise.
13763 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13764 * sysdeps/x86/bits/string.h: Update #endif comments.
13765 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13766 conditionals.
13767 * time/sys/time.h: Update #endif comments.
13768 * time/time.h: Likewise.
13769 [__USE_MISC]: Remove redundant conditionals.
13770
a5d82e4e
YG
137712014-02-21 Yury Gribov <y.gribov@samsung.com>
13772
13773 [BZ #16600]
13774 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13775
9a80491d
AS
137762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13777
13778 * Versions.def (librt): Add GLIBC_2.17.
13779
105fa381
AC
137802014-02-21 Adam Conrad <adconrad@0c3.net>
13781
13782 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13783 synonym for _SYS_AUXV_H to allow direct inclusion.
13784 * sysdeps/sparc/bits/hwcap.h: Likewise.
13785 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13786 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13787 * sysdeps/sparc/sysdep.h: Likewise.
13788
b8cd1c4e
SP
137892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13790
13791 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13792
bd939d23
RS
137932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13794
13795 * benchtests/bench-strrchr.c: Print length instead of position.
13796
5d7b57ca
JM
137972014-02-20 Joseph Myers <joseph@codesourcery.com>
13798
bc688c10
JM
13799 [BZ #16611]
13800 * sysdeps/unix/sysv/linux/kernel-features.h
13801 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13802 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13803 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13804 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13805 Likewise.
13806 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13807 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13808 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13809 (__ASSUME_SENDMMSG): Define instead of using previous
13810 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13811 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13812 (__ASSUME_SENDMMSG_SYSCALL): Define.
13813 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13814 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13815 Likewise.
13816 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13817 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13818 Likewise.
13819 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13820 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13821 Likewise.
13822 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13823 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13824 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13825 [__ASSUME_SENDMMSG]: Change conditionals to
13826 [__ASSUME_SENDMMSG_SOCKETCALL].
13827 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13828 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13829 Define.
13830 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13831 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13832 Likewise.
13833 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13834 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13835 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13836 [!__ASSUME_SENDMMSG]: Change conditional to
13837 [!__ASSUME_SENDMMSG_SOCKETCALL].
13838 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13839 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13840 Define.
13841
0e31b18c
JM
13842 [BZ #16610]
13843 * sysdeps/unix/sysv/linux/kernel-features.h
13844 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13845 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13846 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13847 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13848 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13849 [__i386__ || __sparc__]
13850 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13851 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13852 (__ASSUME_RECVMMSG): Define instead of using previous
13853 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13854 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13855 (__ASSUME_RECVMMSG_SYSCALL): Define.
13856 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13858 Likewise.
13859 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13860 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13861 Likewise.
13862 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13864 Likewise.
13865 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13866 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13867 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13868 [__ASSUME_RECVMMSG]: Change condition to
13869 [__ASSUME_RECVMMSG_SOCKETCALL].
13870 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13872 Define.
13873 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13874 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13875 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13876 Likewise.
13877 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13878 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13879 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13880 [!__ASSUME_RECVMMSG]: Change condition to
13881 [!__ASSUME_RECVMMSG_SOCKETCALL].
13882 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13883 (__ASSUME_RECVMMSG_SYSCALL): Define.
13884
dd481ccf
JM
13885 [BZ #16609]
13886 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13887 __powerpc__ || __s390__ || __sh__ || __sparc__]
13888 (__ASSUME_SOCKETCALL): Define.
13889 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13890 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13891 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13892 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13893 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13894 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13895 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13896 (__ASSUME_ACCEPT4): Define instead of using previous
13897 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13898 __powerpc__ || __sparc__ || __s390__)] condition.
13899 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13900 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13901 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13902 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13903 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13904 [!__ASSUME_ACCEPT4]: Change condition to
13905 [!__ASSUME_ACCEPT4_SOCKETCALL].
13906 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13907 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13908 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13910 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13911 __ASSUME_ACCEPT4_SYSCALL.
13912 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13913 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13914 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13915 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13916 __ASSUME_ACCEPT4_SYSCALL.
13917 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13918 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13919 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13920 [__ASSUME_ACCEPT4]: Change condition to
13921 [__ASSUME_ACCEPT4_SOCKETCALL].
13922 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13923 (__ASSUME_SOCKETCALL): Define.
13924 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13926 (__ASSUME_SOCKETCALL): Define.
13927 (__ASSUME_ACCEPT4): Remove.
13928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13929 Define.
13930 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13931 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13932 Likewise.
13933 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13934 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13935
5d7b57ca
JM
13936 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13937 macro.
13938 (HWCAP_ARM_LPAE): Likewise.
13939 (HWCAP_ARM_EVTSTRM): Likewise.
13940 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13941 Add vpfd32, lpae and evtstrm.
13942 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13943 Increase to 22.
13944
63689d61
JM
139452014-02-19 Joseph Myers <joseph@codesourcery.com>
13946
13947 * math/auto-libm-test-in: Add tests of clog10.
13948 * math/auto-libm-test-out: Regenerated.
13949 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13952
ab09bf61
AS
139532014-02-18 Andreas Schwab <schwab@suse.de>
13954
13955 [BZ #16574]
13956 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13957 Store non-zero if the second buffer was newly allocated.
13958 (send_dg): Likewise.
13959 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13960 to send_vc and send_dg.
13961 (res_nsend): Pass NULL for ansp2_malloced.
13962 * resolv/res_query.c (__libc_res_nquery): Add parameter
13963 answerp2_malloced and pass it down to __libc_res_nsend.
13964 (res_nquery): Pass additional NULL to __libc_res_nquery.
13965 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13966 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13967 second answer buffer if answerp2_malloced was set.
13968 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13969 (__libc_res_nquerydomain): Add parameter
13970 answerp2_malloced and pass it down to __libc_res_nquery.
13971 (res_nquerydomain): Pass additional NULL to
13972 __libc_res_nquerydomain.
13973 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13974 additional NULL to __libc_res_nsend and __libc_res_nquery.
13975 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13976 additional NULL to __libc_res_nsearch.
13977 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13978 parameter of __libc_res_nsearch to check for separately allocated
13979 second buffer.
13980 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13981 __libc_res_nquery.
13982 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13983 additional NULL to __libc_res_nquery.
13984 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13985 __libc_res_nsearch.
13986 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13987 * include/resolv.h: Update prototypes of __libc_res_nquery,
13988 __libc_res_nsearch, __libc_res_nsend.
13989
a4fb7861
JM
139902014-02-18 Joseph Myers <joseph@codesourcery.com>
13991
c6af2d89
JM
13992 * math/auto-libm-test-in: Add tests of fma.
13993 * math/auto-libm-test-out: Regenerated.
13994 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13995 (fma_towardzero_test_data): Likewise.
13996 (fma_downward_test_data): Likewise.
13997 (fma_upward_test_data): Likewise.
13998 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13999 mpc_mode.
14000 (rounding_modes): Add values for new field.
14001 (func_calc_method): Add value mpfr_fff_f.
14002 (func_calc_desc): Add mpfr_fff_f union field.
14003 (test_function): Add field exact_args.
14004 (FUNC): Add macro argument EXACT_ARGS.
14005 (FUNC_mpfr_f_f): Update call to FUNC.
14006 (FUNC_mpfr_f_f): Likewise.
14007 (FUNC_mpfr_ff_f): Likewise.
14008 (FUNC_mpfr_if_f): Likewise.
14009 (FUNC_mpc_c_f): Likewise.
14010 (FUNC_mpc_c_c): Likewise.
14011 (test_functions): Add fma. Update calls to FUNC.
14012 (handle_input_arg): Add argument exact_args.
14013 (add_test): Update call to handle_input_arg.
14014 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14015 (output_for_one_input_case): Update call to calc_generic_results.
14016 Recalculate exact zero results in each rounding mode.
14017
a4fb7861
JM
14018 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14019 non-negative before setting low bit.
14020 * math/auto-libm-test-in: Mark one asin test possibly having
14021 spurious underflow.
14022 * math/auto-libm-test-out: Regenerated.
14023 * sysdeps/i386/fpu/libm-test-ulps: Update.
14024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14025
ef114eaf
DH
140262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14027
2b7f4f2c
SP
14028 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14029 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14030 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14031 * README: Add missing listing for microblaze*-*-linux-gnu.
14032
8125aedc
AM
140332014-02-16 Ondřej Bílka <neleai@seznam.cz>
14034
14035 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14036 duplicate code
14037
c70a4b1d
MF
140382014-02-16 Mike Frysinger <vapier@gentoo.org>
14039
14040 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14041 * sysdeps/unix/sysv/linux/ia64: Move directory from
14042 ports/sysdeps/unix/sysv/linux/ia64.
14043 * README: Update listing for ia64-*-linux-gnu.
14044
591aeaf7
TD
140452014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14046 Joseph Myers <joseph@codesourcery.com>
14047
14048 * Makeconfig (test-name): New variable.
14049 (evaluate-test): Likewise.
14050 * Makerules (do-test-clean): Remove .test-result files.
14051 (common-mostlyclean): Likewise.
14052 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14053 * scripts/evaluate-test.sh: New file.
14054
6e89caf1
JM
140552014-02-14 Joseph Myers <joseph@codesourcery.com>
14056
7f98f180
JM
14057 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14058 separate $(objpfx)tst-fopenloc-cmp.out and
14059 $(objpfx)tst-fopenloc-mem.out targets.
14060 (tests): Update dependencies.
14061 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14062 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14063 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14064 (tst-rxspencer-no-utf8-ARGS): New variable.
14065 (tst-rxspencer-no-utf8-ENV): Likewise.
14066 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14067 instead of $(objpfx)tst-rxspencer-mem.
14068 ($(objpfx)tst-rxspencer-mem): Change target to
14069 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14070 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14071 * posix/tst-rxspencer-no-utf8.c: New file.
14072
6e89caf1
JM
14073 * elf/Makefile ($(objpfx)order.out): Remove rule.
14074 [$(run-built-tests) = yes] (tests): Depend on
14075 $(objpfx)order-cmp.out.
14076 ($(objpfx)order-cmp.out): New rule.
14077 [$(run-built-tests) = yes] (tests): Depend on
14078 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14079 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14080 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14081 $(objpfx)tst-array5-static-cmp.out.
14082 ($(objpfx)tst-array1.out): Remove rule.
14083 ($(objpfx)tst-array1-cmp.out): New rule.
14084 ($(objpfx)tst-array1-static.out): Remove rule.
14085 ($(objpfx)tst-array1-static-cmp.out): New rule.
14086 ($(objpfx)tst-array2.out): Remove rule.
14087 ($(objpfx)tst-array2-cmp.out): New rule.
14088 ($(objpfx)tst-array3.out): Remove rule.
14089 ($(objpfx)tst-array3-cmp.out): New rule.
14090 ($(objpfx)tst-array4.out): Remove rule.
14091 ($(objpfx)tst-array4-cmp.out): New rule.
14092 ($(objpfx)tst-array5.out): Remove rule.
14093 ($(objpfx)tst-array5-cmp.out): New rule.
14094 ($(objpfx)tst-array5-static.out): Remove rule.
14095 ($(objpfx)tst-array5-static-cmp.out): New rule.
14096 [$(run-built-tests) = yes] (tests): Depend on
14097 $(objpfx)order2-cmp.out.
14098 ($(objpfx)order2.out): Remove rule.
14099 ($(objpfx)order2-cmp.out): New rule.
14100 ($(objpfx)tst-initorder.out): Remove rule.
14101 [$(run-built-tests) = yes] (tests): Depend on
14102 $(objpfx)tst-initorder-cmp.out.
14103 ($(objpfx)tst-initorder-cmp.out): New rule.
14104 ($(objpfx)tst-initorder2.out): Remove rule.
14105 [$(run-built-tests) = yes] (tests): Depend on
14106 $(objpfx)tst-initorder2-cmp.out.
14107 ($(objpfx)tst-initorder2-cmp.out): New rule.
14108 [$(run-built-tests) = yes] (tests): Depend on
14109 $(objpfx)tst-unused-dep-cmp.out.
14110 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14111 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14112 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14113 on $(objpfx)tst-setvbuf1-cmp.out.
14114 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14115 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14116 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14117 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14118 ($(objpfx)tst-svc.out): Remove rule.
14119 ($(objpfx)tst-svc-cmp.out): New rule.
14120
ed9a38e2
JM
141212014-02-13 Joseph Myers <joseph@codesourcery.com>
14122
14123 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14124 * ctype/ctype.h [__USE_MISC]: Likewise.
14125 * dirent/dirent.h [__USE_MISC]: Likewise.
14126 * grp/grp.h [__USE_MISC]: Likewise.
14127 * io/fcntl.h [__USE_MISC]: Likewise.
14128 * io/sys/stat.h [__USE_MISC]: Likewise.
14129 * libio/stdio.h [__USE_MISC]: Likewise.
14130 * posix/unistd.h [__USE_MISC]: Likewise.
14131 * pwd/pwd.h [__USE_MISC]: Likewise.
14132 * stdlib.h [__USE_MISC]: Likewise.
14133 * string/bits/string2.h [__USE_MISC]: Likewise.
14134 * string/string.h [__USE_MISC]: Likewise.
14135 * time/time.h [__USE_MISC]: Likewise.
14136
d6680619
AS
141372014-02-13 Andreas Schwab <schwab@suse.de>
14138
14139 [BZ #16574]
14140 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14141 second answer buffer if it was separately allocated.
14142
ace614b8
JM
141432014-02-12 Joseph Myers <joseph@codesourcery.com>
14144
743151ae
JM
14145 * sysdeps/mips/math-tests.h: Include <features.h>.
14146 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14147 (ROUNDING_TESTS_long_double): Do not define.
14148 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14149 (EXCEPTION_TESTS_long_double): Likewise.
14150 * sysdeps/mips/mips64/libm-test-ulps: Update.
14151
498afc54
JM
14152 * include/features.h (__USE_BSD): Remove macro definitions.
14153 (__USE_SVID): Likewise.
14154 (_BSD_SOURCE): Likewise.
14155 (_SVID_SOURCE): Likewise.
14156 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14157 from definition of _DEFAULT_SOURCE.
14158 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14159 [_DEFAULT_SOURCE].
14160 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14161 * bits/mman.h [__USE_BSD]: Likewise.
14162 * bits/termios.h [__USE_BSD]: Likewise.
14163 * bits/waitstatus.h [__USE_BSD]: Likewise.
14164 * ctype/ctype.h [__USE_SVID]: Likewise.
14165 * dirent/dirent.h [__USE_BSD]: Likewise.
14166 * grp/grp.h [__USE_SVID]: Likewise.
14167 [__USE_BSD]: Likewise.
14168 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14169 * io/fcntl.h [__USE_BSD]: Likewise.
14170 * io/ftw.h [__USE_BSD]: Likewise.
14171 * io/sys/stat.h [__USE_BSD]: Likewise.
14172 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14173 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14174 * libio/stdio.h [__USE_SVID]: Likewise.
14175 [__USE_BSD]: Likewise.
14176 * math/math.h [__USE_SVID]: Likewise.
14177 [__USE_BSD]: Likewise.
14178 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14179 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14180 * misc/search.h [__USE_SVID]: Likewise.
14181 * misc/sys/mman.h [__USE_BSD]: Likewise.
14182 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14183 * misc/sys/uio.h [__USE_BSD]: Likewise.
14184 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14185 * posix/glob.h [__USE_BSD]: Likewise.
14186 * posix/regex.h [__USE_BSD]: Likewise.
14187 * posix/sys/types.h [__USE_BSD]: Likewise.
14188 [__USE_SVID]: Likewise.
14189 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14190 * posix/sys/wait.h [__USE_BSD]: Likewise.
14191 [__USE_SVID]: Likewise.
14192 * posix/unistd.h [__USE_BSD]: Likewise.
14193 [__USE_SVID]: Likewise.
14194 * pwd/pwd.h [__USE_SVID]: Likewise.
14195 * resolv/netdb.h [__USE_BSD]: Likewise.
14196 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14197 * signal/signal.h [__USE_BSD]: Likewise.
14198 [__USE_SVID]: Likewise.
14199 * socket/sys/socket.h [__USE_BSD]: Likewise.
14200 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14201 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14202 [__USE_SVID]: Likewise.
14203 * string/bits/string2.h [__USE_BSD]: Likewise.
14204 [__USE_SVID]: Likewise.
14205 * string/bits/string3.h [__USE_BSD]: Likewise.
14206 * string/endian.h [__USE_BSD]: Likewise.
14207 * string/string.h [__USE_SVID]: Likewise.
14208 [__USE_BSD]: Likewise.
14209 * string/strings.h [__USE_BSD]: Likewise.
14210 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14211 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14212 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14213 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14214 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14215 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14216 Likewise.
14217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14218 Likewise.
14219 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14220 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14221 Likewise.
14222 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14223 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14224 Likewise.
14225 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14226 Likewise.
14227 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14228 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14229 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14230 Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14232 Likewise.
14233 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14234 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14235 * termios/termios.h [__USE_BSD]: Likewise.
14236 * time/sys/time.h [__USE_BSD]: Likewise.
14237 * time/time.h [__USE_BSD]: Likewise.
14238 [__USE_SVID]: Likewise.
14239
dd7b064c
JM
14240 * Makefile (subdir_targets): Remove subdir_lint.out.
14241
a2c4c199
JM
14242 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14243 (do-tst-printf): Likewise.
14244 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14245 $(objpfx)tst-printf.out.
14246
8756f740
JM
14247 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14248
1b6dd3f1
JM
14249 * Makerules (check-abi-%): Change target to
14250 $(objpfx)check-abi-%.out.
14251 (check-abi target): Update dependencies.
14252 (check-abi-pattern variable): Redirect output of diff to $@.
14253 (check-abi variable): Likewise.
14254 * elf/Makefile (check-abi): Update dependencies.
14255
ace614b8
JM
14256 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14257 unused.
14258 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14259 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14260 subnormal range.
14261 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14262 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14263 value has largest subnormal exponent.
14264 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14265 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14266 * sysdeps/aarch64/soft-fp/sfp-machine.h
14267 (_FP_TININESS_AFTER_ROUNDING): New macro.
14268 * sysdeps/alpha/soft-fp/sfp-machine.h
14269 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14270 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14271 Likewise.
14272 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14273 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14274 * sysdeps/mips/soft-fp/sfp-machine.h
14275 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14276 * sysdeps/powerpc/soft-fp/sfp-machine.h
14277 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14278 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14279 Likewise.
14280 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14281 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14283 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14284 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14285 Likewise.
14286
fbfdf9cb
DAS
142872014-02-12 Dylan Alex Simon <dylan@dylex.net>
14288
14289 [BZ #16545]
14290 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14291 model 1.
14292
68b7efaa
RH
142932014-02-12 Richard Henderson <rth@redhat.com>
14294
c70a4b1d 14295 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14296 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14297 * sysdeps/unix/sysv/linux/alpha: Move directory from
14298 ports/sysdeps/unix/sysv/linux/alpha.
14299 * README: Update listing for alpha-*-linux-gnu.
14300
cb4a2928
JM
143012014-02-11 Joseph Myers <joseph@codesourcery.com>
14302
c941736c
JM
14303 * include/features.h: Update comment documenting feature test
14304 macros.
14305 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14306 _DEFAULT_SOURCE.
14307 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14308 (_SVID_SOURCE): Likewise.
14309 (_DEFAULT_SOURCE): Update description of default features.
14310 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14311 with _GNU_SOURCE.
14312 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14313 (S_ISVTX): Likewise.
14314 * manual/math.texi (Mathematical Constants): Likewise.
14315 * manual/signal.texi (Interrupted Primitives): Likewise.
14316 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14317 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14318 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14319 Don't refer to _SVID_SOURCE in warning text.
14320
e8d8d7ec
JM
14321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14322
cb4a2928
JM
14323 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14324 already defined.
14325 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14326 * sysdeps/mips/dl-lookup.c: Remove.
14327 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14328
7e6424e3
AK
143292014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14330
14331 [BZ #16447]
14332 * math/auto-libm-test-in: Add testcase for expl.
14333 * math/auto-libm-test-out: Regenerate.
14334 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14335 calculation of unsafe.
14336 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14337
75eff3fe
MS
143382014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14339
14340 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14341 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14342 ports/sysdeps/unix/sysv/linux/aarch64.
14343 * README: Update listing for aarch64*-*-linux-gnu.
14344
d35f1e80
WN
143452014-02-11 Will Newton <will.newton@linaro.org>
14346
14347 * manual/probes.texi (Mathematical Function Probes): Use
14348 "triggered" instead of "hit".
14349
7b3436d4
WN
14350 * manual/probes.texi (Internal Probes): Add documentation
14351 of setjmp, longjmp and longjmp_target probes.
14352
b4f12ca3
WN
14353 * include/stap-probe.h: Add comment about probe argument
14354 format.
14355
c13a72b7
WN
14356 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14357 definition. (tr_where, tr_freehook, tr_mallochook,
14358 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14359
195b8165
DM
143602014-02-11 David S. Miller <davem@davemloft.net>
14361
14362 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14363 processing int_tests.
14364
2ad7600b
JM
143652014-02-10 Joseph Myers <joseph@codesourcery.com>
14366
14367 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14368 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14369 * sysdeps/unix/sysv/linux/mips: Move directory from
14370 ports/sysdeps/unix/sysv/linux/mips.
14371 * README: Update listing for mips-*-linux-gnu and
14372 mips64-*-linux-gnu.
14373
73588a72
AS
143742014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14375
14376 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14377 * sysdeps/unix/sysv/linux/m68k: Move directory from
14378 ports/sysdeps/unix/sysv/linux/m68k.
14379 * README: Update listing for m68k-*-linux-gnu.
14380
4372980f
CM
143812014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14382
14383 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14384 * sysdeps/unix/sysv/linux/generic: Move directory from
14385 ports/sysdeps/unix/sysv/linux/generic.
14386 * sysdeps/unix/sysv/linux/tile: Move directory from
14387 ports/sysdeps/unix/sysv/linux/tile.
14388 * README: Update listing for tile*-*-linux-gnu.
14389
a1ffb40e
OB
143902014-02-10 Ondřej Bílka <neleai@seznam.cz>
14391
57f41c40
AS
14392 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14393 __builtin_expect.
a1ffb40e
OB
14394 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14395 * catgets/open_catalog.c (__open_catalog): Likewise.
14396 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14397 * debug/confstr_chk.c: Likewise.
14398 * debug/fread_chk.c (__fread_chk): Likewise.
14399 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14400 * debug/getgroups_chk.c: Likewise.
14401 * debug/mbsnrtowcs_chk.c: Likewise.
14402 * debug/mbsrtowcs_chk.c: Likewise.
14403 * debug/mbstowcs_chk.c: Likewise.
14404 * debug/memcpy_chk.c: Likewise.
14405 * debug/memmove_chk.c: Likewise.
14406 * debug/mempcpy_chk.c: Likewise.
14407 * debug/memset_chk.c: Likewise.
14408 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14409 * debug/strcat_chk.c (__strcat_chk): Likewise.
14410 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14411 * debug/strncat_chk.c (__strncat_chk): Likewise.
14412 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14413 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14414 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14415 * debug/wcpncpy_chk.c: Likewise.
14416 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14417 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14418 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14419 * debug/wcsncpy_chk.c: Likewise.
14420 * debug/wcsnrtombs_chk.c: Likewise.
14421 * debug/wcsrtombs_chk.c: Likewise.
14422 * debug/wcstombs_chk.c: Likewise.
14423 * debug/wmemcpy_chk.c: Likewise.
14424 * debug/wmemmove_chk.c: Likewise.
14425 * debug/wmempcpy_chk.c: Likewise.
14426 * debug/wmemset_chk.c: Likewise.
14427 * dirent/scandirat.c (SCANDIRAT): Likewise.
14428 * dlfcn/dladdr1.c (dladdr1): Likewise.
14429 * dlfcn/dladdr.c (dladdr): Likewise.
14430 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14431 * dlfcn/dlerror.c (__dlerror): Likewise.
14432 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14433 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14434 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14435 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14436 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14437 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14438 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14439 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14440 Likewise.
14441 * elf/dl-conflict.c: Likewise.
14442 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14443 * elf/dl-dst.h: Likewise.
14444 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14445 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14446 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14447 * elf/dl-init.c (call_init, _dl_init): Likewise.
14448 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14449 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14450 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14451 Likewise.
a1ffb40e
OB
14452 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14453 Likewise.
14454 * elf/dl-minimal.c (__libc_memalign): Likewise.
14455 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14456 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14457 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14458 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14459 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14460 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14461 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14462 * elf/dl-writev.h (_dl_writev): Likewise.
14463 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14464 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14465 (dl_main): Likewise.
a1ffb40e
OB
14466 * elf/setup-vdso.h (setup_vdso): Likewise.
14467 * grp/compat-initgroups.c (compat_call): Likewise.
14468 * grp/fgetgrent.c (fgetgrent): Likewise.
14469 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14470 * grp/putgrent.c (putgrent): Likewise.
14471 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14472 Likewise.
14473 * hurd/hurdinit.c: Likewise.
14474 * iconvdata/8bit-gap.c (struct): Likewise.
14475 * iconvdata/ansi_x3.110.c : Likewise.
14476 * iconvdata/big5.c : Likewise.
14477 * iconvdata/big5hkscs.c : Likewise.
14478 * iconvdata/cp1255.c: Likewise.
14479 * iconvdata/cp1258.c : Likewise.
14480 * iconvdata/cp932.c : Likewise.
14481 * iconvdata/euc-cn.c: Likewise.
14482 * iconvdata/euc-jisx0213.c : Likewise.
14483 * iconvdata/euc-jp.c: Likewise.
14484 * iconvdata/euc-jp-ms.c : Likewise.
14485 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14486 * iconvdata/gb18030.c : Likewise.
14487 * iconvdata/gbbig5.c (const): Likewise.
14488 * iconvdata/gbgbk.c: Likewise.
14489 * iconvdata/gbk.c : Likewise.
14490 * iconvdata/ibm1364.c : Likewise.
14491 * iconvdata/ibm930.c : Likewise.
14492 * iconvdata/ibm932.c: Likewise.
14493 * iconvdata/ibm933.c : Likewise.
14494 * iconvdata/ibm935.c : Likewise.
14495 * iconvdata/ibm937.c : Likewise.
14496 * iconvdata/ibm939.c : Likewise.
14497 * iconvdata/ibm943.c: Likewise.
14498 * iconvdata/iso_11548-1.c: Likewise.
14499 * iconvdata/iso-2022-cn.c : Likewise.
14500 * iconvdata/iso-2022-cn-ext.c : Likewise.
14501 * iconvdata/iso-2022-jp-3.c: Likewise.
14502 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14503 * iconvdata/iso-2022-kr.c : Likewise.
14504 * iconvdata/iso646.c (gconv_end): Likewise.
14505 * iconvdata/iso_6937-2.c : Likewise.
14506 * iconvdata/iso_6937.c : Likewise.
14507 * iconvdata/iso8859-1.c: Likewise.
14508 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14509 * iconvdata/shift_jisx0213.c : Likewise.
14510 * iconvdata/sjis.c : Likewise.
14511 * iconvdata/t.61.c : Likewise.
14512 * iconvdata/tcvn5712-1.c : Likewise.
14513 * iconvdata/tscii.c: Likewise.
14514 * iconvdata/uhc.c : Likewise.
14515 * iconvdata/unicode.c (gconv_end): Likewise.
14516 * iconvdata/utf-16.c (gconv_end): Likewise.
14517 * iconvdata/utf-32.c (gconv_end): Likewise.
14518 * iconvdata/utf-7.c (base64): Likewise.
14519 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14520 * iconv/gconv_close.c (__gconv_close): Likewise.
14521 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14522 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14523 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14524 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14525 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14526 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14527 * iconv/iconv.c (iconv): Likewise.
14528 * iconv/iconv_close.c: Likewise.
14529 * iconv/loop.c (SINGLE): Likewise.
14530 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14531 * include/atomic.h: Likewise.
14532 * inet/inet6_option.c (option_alloc): Likewise.
14533 * intl/bindtextdom.c (set_binding_values): Likewise.
14534 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14535 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14536 * intl/localealias.c (read_alias_file): Likewise.
14537 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14538 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14539 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14540 * libio/fmemopen.c (fmemopen): Likewise.
14541 * libio/iofgets.c (_IO_fgets): Likewise.
14542 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14543 * libio/iofgetws.c (fgetws): Likewise.
14544 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14545 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14546 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14547 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14548 * locale/findlocale.c (_nl_find_locale): Likewise.
14549 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14550 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14551 Likewise.
14552 * locale/setlocale.c (setlocale): Likewise.
14553 * login/programs/pt_chown.c (main): Likewise.
14554 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14555 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14556 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14557 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14558 * math/e_exp2l.c: Likewise.
14559 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14560 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14561 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14562 * math/s_catan.c (__catan): Likewise.
14563 * math/s_catanf.c (__catanf): Likewise.
14564 * math/s_catanh.c (__catanh): Likewise.
14565 * math/s_catanhf.c (__catanhf): Likewise.
14566 * math/s_catanhl.c (__catanhl): Likewise.
14567 * math/s_catanl.c (__catanl): Likewise.
14568 * math/s_ccosh.c (__ccosh): Likewise.
14569 * math/s_ccoshf.c (__ccoshf): Likewise.
14570 * math/s_ccoshl.c (__ccoshl): Likewise.
14571 * math/s_cexp.c (__cexp): Likewise.
14572 * math/s_cexpf.c (__cexpf): Likewise.
14573 * math/s_cexpl.c (__cexpl): Likewise.
14574 * math/s_clog10.c (__clog10): Likewise.
14575 * math/s_clog10f.c (__clog10f): Likewise.
14576 * math/s_clog10l.c (__clog10l): Likewise.
14577 * math/s_clog.c (__clog): Likewise.
14578 * math/s_clogf.c (__clogf): Likewise.
14579 * math/s_clogl.c (__clogl): Likewise.
14580 * math/s_csin.c (__csin): Likewise.
14581 * math/s_csinf.c (__csinf): Likewise.
14582 * math/s_csinh.c (__csinh): Likewise.
14583 * math/s_csinhf.c (__csinhf): Likewise.
14584 * math/s_csinhl.c (__csinhl): Likewise.
14585 * math/s_csinl.c (__csinl): Likewise.
14586 * math/s_csqrt.c (__csqrt): Likewise.
14587 * math/s_csqrtf.c (__csqrtf): Likewise.
14588 * math/s_csqrtl.c (__csqrtl): Likewise.
14589 * math/s_ctan.c (__ctan): Likewise.
14590 * math/s_ctanf.c (__ctanf): Likewise.
14591 * math/s_ctanh.c (__ctanh): Likewise.
14592 * math/s_ctanhf.c (__ctanhf): Likewise.
14593 * math/s_ctanhl.c (__ctanhl): Likewise.
14594 * math/s_ctanl.c (__ctanl): Likewise.
14595 * math/w_pow.c: Likewise.
14596 * math/w_powf.c: Likewise.
14597 * math/w_powl.c: Likewise.
14598 * math/w_scalb.c (sysv_scalb): Likewise.
14599 * math/w_scalbf.c (sysv_scalbf): Likewise.
14600 * math/w_scalbl.c (sysv_scalbl): Likewise.
14601 * misc/error.c (error_tail): Likewise.
14602 * misc/pselect.c (__pselect): Likewise.
14603 * nis/nis_callback.c (__nis_create_callback): Likewise.
14604 * nis/nis_call.c (__nisfind_server): Likewise.
14605 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14606 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14607 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14608 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14609 * nis/nis_lookup.c (nis_lookup): Likewise.
14610 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14611 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14612 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14613 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14614 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14615 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14616 * nis/nss_compat/compat-initgroups.c (add_group)
14617 (internal_getgrent_r): Likewise.
14618 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14619 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14620 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14621 (internal_getspnam_r): Likewise.
14622 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14623 (_nss_nis_getaliasbyname_r): Likewise.
14624 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14625 (_nss_nis_getntohost_r): Likewise.
14626 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14627 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14628 (_nss_nis_getgrgid_r): Likewise.
14629 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14630 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14631 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14632 (_nss_nis_gethostbyname4_r): Likewise.
14633 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14634 (initgroups_netid): Likewise.
a1ffb40e 14635 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14636 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14637 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14638 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14639 (_nss_nis_getprotobynumber_r): Likewise.
14640 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14641 (_nss_nis_getsecretkey): Likewise.
14642 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14643 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14644 (_nss_nis_getpwuid_r): Likewise.
14645 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14646 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14647 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14648 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14649 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14650 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14651 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14652 Likewise.
57f41c40
AS
14653 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14654 (_nss_nisplus_getntohost_r): Likewise.
14655 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14656 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14657 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14658 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14659 Likewise.
57f41c40
AS
14660 * nis/nss_nisplus/nisplus-initgroups.c
14661 (_nss_nisplus_initgroups_dyn): Likewise.
14662 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14663 (_nss_nisplus_getnetbyaddr_r): Likewise.
14664 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14665 (_nss_nisplus_getprotobynumber_r): Likewise.
14666 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14667 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14668 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14669 Likewise.
57f41c40
AS
14670 * nis/nss_nisplus/nisplus-service.c
14671 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14672 (_nss_nisplus_getservbyport_r): Likewise.
14673 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14674 (_nss_nisplus_getspnam_r): Likewise.
14675 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14676 Likewise.
a1ffb40e
OB
14677 * nscd/aicache.c (addhstaiX): Likewise.
14678 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14679 * nscd/connections.c (register_traced_file, send_ro_fd)
14680 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14681 (main_loop_epoll): Likewise.
a1ffb40e
OB
14682 * nscd/grpcache.c (addgrbyX): Likewise.
14683 * nscd/hstcache.c (addhstbyX): Likewise.
14684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14685 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14686 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14687 (addinnetgrX): Likewise.
14688 * nscd/nscd-client.h (__nscd_acquire_maplock)
14689 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14690 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14691 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14692 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14693 Likewise.
14694 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14695 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14696 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14697 (__nscd_get_map_ref): Likewise.
a1ffb40e 14698 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14699 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14700 Likewise.
a1ffb40e
OB
14701 * nscd/pwdcache.c (addpwbyX): Likewise.
14702 * nscd/selinux.c (preserve_capabilities): Likewise.
14703 * nscd/servicescache.c (addservbyX): Likewise.
14704 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14705 * posix/fnmatch.c (fnmatch): Likewise.
14706 * posix/getopt.c (_getopt_internal_r): Likewise.
14707 * posix/glob.c (glob, glob_in_dir): Likewise.
14708 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14709 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14710 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14711 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14712 * resolv/res_init.c: Likewise.
14713 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14714 * resolv/res_query.c (__libc_res_nquery): Likewise.
14715 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14716 Likewise.
14717 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14718 * stdio-common/perror.c (perror): Likewise.
14719 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14720 * stdio-common/tmpnam.c (tmpnam): Likewise.
14721 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14722 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14723 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14724 Likewise.
a1ffb40e
OB
14725 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14726 * stdlib/putenv.c (putenv): Likewise.
14727 * stdlib/setenv.c (__add_to_environ): Likewise.
14728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14729 * stdlib/strtol_l.c (INTERNAL): Likewise.
14730 * string/memmem.c (memmem): Likewise.
14731 * string/strerror.c (strerror): Likewise.
14732 * string/strnlen.c (__strnlen): Likewise.
14733 * string/test-memmem.c (simple_memmem): Likewise.
14734 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14735 * sunrpc/pm_getport.c (__get_socket): Likewise.
14736 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14737 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14738 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14739 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14740 Likewise.
14741 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14742 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14743 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14744 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14745 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14746 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14747 Likewise.
14748 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14749 Likewise.
a1ffb40e
OB
14750 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14751 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14752 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14753 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14754 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14756 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14757 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14758 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14759 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14760 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14761 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14762 Likewise.
14763 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14764 Likewise.
14765 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14766 Likewise.
14767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14769 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14770 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14771 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14772 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14773 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14777 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14778 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14779 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14780 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
14782 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14783 Likewise.
a1ffb40e
OB
14784 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14785 Likewise.
14786 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14787 Likewise.
14788 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14789 Likewise.
14790 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14792 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14793 Likewise.
14794 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14795 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14796 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14797 * sysdeps/posix/sleep.c: Likewise.
14798 * sysdeps/posix/tempname.c: Likewise.
14799 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14800 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14801 Likewise.
57f41c40
AS
14802 * sysdeps/powerpc/powerpc32/dl-machine.h
14803 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
14804 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14805 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14806 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14807 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14808 Likewise.
14809 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14810 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14811 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14812 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14813 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14814 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14815 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14816 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14817 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14818 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14820 (elf_machine_lazy_rel): Likewise.
a1ffb40e 14821 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14823 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14824 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14825 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14826 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14827 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14828 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14829 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14830 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14832 Likewise.
14833 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14834 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14835 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14836 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14837 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14838 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14839 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14840 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14841 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14842 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14843 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14844 Likewise.
14845 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14846 (__posix_fallocate64_l64): Likewise.
14847 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14848 (posix_fallocate): Likewise.
57f41c40
AS
14849 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14850 Likewise.
a1ffb40e 14851 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
14852 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14853 (getifaddrs_internal): Likewise.
a1ffb40e
OB
14854 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14855 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14856 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14857 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14858 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14859 (__posix_fallocate64_l64): Likewise.
14860 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14861 Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
14863 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14864 (__get_clockfreq): Likewise.
a1ffb40e
OB
14865 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14866 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14867 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14870 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14871 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14872 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14873 Likewise.
14874 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14875 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14876 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14878 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14879 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14880 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14881 Likewise.
14882 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14883 (posix_fallocate): Likewise.
14884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14885 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14886 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14887 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14888 (elf_machine_rela, elf_machine_rela_relative)
14889 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14890 * time/asctime.c (asctime_internal): Likewise.
14891 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14892 * time/tzset.c (__tzset_parse_tz): Likewise.
14893 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14894 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14895 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14896 * wcsmbs/wcsmbsload.h: Likewise.
14897
f3d338c9
OB
14898 [BZ #15894]
14899 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14900
57f41c40
AS
14901 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14902 (arena_get2): Remove THREAD_STATS conditionals.
14903 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14904 (__malloc_stats, int): Likewise.
bdfe308a 14905
d674667c
MF
149062014-02-08 Mike Frysinger <vapier@gentoo.org>
14907
14908 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14909 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14910
6349768c
MF
14911 * manual/setjmp.texi: Fix typos/grammar errors.
14912
0b7c7473
MF
14913 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14914 Only return early when n is <= 0. Delete unused return statement.
14915
ac8cc9e3
MF
14916 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14917 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14918 * debug/tst-longjmp_chk3.c: New file.
14919
c5bb8e23
MF
14920 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14921 (test_main): Replace code with set_fortify_handler call.
14922 * debug/test-strcpy_chk.c: Likewise.
14923 * debug/tst-chk1.c: Likewise.
14924 * debug/tst-longjmp_chk.c: Likewise.
14925 * test-skeleton.c: Include fcntl.h & paths.h
14926 (set_fortify_handler): Define.
14927
10444e42
MF
14928 * debug/tst-longjmp_chk.c: Add header comment and include
14929 ../test-skeleton.c.
14930 (do_test): Mark static.
14931 (TEST_FUNCTION): Define.
14932
1e805e8d
MF
14933 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14934 (IP_PMTUDISC_INTERFACE): Likewise.
14935 (IP_MULTICAST_IF): Likewise.
14936 (IP_MULTICAST_TTL): Likewise.
14937 (IP_MULTICAST_LOOP): Likewise.
14938 (IP_ADD_MEMBERSHIP): Likewise.
14939 (IP_DROP_MEMBERSHIP): Likewise.
14940 (IP_UNBLOCK_SOURCE): Likewise.
14941 (IP_BLOCK_SOURCE): Likewise.
14942 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14943 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14944 (IP_MSFILTER): Likewise.
14945 (MCAST_JOIN_GROUP): Likewise.
14946 (MCAST_BLOCK_SOURCE): Likewise.
14947 (MCAST_UNBLOCK_SOURCE): Likewise.
14948 (MCAST_LEAVE_GROUP): Likewise.
14949 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14950 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14951 (MCAST_MSFILTER): Likewise.
14952 (IP_MULTICAST_ALL): Likewise.
14953 (IP_UNICAST_IF): Likewise.
14954
73f79bb7
MF
14955 * timezone/Makefile: Delete $(have-ksh) check.
14956 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14957 * timezone/tzselect.ksh: Add +x mode bits.
14958
8da79b60
MF
14959 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14960 (ANON_INODE_FS_MAGIC): Likewise.
14961 (BDEVFS_MAGIC): Likewise.
14962 (BINFMTFS_MAGIC): Likewise.
14963 (BTRFS_TEST_MAGIC): Likewise.
14964 (CRAMFS_MAGIC_WEND): Likewise.
14965 (DEBUGFS_MAGIC): Likewise.
14966 (ECRYPTFS_SUPER_MAGIC): Likewise.
14967 (EXT3_SUPER_MAGIC): Likewise.
14968 (EXT4_SUPER_MAGIC): Likewise.
14969 (FUTEXFS_SUPER_MAGIC): Likewise.
14970 (HOSTFS_SUPER_MAGIC): Likewise.
14971 (HUGETLBFS_MAGIC): Likewise.
14972 (MINIX3_SUPER_MAGIC): Likewise.
14973 (MTD_INODE_FS_MAGIC): Likewise.
14974 (NILFS_SUPER_MAGIC): Likewise.
14975 (OPENPROM_SUPER_MAGIC): Likewise.
14976 (PIPEFS_MAGIC): Likewise.
14977 (PSTOREFS_MAGIC): Likewise.
14978 (QNX6_SUPER_MAGIC): Likewise.
14979 (RAMFS_MAGIC): Likewise.
14980 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14981 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14982 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14983 (SECURITYFS_MAGIC): Likewise.
14984 (SELINUX_MAGIC): Likewise.
14985 (SMACK_MAGIC): Likewise.
14986 (SOCKFS_MAGIC): Likewise.
14987 (SQUASHFS_MAGIC): Likewise.
14988 (STACK_END_MAGIC): Likewise.
14989 (TMPFS_MAGIC): Likewise.
14990 (USBDEVICE_SUPER_MAGIC): Likewise.
14991 (V9FS_MAGIC): Likewise.
14992 (XENFS_SUPER_MAGIC): Likewise.
14993 (CRAMFS_MAGIC): Fix typo in comment.
14994 (EXT2_SUPER_MAGIC): Update comment.
14995 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14996
464263cc
JM
149972014-02-08 Joseph Myers <joseph@codesourcery.com>
14998
c6bfe5c4
JM
14999 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15000 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15001 * sysdeps/unix/sysv/linux/arm: Move directory from
15002 ports/sysdeps/unix/sysv/linux/arm.
15003 * README: Update listing for arm-*-linux-gnueabi.
15004
464263cc
JM
15005 * README: Remove mention of am33.
15006
32749f6c
RM
150072014-02-07 Roland McGrath <roland@hack.frob.com>
15008
15009 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15010 than the comma operator, to avoid "rhs of comma has no effect"
15011 compiler warnings.
15012 (__sigfillset, __sigandset, __sigorset): Likewise.
15013 * include/signal.h (__sigemptyset): Likewise.
15014 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15015
d5b396c1
AM
150162014-02-07 Allan McRae <allan@archlinux.org>
15017
15018 * version.h (RELEASE): Set to "development".
15019 (VERSION): Set to "2.19.90"
15020 * NEWS: Add 2.20 section.
15021
3bfff2ed
CD
150222014-02-06 Carlos O'Donell <carlos@redhat.com>
15023
15024 [BZ #16529]
15025 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15026
ee7cc385
SP
150272014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15028
15029 * manual/contrib.texi: Update entry for Carlos O'Donell,
15030 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15031
f877c4f2
CD
150322014-02-05 Carlos O'Donell <carlos@rehdat.com>
15033
27e839f6
CD
15034 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15035
f877c4f2
CD
15036 * sysdeps/unix/sysv/linux/kernel-features.h
15037 [__LINUX_KERNEL_VERSION >= 0x020621]
15038 (__ASSUME_PROC_PID_TASK_COMM): Define.
15039
68159946
SP
150402014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15041
ba17cdbd
SP
15042 [BZ #16398]
15043 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15044 conversion when destination buffer does not have enough space.
15045 * libio/tst-ftell-partial-wide.c: New test case.
15046 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15047
68159946
SP
15048 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15049 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15050 Leonard and Allan McRae.
15051
2b528732
DM
150522014-02-04 David S. Miller <davem@davemloft.net>
15053
15054 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15055 32-bit.
15056
0ff82463
AZ
150572014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15058
57f41c40
AS
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15060 New file
c01603f7
AZ
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15062 New file
57f41c40
AS
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15064 New file.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15066 New file.
c01603f7
AZ
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15068 New file.
57f41c40
AS
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15070 New file.
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15072 New file.
c01603f7
AZ
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15074 New file.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15076 New file.
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15078 New file.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15080 New file.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15082 New file.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15084 New file.
15085
150862014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15087
0ff82463
AZ
15088 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15089 * shlib-versions: Likewise.
15090
1695c773
AZ
150912014-02-04 Roland McGrath <roland@hack.frob.com>
15092 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15093
15094 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15095 (abilist-pattern): New variable, set to %-le.abilist.
15096
15097 * Makerules (abilist-pattern): New variable.
15098 (vpath): Use $(abilist-pattern) in place of %.abilist.
15099 (check-abi-% pattern rule): Likewise.
15100 (check-abi, update-abi): Likewise.
15101
6c0ce4b4
EW
151022014-02-04 Eric Wong <normalperson@yhbt.net>
15103
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15105
481e3524
CD
151062014-02-03 Carlos O'Donell <carlos@redhat.com>
15107
15108 * manual/startup.texi: Add next, previous, and top entries for
15109 the `Program Arguments' and `Environment Variables' nodes.
15110
375592d3
AO
151112014-02-03 Alexandre Oliva <aoliva@redhat.com>
15112
15113 * manual/macros.texi: Add comments before MTASC-safety macros.
15114
f54838ba
AO
15115 * manual/users.texi: Document MTASC-safety properties.
15116
57f41c40
AS
15117 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15118 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15119 @deftypefun, and add @safety note.
15120 * manual/signal.texi: Move comments that analyze the above
15121 functions to their home place.
15122
fd3daba4
AM
151232014-02-03 Allan McRae <allan@archlinux.org>
15124
15125 * po/sl.po: Update Slovenian translation from translation project.
15126
597636d7
AO
151272014-02-02 Alexandre Oliva <aoliva@redhat.com>
15128
15129 * manual/time.texi (timegm): Add missing blank after @c.
15130 Reported by Joseph Myers <joseph@codesourcery.com>.
15131
ee196e3c
AO
151322014-02-01 Alexandre Oliva <aoliva@redhat.com>
15133
15134 * manual/check-safety.sh: New.
15135 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15136
f8d529d5
AO
15137 * manual/terminal.texi: Document MTASC-safety properties.
15138
de55fdf4
AO
15139 * manual/filesys.texi: Document MTASC-safety properties.
15140
c3299c08
AO
15141 * manual/errno.texi: Document MTASC-safety properties.
15142
06e90b14
AO
15143 * manual/intro.texi: Document safety identifiers and
15144 conditionals.
15145
1acd4371
AO
15146 * manual/string.texi (wcstok): Fix prototype.
15147 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15148
23e5b8cb
AO
15149 * manual/time.texi: Document MTASC-safety properties.
15150
11087373
AO
15151 * manual/string.texi: Document MTASC-safety properties.
15152
5da2c93d
AO
15153 * manual/threads.texi: Document MTASC-safety properties.
15154
171e9210
AO
15155 * manual/stdio.texi: Document MTASC-safety properties.
15156
d9e02532
AO
15157 * manual/syslog.texi: Document MTASC-safety properties.
15158
6af8bab7
AO
15159 * manual/sysinfo.texi: Document MTASC-safety properties.
15160
663b02d7
AO
15161 * manual/startup.texi: Document MTASC-safety properties.
15162
973f180b
AO
15163 * manual/socket.texi: Document MTASC-safety properties.
15164
8f3c25c8
AO
15165 * manual/signal.texi: Document MTASC-safety properties.
15166
542210fb
AO
151672014-01-31 Alexandre Oliva <aoliva@redhat.com>
15168
15169 * manual/setjmp.texi: Document MTASC-safety properties.
15170
433c45a2
AO
15171 * manual/search.texi: Document MTASC-safety properties.
15172
c8ce789c
AO
15173 * manual/resource.texi: Document MTASC-safety properties.
15174
19f5d29c
AO
15175 * manual/process.texi: Document MTASC-safety properties.
15176
e2dfb7f4
AO
15177 * manual/platform.texi: Document MTASC-safety properties.
15178
8c1413f5
AO
15179 * manual/pipe.texi: Document MTASC-safety properties.
15180
03483ada
AO
15181 * manual/pattern.texi: Document MTASC-safety properties.
15182
29e7e2df
AO
15183 * manual/message.texi: Document MTASC-safety properties.
15184
9f529d7c
AO
15185 [BZ #12751]
15186 * manual/memory.texi: Document MTASC-safety properties.
15187
27aaa791
AO
15188 * manual/math.texi: Document MTASC-safety properties.
15189
f2d58726
AO
15190 * manual/locale.texi: Document MTASC-safety properties.
15191
2cc3615c
AO
15192 * manual/llio.texi: Document MTASC-safety properties.
15193
d9f0ec97
AO
15194 * manual/libdl.texi: New.
15195
e7c4409a
AO
15196 * manual/lang.texi: Document MTASC-safety properties.
15197
27bdc63c
AO
15198 * manual/job.texi: Document MTASC-safety properties.
15199
a7b90ea9
AO
15200 * manual/getopt.texi: Document MTASC-safety properties.
15201
c49130e3
AO
15202 * manual/ctype.texi: Document MTASC-safety properties.
15203
0d23a5c1
MR
152042014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15205
15206 [BZ #16046]
15207 * csu/libc-tls.c (static_map): Remove variable.
15208 (__libc_setup_tls): Use main executable's link map for TLS data.
15209 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15210 casing for LM_ID_BASE and GL(dl_nns).
15211 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15212 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15213 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15214 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15215 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15216 member.
15217 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15218 l_phnum members.
15219
0037bb60
AO
152202014-01-30 Alexandre Oliva <aoliva@redhat.com>
15221
15222 * manual/debug.texi: Document MTASC-safety properties.
15223
409e00bd
L
152242014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 [BZ #16510]
15227 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15228 of __x86_64__ when disabling x87 inline functions.
15229
86e60666
AO
152302014-01-29 Alexandre Oliva <aoliva@redhat.com>
15231
15232 * manual/charset.texi: Document MTASC-safety properties.
15233
76167637
AO
15234 * manual/crypt.texi: Document MTASC-safety properties.
15235
e567f2a0
AO
15236 * manual/conf.texi: Document MTASC-safety properties.
15237
b719dafd
AO
15238 * manual/arith.texi: Document MTASC-safety properties.
15239
4a16c662
AO
15240 * manual/argp.texi: Document MTASC-safety properties.
15241
0a57b83e
AO
15242 * manual/macros.texi: Introduce macros to document multi
15243 thread, asynchronous signal and asynchronous cancellation
15244 safety properties.
15245 * manual/intro.texi: Introduce the properties themselves.
15246
feab2397
KK
152472014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15248
15249 * sysdeps/sh/sh4/Makefile: New file.
15250
1c0d11bc
AS
152512014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15252
15253 * math/gen-libm-test.pl ($srcdir): New variable.
15254 ($auto_input): Use it.
15255
af37a8a3
SP
152562014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15257
d7b00f98
SP
15258 [BZ #16506]
15259 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15260 access beyond array bounds when parsing netgroups file.
15261
af37a8a3
SP
15262 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15263 the old buffer before realloc.
15264
0c00f062
AM
152652014-01-27 Allan McRae <allan@archlinux.org>
15266
15267 * po/fr.po: Update French translation from translation project.
15268
7d69a1b0
KK
152692014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15270
15271 * sysdeps/sh/libm-test-ulps: Regenerate.
15272
6e697ff7
DM
152732014-01-24 David S. Miller <davem@davemloft.net>
15274
15275 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15276
9cadb35c
KK
152772014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15278
15279 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15280 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15281
5d41dadf
SP
152822013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15283
15284 [BZ #16474]
15285 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15286 string pointers after reallocation.
15287
0bad441c
KK
152882014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15289
15290 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15291 __SH4A__ instead of __SH_FPU_ANY__.
15292
7007c661
KK
152932014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15294
15295 * sysdeps/sh/fpu_control.h: New file.
15296 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15297 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15298 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15299 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15300 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15301 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15302 * sysdeps/sh/sys/ucontext.h: Remove.
15303 * sysdeps/sh/sys: Remove directory.
15304
0f0c35e4
AK
153052014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15306
15307 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15308 s390/sys/ucontext.h.
15309 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15310 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15311
4959e284
L
153122014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15313
15314 [BZ #15605]
15315 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15316
d98720e0
AZ
153172014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15318
15319 [BZ#16431]
15320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15321 Adjust the vDSO correctly for internal calls.
15322 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15323
91cbd0bc
AM
153242014-01-20 Allan McRae <allan@archlinux.org>
15325
15326 * po/ca.po: Update Catalan translation from translation project.
15327
7a02cfad
MF
153282014-01-16 Mike Frysinger <vapier@gentoo.org>
15329
15330 * sysdeps/s390/sotruss-lib.c: New file.
15331
736c304a
AZ
153322014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15333
15334 [BZ#16430]
6e077ee5 15335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15336 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15337 local calls issues by not having a PLT stub required for IFUNC calls.
15338 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15339
94d0cea0
JM
153402014-01-16 Joseph Myers <joseph@codesourcery.com>
15341
15342 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15343 * math/test-fpucw-static.c: Likewise.
15344
980cb518
SP
153452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15346
15347 [BZ #16453]
15348 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15349
2393fc01
AZ
153502014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15351
15352 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15353 implementation for powerpc.
15354
d359bcc2
OB
153552014-01-15 Ondřej Bílka <neleai@seznam.cz>
15356
15357 [BZ #14782]
15358 * sysdeps/posix/system.c (__libc_system): Do not enable
15359 asynchronous cancellation.
15360
7beb48cb
AK
153612014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15362
15363 [BZ #16427]
15364 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15365 handling only for numbers special also in the IEEE case.
15366
c20d5bf5
AK
153672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15368
15369 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15370
e83bd4ee
AM
153712014-01-11 Allan McRae <allan@archlinux.org>
15372
76d0ea69
AM
15373 * po/bg.po: Update Bulgarian translation from translation project.
15374
e83bd4ee
AM
15375 * po/de.po: Update German translation from translation project.
15376
bc2ba20a
RM
153772014-01-10 Roland McGrath <roland@hack.frob.com>
15378
15379 * sysdeps/generic/gcc-compat.h: New file.
15380
649ecea2
SP
153812014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15382
15383 * benchtests/asin-inputs: Correct slow inputs.
15384 * benchtests/acos-inputs: Likewise.
15385
1b19c006
AM
153862014-01-10 Allan McRae <allan@archlinux.org>
15387
a46dab08
AM
15388 * po:sv.po: Update Swedish translation from translation project.
15389
421df74a
AM
15390 * po/vi.po: Update Vietnamese translation from translation project.
15391
d61c51a7
AM
15392 * po/eo.po: Update Esperanto translation from translation project.
15393
0339a319
AM
15394 * po/cs.po: Update Czech translation from translation project.
15395
94ad3e99
AM
15396 * po/nl.po: Update Dutch translation from translation project.
15397
e349ca71
AM
15398 * po/pl.po: Update Polish translation from translation project.
15399
ddf930c1
AM
15400 * po/ru.po: Update Russian translation from translation project.
15401
1b19c006
AM
15402 * po/uk.po: Update Ukrainian translation from translation project.
15403
9f236c49
BM
154042014-01-08 Brooks Moses <bmoses@google.com>
15405
15406 * elf/dl-load.c: Fix comment typo.
15407
cd6701cf
CD
154082014-01-08 Carlos O'Donell <carlos@redhat.com>
15409
15410 * po/header.pot: Rename to...
15411 * po/pot.header: ... this.
15412 * po/Makefile: Use pot.header.
15413
66671c84
YK
154142014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15415 Maxim Kuvyrkov <maxim@kugelworks.com>
15416
15417 [BZ #16394]
cd6701cf
CD
15418 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15419 SRC and DEST against LEN.
66671c84 15420
38f34581
AZ
154212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15422
15423 [BZ #16414]
15424 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15425 implementation.
15426 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15427
154282014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15429
15430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15431
4c327f2a
JM
154322014-01-08 Joseph Myers <joseph@codesourcery.com>
15433
15434 [BZ #16408]
15435 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15436 for large positive arguments.
15437
b821f414
JM
154382014-01-07 Joseph Myers <joseph@codesourcery.com>
15439
1f0f2067
JM
15440 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15441
a5a326f6
JM
15442 * math/auto-libm-test-in: Mark various tests with
15443 xfail-rounding:ldbl-128ibm.
15444 * math/auto-libm-test-out: Regenerated.
15445
b821f414
JM
15446 [BZ #16407]
15447 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15448 Increase overflow threshold.
15449
94c8a4bc
OB
154502014-01-07 Ondřej Bílka <neleai@seznam.cz>
15451
15452 [BZ #14286]
15453 * stdio-common/vfprintf.c: Check for integer overflow.
15454
87ded0c3
AK
154552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15456
15457 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15458 the first argument and return value of __tls_get_addr_internal.
15459
c5eebdd0
AK
154602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15461
15462 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15463 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15464
05d138ef
AK
154652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15466
15467 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15468 * sysdeps/s390/rtld-global-offsets.sym: New file.
15469 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15470 GLIBC_2.19 symbol.
15471 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15473 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15474 ... this.
15475 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15476 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15477 ... this.
15478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15479 Regenerate.
15480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15481 Regenerate.
15482 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15483 halfs of GPRs for high_gprs contexts.
15484 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15485 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15486 field.
15487 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15488 uc_flags field.
15489 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15490 64 bit versions:
15491 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15492 for high GPRs (uc_high_gprs) and for future extensions
15493 (__reserved).
15494 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15495 for future extensions (__reserved).
15496 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15497 64 bit versions:
15498 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15499 SC_HIGHGPRS offset definition.
15500 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15501 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15502
93a45ff1
AK
15503 * Versions.def: Add GLIBC_2.19 for libpthread.
15504 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15505 siglongjmp for libpthread with GLIBC_2.19 symver.
15506 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15507 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15508 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15509 * sysdeps/s390/__longjmp.c: New file.
15510 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15511 * sysdeps/s390/longjmp.c: New file.
15512 * sysdeps/s390/setjmp.S: New file.
15513 * sysdeps/s390/sigjmp.S: New file.
15514 * sysdeps/s390/v1-longjmp.c: New file.
15515 * sysdeps/s390/v1-setjmp.h: New file.
15516 * sysdeps/s390/v1-sigjmp.c: New file.
15517 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15518 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15519 GLIBC_2.19 version.
15520 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15521 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15522 versioned symbols for ____longjmp_chk.
15523 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15524 Likewise.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15526 Regenerate.
15527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15528 Regenerate.
15529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15530 Regenerate.
15531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15532 Regenerate.
15533 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15534 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15535 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15536 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15537 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15538 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15539 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15540 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15541 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15542 * sysdeps/s390/rtld-__longjmp.c: New file.
15543 * sysdeps/s390/rtld-setjmp.S: New file.
15544
eb3fc44b
JM
155452014-01-06 Joseph Myers <joseph@codesourcery.com>
15546
15547 [BZ #16400]
15548 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15549 Return -__logl (x) for small positive arguments without evaluating
15550 a polynomial.
15551
9341dde4
MF
155522014-01-06 Mike Frysinger <vapier@gentoo.org>
15553
15554 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15555 Rename to ...
15556 (__ptrace_peeksiginfo_args): ... this.
15557 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15560
4cff0293
AM
155612014-01-06 Allan McRae <allan@archlinux.org>
15562
15563 * inet/netinet/in.h: Fix typo in comment.
15564
75595dcf
AJ
155652014-01-05 Andreas Jaeger <aj@suse.de>
15566
15567 * sysdeps/i386/fpu/libm-test-ulps: Update.
15568
79c1e109
AM
155692014-01-05 Allan McRae <allan@archlinux.org>
15570
dd804818
AM
15571 * po/libc.pot: Regenerated.
15572
79c1e109
AM
15573 * malloc/memusagestat.c: Fix gettext call formatting.
15574
0c813d1f
SK
155752014-01-04 Sami Kerola <kerolasa@iki.fi>
15576
15577 * nscd/nscd.c: Improve usage() output.
15578
20f4a8d9
MF
155792014-01-04 Mike Frysinger <vapier@gentoo.org>
15580
15581 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15582 * sysdeps/unix/sysv/linux/configure: Regenerated.
15583 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15584 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15585
22562bb2
JM
155862014-01-03 Joseph Myers <joseph@codesourcery.com>
15587
15588 [BZ #16390]
15589 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15590 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15591
d7ad2d9b
AZ
155922014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15593
15594 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15595 extra tokens at end of #undef directive.
15596 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15598 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15599
7dd009d8
JM
156002014-01-03 Joseph Myers <joseph@codesourcery.com>
15601
24db925a
JM
15602 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15603
7dd009d8
JM
15604 * math/auto-libm-test-in: Mark various tests with
15605 xfail-rounding:ldbl-128ibm.
15606 * math/auto-libm-test-out: Regenerated.
15607
396e3ecf
JM
156082014-01-02 Joseph Myers <joseph@codesourcery.com>
15609
819e5d50
JM
15610 [BZ #16386]
15611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15612 numbers with subnormal high part when calculating exponent.
15613
90b6a1e5
JM
15614 [BZ #16385]
15615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15616 fabs.
15617
396e3ecf
JM
15618 [BZ #16384]
15619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15620 M_LN2l.
15621 (__ieee754_acoshl): Use __log1pl not __log1p.
15622
6c8dbf00
OB
156232013-01-02 Ondřej Bílka <neleai@seznam.cz>
15624
57f41c40
AS
15625 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15626 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15627 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15628 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15629 (reused_arena, arena_get2): Convert to GNU style.
15630 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15631 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15632 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15633 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15634 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15635 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15636 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15637 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15638 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15639 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15640 * malloc/malloc.h: Likewise.
57f41c40
AS
15641 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15642 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15643 * malloc/mcheck.h: Likewise.
57f41c40
AS
15644 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15645 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15646 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15647 * malloc/morecore.c (__default_morecore): Likewise.
15648 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15649 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15650 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15651 (print_and_abort): Likewise.
6c8dbf00
OB
15652 * malloc/obstack.h: Likewise.
15653 * malloc/set-freeres.c (__libc_freeres): Likewise.
15654 * malloc/tst-mallocstate.c (main): Likewise.
15655 * malloc/tst-mtrace.c (main): Likewise.
15656 * malloc/tst-realloc.c (do_test): Likewise.
15657
d4124212
SP
156582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15659
9a3c6a6f
SP
15660 [BZ #16366]
15661 * nscd/netgroupcache.c (do_notfound): New function.
15662 (addgetnetgrentX): Use it.
15663
d4124212
SP
15664 [BZ # 16365]
15665 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15666 NSS_STATUS_NOTFOUND.
15667
97b9a009
JM
156682014-01-01 Joseph Myers <joseph@codesourcery.com>
15669
15670 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15672
d4697bc9
AM
156732014-01-01 Allan McRae <allan@archlinux.org>
15674
ddb3687f
AM
15675 * scripts/update-copyrights: Update configure input file suffix.
15676
88726d48
AM
15677 * NEWS: Update copyright year.
15678 * catgets/gencat.c: Likewise.
15679 * csu/version.c: Likewise.
15680 * debug/catchsegv.sh: Likewise.
15681 * debug/pcprofiledump.c: Likewise.
15682 * debug/xtrace.sh: Likewise.
15683 * elf/ldconfig.c: Likewise.
15684 * elf/ldd.bash.in: Likewise.
15685 * elf/pldd.c: Likewise.
15686 * elf/sotruss.ksh: Likewise.
15687 * elf/sprof.c: Likewise.
15688 * iconv/iconv_prog.c: Likewise.
15689 * iconv/iconvconfig.c: Likewise.
15690 * locale/programs/locale.c: Likewise.
15691 * locale/programs/localedef.c: Likewise.
15692 * login/programs/pt_chown.c: Likewise.
15693 * malloc/memusage.sh: Likewise.
15694 * malloc/memusagestat.c: Likewise.
15695 * malloc/mtrace.pl: Likewise.
15696 * manual/libc.texinfo: Likewise.
15697 * nscd/nscd.c: Likewise.
15698 * nss/getent.c: Likewise.
15699 * nss/makedb.c: Likewise.
15700 * posix/getconf.c: Likewise.
15701 * scripts/test-installation.pl: Likewise.
15702
d4697bc9
AM
15703 * All files with FSF copyright notices: Update copyright dates
15704 using scripts/update-copyrights.
15705 * intl/plural.c: Regenerated.
15706 * locale/programs/charmap-kw.h: Likewise.
15707 * locale/programs/locfile-kw.h: Likewise.
15708
c8590f9d
MF
157092013-12-31 Mike Frysinger <vapier@gentoo.org>
15710
15711 * sysdeps/unix/sysv/linux/configure: Regenerated.
15712 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15713 the linux/fanotify.h header.
15714 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15715 HAVE_LINUX_FANOTIFY_H is defined.
15716
b19221b9
SP
157172013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15718
dd1d85e5
SP
15719 * benchtests/cos-inputs: New inputs.
15720 * benchtests/sin-inputs: Likewise.
15721
1acbb90f
SP
15722 * benchtests/atan-inputs: New inputs. Fix name of multiple
15723 precision fallback inputs.
15724
4c012ed3
SP
15725 * benchtests/atanh-inputs: New inputs.
15726 * benchtests/tanh-inputs: Likewise.
15727
eff98324
SP
15728 * benchtests/acosh-inputs: New inputs.
15729 * benchtests/asinh-inputs: Likewise.
15730
ce641152
SP
15731 * benchtests/cosh-inputs: New inputs.
15732 * benchtests/sinh-inputs: Likewise.
15733
b19221b9
SP
15734 * benchtests/acos-inputs: Add more inputs.
15735 * benchtests/asin-inputs: Likewise.
15736
030a4976 157372013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15738
030a4976 15739 [BZ #16375]
9dcc8f11
VS
15740 * manual/arith.texi: Fix spelling.
15741 * manual/charset.texi: Likewise.
15742 * manual/errno.texi: Likewise.
15743 * manual/filesys.texi: Likewise.
15744 * manual/lang.texi: Likewise.
15745 * manual/llio.texi: Likewise.
15746 * manual/locale.texi: Likewise.
15747 * manual/message.texi: Likewise.
15748 * manual/resource.texi: Likewise.
15749 * manual/search.texi: Likewise.
15750 * manual/setjmp.texi: Likewise.
15751 * manual/stdio.texi: Likewise.
15752 * manual/string.texi: Likewise.
15753 * manual/sysinfo.texi: Likewise.
15754 * manual/time.texi: Likewise.
15755
11520a57
CD
157562013-12-27 Carlos O'Donell <carlos@redhat.com>
15757
15758 * po/sl.po: New file.
15759
471103ae
MF
157602013-12-27 Mike Frysinger <vapier@gentoo.org>
15761
15762 * .gitignore: Add core/.gdbinit/.gdb_history.
15763
6c9642ed
AM
157642013-12-27 Allan McRae <allan@archlinux.org>
15765
15766 [BZ #16369]
15767 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15768 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15769
3f637079
BM
157702013-12-24 Brooks Moses <bmoses@google.com>
15771
15772 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15773 all compilers that claim C++98 compliance, not just GCC.
15774 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15775 Likewise.
15776
abc26e99
MK
157772013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15778
15779 * NEWS: Restore accidentally deleted bug-fix entries.
15780
362b47fe
MK
157812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15782 Ondřej Bílka <neleai@seznam.cz>
15783
15784 [BZ #15073]
15785 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 15786 have_lock.
362b47fe 15787
b9bcbbcb
OB
157882013-12-23 Ondřej Bílka <neleai@seznam.cz>
15789
15790 [BZ #12986]
15791 * manual/stdio.texi (String Input Conversions): Clarify that character
15792 classes are not supported.
15793
fb55fcd2
AZ
157942013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795
15796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15797
ef7344f0
JM
157982013-12-22 Joseph Myers <joseph@codesourcery.com>
15799
4f40e4b3
JM
15800 [BZ #16337]
15801 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15802 Calculate results for small negative arguments directly rather
15803 than using reflection formula with special underflow handling.
15804
ef7344f0
JM
15805 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15806 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15807 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15808 (fchflags): Likewise.
15809 (revoke): Likewise.
15810 (setlogin): Likewise.
15811 (sigaltstack): Likewise.
15812 (wait4): Likewise.
15813 (sigblock): Remove.
15814 (sigsetmask): Likewise.
15815 (wait3): Likewise.
15816 (waitpid): Likewise.
15817 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15818 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15819 file.
15820 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15821 * sysdeps/unix/bsd/Makefile: ... here.
15822 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15823 * sysdeps/unix/bsd/Versions: ... here.
15824 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15825 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15826 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15827 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15828 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15829 * sysdeps/unix/bsd/sigblock.c: ... here.
15830 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15831 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15832 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15833 * sysdeps/unix/bsd/sigvec.c: ... here.
15834 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15835 * sysdeps/unix/bsd/tcdrain.c: ... here.
15836 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15837 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15838 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15839 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15840 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15841 * sysdeps/unix/bsd/wait.c: ... here.
15842 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15843 * sysdeps/unix/bsd/wait3.c: ... here.
15844 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15845 * sysdeps/unix/bsd/waitpid.c: ... here.
15846
5b0626b9
JM
158472013-12-21 Joseph Myers <joseph@codesourcery.com>
15848
15849 [BZ #16356]
15850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15851 round-to-nearest for [!USE_AS_EXPM1L].
15852 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15853 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15854 more tests of exp and exp10. Expect some exp10 tests to miss
15855 exceptions or fail in directed rounding modes.
15856 * math/auto-libm-test-out: Regenerated.
15857 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15858 (exp10_test_tonearest): New function.
15859 (exp10_towardzero_test_data): New array.
15860 (exp10_test_towardzero): New function.
15861 (exp10_downward_test_data): New array.
15862 (exp10_test_downward): New function.
15863 (exp10_upward_test_data): New array.
15864 (exp10_test_upward): New function.
15865 (main): Call the new functions.
15866 * sysdeps/i386/fpu/libm-test-ulps: Update.
15867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15868
7fda5682
JM
158692013-12-20 Joseph Myers <joseph@codesourcery.com>
15870
31e3a405
JM
15871 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15872 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15873 * math/auto-libm-test-out: Regenerated.
15874 * math/libm-test.inc (acosh_test_data): Add more tests.
15875 (atanh_test_data): Likewise.
15876 (ceil_test_data): Likewise.
15877 (copysign_test_data): Likewise.
15878 * sysdeps/i386/fpu/libm-test-ulps: Update.
15879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15880
85bff96a
JM
15881 * timezone/checktab.awk: Update from tzcode 2013i.
15882 * timezone/private.h: Likewise.
15883 * timezone/scheck.c: Likewise.
15884 * timezone/tzfile.h: Likewise.
15885 * timezone/tzselect.ksh: Likewise.
15886 * timezone/zdump.c: Likewise.
15887 * timezone/zic.c: Likewise.
15888
b7867a3b
JM
15889 * math/auto-libm-test-in: Add tests of cpow.
15890 * math/auto-libm-test-out: Regenerated.
15891 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 15892 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
15893 mpc_cc_c.
15894 (func_calc_desc): Add mpc_cc_c union field.
15895 (test_functions): Add cpow.
15896 (special_fill_2pi): New function.
15897 (special_real_inputs): Add 2pi.
15898 (calc_generic_results): Handle mpc_cc_c.
15899 * sysdeps/i386/fpu/libm-test-ulps: Update.
15900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15901
7fda5682
JM
15902 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15903 csqrt, ctan and ctanh.
15904 * math/auto-libm-test-out: Regenerated.
15905 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15906 (TEST_COND_x86): Likewise.
15907 (ccos_test_data): Use AUTO_TESTS_c_c.
15908 (ccosh_test_data): Likewise.
15909 (cexp_test_data): Likewise.
15910 (clog_test_data): Likewise.
15911 (csqrt_test_data): Likewise.
15912 (ctan_test_data): Likewise.
15913 (ctan_tonearest_test_data): Likewise.
15914 (ctan_towardzero_test_data): Likewise.
15915 (ctan_downward_test_data): Likewise.
15916 (ctan_upward_test_data): Likewise.
15917 (ctanh_test_data): Likewise.
15918 (ctanh_tonearest_test_data): Likewise.
15919 (ctanh_towardzero_test_data): Likewise.
15920 (ctanh_downward_test_data): Likewise.
15921 (ctanh_upward_test_data): Likewise.
15922 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15923 mpc_c_c.
15924 (func_calc_desc): Add mpc_c_c union field.
15925 (FUNC_mpc_c_c): New macro.
15926 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15927 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15928 ctanh.
15929 (special_fill_min_subnorm_p120): New function.
15930 (special_real_inputs): Add min_subnorm_p120.
15931 (calc_generic_results): Handle mpc_c_c.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15934
5ff8d60e
SP
159352013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15936
57f41c40
AS
15937 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15938 (do_sin_slow): New functions.
15939 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15940 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15941
84ba214c
SP
15942 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15943 Use M to change sign of result instead of X. Assume X is
15944 positive.
15945 (csloww1): Likewise.
15946 (__sin): Adjust.
15947 (__cos): Adjust.
15948
975195e4
SP
15949 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15950 arguments A and DA.
15951 (__sin): Adjust.
15952 (__cos): Likewise.
15953
5ff8d60e
SP
15954 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15955 (__cos): Likewise.
15956 (sloww1): Don't adjust sign of DX.
15957 (csloww1): Likewise.
15958 (sloww2): Use X directly and don't adjust sign of DX.
15959 (csloww2): Likewise.
15960
eb983568
JM
159612013-12-19 Joseph Myers <joseph@codesourcery.com>
15962
64a17f1a
JM
15963 * math/auto-libm-test-in: Add tests of cabs and carg.
15964 * math/auto-libm-test-out: Regenerated.
15965 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15966 (carg_test_data): Likewise.
15967 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15968 mpc_c_f.
15969 (func_calc_desc): Add mpc_c_f union field.
15970 (test_functions): Add cabs and carg.
15971 (calc_generic_results): Handle mpc_c_f.
15972
eb983568
JM
15973 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15974 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15975 as a macro and a compat symbol.
15976 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15977 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15978 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15979 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15980 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15981 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15982 not use .hidden.
15983 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15984 Likewise.
15985 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15986 Likewise.
15987 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15988 Likewise.
15989 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15990 Likewise.
15991 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15992 Likewise.
15993 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15994 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15995 from GLIBC_2.3.2.
15996
6eeb678a
AZ
159972013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15998
15999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16000
6f6fc482
JM
160012013-12-19 Joseph Myers <joseph@codesourcery.com>
16002
21fea2e2
JM
16003 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16004 trailing whitespace removed.
16005 * scripts/config.guess: Update to version 2013-11-29.
16006 * scripts/config.sub: Update to version 2013-10-01.
16007
6f6fc482
JM
16008 * math/auto-libm-test-in: Add tests of sincos.
16009 * math/auto-libm-test-out: Regenerated.
16010 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16011 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16012 mpfr_f_11.
16013 (func_calc_desc): Add mpfr_f_11 union field.
16014 (test_functions): Add sincos.
16015 (calc_generic_results): Handle mpfr_f_11.
16016 * sysdeps/i386/fpu/libm-test-ulps: Update.
16017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16018
83f5c32d
AS
160192013-12-19 Andreas Schwab <schwab@suse.de>
16020
16021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16022 CALL_MCOUNT.
16023 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16025 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16026
c688b419
JM
160272013-12-19 Joseph Myers <joseph@codesourcery.com>
16028
335ee092
JM
16029 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16030 * sysdeps/i386/fpu/libm-test-ulps: Update.
16031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032
f88acd39
JM
16033 [BZ #16293]
16034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16035 round-to-nearest mode when using frndint.
16036 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16037 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16039 Likewise.
16040 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16041 sinh test to fail.
16042 * math/auto-libm-test-out: Regenerated.
16043 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16044 (TEST_COND_x86): Likewise.
16045 (expm1_tonearest_test_data): New array.
16046 (expm1_test_tonearest): New function.
16047 (expm1_towardzero_test_data): New array.
16048 (expm1_test_towardzero): New function.
16049 (expm1_downward_test_data): New array.
16050 (expm1_test_downward): New function.
16051 (expm1_upward_test_data): New array.
16052 (expm1_test_upward): New function.
16053 (main): Run the new test functions.
16054 * sysdeps/i386/fpu/libm-test-ulps: Update.
16055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16056
c688b419
JM
16057 * include/features.h: Update comment documenting feature test
16058 macros. Mention _DEFAULT_SOURCE in comment.
16059 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16060 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16061 _BSD_SOURCE and _SVID_SOURCE.
16062 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16063 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16064 !_SVID_SOURCE]: Likewise.
16065 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16066 (__USE_POSIX_IMPLICITLY): Define.
16067 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16068 (_POSIX_SOURCE): Undefine and redefine.
16069 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16070 (_POSIX_C_SOURCE): Likewise.
16071 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16072 (Feature Test Macros): Update documentation of default features.
16073
9f6e964c
RS
160742013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16075
16076 * benchtests/Makefile: Add bench-strtok.
16077 * benchtests/bench-strtok.c: New file: strtok benchtest.
16078
ee0a148a
AM
160792013-12-19 Allan McRae <allan@archlinux.org>
16080
16081 * manual/install.texi: Suppress menu for plain text output.
16082 * INSTALL: Regenerated.
16083
b9ab448f
BM
160842013-12-18 Brooks Moses <bmoses@google.com>
16085
16086 [BZ #15846]
16087 * misc/getauxval.c: Include errno.h.
16088 (__getauxval): Set errno to ENOENT if the requested type is not
16089 found.
16090 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16091 don't declare with __attribute_const__.
16092 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16093 * manual/startup.texi: Document that getauxval sets errno.
16094
23776487
JM
160952013-12-18 Joseph Myers <joseph@codesourcery.com>
16096
f889953b
JM
16097 * math/auto-libm-test-in: Add tests of jn and yn.
16098 * math/auto-libm-test-out: Regenerated.
16099 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16100 (yn_test_data): Likewise.
16101 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16102 mpfr_if_f.
16103 (func_calc_desc): Add mpfr_if_f union field.
16104 (FUNC_mpfr_if_f): New macro.
16105 (test_functions): Add jn and yn.
16106 (calc_generic_results): Assert type of second input for
16107 mpfr_ff_f. Handle mpfr_if_f.
16108 (output_for_one_input_case): Disable all checking for arguments
16109 fitting floating-point types in case of an integer argument.
16110 * sysdeps/i386/fpu/libm-test-ulps: Update.
16111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16112
23776487
JM
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16114 Don't expect fegetround reference in libm.so.
16115
cb756c6d
MS
161162013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16117
16118 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16119 $(config-cflags-nofma).
16120
2dec468f
JM
161212013-12-18 Joseph Myers <joseph@codesourcery.com>
16122
5953eb3a
JM
16123 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16124 * math/auto-libm-test-out: Regenerated.
16125
2dec468f
JM
16126 [BZ #16338]
16127 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16128 to determine exponent and adjust argument to have exponent of -1.
16129 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16130 log2.
16131 * math/auto-libm-test-out: Regenerated.
16132 * sysdeps/i386/fpu/libm-test-ulps: Update.
16133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16134
4d84e6ad
OB
161352013-12-18 Ondřej Bílka <neleai@seznam.cz>
16136
16137 * manual/probes.texi: Remove cases when per-thread arenas are
16138 disabled.
16139
1818483b
AS
161402013-12-18 Andreas Schwab <schwab@suse.de>
16141
16142 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16143 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16144 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16145 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16146 * sysdeps/i386/i686/multiarch/Makefile: Update.
16147 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16148
25de95bf
JM
161492013-12-17 Joseph Myers <joseph@codesourcery.com>
16150
16151 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16152 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16153
674762d9
PE
161542013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16155
ed27ed83 16156 [BZ #15968]
0748546f
PE
16157 Support TZ transition times < 00:00:00.
16158 This is needed for version-3 tz-format files; it supports time
16159 stamps past 2037 for America/Godthab (the only entry in the tz
16160 database for which this change is relevant).
16161 * manual/time.texi (TZ Variable): Document transition times
16162 from -167:59:59 through -00:00:01.
16163 * time/tzset.c (tz_rule): Time of day is now signed.
16164 (__tzset_parse_tz): Parse negative time of day.
16165
4480e934
PE
16166 Document TZ transition times >= 25:00:00.
16167 * manual/time.texi (TZ Variable): Document transition times from
16168 25:00:00 through 167:59:59. These are already supported, and this
16169 support will help with version-3 tz-format files.
16170
69947401
PE
16171 * manual/time.texi (TZ Variable): Modernize North America example
16172 to reflect current (i.e., 2007-and-later) daylight saving rules.
16173
674762d9
PE
16174 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16175
7011c262
JM
161762013-12-17 Joseph Myers <joseph@codesourcery.com>
16177
2fc6557e
JM
16178 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16179 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16182 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16183 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16184 * sysdeps/unix/bsd/clock.c: Likewise.
16185 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16186 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16187 * sysdeps/unix/bsd/init-posix.c: Likewise.
16188 * sysdeps/unix/bsd/poll.c: Likewise.
16189 * sysdeps/unix/bsd/ptsname.c: Likewise.
16190 * sysdeps/unix/bsd/seekdir.c: Likewise.
16191 * sysdeps/unix/bsd/setegid.c: Likewise.
16192 * sysdeps/unix/bsd/seteuid.c: Likewise.
16193 * sysdeps/unix/bsd/setgid.c: Likewise.
16194 * sysdeps/unix/bsd/setrgid.c: Likewise.
16195 * sysdeps/unix/bsd/setruid.c: Likewise.
16196 * sysdeps/unix/bsd/setsid.c: Likewise.
16197 * sysdeps/unix/bsd/setuid.c: Likewise.
16198 * sysdeps/unix/bsd/sigaction.c: Likewise.
16199 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16200 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16201 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16202 * sysdeps/unix/bsd/telldir.c: Likewise.
16203 * sysdeps/unix/bsd/times.c: Likewise.
16204 * sysdeps/unix/bsd/usleep.c: Likewise.
16205
029c7b25
JM
16206 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16207 ($(objpfx)libbsd-compat.a): Remove rule.
16208
7011c262
JM
16209 * include/features.h (__FAVOR_BSD): Do not define.
16210 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16211 features conflicting with POSIX.
16212 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16213 (_BSD_SOURCE): Remove description of not being a subset of other
16214 feature test macros.
16215 * manual/job.texi (getpgrp): Do not document BSD version.
16216 (getpgid): Do not document by reference to BSD getpgrp.
16217 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16218 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16219 * signal/signal.h [__FAVOR_BSD]: Likewise.
16220 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16221 instead of making contents conditional on [__FAVOR_BSD].
16222 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16223
affb6f78
AZ
162242013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16225
16226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16227
c88769dd
JM
162282013-12-17 Joseph Myers <joseph@codesourcery.com>
16229
6432a540
JM
16230 [BZ #16314]
16231 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16232 values below 2**-450, not 2**-500.
16233 * math/auto-libm-test-in: Don't allow spurious underflow from
16234 hypot.
16235 * math/auto-libm-test-out: Regenerated.
16236
c88769dd
JM
16237 [BZ #16316]
16238 [BZ #16330]
16239 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16240 values of ha and hb and sort them after adjusting subnormal
16241 arguments.
16242 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16243 Likewise.
16244 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16245 values of ea and eb and sort them after adjusting subnormal
16246 arguments.
16247 * math/auto-libm-test-in: Do not expect some hypot tests of
16248 subnormals to fail. Add more hypot tests.
16249 * math/auto-libm-test-out: Regenerated.
16250
29618f6b
KK
162512013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16252
16253 [BZ #13304]
16254 * sysdeps/sh/s_fma.c: New file.
16255 * sysdeps/sh/s_fmaf.c: New file.
16256 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16257 version.
16258 * sysdeps/sh/Implies: Add sh/soft-fp.
16259
eacfdfbf
RM
162602013-12-16 Roland McGrath <roland@hack.frob.com>
16261
16262 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16263 level of indirection to members `objname', `errstring', `malloced'.
16264 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16265 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16266 it as the __longjmp argument (just pass 1 instead).
16267 (_dl_catch_error): Initialize C with argument pointers and address of
16268 volatile local ERRCODE rather than copying values out of C at return.
16269
ff362e5b
JM
162702013-12-16 Joseph Myers <joseph@codesourcery.com>
16271
16272 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16273 * math/auto-libm-test-out: Regenerated.
16274 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16275 (hypot_test_data): Likewise.
16276 (pow_test_data): Likewise.
16277 (pow_tonearest_test_data): Likewise.
16278 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16279 mpfr_ff_f.
16280 (func_calc_desc): Add mpfr_ff_f union field.
16281 (FUNC_mpfr_ff_f): New macro.
16282 (test_functions): Add atan2, hypot and pow.
16283 (special_fill_min): New function.
16284 (special_fill_minus_min): Likewise.
16285 (special_fill_min_subnorm): Likewise.
16286 (special_fill_minus_min_subnorm): Likewise.
16287 (special_real_inputs): Add min, -min, min_subnorm and
16288 -min_subnorm.
16289 (calc_generic_results): Handle mpfr_ff_f.
16290 * sysdeps/i386/fpu/libm-test-ulps: Update.
16291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16292
5764c27f
WN
162932013-12-16 Will Newton <will.newton@linaro.org>
16294
16295 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16296 (Aligned Memory Blocks): Add documentation for aligned_alloc
16297 and suggest it as an alternative to posix_memalign.
16298 (Hooks for Malloc): Document __memalign_hook is also called
16299 for aligned_alloc. (Summary of Malloc): Add summary for
16300 aligned alloc. Document __memalign_hook is also called
16301 for aligned_alloc.
16302
0a096e44
WN
163032013-12-16 Will Newton <will.newton@linaro.org>
16304
16305 * manual/memory.texi (Malloc Examples): Clarify default
16306 alignment documentation. Suggest posix_memalign rather
16307 than memalign or valloc.
16308 (Aligned Memory Blocks): Remove suggestion to use memalign
16309 or valloc. Remove obsolete comment about BSD.
16310 Document memalign errno values and mark the function obsolete.
16311 Document posix_memalign returned error codes. Mark valloc
16312 as obsolete. (Hooks for Malloc): __memalign_hook is also
16313 called for posix_memalign and valloc.
16314 (Summary of Malloc): Add posix_memalign to function summary.
16315 __memalign_hook is also called for posix_memalign and valloc.
16316
8d561986
SP
163172013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16318
16319 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16320 TAYLOR_SIN.
16321 (__sin): Adjust.
16322 (__cos): Likewise.
16323 (sloww): Use mynumber union. Expand ternary operator into
16324 if-else statements.
16325 (cslow): use mynumber union.
16326
73616a74
AM
163272013-12-16 Allan McRae <allan@archlinux.org>
16328
9e8ac24b
AM
16329 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16330 * configure: Regenerated.
16331
6f8e37eb
AM
16332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16333
8894bad3
AM
16334 [BZ #14120]
16335 * configure.ac: Added --enable-maintainer-mode. Check for
16336 autoconf when enabled.
16337 * configure: Regenerated.
16338
73616a74
AM
16339 * nscd/nscd.service: New file.
16340 * nscd/nscd.tmpfiles: New file.
16341
584b18eb
OB
163422013-12-14 Ondřej Bílka <neleai@seznam.cz>
16343
16344 [BZ #12100]
16345 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16346 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16347 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16348 (strstr): Add __strstr_sse2_unaligned ifunc.
16349 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16350 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16351 (strcasestr): Remove __strcasestr_sse42 ifunc.
16352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16355
8a5c7897
KK
163562013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16357
16358 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16359 * sysdeps/sh/bits/fenv.h: ... here.
16360 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16361
fd712ef3
AZ
163622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16363
16364 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16365
42fcb46c
AZ
16366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16367 hypotf multiarch implementations.
16368 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16369 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16370 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16371 multiarch hypot for PPC64.
16372 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16375 multiarch hypotf for PPC64.
16376
83efded4
AZ
16377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16378 modff multiarch implementations.
16379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16382 multiarch modf for PPC64.
16383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16386 multiarch modff for PPC64.
16387
43e246d2
AZ
16388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16389 and logl multiarch implementations.
16390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16393 multiarch logb for PPC64.
16394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16397 multiarch logb for PPC64.
16398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16401 multiarch logb for PPC64.
16402
8fdad123
AZ
16403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16404 isinff multiarch implementation.
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16406 file.
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16409 multiarch isinf for PPC64.
16410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16411 file.
16412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16413 multiarch isinff for PPC64.
16414
1481d706
AZ
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16416 finitef multiarch implementation.
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16418 file.
16419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16421 multiarch finite for PPC64.
16422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16423 file.
16424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16425 multiarch finitef for PPC64.
16426
5ccd5fc8
AZ
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16428 lrint multiarch implementation.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16430 file.
16431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16433 multiarch llrint for PPC64.
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16435 multiarch lrint for PPC64.
16436
2568f3fa
AZ
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16438 copysignf multiarch implementation.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16440 file.
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16442 file.
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16444 multiarch copysign for PPC64.
16445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16446 multiarch copysignf for PPC64.
16447
1cb341fd
AZ
16448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16449 multiarch implementation.
16450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16451 file.
16452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16453 file.
16454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16455 file.
16456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16457 file.
16458 multiarch llround for PPC64.
16459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16460 multiarch trunc for PPC64.
16461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16462 multiarch truncf for PPC64.
16463
59a3e194
AZ
16464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16465 multiarch implementation.
16466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16467 file.
16468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16469 file.
16470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16471 file.
16472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16473 file.
16474 multiarch llround for PPC64.
16475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16476 multiarch round for PPC64.
16477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16478 multiarch roundf for PPC64.
16479
357fd3b4
AZ
16480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16481 multiarch implementation.
16482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16483 file.
16484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16485 file.
16486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16487 file.
16488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16489 file.
16490 multiarch llround for PPC64.
16491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16492 multiarch floor for PPC64.
16493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16494 multiarch floorf for PPC64.
16495
96770f12
AZ
16496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16497 multiarch implementation.
16498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16499 file.
16500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16501 file.
16502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16503 file.
16504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16505 file.
16506 multiarch llround for PPC64.
16507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16508 multiarch ceil for PPC64.
16509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16510 multiarch ceilf for PPC64.
16511
c3627f6e
AZ
16512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16513 multiarch implementation.
16514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16515 file.
16516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16517 file.
16518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16519 file.
16520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16521 multiarch llround for PPC64.
16522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16523 multiarch lround for PPC64.
16524
b2284ad7
AZ
16525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16526 multiarch implementation.
16527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16530 file.
16531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16534 multiarch isnan for PPC64.
16535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16536 multiarch isnanf for PPC64.
16537
69bbc63d
AZ
16538 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16539 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16540 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16541 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16542 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16544
c24517c9
AZ
16545 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16546 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16549
a52374e8
AZ
16550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16551 multiarch implementations.
16552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16553 (__libc_ifunc_impl_list): Likewise.
16554 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16555 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16556 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16557 multiarch stpcpy for PPC64.
16558
7f5ec113
AZ
16559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16560 multiarch implementations.
16561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16562 (__libc_ifunc_impl_list): Likewise.
16563 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16564 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16565 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16566 multiarch strcpy for PPC64.
16567
e28bcd42
AZ
16568 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16569 redefine function name.
16570 (_wordcopy_fwd_dest_aligned): Likewise.
16571 (_wordcopy_bwd_aligned): Likewise.
16572 (_wordcopy_bwd_dest_aligned): Likewise.
16573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16574 multiarch implementations.
16575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16576 (__libc_ifunc_impl_list): Likewise.
16577 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16578 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16579 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16581 multiarch wcscpy for PPC64.
16582
92cacfce
AZ
16583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16584 multiarch implementations.
16585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16586 (__libc_ifunc_impl_list): Likewise.
16587 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16588 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16591 multiarch wcscpy for PPC64.
16592
7b714620
AZ
16593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16594 multiarch implementations.
16595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16596 (__libc_ifunc_impl_list): Likewise.
16597 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16598 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16600 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16601 multiarch wcsrchr for PPC64.
16602
16fd2ae3
AZ
16603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16604 multiarch implementations.
16605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16606 (__libc_ifunc_impl_list): Likewise.
16607 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16608 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16609 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16610 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16611 multiarch wcschr for PPC64.
16612
9ee2969b
AZ
16613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16614 multiarch implementations.
16615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16616 (__libc_ifunc_impl_list): Likewise.
16617 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16618 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16619 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16620 multiarch strchrnul for PPC64.
16621
372dc060
AZ
16622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16623 implementations.
16624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16625 (__libc_ifunc_impl_list): Likewise.
16626 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16627 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16628 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16629 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16630 strchr for PPC64.
16631
24c2c3b9
AZ
16632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16633 implementations.
16634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16635 (__libc_ifunc_impl_list): Likewise.
16636 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16637 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16638 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16639 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16640 strncmp for PPC64.
16641
1c92d9a0
AZ
16642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16643 multiarch implementations.
16644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16645 (__libc_ifunc_impl_list): Likewise.
16646 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16647 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16648 strncasecmp for PPC64.
16649 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16650 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16651 multiarch strncasecmp_l for PPC64.
16652
17de3ee3
AZ
16653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16654 multiarch implementations.
16655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16656 (__libc_ifunc_impl_list): Likewise.
16657 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16658 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16659 multiarch strcasecmp for PPC64.
16660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16661 file.
16662 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16663 multiarch strcasecmp_l for PPC64.
16664
62982bf9
AZ
16665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16666 implementations.
16667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16668 (__libc_ifunc_impl_list): Likewise.
16669 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16670 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16671 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16672 strnlen for PPC64.
16673
a65f4904
AZ
16674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16675 implementations.
16676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16677 (__libc_ifunc_impl_list): Likewise.
16678 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16679 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16680 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16681 strlen for PPC64.
16682
1fd005ad
AZ
16683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16684 implementations.
16685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16686 (__libc_ifunc_impl_list): Likewise.
16687 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16688 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16689 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16690 rawmemrchr for PPC64.
16691
cd05ba91
AZ
16692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16693 implementation.
16694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16695 (__libc_ifunc_impl_list): Likewise.
16696 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16697 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16698 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16699 memrchr for PPC64.
16700
870f8676
AZ
16701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16702 implementation.
16703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16704 (__libc_ifunc_impl_list): Likewise.
16705 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16706 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16707 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16708 memchr for PPC64.
16709
f00be62b
AZ
16710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16711 implementation.
16712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16713 (__libc_ifunc_impl_list): Likewise.
16714 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16715 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16716 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16717 mempcpy for PPC64.
16718
8a29a3d0
AZ
16719 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16720 avoid cretion of __bzero symbol.
16721 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16722 Likewise.
16723 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16724 Likewise.
16725 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16726 Likewise.
16727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16728 multiarch implementations.
16729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16730 (__libc_ifunc_impl_list): Likewise.
16731 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16732 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16733 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16734 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16735 bzero for PPC32.
16736 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16737 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16738 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16739 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16740 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16741 memset for PPC64.
16742 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16743
07253fcf
AZ
16744 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16746 implementations.
16747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16748 (__libc_ifunc_impl_list): Likewise.
16749 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16750 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16751 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16752 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16753 memcmp for PPC64.
16754
b5beafbc
AZ
16755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16756 multiarch for POWER/PPC64.
16757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16758 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16759 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16760 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16761 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16765 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16766 memcpy for PPC64.
16767
5e6a4d4b
AZ
16768 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16769 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16770 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16771 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16772 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16773 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16774 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16775 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16776 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16777 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16778 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16779 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16780 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16781 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16782 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16790
ddfab6dc
KK
167912013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16792
16793 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16794
19b5525e
SP
167952013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16796
16797 * benchtests/Makefile (bench): Add exp2 and log2.
16798 (LDLIBS-bench-exp2): Add -lm.
16799 (LDLIBS-bench-log2): Likewise.
16800 * benchtests/exp2-inputs: New inputs file.
16801 * benchtests/log2-inputs: New inputs file.
16802 * benchtests/log-inputs: Add new inputs.
16803 * benchtests/tan-inputs: Likewise.
16804
196f7f5d
SP
168052013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16806
7a74607f
SP
16807 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16808 definition...
57f41c40
AS
16809 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16810 (csloww2): ... from here.
7a74607f 16811
196f7f5d
SP
16812 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16813 instead of structures.
16814 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16815 (POLYNOMIAL): Likewise.
16816 (TAYLOR_SLOW): Likewise.
16817 (__sin): Likewise.
16818 (__cos): Likewise.
16819 (slow1): Likewise.
16820 (slow2): Likewise.
16821 (sloww): Likewise.
16822 (sloww1); Likewise.
16823 (sloww2): Likewise.
16824 (bsloww1): Likewise.
16825 (bsloww2): Likewise.
16826 (cslow2): Likewise.
16827 (csloww): Likewise.
16828 (csloww1): Likewise.
16829 (csloww2): Likewise.
16830
0dfa665c
OB
168312013-12-10 Ondřej Bílka <neleai@seznam.cz>
16832
16833 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
16834 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16835 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
16836 * malloc/hooks.c (realloc_check): Likewise.
16837
5782a80f
OB
16838 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16839 * malloc/arena.c: Remove PER_THREAD conditional.
16840 [!PER_THREAD]: Remove code.
16841 (ptmalloc_unlock_all2): Likewise.
16842 (ptmalloc_init): Likewise.
16843 (_int_new_arena): Likewise.
16844 (arena_get2): Likewise.
16845 * malloc/hooks.c (__malloc_get_state): Likewise.
16846 (__malloc_set_state): Likewise.
16847 * malloc/malloc.c: Likewise.
16848 (struct malloc_state): Likewise.
16849 (struct malloc_par): Likewise.
16850 (__libc_realloc): Likewise.
16851 (__libc_mallopt): Likewise.
16852
aeb95445
AZ
168532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16854
16855 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16856
e8349efd
OB
168572013-12-09 Ondřej Bílka <neleai@seznam.cz>
16858
16859 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16860 macro to a function. Check for zero perturb_byte.
16861 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16862
f3eeb3fc 16863 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
16864 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16865 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
16866 force_reg by atomic_forced_read.
16867 * malloc/arena.c (ptmalloc_init): Likewise.
16868 * malloc/hooks.c (top_check): Likewise.
16869
be2f9009
AZ
168702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16871
16872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16873
e7b914bd
MT
168742013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16875
16876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16877
9f0be4f8
JM
168782013-12-08 Joseph Myers <joseph@codesourcery.com>
16879
16880 * math/auto-libm-test-in: Add tests of lgamma.
16881 * math/auto-libm-test-out: Regenerated.
16882 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16883 (M_LOG_2_SQRT_PIl): Likewise.
16884 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16885 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16886 mpfr_f_f1.
16887 (func_calc_desc): Add mpfr_f_f1 union field.
16888 (ARGS1): New macro.
16889 (ARGS2): Likewise.
16890 (ARGS3): Likewise.
16891 (ARGS4): Likewise.
16892 (RET1): Likewise.
16893 (RET2): Likewise.
16894 (CALC): Likewise.
16895 (FUNC): Likewise.
16896 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16897 (test_functions): Add lgamma.
16898 (calc_generic_results): Handle mpfr_f_f1.
16899 * sysdeps/i386/fpu/libm-test-ulps: Update.
16900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16901
24eeafdb
AZ
169022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16903
16904 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16905 __mpn_add_n for PowerPC64/POWER7.
16906 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16907 __mpn_sub_n for PowerPC64/POWER7.
16908
4a2c0fd4
AZ
16909 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16910 __mpn_addmul_1 for PowerPC64.
16911 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16912 __mpn_submul_1 for PowerPC64.
16913 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16914 for PowerPC64.
16915 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16916 for PowerPC64.
16917
4b5b548c
FS
169182013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16919
16920 [BZ #15089]
16921 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16922
0a3ac0aa
AZ
169232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16924
16925 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16926
ccdc8438
AZ
16927 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16928 add multiarch folders.
16929 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16930 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16931 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16932 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16933 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16934 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16935 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16936 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16937 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16938 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16939 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16946
2e973d99
AZ
16947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16948 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16950 New file.
16951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16952 New file.
16953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16954 multiarch __ieee754_hypot for PowerPC32.
16955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16956 New file.
16957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16958 New file.
16959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16960 multiarch __ieee754_hypotf for PowerPC32.
16961
2d9470b2
AZ
16962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16963 long_double_symbol only if __logbl is defined.
16964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16965 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16967 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16969 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16970 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16971 path for implementation.
16972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16975 logb, and logbl multiarch implementations for PowerPC32.
16976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16977 file.
16978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16979 file.
16980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16981 multiarch logb for PowerPC32.
16982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16983 file.
16984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16985 file.
16986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16987 multiarch logbf for PowerPC32.
16988 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16990 file.
16991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16992 multiarch logbl implementation for PowerPC32.
16993
5212ffce
AZ
16994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16995 and modff multiarch implementations.
16996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16997 New file.
16998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16999 New file.
17000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17001 multiarch modf for PowerPC32.
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17003 New file.
17004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17005 New file.
17006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17007 multiarch modff for PowerPC32.
17008
79dccf31
AZ
17009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17010 and lrintf multiarch implementations.
17011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17012 New file.
17013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17014 New file.
17015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17016 multiarch lrint for PowerPC32.
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17018 file: multiarch lrintf for PowerPC32.
17019
deb66480
AZ
17020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17021 and lroundf multiarch implementations.
17022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17023 New file.
17024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17025 New file.
17026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17027 New file.
17028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17029 multiarch lround for PowerPC32.
17030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17031 file: multiarch lroundf for PowerPC32.
17032
264b036b
AZ
17033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17034 copysign and copysignf multiarch implementations.
17035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17036 New file.
17037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17038 New file.
17039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17040 file: multiarch copysign for PowerPC32.
17041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17042 file: multiarch copysignf for PowerPC32.
17043
d47db6c9
AZ
17044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17045 and truncf multiarch implementations.
17046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17047 New file.
17048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17049 file.
17050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17051 multiarch trunc for PowerPC32.
17052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17053 New file.
17054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17055 New file.
17056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17057 multiarch truncf for PowerPC32.
17058
ddb60b5a
AZ
17059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17060 and roundf multiarch implementations.
17061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17062 New file.
17063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17064 file.
17065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17066 multiarch round for PowerPC32.
17067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17068 New file.
17069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17070 New file.
17071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17072 multiarch roundf for PowerPC32.
17073
bedcf49b
AZ
17074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17075 and floorf multiarch implementations.
17076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17077 New file.
17078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17079 file.
17080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17081 multiarch floor for PowerPC32.
17082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17083 New file.
17084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17085 New file.
17086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17087 multiarch floorf for PowerPC32.
17088
35ae5b40
AZ
17089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17090 and ceilf multiarch implementations.
17091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17092 New file.
17093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17094 file.
17095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17096 multiarch ceil for PowerPC32.
17097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17098 New file.
17099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17100 file.
17101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17102 multiarch ceilf for PowerPC32.
17103
ae1a4cd9
AZ
17104 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17105 is defined.
17106 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17107 FINITEF is defined.
17108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17109 and finitef multiarch implementations.
17110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17111 New file.
17112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17113 file.
17114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17115 multiarch finite for PowerPC32.
17116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17117 New file.
17118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17119 file: multiarch finitef for PowerPC32.
17120
64fffd65
AZ
17121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17122 and isinff multiarch implementations.
17123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17124 file.
17125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17126 file.
17127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17128 multiarch isinf for PowerPC32.
17129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17130 New file.
17131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17132 multiarch isinff for PowerPC32.
17133
8e4e7ba2
AZ
17134 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17135 alias when __isnan is defined.
17136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17137 and isnanf multiarch implementations.
17138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17139 file.
17140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17141 file.
17142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17143 file.
17144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17145 file.
17146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17147 multiarch isnan for PowerPC32.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17149 New file.
17150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17151 New file.
17152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17153 multiarch isnanf for PowerPC32.
17154
ddba588e
AZ
17155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17156 and sqrtf multiarch implementations.
17157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17158 file.
17159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17160 file.
17161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17162 multiarch sqrt for PowerPC32.
17163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17164 file.
17165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17166 file.
17167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17168 multiarch sqrtf for PowerPC32.
17169
0f96a2f0
AZ
17170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17171 and llroundf multiarch implementations.
17172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17173 New file.
17174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17175 New file.
17176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17177 New file.
17178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17179 file: multiarch llround for PowerPC32.
17180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17181 file: multiarch llroundf for PowerPC32.
17182
c9b5d79e
AZ
17183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17184 multiarch PowerPC32 fpu implementations.
17185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17186 New file.
17187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17188 New file.
17189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17190 multiarch llrint for PowerPC32.
17191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17192 New file.
17193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17194 New file.
17195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17196 file.
17197
9cbb3aab
AZ
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17199
ea5a72f8
AZ
17200 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17201 file.
17202 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17203 file.
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17205 file.
17206 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17207 multiarch wordcopy for PPC32.
17208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17209 wordcopy objects.
17210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17211 (__libc_ifunc_impl_list): Likewise.
17212 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17213 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17214 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17215 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17216 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17217 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17218
93be09e7
AZ
17219 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17221 file.
17222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17223 file.
17224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17225 file.
17226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17227 multiarch wcscpy for PPC32.
17228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17229 multiarch objects.
17230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17231 (__libc_ifunc_impl_list): Likewise.
17232 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17233 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17234 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17235 sysdeps/powerpc/power6/wcscpy.c.
17236
bb04e529
AZ
17237 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17239 file.
17240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17241 file.
17242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17243 file.
17244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17245 multiarch wcsrchr for PPC32.
17246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17247 multiarch objects.
17248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17249 (__libc_ifunc_impl_list): Likewise.
17250 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17251 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17252 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17253 sysdeps/powerpc/power6/wcsrchr.c.
17254
05b5cd1c
AZ
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17256 file.
17257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17258 file.
17259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17261 multiarch wcschr for PPc32.
17262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17263 multiarch objects.
17264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17265 (__libc_ifunc_impl_list): Likewise.
17266 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17267 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17268 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17269 sysdeps/powerpc/power6/wcschr.c.
17270
ba964147
AZ
17271 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17273 file.
17274 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17275 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17276 file: multiarch strchr for PPC32.
17277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17278 multiarch objects.
17279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17280 (__libc_ifunc_impl_list): Likewise.
17281
31c81aaa
AZ
17282 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17283 name.
17284 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17285 file.
17286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17287 file.
17288 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17289 multiarch strchrnul for PPC32.
17290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17291 multiarch objects.
17292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17293 (__libc_ifunc_impl_list): Likewise.
17294
0d0607d9
AZ
17295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17296 file.
17297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17298 multiarch strncasecmp for PPC32.
17299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17300 file.
17301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17302 multiarch strncasecmp_l for PPC32.
17303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17304 strncasecmp multiarch objects.
17305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17306 (__libc_ifunc_impl_list): Likewise.
17307
4dfd5c86
AZ
17308 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17309 file.
17310 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17311 multiarch strncasecmp for PPC32.
17312 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17313 New file.
17314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17315 multiarch strcasecmp_l for PPC32.
17316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17317 multiarch objects.
17318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17319 (__libc_ifunc_impl_list): Likewise.
17320
a19e01a3
AZ
17321 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17322 file.
17323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17324 file.
17325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17326 multiarch strncmp for PPC32.
17327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17328 multiarch objects.
17329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17330 (__libc_ifunc_impl_list): Likewise.
17331
ae9cf7a2
AZ
17332 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17333 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17334 file.
17335 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17336 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17338 multiarch objects.
17339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17340 (__libc_ifunc_impl_list): Likewise.
17341
3148bb7d
AZ
17342 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17343 file.
17344 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17345 file.
17346 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17348 multiarch objects.
17349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17350 (__libc_ifunc_impl_list): Likewise.
17351
7af8b946
AZ
17352 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17353 file.
17354 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17355 file.
17356 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17357 multiarch rawmemchr for PPC32.
17358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17359 multiarch objects.
17360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17361 (__libc_ifunc_impl_list): Likewise.
17362
03a6aa6a
AZ
17363 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17364 file.
17365 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17366 file.
17367 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17368 file: memrchr multiarch for PPC32.
17369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17370 multiarch objects.
17371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17372 (__libc_ifunc_impl_list): Likewise.
17373
1c62e6d9
AZ
17374 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17375 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17376 file.
17377 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17378 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17379 multiarch memchr for PPC32.
17380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17381 multiarch objects.
17382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17383 (__libc_ifunc_impl_list): Likewise.
17384
87da8bdb
AZ
17385 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17386 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17387 file.
17388 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17389 file.
17390 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17391 file: multiarch mempcpy for PPC32.
17392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17393 multiarch objects.
17394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17395 (__libc_ifunc_impl_list): Likewise.
17396
20ed4714
AZ
17397 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17398 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17400 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17401 multiarch bzero for PPC32.
17402 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17403 file.
17404 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17405 file.
17406 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17407 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17408 file: multiarch memset for PPC32.
17409 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17411 memset multiarch objects.
17412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17413 (__libc_ifunc_impl_list): Likewise.
17414
ab3e3a46
AZ
17415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17416 file.
17417 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17419 memcmp for PPC32.
17420 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17422 multiarch objects.
17423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17424 (__libc_ifunc_impl_list): Likewise.
17425
930de6f0
AZ
17426 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17427 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17428 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17429 file.
17430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17431 file.
17432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17433 file.
17434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17435 multiarch memcpy for PPC32.
17436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17437 multiarch objects.
17438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17439 (__libc_ifunc_impl_list): Likewise.
17440
4c628e00
AZ
17441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17442 support multiarch for POWER/PPC32.
17443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17444 Likewise.
17445 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17447 Implies file to make multiarch folder appers before the fpu and
17448 default folder for power4 configuration.
17449
f4479220
SP
174502013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17451
17452 * scripts/bench.pl: Append volatile keyword to type.
17453
8517800f
KK
174542013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17455
17456 * sysdeps/sh/sotruss-lib.c: New file.
17457 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17458
180138f1
AZ
174592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17460
17461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17462
bbf37bdc
JM
174632013-12-05 Joseph Myers <joseph@codesourcery.com>
17464
e47cc4e0
JM
17465 [BZ #6810]
17466 * math/w_tgamma.c: Include <errno.h>.
17467 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17468 * math/w_tgammaf.c: Include <errno.h>.
17469 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17470 * math/w_tgammal.c: Include <errno.h>.
17471 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17472 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17473 underflow. Add more tgamma tests.
17474 * math/auto-libm-test-out: Regenerated.
17475 * sysdeps/i386/fpu/libm-test-ulps: Update.
17476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17477
bbf37bdc
JM
17478 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17479 sin, sinh, tan, tanh, tgamma, y0 and y1.
17480 * math/auto-libm-test-out: Regenerated.
17481 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17482 (TEST_COND_x86): Likewise.
17483 (M_E2l): Remove macro.
17484 (M_E3l): Likewise.
17485 (M_2_SQRT_PIl): Likewise.
17486 (M_SQRT_PIl): Likewise.
17487 (M_1_DIV_El): Likewise.
17488 (log_test_data): Use AUTO_TESTS_f_f.
17489 (log10_test_data): Likewise.
17490 (log1p_test_data): Likewise.
17491 (log2_test_data): Likewise.
17492 (sin_test_data): Likewise.
17493 (sin_tonearest_test_data): Likewise.
17494 (sin_towardzero_test_data): Likewise.
17495 (sin_downward_test_data): Likewise.
17496 (sin_upward_test_data): Likewise.
17497 (sinh_test_data): Likewise.
17498 (sinh_tonearest_test_data): Likewise.
17499 (sinh_towardzero_test_data): Likewise.
17500 (sinh_downward_test_data): Likewise.
17501 (sinh_upward_test_data): Likewise.
17502 (tan_test_data): Likewise.
17503 (tan_tonearest_test_data): Likewise.
17504 (tan_towardzero_test_data): Likewise.
17505 (tan_downward_test_data): Likewise.
17506 (tan_upward_test_data): Likewise.
17507 (tanh_test_data): Likewise.
17508 (tgamma_test_data): Likewise.
17509 (y0_test_data): Likewise.
17510 (y1_test_data): Likewise.
17511 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17512 (special_real_inputs): Add pi/4.
17513 * sysdeps/i386/fpu/libm-test-ulps: Update.
17514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17515
eb5ad6b9
AZ
175162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17517
17518 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17519 "longjmp_target" static probes.
17520 (__longjmp): Rename to __longjmp_symbol.
17521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17522 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17523 on which longjmp to generate.
17524 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17525 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17526 probe.
17527 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17528 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17529 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17530 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17531 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17532 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17534 __longjmp_symbol based on which __longjmp to generate.
17535 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17536 probe.
17537 (setjmp): Rename to setjmp_symbol.
17538 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17539 (_setjmp): Rename to _setjmp_symbol.
17540 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17541 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17542 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17543 which setjmp to generate.
17544 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17545 "longjmp_target" static probes.
17546
d136c6dc
SP
175472013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17548
9298ecba
SP
17549 * benchtests/README: Add note about output arguments.
17550 * benchtests/bench-sincos.c: Remove file.
17551 * benchtests/sincos-inputs: New file.
17552 * scripts/bench.pl: Identify output arguments and define
17553 static variables for them.
17554
232983e9
SP
17555 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17556
d136c6dc
SP
17557 [BZ #15941]
17558 * Makefile (INSTALL): Add install-plain.texi as the primary
17559 dependency.
17560 * manual/install-plain.texi: New file.
17561 * manual/install.texi: Include node directive only for
17562 non-plaintext output.
17563
699ff837
JM
175642013-12-04 Joseph Myers <joseph@codesourcery.com>
17565
ab07cea8
JM
17566 * stdlib/longlong.h: Update from GCC.
17567
699ff837
JM
17568 [BZ #6807]
17569 [BZ #15901]
17570 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17571 * math/w_j0f.c (y0f): Likewise.
17572 * math/w_j0l.c (__y0l): Likewise.
17573 * math/w_j1.c (y1): Likewise.
17574 * math/w_j1f.c (y1f): Likewise.
17575 * math/w_j1l.c (__y1l): Likewise
17576 * math/w_jn.c (yn): Likewise.
17577 * math/w_jnf.c (ynf): Likewise.
17578 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17579 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17580 value for Bessel function domain errors outside _SVID_ mode.
17581 Adjust sign of return value for yn (negative integer, 0).
17582 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17583 by zero in return for negative x and set sign appropriately for
17584 negative n.
17585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17586 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17587 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17588 expectations in error cases.
17589 (y1_test_data): Likewise.
17590 (yn_test_data): Likewise.
17591 * sysdeps/i386/fpu/libm-test-ulps: Update.
17592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17593
5b118558
UW
175942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17595
17596 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17597 "64" to "64-v1". Add "64-v2".
17598 (abi-64-options): Rename to ...
17599 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17600 (abi-64-condition): Rename to ...
17601 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17602 (abi-64-ld-soname): Rename to ...
17603 (abi-64-v1-ld-soname): ... this.
17604 (abi-64-v2-options): Define.
17605 (abi-64-v2-condition): Likewise.
17606 (abi-64-v2-ld-soname): Likewise.
17607 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17608 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17612
61cd8fe4
UW
176132013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17614 Alan Modra <amodra@gmail.com>
17615
17616 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17617 New versions for use with the ELFv2 ABI.
17618 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17619 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17620 declaration.
17621 (struct La_ppc64v2_retval): Likewise.
17622 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17623 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17624 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17625 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17626 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17627 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17628 Do not save or restore CR.
17629 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17630 (_dl_profile_resolve): Do no save or restore CR. Support extended
17631 return values for ELFv2 ABI. Fix location of FPR return registers.
17632 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17633 updated values for _CALL_ELF == 2.
17634 (La_regs, La_retval, int_retval): Likewise.
17635
8b8a692c
UW
176362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17637
17638 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17639 (FRAME_MIN_SIZE_PARM): Likewise.
17640 (FRAME_BACKCHAIN): Likewise.
17641 (FRAME_CR_SAVE): Likewise.
17642 (FRAME_LR_SAVE): Likewise.
17643 (FRAME_TOC_SAVE): Likewise.
17644 (FRAME_PARM_SAVE): Likewise.
17645 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17646 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17647 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17648 (call_mcount_parm_offset): New macro.
17649 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17650 (PROF): Use symbolic stack frame offsets.
17651 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17652 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17653 Redefine in terms of FRAME_MIN_SIZE.
17654 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17655 (_dl_profile_resolve): Likewise. Update comment.
17656 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17657 symbols stack frame offsets.
17658 (__sigsetjmp): Likewise.
17659 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17660 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17661 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17662 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17663
17664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17665 (FRAME_BACKCHAIN): Remove.
17666 (FRAME_CR_SAVE): Likewise.
17667 (FRAME_LR_SAVE): Likewise.
17668 (FRAME_COMPILER_DW): Likewise.
17669 (FRAME_LINKER_DW): Likewise.
17670 (FRAME_TOC_SAVE): Likewise.
17671 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17672 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17673 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17674 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17676 (CHECK_SP): Use symbolic stack frame offsets.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17678 zone" instead of caller's parameter save area for temp storage.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17680 Likewise. Also, use symbolic stack frame offsets.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17682 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17683 our own stack frame instead of the caller's.
17684 (__socket): Use symbolic stack frame offsets.
17685
122b66de
UW
176862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17687 Alan Modra <amodra@gmail.com>
17688
17689 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17690 Define.
57f41c40
AS
17691 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17692 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17693 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17694 New function.
17695 (elf_machine_fixup_plt): Call it.
17696 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17697 reloc arguments.
17698 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17699 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17700 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17701 r2 before calling target.
17702
696caf1d
UW
177032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17704 Alan Modra <amodra@gmail.com>
17705
17706 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17707 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17708 versions of macros to support ELFv2 ABI.
17709 (LOCALENTRY): New macro.
17710 (ENTRY, EALIGN): Use it.
17711 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17712 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17713 fall through into ENTRY entry point.
17714 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17715 Only define if _CALL_ELF != 2.
17716
17717 (elf_machine_matches_host): Verify ABI version matches.
17718 (RTLD_START): Use LOCALENTRY.
17719 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17720 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17721 (PLT_ENTRY_WORDS): New macro.
17722 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17723 (elf_machine_runtime_setup): Support ELFv2 ABI.
17724 (elf_machine_fixup_plt): Likewise.
17725 (elf_machine_plt_conflict): Likewise.
17726 (resolve_ifunc): Likewise.
17727 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17729 Likewise.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17731 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17733 (makecontext): Support ELFv2 ABI.
17734 * elf/elf.h (EF_PPC64_ABI): Define.
17735
d31beafa
UW
177362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17737
57f41c40
AS
17738 * sysdeps/powerpc/powerpc64/sysdep.h
17739 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17740 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17741 (ENTRY) [ASSEMBLER]: ... but instead here ...
17742 (EALIGN) [ASSEMBLER]: ... and here.
17743 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17744 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17745 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17746 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17747 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
17748 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17749 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
17750 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17752 Use PPC64_LOAD_FUNCPTR.
17753
b525166b
UW
17754 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17755
7ec07d9a
AM
177562013-12-04 Alan Modra <amodra@gmail.com>
17757
17758 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17759 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17760 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17761 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17762
17763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17764 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17765 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17766 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17767 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17768 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17769
5162e7dd
UW
177702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17771
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17773 (__makecontext): Fix incorrect CFI when backtracing out of
17774 context created via makecontext.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17776 (__setcontext): Fix incorrect CFI during switch to new context.
17777 (__novec_setcontext): Likewise.
17778
19e3372b
OB
177792013-12-04 Ondřej Bílka <neleai@seznam.cz>
17780
17781 [BZ #4772]
17782 * time/strptime_l.c (__strptime_internal): Allow modifiers
17783 in strptime.
17784 * time/tst-strptime.c (day_tests): Add testcase.
17785
ecaf142d
SP
177862013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17787
17788 * scripts/bench.pl: Skip over blank lines.
17789
fbf964ae
PE
177902013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17791
17792 [BZ #926]
17793 * manual/time.texi (Calendar Time): Clarify what timezone functions
17794 use.
17795
fa60a674
AZ
177962013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17797
17798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17799
d674f0ef
OB
178002013-12-04 Ondřej Bílka <neleai@seznam.cz>
17801
17802 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17803 implementation.
17804 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17805 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17806 * debug/memset_chk.c (__memset_chk): Likewise.
17807 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17808 * debug/strncpy_chk.c: Likewise.
17809
17dea188
JM
178102013-12-03 Joseph Myers <joseph@codesourcery.com>
17811
749008ff
JM
17812 [BZ #15268]
17813 [BZ #15425]
17814 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17815 (__ieee754_exp): For possibly underflowing results, check size of
17816 result and force underflow exception if required.
17817 * math/auto-libm-test-in: Add more tests of exp.
17818 * math/auto-libm-test-out: Regenerated.
17819 * sysdeps/i386/fpu/libm-test-ulps: Update.
17820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17821
17dea188
JM
17822 [BZ #16283]
17823 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17824 * math/w_exp2f.c (__exp2f): Likewise.
17825 * math/w_exp2l.c (__exp2l): Likewise.
17826 * math/auto-libm-test-in: Do not allow missing errno on exp2
17827 underflow.
17828 * math/auto-libm-test-out: Regenerated.
17829
b20de2c3
OB
178302013-12-03 Ondřej Bílka <neleai@seznam.cz>
17831
17832 [BZ #16274]
17833 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17834 handle filename validation.
17835 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17836 (do_open): Delete.
17837
d8e2dbe3
JM
178382013-12-03 Joseph Myers <joseph@codesourcery.com>
17839
34e16df5
JM
17840 [BZ #6786]
17841 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17842 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17843 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17844 <float.h>.
17845 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17846 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17847 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17849 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17851 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17852 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17853 Add more erfc tests.
17854 * math/auto-libm-test-out: Regenerated.
17855 * sysdeps/i386/fpu/libm-test-ulps: Update.
17856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17857
d8e2dbe3
JM
17858 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17859 exp2, expm1, j0 and j1.
17860 * math/auto-libm-test-out: Regenerated.
17861 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17862 (erfc_test_data): Likewise.
17863 (exp_test_data): Likewise.
17864 (exp_tonearest_test_data): Likewise.
17865 (exp_towardzero_test_data): Likewise.
17866 (exp_downward_test_data): Likewise.
17867 (exp_upward_test_data): Likewise.
17868 (exp10_test_data): Likewise.
17869 (exp2_test_data): Likewise.
17870 (expm1_test_data): Likewise.
17871 (j0_test_data): Likewise.
17872 (j1_test_data): Likewise.
17873 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17874 (input_flag_type): Add flag_xfail_rounding.
17875 (input_flags): Add xfail-rounding.
17876 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17877 (output_for_one_input_case): Handle flag_xfail_rounding.
17878 * sysdeps/i386/fpu/libm-test-ulps: Update.
17879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17880
18d14251
AJ
178812013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17882
3d2e6075 17883 [BZ #16289]
18d14251
AJ
17884 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17885 division by 0.
17886
520d437b
SP
178872013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17888
17889 [BZ #16195]
17890 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17891 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17892 (STAP_PROBE0): New macro.
17893 (STAP_PROBE1): Likewise.
17894 (STAP_PROBE2): Likewise.
17895 (STAP_PROBE3): Likewise.
17896 (STAP_PROBE4): Likewise.
17897
416e0145
OB
178982013-12-02 Ondřej Bílka <neleai@seznam.cz>
17899
17900 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17901
9d17796a
SE
179022013-12-02 Steve Ellcey <sellcey@mips.com>
17903
17904 * benchtests/Makefile (bench): Add sqrt.
17905 (LDLIBS-bench-sqrt): New.
17906 * benchtests/sqrt-input: New.
17907
f524d6a8
PS
179082013-12-02 Pavel Simerda <psimerda@redhat.com>
17909
639a0ef8
PS
17910 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17911 (GAIH_EAI): Likewise.
17912 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17913 (gaih_inet): Likewise.
17914 (getaddrinfo): Don't use GAIH_EAI.
17915
f524d6a8
PS
17916 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17917 (struct gaih): Remove definition.
17918
df3aedaf
SP
179192013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17920
17921 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17922 Use HERRNOP directly.
17923
1ab19dec
AZ
179242013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17925
b42ad38d 17926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17927
176b0c79
JM
179282013-11-30 Joseph Myers <joseph@codesourcery.com>
17929
17930 * math/gen-auto-libm-tests.c (test_functions): Add more
17931 single-argument functions.
17932 (special_fill_pi_2): New function.
17933 (special_fill_minus_pi_2): Likewise.
17934 (special_fill_pi_6): Likewise.
17935 (special_fill_minus_pi_6): Likewise.
17936 (special_fill_pi_3): Likewise.
17937 (special_fill_2pi_3): Likewise.
17938 (special_fill_e): Likewise.
17939 (special_fill_1_e): Likewise.
17940 (special_fill_e_minus_1): Likewise.
17941 (special_real_inputs): Add more special inputs.
17942 (output_for_one_input_case): Do not require ERANGE on underflow to
17943 zero if round-to-nearest result does not underflow to zero, unless
17944 exact results required.
17945 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17946 atan, atanh, cbrt, cos and cosh.
17947 * math/auto-libm-test-out: Regenerated.
17948 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17949 (acos_tonearest_test_data): Likewise.
17950 (acos_towardzero_test_data): Likewise.
17951 (acos_downward_test_data): Likewise.
17952 (acos_upward_test_data): Likewise.
17953 (acosh_test_data): Likewise.
17954 (asin_test_data): Likewise.
17955 (asin_tonearest_test_data): Likewise.
17956 (asin_towardzero_test_data): Likewise.
17957 (asin_upward_test_data): Likewise.
17958 (asinh_test_data): Likewise.
17959 (atan_test_data): Likewise.
17960 (atanh_test_data): Likewise.
17961 (cbrt_test_data): Likewise.
17962 (cos_test_data): Likewise.
17963 (cos_tonearest_test_data): Likewise.
17964 (cos_towardzero_test_data): Likewise.
17965 (cos_downward_test_data): Likewise.
17966 (cos_upward_test_data): Likewise.
17967 (cosh_test_data): Likewise.
17968 (cosh_tonearest_test_data): Likewise.
17969 (cosh_towardzero_test_data): Likewise.
17970 (cosh_downward_test_data): Likewise.
17971 (cosh_upward_test_data): Likewise.
17972 * sysdeps/i386/fpu/libm-test-ulps: Update.
17973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17974
ffb536d0
JM
179752013-11-29 Joseph Myers <joseph@codesourcery.com>
17976
2a77a467
JM
17977 [BZ #6787]
17978 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17979 * math/w_exp10f.c (__exp10f): Likewise.
17980 * math/w_exp10l.c (__exp10l): Likewise.
17981 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17982 errno settings in existing tests.
17983
ea3bc4e8
JM
17984 [BZ #14032]
17985 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17986 precision control set to double precision.
17987 * sysdeps/i386/fpu/w_sqrt.c: New file.
17988 * math/auto-libm-test-in: Add more tests.
17989 * math/auto-libm-test-out: Update.
17990
0712c9d8
JM
17991 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17992 (sqrt_test_tonearest): New function.
17993 (sqrt_towardzero_test_data): New variable.
17994 (sqrt_test_towardzero): New function.
17995 (sqrt_downward_test_data): New variable.
17996 (sqrt_test_downward): New function.
17997 (sqrt_upward_test_data): New variable.
17998 (sqrt_test_upward): New function.
17999 (main): Call the new functions.
18000
ffb536d0
JM
18001 * math/gen-auto-libm-tests.c: New file.
18002 * math/auto-libm-test-in: Likewise.
18003 * math/auto-libm-test-out: New generated file.
18004 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18005 variables.
18006 (%beautify): Add generated representations of zero.
18007 (top level): Set $auto_input and call parse_auto_input.
18008 (beautify): Remove trailing "f" from hex float constants.
18009 (parse_args): Handle XFAIL_TEST.
18010 (convert_condition): New function.
18011 (or_value): Likewise.
18012 (or_cond_value): Likewise.
18013 (generate_testfile): Handle AUTO_TESTS_* lines.
18014 (parse_auto_input): New function.
18015 * math/libm-test.inc (XFAIL_TEST): New macro.
18016 (ERRNO_UNCHANGED): Update value.
18017 (ERRNO_EDOM): Likewise.
18018 (ERRNO_ERANGE): Likewise.
18019 (IGNORE_RESULT): Likewise.
18020 (TEST_COND_flt_32): New macro.
18021 (TEST_COND_dbl_64): Likewise.
18022 (TEST_COND_ldbl_96_intel): Likewise.
18023 (TEST_COND_ldbl_96_m68k): Likewise.
18024 (TEST_COND_ldbl_128): Likewise.
18025 (TEST_COND_ldbl_128ibm): Likewise.
18026 (TEST_COND_long32): Likewise.
18027 (TEST_COND_long64): Likewise.
18028 (TEST_COND_before_rounding): Likewise.
18029 (TEST_COND_after_rounding): Likewise.
18030 (enable_test): Handle XFAIL_TEST flag.
18031 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18032 with finite results.
18033 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18034 auto-libm-test-out.
18035
acd98a8e
AK
180362013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18037 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18038
18039 [BZ #16214]
18040 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18041 __tls_get_addr_internal instead of __tls_get_offset in order to
18042 avoid GOT pointer dependency. Make rtld export
18043 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18044 __tls_get_addr since we are a __tls_get_offset platform.
18045 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18046 GOT pointer being set up before.
18047 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18048
3c1c46a6
JM
180492013-11-28 Joseph Myers <joseph@codesourcery.com>
18050
7475aef5
JM
18051 * manual/math.texi (Errors in Math Functions): Document accuracy
18052 goals.
18053
8bca7cd8
JM
18054 [BZ #15004]
18055 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18056 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18070 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18071
91a1f3fe
JM
18072 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18073 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18074 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18075 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18076 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18077 Likewise.
18078 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18079 Likewise.
18080 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18081 Likewise.
18082 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18083 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18084 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18085 atomic-feupdateenv and flt-rounds.
18086 * sysdeps/powerpc/nofpu/Versions (libc): Add
18087 __atomic_feholdexcept, __atomic_feclearexcept,
18088 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18089 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18090 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18091 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18092 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18093 here.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18095 Update.
18096
c5df7609
JM
18097 * manual/arith.texi (FP Exceptions): Document that exceptions may
18098 not be raised when matherr is used.
18099 (Math Error Reporting): Document overflow in directed rounding
18100 modes. Document that errno may not be set when finite values are
18101 returned on overflow. Document intent to set errno on underflow
18102 only for underflow to zero.
18103
3c1c46a6
JM
18104 [BZ #16271]
18105 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18106 round-to-nearest then adjust result for other rounding modes.
18107 * include/fenv.h (fegetround): Use libm_hidden_proto.
18108 * math/fegetround.c (fegetround): Use libm_hidden_def.
18109 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18110 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18111 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18112 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18113 Likewise.
18114 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18115 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18116 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18117 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18118
5a4c6d53
SP
181192013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18120
18121 [BZ #16077]
18122 * nss/Versions (libnss_files): Add
18123 _nss_files_gethostbyname3_r.
18124 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18125 New function.
18126 (HOST_DB_LOOKUP): Remove macro.
18127 (_nss_files_gethostbyname_r): Implement function without the
18128 HOST_DB_LOOKUP macro.
18129 (_nss_files_gethostbyname2_r): Likewise.
18130
897b98ba
OB
181312013-11-28 Ondřej Bílka <neleai@seznam.cz>
18132
18133 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18134
6f476861
UB
181352013-11-26 Uros Bizjak <ubizjak@gmail.com>
18136
18137 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18138 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18139 warning.
18140
bd12ab55
AZ
181412013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18142
18143 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18144 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18145 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18146 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18147 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18148 __fe_nomask_env_priv and attribute_hidden.
18149 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18150 (libc_feupdateenv_test_ppc): Likewise.
18151 (libc_feresetround_ppc): Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18153 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18154 compat_symbol macro.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18156 (__fe_nomask_env): Likewise.
18157 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18158
52bb6543
OB
181592013-11-26 Ondřej Bílka <neleai@seznam.cz>
18160
18161 * string/Makefile: Remove ifunc tests.
18162 * string/test-string.h: Define TEST_IFUNC.
18163 * string/test-bcopy-ifunc.c: Remove.
18164 * string/test-bzero-ifunc.c: Likewise.
18165 * string/test-memccpy-ifunc.c: Likewise.
18166 * string/test-memchr-ifunc.c: Likewise.
18167 * string/test-memcmp-ifunc.c: Likewise.
18168 * string/test-memcpy-ifunc.c: Likewise.
18169 * string/test-memmem-ifunc.c: Likewise.
18170 * string/test-memmove-ifunc.c: Likewise.
18171 * string/test-mempcpy-ifunc.c: Likewise.
18172 * string/test-memrchr-ifunc.c: Likewise.
18173 * string/test-memset-ifunc.c: Likewise.
18174 * string/test-rawmemchr-ifunc.c: Likewise.
18175 * string/test-stpcpy-ifunc.c: Likewise.
18176 * string/test-stpncpy-ifunc.c: Likewise.
18177 * string/test-strcasecmp-ifunc.c: Likewise.
18178 * string/test-strcasestr-ifunc.c: Likewise.
18179 * string/test-strcat-ifunc.c: Likewise.
18180 * string/test-strchr-ifunc.c: Likewise.
18181 * string/test-strchrnul-ifunc.c: Likewise.
18182 * string/test-strcmp-ifunc.c: Likewise.
18183 * string/test-strcpy-ifunc.c: Likewise.
18184 * string/test-strcspn-ifunc.c: Likewise.
18185 * string/test-strlen-ifunc.c: Likewise.
18186 * string/test-strncasecmp-ifunc.c: Likewise.
18187 * string/test-strncat-ifunc.c: Likewise.
18188 * string/test-strncmp-ifunc.c: Likewise.
18189 * string/test-strncpy-ifunc.c: Likewise.
18190 * string/test-strnlen-ifunc.c: Likewise.
18191 * string/test-strpbrk-ifunc.c: Likewise.
18192 * string/test-strrchr-ifunc.c: Likewise.
18193 * string/test-strspn-ifunc.c: Likewise.
18194 * string/test-strstr-ifunc.c: Likewise.
18195
ab260039 181962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18197
18198 * benchtests/Makefile: Remove ifunc tests.
18199 * benchtests/bench-string.h: Define TEST_IFUNC.
18200 * benchtests/bench-bcopy-ifunc.c: Remove.
18201 * benchtests/bench-bzero-ifunc.c: Likewise.
18202 * benchtests/bench-memccpy-ifunc.c: Likewise.
18203 * benchtests/bench-memchr-ifunc.c: Likewise.
18204 * benchtests/bench-memcmp-ifunc.c: Likewise.
18205 * benchtests/bench-memcpy-ifunc.c: Likewise.
18206 * benchtests/bench-memmem-ifunc.c: Likewise.
18207 * benchtests/bench-memmove-ifunc.c: Likewise.
18208 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18209 * benchtests/bench-memrchr-ifunc.c: Likewise.
18210 * benchtests/bench-memset-ifunc.c: Likewise.
18211 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18212 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18213 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18214 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18215 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18216 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18217 * benchtests/bench-strcat-ifunc.c: Likewise.
18218 * benchtests/bench-strchr-ifunc.c: Likewise.
18219 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18220 * benchtests/bench-strcmp-ifunc.c: Likewise.
18221 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18222 * benchtests/bench-strcpy-ifunc.c: Likewise.
18223 * benchtests/bench-strcspn-ifunc.c: Likewise.
18224 * benchtests/bench-strlen-ifunc.c: Likewise.
18225 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18226 * benchtests/bench-strncat-ifunc.c: Likewise.
18227 * benchtests/bench-strncmp-ifunc.c: Likewise.
18228 * benchtests/bench-strncpy-ifunc.c: Likewise.
18229 * benchtests/bench-strnlen-ifunc.c: Likewise.
18230 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18231 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18232 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18233 * benchtests/bench-strspn-ifunc.c: Likewise.
18234 * benchtests/bench-strstr-ifunc.c: Likewise.
18235
182362013-11-26 Ondřej Bílka <neleai@seznam.cz>
18237
ab260039
OB
18238 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18239
d1d9eaf4 182402013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18241
d1d9eaf4
OB
18242 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18243 * rt/aio.h: Likewise.
18244 * sysdeps/gnu/bits/utmp.h: Likewise.
18245 * sysdeps/gnu/bits/utmpx.h: Likewise.
18246 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18247 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18248 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18249 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18250 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18251 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18252 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18253 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18254 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18255 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18256 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18257 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18258 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18261 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18262 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18263 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18264 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18265 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18266 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18267 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18268 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18269 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18270 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18272 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18273 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18274 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18275 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18276 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18277 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18278 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18279 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18280 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18281 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18282 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18283 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18284 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18285 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18286 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18287 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18288
a7624ed9
CD
182892013-11-25 Carlos O'Donell <carlos@redhat.com>
18290
18291 [BZ #16245]
18292 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18293 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18294
63cfe52b
JM
182952013-11-25 Joseph Myers <joseph@codesourcery.com>
18296
18297 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18298 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18299 Likewise.
18300
41e8926a
AZ
183012013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18302
18303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18304 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18305 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18306 (__fesetround): Remove define.
18307 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18308 rounding and exceptions handling.
18309 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18310 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18311 (__fe_nomask_env): Likewise.
18312 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18313 __fegetround instead of fegetround.
18314 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18316
6851bd4d
RM
183172013-11-21 Roland McGrath <roland@hack.frob.com>
18318
070906ff
RM
18319 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18320 it's there.
18321
6851bd4d
RM
18322 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18323
84ae135d
MI
183242013-11-21 Meador Inge <meadori@codesourcery.com>
18325
18326 [BZ #11157]
18327 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18328 (encrypt_r): Likewise.
18329 * malloc/obstack.h (obstack_free): Likewise.
18330 * posix/unistd.h (encrypt): Likewise.
18331
daf75146
GM
183322013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18333
18334 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18335 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18336 DL_CALL_DT_FINI() that call the functions directly.
18337 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18338 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18339 * elf/dl-fini.c: Likewise.
18340
10ad46bc
OB
183412013-11-20 Ondřej Bílka <neleai@seznam.cz>
18342
18343 * malloc/hooks.c (memalign_check): Add alignment rounding.
18344 * malloc/malloc.c (_mid_memalign): New function.
18345 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18346 Implement by calling _mid_memalign.
18347 * manual/probes.texi (Memory Allocation Probes): Remove
18348 memory_valloc_retry and memory_pvalloc_retry.
18349
f3fd2628
SP
183502013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18351
4712799f
SP
18352 * locale/programs/locarchive.c (open_archive): Add const
18353 qualifier to ARCHIVEFNAME and copy default fname to
18354 DEFAULT_FNAME.
18355
0417b20f
SP
18356 [BZ #15601]
18357 * libio/tst-widetext.input: Rename Oriya to Odia.
18358 * locale/iso-639.def: Likewise.
18359
f3fd2628
SP
18360 * manual/probes.texi (Mathematical Function Probes): Add
18361 documentation for sin, cos, asin and acos probes.
18362 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18363 (__sin32): Add slowasin probe.
18364 (__cos32): Add slowacos probe.
18365 (__mpsin): Add slowsin probe.
18366 (__mpcos): Add slowcos probe.
18367
73c1ce4f
JM
183682013-11-19 Joseph Myers <joseph@codesourcery.com>
18369
18370 [BZ #15483]
18371 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18372 thread-local __sim_exceptions_thread and global
18373 __sim_exceptions_global.
18374 (__sim_disabled_exceptions): Change to thread-local
18375 __sim_disabled_exceptions_thread and global
18376 __sim_disabled_exceptions_global.
18377 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18378 and global __sim_round_mode_global.
18379 (__simulate_exceptions): Use thread-local floating-point state and
18380 set global state from it as needed.
18381 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18382 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18383 __sim_round_mode_thread.
18384 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18385 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18386 and global __sim_exceptions_global.
18387 (__sim_disabled_exceptions): Change to thread-local
18388 __sim_disabled_exceptions_thread and global
18389 __sim_disabled_exceptions_global.
18390 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18391 and global __sim_round_mode_global.
18392 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18393 (SIM_SET_GLOBAL): Likewise.
18394 * sysdeps/powerpc/soft-fp/sfp-machine.h
18395 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18396 __sim_round_mode_thread.
18397 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18398 __sim_disabled_exceptions_thread.
18399 (__sim_exceptions): Change to __sim_exceptions_thread.
18400 (__sim_disabled_exceptions): Change to
18401 __sim_disabled_exceptions_thread.
18402 (__sim_round_mode): Change to __sim_round_mode_thread.
18403 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18404 thread-local floating-point state and set global state from it as
18405 needed.
18406 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18407 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18408 (__sim_disabled_exceptions): Remove extern declaration.
18409 (feenableexcept): Use thread-local floating-point state and set
18410 global state from it as needed.
18411 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18412 extern declaration.
18413 (__sim_disabled_exceptions): Likewise.
18414 (__sim_round_mode): Likewise.
18415 (__fegetenv): Use thread-local floating-point state.
18416 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18417 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18418 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18419 floating-point state and set global state from it as needed.
18420 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18421 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18422 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18423 Likewise.
18424 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18425 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18426 Likewise.
18427 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18428 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18429 Use __sim_round_mode_thread.
18430 * math/test-fenv-tls.c: New file.
18431 * math/Makefile (tests): Add test-fenv-tls.
18432 ($(objpfx)test-fenv-tls): Depend on
18433 $(common-objpfx)nptl/libpthread.so.
18434
b5449b12
AS
184352013-11-19 Andreas Schwab <schwab@suse.de>
18436
18437 * locale/programs/locale.c (show_info): Decode wordarray elements.
18438 * locale/categories.def (LC_MONETARY): Add element for
18439 _NL_MONETARY_CRNCYSTR.
18440 * locale/C-monetary.c (conversion_rate): New variable.
18441 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18442 element.
18443
e186536b
CM
184442013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18445
18446 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18447 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18448
5c349950
PP
184492013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18450
18451 * elf/Makefile (tst-auxv): New test.
18452 * elf/tst-auxv.c: New
18453 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18454
699df45b
JM
184552013-11-18 Joseph Myers <joseph@codesourcery.com>
18456
18457 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18458 (hidden_proto): Caller changed.
18459 (hidden_tls_proto): New macro.
18460 (libc_hidden_tls_proto): Likewise.
18461 (rtld_hidden_tls_proto): Likewise.
18462 (libm_hidden_tls_proto): Likewise.
18463 (libresolv_hidden_tls_proto): Likewise.
18464 (librt_hidden_tls_proto): Likewise.
18465 (libdl_hidden_tls_proto): Likewise.
18466 (libnss_files_hidden_tls_proto): Likewise.
18467 (libnsl_hidden_tls_proto): Likewise.
18468 (libnss_nisplus_hidden_tls_proto): Likewise.
18469 (libutil_hidden_tls_proto): Likewise.
18470
b7589107
OB
184712013-11-18 Ondřej Bílka <neleai@seznam.cz>
18472
18473 [BZ #10253]
18474 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18475 (decompose_rpath): Defer expansion to fillin_rpath.
18476 (_dl_init_paths): Pass linkmap to fillin_rpath.
18477
250c23bd
RS
184782013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18479
18480 * benchtests/Makefile: Add strsep.
18481 * benchtests/bench-strsep.c: New file: strsep benchtest.
18482 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18483
a7931fcf
AS
184842013-11-18 Andreas Schwab <schwab@suse.de>
18485
18486 * locale/programs/locale.c (show_info) [case byte]: Check for
18487 '\377' instead of '\177'.
18488 * locale/C-monetary.c (not_available): Always use "\377".
18489 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18490 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18491 detect unavailable sign_posn locale elements.
18492 * locale/localeconv.c (__localeconv): For grouping and
18493 mon_grouping handle "\177" and "\377" like no grouping.
18494 (INT_ELEM): New macro. Use it to set all numeric members.
18495 * locale/programs/ld-monetary.c (monetary_read)
18496 <tok_mon_grouping>: Normalize single -1 to the empty string.
18497 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18498 Likewise.
18499
728dab0e
OB
185002013-11-07 Ondřej Bílka <neleai@seznam.cz>
18501
18502 [BZ #16055]
18503 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18504 when we match (nil).
18505 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18506
66294491
JM
185072013-11-16 Joseph Myers <joseph@codesourcery.com>
18508
ce665817
JM
18509 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18510 (NO_TEST_INLINE): Update value.
18511 (ERRNO_UNCHANGED): Likewise.
18512 (ERRNO_EDOM): Likewise.
18513 (ERRNO_ERANGE): Likewise.
18514 (IGNORE_RESULT): Likewise.
18515 (check_float_internal): Check signs of NaN results if
18516 TEST_NAN_SIGN used.
18517 (check_complex): Pass TEST_NAN_SIGN flag through to second
18518 check_float_internal call.
18519 (copysign_test_data): Add tests with quiet NaNs as second
18520 argument. Use TEST_NAN_SIGN.
18521 (fabs_test_data): Add test of negative quiet NaN argument. Use
18522 TEST_NAN_SIGN.
18523 (signbit_test_data): Add tests of quiet NaN argument.
18524 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18525
ee1466a9
JM
18526 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18527 $ignore_result.
18528 (parse_args): Handle function results specified as IGNORE.
18529 * math/libm-test.inc (IGNORE_RESULT): New macro.
18530 (check_float_internal): Do not check numerical result if flag
18531 IGNORE_RESULT set.
18532 (check_complex): Pass through IGNORE_RESULT to second
18533 check_float_internal call.
18534 (check_int): Do not check numerical result if flag IGNORE_RESULT
18535 set.
18536 (check_long): Likewise.
18537 (check_bool): Likewise.
18538 (check_longlong): Likewise.
18539 (lrint_test_data): Add tests of infinite and NaN arguments.
18540 (lrint_tonearest_test_data): Likewise.
18541 (lrint_towardzero_test_data): Likewise.
18542 (lrint_downward_test_data): Likewise.
18543 (lrint_upward_test_data): Likewise.
18544 (llrint_test_data): Likewise.
18545 (llrint_tonearest_test_data): Likewise.
18546 (llrint_towardzero_test_data): Likewise.
18547 (llrint_downward_test_data): Likewise.
18548 (llrint_upward_test_data): Likewise.
18549 (lround_test_data): Likewise.
18550 (llround_test_data): Likewise.
18551
14407b7e
JM
18552 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18553 (ERRNO_UNCHANGED): Update value.
18554 (ERRNO_EDOM): Likewise.
18555 (ERRNO_ERANGE): Likewise.
18556 (NO_TEST_INLINE_FLOAT): New macro.
18557 (NO_TEST_INLINE_DOUBLE): Likewise.
18558 (enable_test): New function.
18559 (RUN_TEST_f_f): Check enable_test before running test.
18560 (RUN_TEST_2_f): Likewise.
18561 (RUN_TEST_fff_f): Likewise.
18562 (RUN_TEST_c_f): Likewise.
18563 (RUN_TEST_f_f1): Likewise.
18564 (RUN_TEST_fF_f1): Likewise.
18565 (RUN_TEST_fI_f1): Likewise.
18566 (RUN_TEST_ffI_f1): Likewise.
18567 (RUN_TEST_c_c): Likewise.
18568 (RUN_TEST_cc_c): Likewise.
18569 (RUN_TEST_f_i): Likewise.
18570 (RUN_TEST_f_i_tg): Likewise.
18571 (RUN_TEST_ff_i_tg): Likewise.
18572 (RUN_TEST_f_b): Likewise.
18573 (RUN_TEST_f_b_tg): Likewise.
18574 (RUN_TEST_f_l): Likewise.
18575 (RUN_TEST_f_L): Likewise.
18576 (RUN_TEST_fFF_11): Likewise.
18577 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18578 conditionals.
18579 (cosh_test_data): Likewise.
18580 (exp_test_data): Likewise.
18581 (expm1_test_data): Likewise.
18582 (hypot_test_data): Likewise.
18583 (pow_test_data): Likewise.
18584 (sinh_test_data): Likewise.
18585 (tanh_test_data): Likewise.
18586 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18587 flags argument.
18588
ca07f197
JM
18589 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18590 tests with quiet NaN input and output.
18591 (acosh_test_data): Likewise.
18592 (asin_test_data): Likewise.
18593 (asinh_test_data): Likewise.
18594 (atan_test_data): Likewise.
18595 (atanh_test_data): Likewise.
18596 (atan2_test_data): Likewise.
18597 (cbrt_test_data): Likewise.
18598 (cos_test_data): Likewise.
18599 (cosh_test_data): Likewise.
18600 (erf_test_data): Likewise.
18601 (erfc_test_data): Likewise.
18602 (exp_test_data): Likewise.
18603 (exp10_test_data): Likewise.
18604 (exp2_test_data): Likewise.
18605 (expm1_test_data): Likewise.
18606 (hypot_test_data): Likewise.
18607 (j0_test_data): Likewise.
18608 (j1_test_data): Likewise.
18609 (jn_test_data): Likewise.
18610 (lgamma_test_data): Likewise.
18611 (log_test_data): Likewise.
18612 (log10_test_data): Likewise.
18613 (log1p_test_data): Likewise.
18614 (log2_test_data): Likewise.
18615 (pow_test_data): Likewise.
18616 (scalb_test_data): Likewise.
18617 (sin_test_data): Likewise.
18618 (sincos_test_data): Likewise.
18619 (sinh_test_data): Likewise.
18620 (tan_test_data): Likewise.
18621 (tanh_test_data): Likewise.
18622 (tgamma_test_data): Likewise.
18623 (y0_test_data): Likewise.
18624 (y1_test_data): Likewise.
18625 (yn_test_data): Likewise.
18626
66294491
JM
18627 [BZ #16167]
18628 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18629 argument being NaN and avoid computations with second argument in
18630 that case.
18631 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18632 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18633 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18634
1820b143
CL
186352013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18636
18637 * locale/iso-639.def: Add Chitwani Tharu (the).
18638
714bd261
AS
186392013-11-14 Andreas Schwab <schwab@suse.de>
18640
18641 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18642 word instead of empty string.
18643
7ab44563
AZ
186442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18647 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18649 (__fe_nomask_env): Likewise.
18650
e8470ea2
SE
186512013-11-13 Steve Ellcey <sellcey@mips.com>
18652
18653 * benchtests/bench-timing.h: Include time.h.
18654
17c1d9f0
L
186552013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18656
18657 [BZ #15997]
18658 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18659 to 3.4.0 for x32.
18660 * sysdeps/unix/sysv/linux/configure: Regenerated.
18661
9310c284
JM
186622013-11-13 Joseph Myers <joseph@codesourcery.com>
18663
18664 [BZ #16151]
18665 * stdlib/strtod_l.c (round_and_return): Do not consider
18666 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18667 exponent one less than half the least subnormal exponent.
18668 * stdlib/test-strtod-round-data: Add more tests.
18669 * stdlib/tst-strtod-round.c (tests): Regenerated.
18670
7a2ad8cf
AZ
186712013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18672
18673 [BZ #14143]
18674 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18675 (__fe_mask_env): Likewise.
18676 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18677 libm_hidden_proto and add function prototype.
18678 (__fe_mask_env): Add function prototype.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18680 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18682 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18684 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18685
50727aa7
MS
186862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18687
b2f386c1 18688 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18689 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18690
a615be46
MS
186912013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18692
18693 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18694 of htab_find_slot().
18695
7ddace62
DM
186962013-11-11 David S. Miller <davem@davemloft.net>
18697
18698 [BZ #16150]
18699 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18700 symbol in the non-vis3 case in static builds.
18701 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18702 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18703 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18704 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18705
9182aa67
JK
187062013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18707
18708 [BZ #387]
18709 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18710 it is empty.
18711
450a2e2d
AZ
187122013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18713
b2f386c1
SP
18714 * benchtests/Makefile: Add bench-strtod.
18715 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18716
8ec3f656
AS
187172013-11-11 Andreas Schwab <schwab@suse.de>
18718
18719 [BZ #16153]
18720 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18721 terminating NUL in key length.
18722
76a9b998
AZ
187232013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724
18725 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18726 Add artificial ODP entry for vDSO symbol for PPC64.
18727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18728 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18729
e4368156
OB
187302013-11-07 Ondřej Bílka <neleai@seznam.cz>
18731
18732 [BZ #15374]
18733 * nss/getent.c (services_keys): Recognize services starting with digit.
18734
8d6bb57c
DM
187352013-11-06 David S. Miller <davem@davemloft.net>
18736
18737 [BZ #15985]
18738 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18739 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18740
e256c421
WN
187412013-11-06 Will Newton <will.newton@linaro.org>
18742
18743 * manual/memory.texi (Malloc Examples): Remove register
18744 keyword from examples.
18745
f6e12daa 187462013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18747
f6e12daa 18748 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 18749
9d880655
AS
187502013-11-04 Joseph Myers <joseph@codesourcery.com>
18751
fd2f9486 18752 [BZ #6981]
9d880655
AS
18753 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18754 depending on [__GCC_IEC_559 > 0].
18755 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18756 depending on [__GCC_IEC_559_COMPLEX > 0].
18757
ae129d3c
CL
187582013-11-03 Chris Leonard <cjl@sugarlabs.org>
18759
18760 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18761 to iso-639.def.
18762
4a15c2a4 187632013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
18764
18765 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18766
8b35e35d
OB
187672013-11-01 Ondřej Bílka <neleai@seznam.cz>
18768
18769 [BZ #16112]
18770 * malloc/malloc (malloc_info): Do not handle first bin as
18771 special case.
18772
1d70fd6c
CL
187732013-11-01 Chris Leonard <cjl@sugarlabs.org>
18774
18775 * locale/iso-639.def: Add Central Nahuatl (nhn).
18776
8c5c2600
BH
187772013-11-01 Bruno Haible <bruno@clisp.org>
18778
18779 [BZ #7003]
18780 * manual/math.texi (BSD Random): Specify range upper bound as
18781 in POSIX.
18782
da5579c2
CL
187832013-10-31 Chris Leonard <cjl@sugarlabs.org>
18784
18785 * locale/iso-639.def: Add Meadow Mari (mhr).
18786
5d30d853
OB
187872013-10-31 Ondřej Bílka <neleai@seznam.cz>
18788
18789 [BZ #14752], [BZ #15763]
18790 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18791 Validate name.
18792 * rt/tst_shm.c: Add test for escaping directory.
18793
a4966c61
AS
187942013-10-31 Andreas Schwab <schwab@suse.de>
18795
8a43e768 18796 [BZ #15917]
a4966c61
AS
18797 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18798 followed by 'x' as part of digit sequence.
18799 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18800
28d708c4
MAP
188012013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18802
18803 [BZ #16037]
18804 * configure.ac: allow GNU Make 4.0 and greater.
18805 * configure: Regenerated.
18806
a56ee40b
WN
188072013-10-30 Will Newton <will.newton@linaro.org>
18808
18809 [BZ #16038]
18810 * malloc/hooks.c (memalign_check): Limit alignment to the
18811 maximum representable power of two.
18812 * malloc/malloc.c (__libc_memalign): Likewise.
18813 * malloc/tst-memalign.c (do_test): Add test for very
18814 large alignment values.
18815 * malloc/tst-posix_memalign.c (do_test): Likewise.
18816
c6e4925d
OB
188172013-10-30 Ondřej Bílka <neleai@seznam.cz>
18818
18819 [BZ #11087]
18820 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18821 (munmap_chunk): Likewise.
18822 (mremap_chunk): Likewise.
18823
188242013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 18825
8a43e768 18826 [BZ #15799]
bbea82f7
OB
18827 * stdlib/div.c (div): Remove obsolete code.
18828 * stdlib/ldiv.c (ldiv): Likewise.
18829 * stdlib/lldiv.c (lldiv): Likewise.
18830
977f4b31
SP
188312013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18832
18833 [BZ #16071]
18834 * nss/nss_files/files-XXX.c (get_contents_ret): New
18835 enumerator.
18836 (get_contents): New function.
18837 (internal_getent): Use it. Expand size of LINEBUFLEN.
18838
cb8a6dbd
MF
188392013-10-30 Mike Frysinger <vapier@gentoo.org>
18840
18841 * configure.in: Moved to ...
18842 * configure.ac: ... here. Change reference to configure.in
18843 to configure.ac.
18844 * sysdeps/arm/preconfigure.ac: ... here.
18845 configure.in to configure.ac.
18846 * sysdeps/gnu/configure.in: Moved to ...
18847 * sysdeps/gnu/configure.ac: ... here.
18848 * sysdeps/i386/configure.in: Moved to ...
18849 * sysdeps/i386/configure.ac: ... here.
18850 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18851 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18852 * sysdeps/mach/configure.in: Moved to ...
18853 * sysdeps/mach/configure.ac: ... here.
18854 * sysdeps/mach/hurd/configure.in: Moved to ...
18855 * sysdeps/mach/hurd/configure.ac: ... here.
18856 * sysdeps/powerpc/configure.in: Moved to ...
18857 * sysdeps/powerpc/configure.ac: ... here.
18858 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18859 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18860 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18861 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18862 * sysdeps/s390/s390-32/configure.in: Moved to ...
18863 * sysdeps/s390/s390-32/configure.ac: ... here.
18864 * sysdeps/s390/s390-64/configure.in: Moved to ...
18865 * sysdeps/s390/s390-64/configure.ac: ... here.
18866 * sysdeps/sh/configure.in: Moved to ...
18867 * sysdeps/sh/configure.ac: ... here.
18868 * sysdeps/sparc/configure.in: Moved to ...
18869 * sysdeps/sparc/configure.ac: ... here.
18870 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18871 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18872 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18873 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18874 * sysdeps/x86_64/configure.in: Moved to ...
18875 * sysdeps/x86_64/configure.ac: ... here.
18876 * sysdeps/x86_64/preconfigure.in: Moved to ...
18877 * sysdeps/x86_64/preconfigure.ac: ... here.
18878 * aclocal.m4: Change reference to configure.in to configure.ac.
18879 * config.h.in: Likewise.
18880 * manual/install.texi: Likewise.
18881 * manual/maint.texi: Likewise.
18882 * Makefile: Likewise.
18883 * malloc/Makefile: Likewise.
18884 * nscd/Makefile: Likewise.
18885 * Makeconfig: Change reference to configure.in and
18886 preconfigure.in to configure.ac and preconfigure.ac
18887 respectively.
18888 * INSTALL: Regenerated.
18889 * configure: Likewise.
18890 * sysdeps/gnu/configure: Likewise.
18891 * sysdeps/i386/configure: Likewise.
18892 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18893 * sysdeps/mach/configure: Likewise.
18894 * sysdeps/mach/hurd/configure: Likewise.
18895 * sysdeps/powerpc/configure: Likewise.
18896 * sysdeps/powerpc/powerpc32/configure: Likewise.
18897 * sysdeps/powerpc/powerpc64/configure: Likewise.
18898 * sysdeps/s390/s390-32/configure: Likewise.
18899 * sysdeps/s390/s390-64/configure: Likewise.
18900 * sysdeps/sh/configure: Likewise.
18901 * sysdeps/sparc/configure: Likewise.
18902 * sysdeps/unix/sysv/linux/configure: Likewise.
18903 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18904 * sysdeps/x86_64/configure: Likewise.
18905 * sysdeps/x86_64/preconfigure: Likewise.
18906
36a4953a
AS
189072013-10-29 Andreas Schwab <schwab@suse.de>
18908
18909 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18910
c79a1204
SP
189112013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18912
dfa1b402
SP
18913 * benchtests/pow-inputs: Add new inputs.
18914
54f73d9c
SP
18915 * benchtests/exp-inputs: Add new inputs.
18916
c79a1204
SP
18917 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18918 conditional check for return value.
18919 (__cos32): Likewise.
18920
67beb545 189212013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18922
18923 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18924 to provide a boost for large inputs with word alignment.
18925 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18926 implementation based on optimized PPC64 strcpy.
18927 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18928 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18929 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18930 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18931
151659f6
OB
189322013-10-25 Ondřej Bílka <neleai@seznam.cz>
18933
482a077e 18934 [BZ #2801]
151659f6
OB
18935 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18936
10b0f26b
OB
189372013-10-25 Ondřej Bílka <neleai@seznam.cz>
18938
18939 [BZ #14876]
18940 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18941 * time/tst-strptime.c (day_tests): Add testcase.
18942
ca42d35e
OB
189432013-10-25 Ondřej Bílka <neleai@seznam.cz>
18944
482a077e 18945 [BZ #14029]
ca42d35e
OB
18946 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18947
52e6d801
FB
189482013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18949
18950 [BZ #16074]
18951 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18952 MAP_FAILED on error.
18953
7cbcdb36
SP
189542013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18955
18956 [BZ #16072]
18957 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18958 heap for large requests.
18959
894f3f10
AM
189602013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18961
18962 [BZ #9954]
18963 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18964 result if the result has no associated interface.
18965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18966 interface for all 127.X.Y.Z addresses.
18967
b85545a6
CL
189682013-10-24 Chris Leonard <cjl@sugarlabs.org>
18969
18970 * locale/iso-639.def: Add Ligurian (lij)
18971
d1f23d46
OB
189722013-10-21 Ondřej Bílka <neleai@seznam.cz>
18973
18974 [BZ #15825]
18975 * sunrpc/rpc_main.c: Document rpcgen -5.
18976
4db5b08f
MS
189772013-10-19 Michael Stahl <mstahl@redhat.com>
18978
18979 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18980
a471e96a
OB
189812013-10-19 Ondřej Bílka <neleai@seznam.cz>
18982
d1f23d46 18983 [BZ #10278]
a471e96a
OB
18984 * posix/glob.c: Match only directories when trailing slash is present.
18985 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18986 (main): Add testcase.
18987
45c30c61
OB
189882013-10-19 Ondřej Bílka <neleai@seznam.cz>
18989
18990 [BZ #15670]
18991 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18992
484c12fb
CD
189932013-10-18 Carlos O'Donell <carlos@redhat.com>
18994
3d7dc513
CD
18995 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18996 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18997 AUTH_DES and cindex for FIPS 140-2.
18998 (DES Encryption): Add cindex FIPS 46-3.
18999
484c12fb
CD
19000 * locale/locarchive.h (struct locarhandle): Add fname.
19001 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19002 if an optional argument was specified to --list-archive,
19003 otherwise NULL.
19004 * locale/programs/locarchive.c (show_archive_content): Take new
19005 argument fname and pass it via ah.fname to open_archive.
19006 * locale/programs/localedef.h: Update decl.
19007 (open_archive): If AH->fname is non-null, open that file
19008 rather than the default file name, and don't ignore ENOENT.
19009 (create_archive): Set AH.fname to NULL.
19010 (delete_locales_from_archive): Likewise.
19011 (add_locales_to_archive): Likewise.
19012 * locale/programs/locfile.c (write_all_categories): Likewise.
19013
3c8325fb
JM
190142013-10-18 Joseph Myers <joseph@codesourcery.com>
19015 Aldy Hernandez <aldyh@redhat.com>
19016
19017 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19018 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19019 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19020 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19021 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19022 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19023 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19024 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19025 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19026 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19027 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19028 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19029 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19030 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19031 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19032 Likewise.
19033 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19034 Likewise.
19035 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19036 Likewise.
19037 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19038 Likewise.
19039 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19040 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19041 Likewise.
19042 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19043 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19044 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19045 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19046 Likewise.
19047 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19048 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19049 * sysdeps/powerpc/preconfigure: Likewise.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19051 Likewise.
19052 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19053 Replace contents of file by #include of <fenv_libc.h>.
19054 * sysdeps/powerpc/soft-fp/sfp-machine.h
19055 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19056 and <sys/prctl.h>.
19057 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19058 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19059 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19060 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19061 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19062 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19064 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19066 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19070 Allow copysignl PLT reference to be missing.
19071
5abe0682
RS
190722013-10-18 Richard Sandiford <richard@codesourcery.com>
19073 Joseph Myers <joseph@codesourcery.com
19074
19075 [BZ #15948]
19076 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19077 single character.
19078 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19079
c7738d08
SP
190802013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19081
19082 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19083 * elf/tst-tls1.c: Likewise.
19084 * elf/tst-tls10.h: Likewise.
19085 * elf/tst-tls14.c: Likewise.
19086 * elf/tst-tls2.c: Likewise.
19087 * elf/tst-tls3.c: Likewise.
19088 * elf/tst-tls4.c: Likewise.
19089 * elf/tst-tls5.c: Likewise.
19090 * elf/tst-tls6.c: Likewise.
19091 * elf/tst-tls7.c: Likewise.
19092 * elf/tst-tls8.c: Likewise.
19093 * elf/tst-tls9.c: Likewise.
19094 * elf/tst-tlsmod1.c: Likewise.
19095 * elf/tst-tlsmod13.c: Likewise.
19096 * elf/tst-tlsmod13a.c: Likewise.
19097 * elf/tst-tlsmod14a.c: Likewise.
19098 * elf/tst-tlsmod16a.c: Likewise.
19099 * elf/tst-tlsmod16b.c: Likewise.
19100 * elf/tst-tlsmod2.c: Likewise.
19101 * elf/tst-tlsmod3.c: Likewise.
19102 * elf/tst-tlsmod4.c: Likewise.
19103 * elf/tst-tlsmod5.c: Likewise.
19104 * elf/tst-tlsmod6.c: Likewise.
19105
0bfcf2c7
OB
191062013-10-18 Ondřej Bílka <neleai@seznam.cz>
19107
19108 [BZ #12486]
19109 * malloc/malloc.c: remove checks for statistics.
19110
264aad1e
OB
191112013-10-17 Ondřej Bílka <neleai@seznam.cz>
19112
19113 [BZ #15277]
19114 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19115 * inet/tst-network.c: Add testcase.
19116
b957ced8
AS
191172013-10-17 Andreas Schwab <schwab@suse.de>
19118
19119 [BZ #15218]
19120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19121 to determine canonical name.
19122
c5d5d574
OB
191232013-10-17 Ondřej Bílka <neleai@seznam.cz>
19124
19125 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19126 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19128 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19130 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19132 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19133 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19134 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19135 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19137 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19138 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19139 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19140 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19142 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19143 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19144 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19145 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19147 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19148 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19149 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19150 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19151 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19152 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19153 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19154 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19155 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19157 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19158 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19183
e5c2c2d0
JM
191842013-10-17 Joseph Myers <joseph@codesourcery.com>
19185
19186 [BZ #16041]
19187 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19188 make result into a quiet NaN.
19189
51ca9e29
JM
191902013-10-16 Joseph Myers <joseph@codesourcery.com>
19191
19192 * soft-fp/adddf3.c: Fix horizontal whitespace.
19193 * soft-fp/addsf3.c: Likewise.
19194 * soft-fp/addtf3.c: Likewise.
19195 * soft-fp/divdf3.c: Likewise.
19196 * soft-fp/divsf3.c: Likewise.
19197 * soft-fp/divtf3.c: Likewise.
19198 * soft-fp/double.h: Likewise.
19199 * soft-fp/eqdf2.c: Likewise.
19200 * soft-fp/eqsf2.c: Likewise.
19201 * soft-fp/eqtf2.c: Likewise.
19202 * soft-fp/extenddftf2.c: Likewise.
19203 * soft-fp/extended.h: Likewise.
19204 * soft-fp/extendsfdf2.c: Likewise.
19205 * soft-fp/extendsftf2.c: Likewise.
19206 * soft-fp/extendxftf2.c: Likewise.
19207 * soft-fp/fixdfdi.c: Likewise.
19208 * soft-fp/fixdfsi.c: Likewise.
19209 * soft-fp/fixdfti.c: Likewise.
19210 * soft-fp/fixsfdi.c: Likewise.
19211 * soft-fp/fixsfsi.c: Likewise.
19212 * soft-fp/fixsfti.c: Likewise.
19213 * soft-fp/fixtfdi.c: Likewise.
19214 * soft-fp/fixtfsi.c: Likewise.
19215 * soft-fp/fixtfti.c: Likewise.
19216 * soft-fp/fixunsdfdi.c: Likewise.
19217 * soft-fp/fixunsdfsi.c: Likewise.
19218 * soft-fp/fixunsdfti.c: Likewise.
19219 * soft-fp/fixunssfdi.c: Likewise.
19220 * soft-fp/fixunssfsi.c: Likewise.
19221 * soft-fp/fixunssfti.c: Likewise.
19222 * soft-fp/fixunstfdi.c: Likewise.
19223 * soft-fp/fixunstfsi.c: Likewise.
19224 * soft-fp/fixunstfti.c: Likewise.
19225 * soft-fp/floatdidf.c: Likewise.
19226 * soft-fp/floatdisf.c: Likewise.
19227 * soft-fp/floatditf.c: Likewise.
19228 * soft-fp/floatsidf.c: Likewise.
19229 * soft-fp/floatsisf.c: Likewise.
19230 * soft-fp/floatsitf.c: Likewise.
19231 * soft-fp/floattidf.c: Likewise.
19232 * soft-fp/floattisf.c: Likewise.
19233 * soft-fp/floattitf.c: Likewise.
19234 * soft-fp/floatundidf.c: Likewise.
19235 * soft-fp/floatundisf.c: Likewise.
19236 * soft-fp/floatunditf.c: Likewise.
19237 * soft-fp/floatunsidf.c: Likewise.
19238 * soft-fp/floatunsisf.c: Likewise.
19239 * soft-fp/floatunsitf.c: Likewise.
19240 * soft-fp/floatuntidf.c: Likewise.
19241 * soft-fp/floatuntisf.c: Likewise.
19242 * soft-fp/floatuntitf.c: Likewise.
19243 * soft-fp/fmadf4.c: Likewise.
19244 * soft-fp/fmasf4.c: Likewise.
19245 * soft-fp/fmatf4.c: Likewise.
19246 * soft-fp/gedf2.c: Likewise.
19247 * soft-fp/gesf2.c: Likewise.
19248 * soft-fp/getf2.c: Likewise.
19249 * soft-fp/ledf2.c: Likewise.
19250 * soft-fp/lesf2.c: Likewise.
19251 * soft-fp/letf2.c: Likewise.
19252 * soft-fp/muldf3.c: Likewise.
19253 * soft-fp/mulsf3.c: Likewise.
19254 * soft-fp/multf3.c: Likewise.
19255 * soft-fp/negdf2.c: Likewise.
19256 * soft-fp/negsf2.c: Likewise.
19257 * soft-fp/negtf2.c: Likewise.
19258 * soft-fp/op-1.h: Likewise.
19259 * soft-fp/op-2.h: Likewise.
19260 * soft-fp/op-4.h: Likewise.
19261 * soft-fp/op-8.h: Likewise.
19262 * soft-fp/op-common.h: Likewise.
19263 * soft-fp/quad.h: Likewise.
19264 * soft-fp/single.h: Likewise.
19265 * soft-fp/soft-fp.h: Likewise.
19266 * soft-fp/sqrtdf2.c: Likewise.
19267 * soft-fp/sqrtsf2.c: Likewise.
19268 * soft-fp/sqrttf2.c: Likewise.
19269 * soft-fp/subdf3.c: Likewise.
19270 * soft-fp/subsf3.c: Likewise.
19271 * soft-fp/subtf3.c: Likewise.
19272 * soft-fp/truncdfsf2.c: Likewise.
19273 * soft-fp/trunctfdf2.c: Likewise.
19274 * soft-fp/trunctfsf2.c: Likewise.
19275 * soft-fp/trunctfxf2.c: Likewise.
19276 * soft-fp/unorddf2.c: Likewise.
19277 * soft-fp/unordsf2.c: Likewise.
19278 * soft-fp/unordtf2.c: Likewise.
19279
9ebb0332
JM
192802013-10-15 Joseph Myers <joseph@codesourcery.com>
19281
19282 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19283 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19284
4b1a6d8b
OB
192852013-10-15 Ondřej Bílka <neleai@seznam.cz>
19286
19287 * elf/dl-libc.c: Clear initfini list after freeing.
19288
1e145589
JM
192892013-10-14 Joseph Myers <joseph@codesourcery.com>
19290
19291 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19292 * soft-fp/addsf3.c: Likewise.
19293 * soft-fp/addtf3.c: Likewise.
19294 * soft-fp/divdf3.c: Likewise.
19295 * soft-fp/divsf3.c: Likewise.
19296 * soft-fp/divtf3.c: Likewise.
19297 * soft-fp/double.h: Likewise.
19298 * soft-fp/eqdf2.c: Likewise.
19299 * soft-fp/eqsf2.c: Likewise.
19300 * soft-fp/eqtf2.c: Likewise.
19301 * soft-fp/extenddftf2.c: Likewise.
19302 * soft-fp/extended.h: Likewise.
19303 * soft-fp/extendsfdf2.c: Likewise.
19304 * soft-fp/extendsftf2.c: Likewise.
19305 * soft-fp/extendxftf2.c: Likewise.
19306 * soft-fp/fixdfdi.c: Likewise.
19307 * soft-fp/fixdfsi.c: Likewise.
19308 * soft-fp/fixdfti.c: Likewise.
19309 * soft-fp/fixsfdi.c: Likewise.
19310 * soft-fp/fixsfsi.c: Likewise.
19311 * soft-fp/fixsfti.c: Likewise.
19312 * soft-fp/fixtfdi.c: Likewise.
19313 * soft-fp/fixtfsi.c: Likewise.
19314 * soft-fp/fixtfti.c: Likewise.
19315 * soft-fp/fixunsdfdi.c: Likewise.
19316 * soft-fp/fixunsdfsi.c: Likewise.
19317 * soft-fp/fixunsdfti.c: Likewise.
19318 * soft-fp/fixunssfdi.c: Likewise.
19319 * soft-fp/fixunssfsi.c: Likewise.
19320 * soft-fp/fixunssfti.c: Likewise.
19321 * soft-fp/fixunstfdi.c: Likewise.
19322 * soft-fp/fixunstfsi.c: Likewise.
19323 * soft-fp/fixunstfti.c: Likewise.
19324 * soft-fp/floatdidf.c: Likewise.
19325 * soft-fp/floatdisf.c: Likewise.
19326 * soft-fp/floatditf.c: Likewise.
19327 * soft-fp/floatsidf.c: Likewise.
19328 * soft-fp/floatsisf.c: Likewise.
19329 * soft-fp/floatsitf.c: Likewise.
19330 * soft-fp/floattidf.c: Likewise.
19331 * soft-fp/floattisf.c: Likewise.
19332 * soft-fp/floattitf.c: Likewise.
19333 * soft-fp/floatundidf.c: Likewise.
19334 * soft-fp/floatundisf.c: Likewise.
19335 * soft-fp/floatunsidf.c: Likewise.
19336 * soft-fp/floatunsisf.c: Likewise.
19337 * soft-fp/floatuntidf.c: Likewise.
19338 * soft-fp/floatuntisf.c: Likewise.
19339 * soft-fp/floatuntitf.c: Likewise.
19340 * soft-fp/fmadf4.c: Likewise.
19341 * soft-fp/fmasf4.c: Likewise.
19342 * soft-fp/fmatf4.c: Likewise.
19343 * soft-fp/gedf2.c: Likewise.
19344 * soft-fp/gesf2.c: Likewise.
19345 * soft-fp/getf2.c: Likewise.
19346 * soft-fp/ledf2.c: Likewise.
19347 * soft-fp/lesf2.c: Likewise.
19348 * soft-fp/letf2.c: Likewise.
19349 * soft-fp/muldf3.c: Likewise.
19350 * soft-fp/mulsf3.c: Likewise.
19351 * soft-fp/multf3.c: Likewise.
19352 * soft-fp/negdf2.c: Likewise.
19353 * soft-fp/negsf2.c: Likewise.
19354 * soft-fp/negtf2.c: Likewise.
19355 * soft-fp/op-1.h: Likewise.
19356 * soft-fp/op-2.h: Likewise.
19357 * soft-fp/op-4.h: Likewise.
19358 * soft-fp/op-8.h: Likewise.
19359 * soft-fp/op-common.h: Likewise.
19360 * soft-fp/quad.h: Likewise.
19361 * soft-fp/single.h: Likewise.
19362 * soft-fp/soft-fp.h: Likewise.
19363 * soft-fp/sqrtdf2.c: Likewise.
19364 * soft-fp/sqrtsf2.c: Likewise.
19365 * soft-fp/sqrttf2.c: Likewise.
19366 * soft-fp/subdf3.c: Likewise.
19367 * soft-fp/subsf3.c: Likewise.
19368 * soft-fp/subtf3.c: Likewise.
19369 * soft-fp/truncdfsf2.c: Likewise.
19370 * soft-fp/trunctfdf2.c: Likewise.
19371 * soft-fp/trunctfsf2.c: Likewise.
19372 * soft-fp/trunctfxf2.c: Likewise.
19373 * soft-fp/unorddf2.c: Likewise.
19374 * soft-fp/unordsf2.c: Likewise.
19375 * soft-fp/unordtf2.c: Likewise.
19376
17c48a60
OB
193772013-10-14 Ondřej Bílka <neleai@seznam.cz>
19378
19379 [BZ #15672]
19380 * misc/error.c (error_tail): Fix possible buffer overflow.
19381
cabba934
OB
193822013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19383
19384 [BZ #13028]
19385 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19386 address.
19387
94bf958a
PM
193882013-10-14 P. J. McDermott <pj@pehjota.net>
19389
19390 [BZ #832]
19391 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19392 testing pipefail option.
19393
71b4dea7
JM
193942013-10-12 Joseph Myers <joseph@codesourcery.com>
19395
19396 * soft-fp/double.h: Indent preprocessor directives inside #if.
19397 * soft-fp/extended.h: Likewise.
19398 * soft-fp/op-2.h: Likewise.
19399 * soft-fp/op-4.h: Likewise.
19400 * soft-fp/op-common.h: Likewise.
19401 * soft-fp/quad.h: Likewise.
19402 * soft-fp/single.h: Likewise.
19403 * soft-fp/soft-fp.h: Likewise.
19404
55602758
YC
194052013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19406
19407 * iconv/iconv_prog.c: Fix typos.
19408 * stdio-common/psiginfo-data.h: Likewise.
19409
9cd83302
RT
194102013-10-12 Reuben Thomas <rrt@sc3d.org>
19411
19412 [BZ #15764]
19413 * locale/setlocale.c: Fix typo.
19414
99fd9f47
JM
194152013-10-12 Joseph Myers <joseph@codesourcery.com>
19416
b7ea74f0
JM
19417 [BZ #16036]
19418 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19419 signaling NaN arguments.
19420 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19421 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19422
8a509447
JM
19423 [BZ #14910]
19424 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19425 unordered operands.
19426 * soft-fp/gesf2.c (__gesf2): Likewise.
19427 * soft-fp/getf2.c (__getf2): Likewise.
19428 * soft-fp/ledf2.c (__ledf2): Likewise.
19429 * soft-fp/lesf2.c (__lesf2): Likewise.
19430 * soft-fp/letf2.c (__letf2): Likewise.
19431
98998e9f
JM
19432 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19433 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19434 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19435 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19436 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19437 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19438 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19439 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19440 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19441 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19442 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19443 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19444 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19445 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19446 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19447 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19448 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19449 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19450 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19451 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19452 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19453 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19454 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19455 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19456 * soft-fp/floattidf.c (__floattidf): Likewise.
19457 * soft-fp/floattisf.c (__floattisf): Likewise.
19458 * soft-fp/floattitf.c (__floattitf): Likewise.
19459 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19460 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19461 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19462 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19463 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19464 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19465 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19466 * soft-fp/gesf2.c (__gesf2): Likewise.
19467 * soft-fp/getf2.c (__getf2): Likewise.
19468 * soft-fp/ledf2.c (__ledf2): Likewise.
19469 * soft-fp/lesf2.c (__lesf2): Likewise.
19470 * soft-fp/letf2.c (__letf2): Likewise.
19471
8edc4a11
JM
19472 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19473 Undefine and redefine.
19474 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19475 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19476 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19477 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19478 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19479 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19480 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19481 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19482 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19483 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19484 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19485 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19486 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19487 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19488 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19489
8399acaf
JM
19490 [BZ #16032]
19491 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19492 without decrementing exponent if mantissa >= that for the
19493 denominator, not >.
19494 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19495 denominator, not >. Decrement exponent in < case instead of
19496 incrementing in >= case.
19497 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19498 without decrementing exponent if mantissa >= that for the
19499 denominator, not >.
19500
99fd9f47
JM
19501 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19502 computing saturated result for unsigned overflow.
19503
10e1cf6b
SP
195042013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19505 Jeff Law <law@redhat.com>
19506
19507 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19508 (atan2Mp): Add systemtap probe marker.
19509 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19510 (__ieee754_log): Add systemtap probe marker.
19511 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19512 (atanMp): Add systemtap probe marker.
19513 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19514 (tanMp): Add systemtap probe marker.
19515 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19516 (__slowexp): Add systemtap probe marker.
19517 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19518 (__slowpow): Add systemtap probe marker.
19519 * manual/probes.texi: Document probes.
19520
3d110c7c
EB
195212013-10-11 Eric Biggers <ebiggers3@gmail.com>
19522
19523 [BZ #15362]
19524 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19525 written.
19526 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19527 written.
19528 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19529 written to buffer but not flushed.
19530 * libio/iofwrite_u.c: Likewise.
19531 * libio/iopadn.c: Return bytes returned even if EOF was
19532 encountered.
19533 * libio/iowpadn.c: Likewise.
19534 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19535 if _IO_padn does not write the whole buffer.
19536 [!COMPILE_WPRINTF] (PAD): Likewise.
19537
75b4202a
DM
195382013-10-10 David S. Miller <davem@davemloft.net>
19539
19540 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19541 directory block.
19542
6c6352e6
JM
195432013-10-10 Joseph Myers <joseph@codesourcery.com>
19544
33b853c3
JM
19545 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19546 instead of FSF address.
19547 * soft-fp/fixdfti.c: Likewise.
19548 * soft-fp/fixsfti.c: Likewise.
19549 * soft-fp/fixtfti.c: Likewise.
19550 * soft-fp/fixunsdfti.c: Likewise.
19551 * soft-fp/fixunssfti.c: Likewise.
19552 * soft-fp/fixunstfti.c: Likewise.
19553 * soft-fp/floattidf.c: Likewise.
19554 * soft-fp/floattisf.c: Likewise.
19555 * soft-fp/floattitf.c: Likewise.
19556 * soft-fp/floatuntidf.c: Likewise.
19557 * soft-fp/floatuntisf.c: Likewise.
19558 * soft-fp/floatuntitf.c: Likewise.
19559 * soft-fp/trunctfxf2.c: Likewise.
19560
6c6352e6
JM
19561 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19562 * soft-fp/fixdfti.c: Likewise.
19563 * soft-fp/fixsfti.c: Likewise.
19564 * soft-fp/fixtfti.c: Likewise.
19565 * soft-fp/fixunsdfti.c: Likewise.
19566 * soft-fp/fixunssfti.c: Likewise.
19567 * soft-fp/fixunstfti.c: Likewise.
19568 * soft-fp/floattidf.c: Likewise.
19569 * soft-fp/floattisf.c: Likewise.
19570 * soft-fp/floattitf.c: Likewise.
19571 * soft-fp/floatuntidf.c: Likewise.
19572 * soft-fp/floatuntisf.c: Likewise.
19573 * soft-fp/floatuntitf.c: Likewise.
19574 * soft-fp/trunctfxf2.c: Likewise.
19575
3bf78b71
DM
195762013-10-10 David S. Miller <davem@davemloft.net>
19577
19578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19579
6f10289e
JM
195802013-10-10 Joseph Myers <joseph@codsourcery.com>
19581
bd878fc0
JM
19582 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19583 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19584 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19589
6f10289e
JM
19590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19591 for NaNs before doing comparisons on argument.
19592 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19593 Likewise.
19594
321e2684
WN
195952013-10-10 Will Newton <will.newton@linaro.org>
19596
19597 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19598 passed to _int_memalign does not overflow.
19599
40fefba1
TR
196002013-10-10 Torvald Riegel <triegel@redhat.com>
19601
19602 * scripts/bench.pl: Add include-sources directive.
19603 * benchtests/README: Update documentation.
19604
2ae21ed2
JM
196052013-10-10 Joseph Myers <joseph@codesourcery.com>
19606
dcc2dd3f
JM
19607 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19608 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19609 instead of FP_INIT_ROUNDMODE.
19610 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19611 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19612
2ae21ed2
JM
19613 [BZ #16034]
19614 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19615 copy class of input value.
19616 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19617 not handle exceptions.
19618 * soft-fp/negsf2.c (__negsf2): Likewise.
19619 * soft-fp/negtf2.c (__negtf2): Likewise.
19620 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19621
cb8f9562
JM
196222013-10-09 Joseph Myers <joseph@codesourcery.com>
19623
19624 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19625 semicolon. From Linux kernel.
19626
5b60c59d
AB
196272013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19628
19629 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19630
b86835ca
YC
196312013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19632
19633 [BZ #156]
19634 * manual/socket.texi: Added statement about buffer
19635 for gethostbyname2_r.
19636
e7044ea7
OB
196372013-10-08 Ondřej Bílka <neleai@seznam.cz>
19638
19639 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19640 Use .p2align directive instead, throughout.
19641 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19642 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19643 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19646 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19647 * sysdeps/x86_64/strchr.S: Likewise.
19648 * sysdeps/x86_64/strrchr.S: Likewise.
19649
09544cbc
SP
196502013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19651
88576635
SP
19652 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19653
e7b2d1dd
SP
19654 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19655
09544cbc
SP
19656 * sysdeps/generic/math_private.h (__mpsin1): Remove
19657 declaration.
19658 (__mpcos1): Likewise.
19659 (__mpsin): New argument __range_reduce.
19660 (__mpcos): Likewise.
19661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19662 (slow): Use __mpsin and __mpcos.
19663 (slow1): Likewise.
19664 (slow2): Likewise.
19665 (sloww): Likewise.
19666 (sloww1): Likewise.
19667 (sloww2): Likewise.
19668 (bsloww): Likewise.
19669 (bsloww1): Likewise.
19670 (bsloww2): Likewise.
19671 (cslow2): Likewise.
19672 (csloww): Likewise.
19673 (csloww1): Likewise.
19674 (csloww2): Likewise.
19675 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19676 range_reduce. Merge in __mpsin1.
19677 (__mpcos): Likewise.
19678 (__mpsin1): Remove.
19679 (__mpcos1): Likewise.
19680
7602d070
JM
196812013-10-07 Joseph Myers <joseph@codesourcery.com>
19682
19683 * locale/loadlocale.c (_nl_intern_locale_data): Use
19684 LOCFILE_ALIGNED_P.
19685 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19686 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19687 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19688 obstack data is appropriately aligned.
19689 (obstack_int32_grow_fast): Likewise.
19690 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19691 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19692 (add_locale_uint32_array): Likewise.
19693
a357259b
SP
196942013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19695
19696 * benchtests/Makefile: Remove ARGLIST and RET variables.
19697 ($(objpfx)bench-%.c): Pass only function name to the script.
19698 * benchtests/README: Update documentation.
19699 * benchtests/acos-inputs: Add new directives.
19700 * benchtests/acosh-inputs: Likewise.
19701 * benchtests/asin-inputs: Likewise.
19702 * benchtests/asinh-inputs: Likewise.
19703 * benchtests/atan-inputs: Likewise.
19704 * benchtests/atanh-inputs: Likewise.
19705 * benchtests/cos-inputs: Likewise.
19706 * benchtests/cosh-inputs: Likewise.
19707 * benchtests/exp-inputs: Likewise.
19708 * benchtests/log-inputs: Likewise.
19709 * benchtests/pow-inputs: Likewise.
19710 * benchtests/rint-inputs: Likewise.
19711 * benchtests/sin-inputs: Likewise.
19712 * benchtests/sinh-inputs: Likewise.
19713 * benchtests/tan-inputs: Likewise.
19714 * benchtests/tanh-inputs: Likewise.
19715 * scripts/bench.pl: Add support for new directives.
19716
9ec1b13d
AM
197172013-10-07 Alan Modra <amodra@gmail.com>
19718
19719 * README: Fix careless merge.
19720
8b7d57cd
AM
197212013-10-05 Alan Modra <amodra@gmail.com>
19722
19723 * NEWS: Mention powerpc64le support and bugs fixed.
19724 * README: Both big-endian and little-endian powerpc64 supported.
19725
7b7bab13
ST
197262013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19727
57f41c40
AS
19728 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19729 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19730 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19731 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19732
d39baad1
RA
197332013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19734
19735 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19736 match prototype.
19737
cd78f7e7
JM
197382013-10-04 Joseph Myers <joseph@codesourcery.com>
19739
29d73d86
JM
19740 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19741 Move -mhard-float appending from
19742 ports/sysdeps/powerpc/powerpc32/Makefile.
19743 [$(with-fp) = yes] (ASFLAGS): Likewise.
19744 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19745 * sysdeps/powerpc/nofpu: Move directory from
19746 ports/sysdeps/powerpc/nofpu.
19747 * sysdeps/powerpc/soft-fp: Move directory from
19748 ports/sysdeps/powerpc/soft-fp.
19749 * sysdeps/powerpc/powerpc32/405: Move directory from
19750 ports/sysdeps/powerpc/powerpc32/405.
19751 * sysdeps/powerpc/powerpc32/440: Move directory from
19752 ports/sysdeps/powerpc/powerpc32/440.
19753 * sysdeps/powerpc/powerpc32/464: Move directory from
19754 ports/sysdeps/powerpc/powerpc32/464.
19755 * sysdeps/powerpc/powerpc32/476: Move directory from
19756 ports/sysdeps/powerpc/powerpc32/476.
19757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19758 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19760 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19762 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19764 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19766 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19767 * README: Update for powerpc-*-linux-gnu software floating point
19768 support in libc.
19769
e246b347
JM
19770 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19771 case to powerpc/powerpc32*.
19772 * sysdeps/unix/sysv/linux/configure: Regenerated.
19773
89c2003e
JM
19774 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19775 (_FPU_MASK_OM): Define as 0x04.
19776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19778 0x00c10080.
19779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19780 0x0000003c.
19781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19782
cd78f7e7
JM
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19784 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19785 getcontext_e500.
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19787 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19788 setcontext_e500.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19790 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19791 and setcontext_e500.
19792
c755294d
CL
197932013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19794
19795 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19796
e16d221c
SP
197972013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19798
19799 * manual/threads.texi (Default Thread Attributes): Fix typo.
19800
215c7d43
WN
198012013-10-04 Will Newton <will.newton@linaro.org>
19802
19803 * malloc/Makefile: Add tst-memalign.
19804 * malloc/tst-memalign.c: New file.
19805
27d0461b
WN
19806 * malloc/tst-posix_memalign.c: Add comments.
19807 (do_test): Add comments and call free on all potentially
19808 allocated pointers. Add space after cast.
19809
1bc92709
WN
19810 * malloc/tst-pvalloc.c: Add comments.
19811 (do_test): Add comments and call free on all potentially
19812 allocated pointers. Remove duplicate check for NULL pointer.
19813 Add space after cast.
19814
66a9be9d
WN
19815 * malloc/tst-valloc.c: Add comments.
19816 (do_test): Add comments and call free on all potentially
19817 allocated pointers. Remove duplicate check for NULL pointer.
19818 Add space after cast.
19819
4cb81307
AM
198202013-10-04 Alan Modra <amodra@gmail.com>
19821
19822 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19823 Use stdint types in rather than __attribute__((mode())).
19824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19825
f8e3e9f3
AM
198262013-10-04 Alan Modra <amodra@gmail.com>
19827
19828 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19829 Correct handling of unaligned relocs for little-endian.
19830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19831
8f9ebb08
AM
198322013-10-04 Alan Modra <amodra@gmail.com>
19833
19834 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19835 * configure: Regenerate.
19836 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19837 * shlib-versions: Likewise.
19838
0edf96c2
AM
198392013-10-04 Alan Modra <amodra@gmail.com>
19840
19841 * string/tester.c (test_memrchr): Increment reported test cycle.
19842
e0f7a380
AM
198432013-10-04 Alan Modra <amodra@gmail.com>
19844
19845 * string/test-memcpy.c (do_one_test): When reporting errors, print
19846 string address and don't overrun end of string.
19847
466b0393
AM
198482013-10-04 Alan Modra <amodra@gmail.com>
19849
19850 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19851 insrdi. Make better use of reg selection to speed exit slightly.
19852 Schedule entry path a little better. Remove useless "are we done"
19853 checks on entry to main loop. Handle wrapping around zero address.
19854 Correct main loop count. Handle single left-over word from main
19855 loop inline rather than by using loop_small. Remove extra word
19856 case in loop_small caused by wrong loop count. Add little-endian
19857 support.
19858 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19860 cache hint.
19861 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19862 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19863 support. Avoid rlwimi.
19864 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19865
3be87c77
AM
198662013-10-04 Alan Modra <amodra@gmail.com>
19867
19868 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 19869 insrdi. Formatting.
3be87c77
AM
19870 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19871 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19872 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19873 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19874 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19875 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19876
759cfef3
AM
198772013-10-04 Alan Modra <amodra@gmail.com>
19878
19879 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19880 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19881 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19882 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19883 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19885 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19886 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19887 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19888 use of regs. Use power7 mtocrf. Tidy function tails.
19889
fe6e95d7
AM
198902013-10-04 Alan Modra <amodra@gmail.com>
19891
19892 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19893 Formatting. Consistently use rXXX register defines or rN defines.
19894 Use early exit labels that avoid restoring unused non-volatile regs.
19895 Make cr field use more consistent with rWORDn compares. Rename
19896 regs used as shift registers for unaligned loop, using rN defines
19897 for short lifetime/multiple use regs.
19898 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19899 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19900 addi 1,1,64 to pop stack frame. Simplify return value code.
19901 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19902
664318c3
AM
199032013-10-04 Alan Modra <amodra@gmail.com>
19904
19905 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19906 support. Correct typos, formatting. Optimize tail. Use insrdi
19907 rather than rlwimi.
19908 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19909 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19910 little-endian support. Correct typos.
19911 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19912 rather than rlwimi.
19913 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19914 in loop and entry code to keep "and." results.
19915 (strchr): Add little-endian support. Comment. Move cntlzd
19916 earlier in tail.
19917 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19918
43b84013
AM
199192013-10-04 Alan Modra <amodra@gmail.com>
19920
19921 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19922 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19923 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19924 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19925
8a7413f9
AM
199262013-10-04 Alan Modra <amodra@gmail.com>
19927
19928 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19929 (rTMP): Define as r11.
19930 (strcmp): Add little-endian support. Optimise tail.
19931 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19932 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19933 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19934 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19938
33ee81de
AM
199392013-10-04 Alan Modra <amodra@gmail.com>
19940
19941 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19942 little-endian support. Remove unnecessary "are we done" tests.
19943 Handle "s" wrapping around zero and extremely large "size".
19944 Correct main loop count. Handle single left-over word from main
19945 loop inline rather than by using small_loop. Correct comments.
19946 Delete "zero" tail, use "end_max" instead.
19947 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19948
db9b4570
AM
199492013-10-04 Alan Modra <amodra@gmail.com>
19950
19951 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19952 support. Don't branch over align.
19953 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19954 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19955 support. Rearrange tmp reg use to suit. Comment.
19956 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19957
f7c399cf
AM
199582013-10-04 Alan Modra <amodra@gmail.com>
19959
19960 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19961
0b2c2ace
AM
199622013-10-04 Alan Modra <amodra@gmail.com>
19963
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19965 conditional form of branch and link when obtaining pc.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19967
02f04a6c
AM
199682013-10-04 Alan Modra <amodra@gmail.com>
19969
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19971 HIWORD/LOWORD.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19974
9b874b2f
AM
199752013-10-04 Alan Modra <amodra@gmail.com>
19976
19977 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19978 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19979 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19980 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19981 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19982 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19983 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19984 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19985 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19986 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19987
be1e5d31
AB
199882013-10-04 Anton Blanchard <anton@au1.ibm.com>
19989 Alistair Popple <alistair@ozlabs.au.ibm.com>
19990 Alan Modra <amodra@gmail.com>
19991
19992 [BZ #15723]
19993 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19994 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19995 _dl_hwcap access for little-endian.
19996 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19997 destroy vmx regs when saving unaligned.
19998 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19999 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20000 destroy vmx regs when saving unaligned.
20001
fef13a78
AM
200022013-10-04 Alan Modra <amodra@gmail.com>
20003
20004 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20005 Don't use a union to pack hi/low value.
20006
76a66d51
AB
200072013-10-04 Anton Blanchard <anton@au1.ibm.com>
20008
20009 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20010 for little-endian.
20011 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20013 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20014 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20015 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20016
6a31fe7f
AM
200172013-10-04 Alan Modra <amodra@gmail.com>
20018
20019 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20020 constants to usual value for .cst8 section, and remove redundant
20021 high address load.
20022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20023 constant for 0x1p52. Load little-endian words of double from
20024 correct stack offsets.
20025
7b88401f
AM
200262013-10-04 Alan Modra <amodra@gmail.com>
20027
20028 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20029 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20030 words of double from correct stack offsets.
20031 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20032 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20033 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20038 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20039 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20043 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20044 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20045 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20046 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20047 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20048
9c008155
AM
200492013-10-04 Alan Modra <amodra@gmail.com>
20050
20051 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20052 64-bit int/double union.
20053 (_FPU_SETCW): Likewise.
20054 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20055 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20056
da13146d
AM
200572013-10-04 Alan Modra <amodra@gmail.com>
20058
20059 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20060 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20061
603e8410
AM
200622013-10-04 Alan Modra <amodra@gmail.com>
20063
20064 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20065 use vector int constants.
20066 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20067
4a28b3ca
AB
200682013-10-04 Anton Blanchard <anton@au1.ibm.com>
20069
20070 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20071 array with long long.
20072 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20073 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20074 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20075 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20076 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20077 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20078 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20079 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20080 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20081 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20082 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20083 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20084 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20085
2ca85d2b
AB
200862013-10-04 Anton Blanchard <anton@au1.ibm.com>
20087
20088 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20089 (__signbit): Likewise. Correct for little-endian.
20090 (__signbitl): Call __signbit.
20091 (lrint): Correct for little-endian.
20092 (lrintf): Call lrint.
20093
62a728ae
AM
200942013-10-04 Alan Modra <amodra@gmail.com>
20095
20096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20097 union 32-bit int array member with 64-bit int array.
20098 (t515, tm256): Double rather than long double.
20099 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20100
32c301df
AM
201012013-10-04 Alan Modra <amodra@gmail.com>
20102
20103 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20104 Delete.
20105 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20106 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20107 version of math_ldbl.h.
20108
650ef4bd
AM
201092013-10-04 Alan Modra <amodra@gmail.com>
20110
20111 [BZ #15734], [BZ #15735]
20112 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20113 all uses of ieee875 long double macros and unions. Simplify test
20114 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20115 ldbl_extract_mantissa value for ix,iy exponents. Properly
20116 normalize after ldbl_extract_mantissa, and don't add hidden bit
20117 already handled. Don't treat low word of ieee854 mantissa like
20118 low word of IBM long double and mask off bit when testing for
20119 zero.
20120 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20121 all uses of ieee875 long double macros and unions. Simplify tests
20122 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20123 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20124 two1022, instead use their values. Recognise that tests for large
20125 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20126 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20127 Rewrite all uses of ieee875 long double macros and unions. Simplify
20128 test for 0.0L and nan. Correct negation.
20129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20130 ieee875 long double macros and unions. Correct output for large
20131 magnitude x. Correct absolute value calculation.
20132 (__erfcl): Likewise.
20133 * math/libm-test.inc: Add tests for errors discovered in IBM long
20134 double versions of fmodl, remainderl, erfl and erfcl.
20135
765714ca
AM
201362013-10-04 Alan Modra <amodra@gmail.com>
20137
20138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20139 all uses of ieee854 long double macros and unions. Simplify tests
20140 for long doubles that are fully specified by the high double.
20141 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20142 Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20144 Remove dead code too.
20145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20146 (__ieee754_ynl): Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20148 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20150 Remove dead code too.
20151 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20155 Simplify.
20156 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20157 Simplify.
20158 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20161 Comment on variable precision.
20162 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20164 Likewise.
20165 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20166 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20167 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20168 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20169 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20170
4ebd120c
AM
201712013-10-04 Alan Modra <amodra@gmail.com>
20172
20173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20174 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20175 all uses of ieee854 long double macros and unions.
20176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20181 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20182 Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20184 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20185 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20186 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20187 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20188 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20189 Simplify sign and nan test too.
20190 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20191 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20193 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20194 Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20197 Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20204
1b6adf88
AM
202052013-10-04 Alan Modra <amodra@gmail.com>
20206
20207 * stdio-common/printf_size.c (__printf_size): Don't use
20208 union ieee854_long_double in fpnum union.
20209 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20210 signbit macro to retrieve sign from long double.
20211 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20212 retrieve sign from long double.
20213 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20214 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20215 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20216 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20217 * math/test-misc.c (main): Don't use union ieee854_long_double.
20218
4cf69995
AM
202192013-10-04 Alan Modra <amodra@gmail.com>
20220
20221 [BZ #15680]
20222 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20223 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20224 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20225 calculation. Remove unnecessary test for denormal exponent.
20226 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20227 Correct handling of denormals. Avoid undefined shift behaviour.
20228 Correct normalisation of low mantissa when low double is denormal.
20229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20230 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20231 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20232 Correct normalisation of low mantissa. Test for overflow of high
20233 mantissa and normalise.
20234 (ldbl_nearbyint): Use more readable constant for two52.
20235 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20236 (__mpn_construct_long_double): Fix test for overflow of high
20237 mantissa and correct normalisation. Avoid undefined shift.
20238
9605ca6c
AM
202392013-10-04 Alan Modra <amodra@gmail.com>
20240
20241 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20242 (union ibm_extended_long_double): Define as an array of ieee754_double.
20243 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20244 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20245 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20246 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20253 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20254
975569d0
JM
202552013-10-03 Joseph Myers <joseph@codesourcery.com>
20256
d3d23756
JM
20257 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20258 page size instead of calling getpagesize.
20259
975569d0
JM
20260 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20261 (LOCFILE_ALIGN_MASK): Likewise.
20262 (LOCFILE_ALIGN_UP): Likewise.
20263 (LOCFILE_ALIGNED_P): Likewise.
20264 * locale/programs/ld-collate.c (collate_output): Use the new
20265 macros instead of __alignof__ (int32_t).
20266 * locale/weight.h (findidx): Likewise.
20267
b1fe1f2b
OB
202682013-10-03 Ondřej Bílka <neleai@seznam.cz>
20269
20270 [BZ #431]
20271 * manual/string.texi: Fix strncat and wcsncat.
20272
5f855e35
BM
202732013-10-03 Brooks Moses <bmoses@google.com>
20274
20275 [BZ #15915]
20276 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20277 * Makerules: ...here, and adjust associated comments.
20278
3cef6009
WN
202792013-10-02 Will Newton <will.newton@linaro.org>
20280
20281 * malloc/Makefile: Add tst-pvalloc.
20282 * malloc/tst-pvalloc.c: New file.
20283
7815420b
WN
202842013-10-02 Will Newton <will.newton@linaro.org>
20285
20286 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20287 improve test coverage.
20288
4868b204
WN
202892013-10-02 Will Newton <will.newton@linaro.org>
20290
20291 * malloc/Makefile: Add tst-posix_memalign.
20292 * malloc/tst-posix_memalign.c: New file.
20293
29c793b3
EB
202942013-10-01 Eric Blake <eblake@redhat.com>
20295
20296 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20297 Use __THROWNL rather than __THROW on static functions.
20298
fd967522
PM
202992013-09-30 Petr Machata <pmachata@redhat.com>
20300
20301 * elf/elf.h (R_AARCH64_ABS16): New macro.
20302 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20303 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20304 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20305 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20306 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20307 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20308 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20309 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20310 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20311 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20312 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20313 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20314 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20315 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20316 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20317 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20318 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20319 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20320 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20321 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20322 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20323 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20324 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20325 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20326 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20327 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20328 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20329 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20330 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20331 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20332 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20333 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20334 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20335 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20336 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20337 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20338 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20339 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20340 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20341 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20342 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20343 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20344 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20345 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20346 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20347 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20348 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20349 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20350 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20351 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20352 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20353 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20354 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20355 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20356 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20357 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20358 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20359 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20360 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20361 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20362 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20363 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20364 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20365 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20366 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20367 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20368 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20369 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20370 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20371 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20372 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20373 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20374 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20375 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20376 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20377 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20378 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20379 (R_AARCH64_TLSDESC_LDR): Likewise.
20380 (R_AARCH64_TLSDESC_ADD): Likewise.
20381 (R_AARCH64_TLSDESC_CALL): Likewise.
20382
b2179107
AS
203832013-09-30 Andreas Schwab <schwab@suse.de>
20384
20385 [BZ #15048]
20386 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20387 the nss database lookup.
20388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20390
47f28d0a
MF
203912013-09-28 Mike Frysinger <vapier@gentoo.org>
20392
20393 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20394
203952013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20396
20397 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20398 ${Bash-specific parameter/pattern/string} parameter expansion.
20399 * sysdeps/unix/make-syscalls.sh: Likewise.
20400
f4518a17
KK
204012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20402
20403 * sysdeps/sh/stackguard-macros.h: New file.
20404
dc1a95c7
OB
204052013-09-26 Ondřej Bílka <neleai@seznam.cz>
20406
20407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20409 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20410 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20411 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20412 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20413
5ebbff8f
AZ
204142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20415
20416 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20417 Fix thread ID register.
20418
4fd2cf9f
JM
204192013-09-25 Joseph Myers <joseph@codesourcery.com>
20420
20421 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20422 [POSIX || UNIX98]: Require rather than permitting all symbols from
20423 <time.h>.
20424 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20425 element of struct sched_param.
20426 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20427 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20428 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20429 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20430 constant.
20431
12c22bc4
OL
204322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20433
20434 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20435 argument calculation.
20436
a03d8ea7
JM
204372013-09-24 Joseph Myers <joseph@codesourcery.com>
20438
20439 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20440 Expect macro.
20441 [POSIX] (pthread_attr_t): Do not require type.
20442 [POSIX] (pthread_cond_t): Likewise.
20443 [POSIX] (pthread_condattr_t): Likewise.
20444 [POSIX] (pthread_key_t): Likewise.
20445 [POSIX] (pthread_mutex_t): Likewise.
20446 [POSIX] (pthread_mutexattr_t): Likewise.
20447 [POSIX] (pthread_once_t): Likewise.
20448 [POSIX] (pthread_t): Likewise.
20449 [POSIX-based standards] (pthread_atfork): Expect function.
20450
6055173a
JM
204512013-09-24 Joseph Myers <joseph@codesourcery.com>
20452 Richard Sandiford <richard@codesourcery.com>
20453
20454 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20455 (swap_endianness_p): New extern variable.
20456 (set_big_endian): New inline function.
20457 (maybe_swap_uint32): Likewise.
20458 (maybe_swap_uint32_array): Likewise.
20459 (maybe_swap_uint32_obstack): Likewise.
20460 * locale/programs/locfile.c: Include <stdbool.h>.
20461 (swap_endianness_p): New variable.
20462 (add_locale_uint32): Call maybe_swap_uint32.
20463 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20464 (write_locale_data): Call maybe_swap_uint32_array.
20465 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20466 maybe_swap_uint32.
20467 (obstack_int32_grow_fast): Likewise.
20468 (output_weightwc): Call maybe_swap_uint32_obstack.
20469 (collate_output): Likewise.
20470 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20471 (OPT_LITTLE_ENDIAN): Likewise.
20472 (options): Add --little-endian and --big-endian options.
20473 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20474 * locale/programs/locarchive.c: Include "locfile.h".
20475 (GET): New macro.
20476 (SET): Likewise.
20477 (INC): Likewise.
20478 (create_archive): Use the new macros to access fields of
20479 structures directly mapped from or written to locale archives.
20480 (oldlocrecentcmp): Likewise.
20481 (enlarge_archive): Likewise.
20482 (insert_name): Likewise.
20483 (add_alias): Likewise.
20484 (add_locale): Likewise.
20485 (delete_locales_from_archive): Likewise.
20486 (show_archive_content): Likewise.
20487 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20488 locale data.
20489
39bf0bb4
RM
204902013-09-24 Roland McGrath <roland@hack.frob.com>
20491
20492 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20493 http://www.gnu.org/doc/freemanuals.texi.
20494 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20495
f02eed10
WN
204962013-09-24 Will Newton <will.newton@linaro.org>
20497
20498 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20499 macro.
20500
a3a6c312
JM
205012013-09-23 Joseph Myers <joseph@codesourcery.com>
20502
20503 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20504 unsigned char.
20505
107375ac
MR
205062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20507
20508 * manual/threads.texi (POSIX Threads): Fix a typo.
20509
141f3a77
SP
205102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20511
303e567a
SP
20512 [BZ #14547]
20513 * string/tst-strcoll-overflow.c: New test case.
20514 * string/Makefile (xtests): Add tst-strcoll-overflow.
20515 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20516 cache if string sizes may cause integer overflow.
20517
141f3a77
SP
20518 [BZ #14547]
20519 * string/strcoll_l.c (coll_seq): New members rule, idx,
20520 save_idx and back_us.
20521 (get_next_seq_nocache): New function.
20522 (do_compare_nocache): New function.
20523 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20524 when malloc fails.
20525
c61b4d41
CD
205262013-09-23 Carlos O'Donell <carlos@redhat.com>
20527
0b1f8e35
CD
20528 [BZ #15754]
20529 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20530 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20531 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20532
c61b4d41
CD
20533 [BZ #15754]
20534 * elf/Makefile (tests): Add tst-ptrguard1.
20535 (tests-static): Add tst-ptrguard1-static.
20536 (tst-ptrguard1-ARGS): Define.
20537 (tst-ptrguard1-static-ARGS): Define.
20538 * elf/tst-ptrguard1.c: New file.
20539 * elf/tst-ptrguard1-static.c: New file.
20540 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20541 * sysdeps/i386/stackguard-macros.h: Likewise.
20542 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20543 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20544 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20545 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20546 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20547 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20548
205492013-09-23 Hector Marco <hecmargi@upv.es>
20550 Ismael Ripoll <iripoll@disca.upv.es>
20551 Carlos O'Donell <carlos@redhat.com>
20552
20553 [BZ #15754]
20554 * sysdeps/generic/stackguard-macros.h: Define
20555 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20556 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20557 Define __pointer_chk_guard_local.
20558 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20559 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20560
f5f4e7b4
VV
205612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20562
20563 [BZ #15859]
20564 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20565
5bb43a43
AS
205662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20567
20568 * include/string.h (__ffs): Declare as hidden.
20569 * string/ffs.c (__ffs): Define as hidden.
20570 * sysdeps/i386/ffs.c (__ffs): Likewise.
20571 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20572 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20573 * sysdeps/s390/ffs.c (__ffs): Likewise.
20574 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20575
3ea5be54
AO
205762013-09-20 Alexandre Oliva <aoliva@redhat.com>
20577
ffb89e53
AO
20578 * NEWS: Mention malloc probes.
20579
322dea08
AO
20580 * malloc/arena.c (new_heap): New memory_heap_new probe.
20581 (grow_heap): New memory_heap_more probe.
20582 (shrink_heap): New memory_heap_less probe.
20583 (heap_trim): New memory_heap_free probe.
20584 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20585 (systrim): New memory_sbrk_less probe.
20586 * manual/probes.texi: Document them.
20587
655673f3
AO
20588 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20589 * manual/probes.texi: Document it.
20590
35fed6f1
AO
20591 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20592 (__libc_realloc): Add memory_realloc_retry probe.
20593 (__libc_memalign): Add memory_memalign_retry probe.
20594 (__libc_valloc): Add memory_valloc_retry probe.
20595 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20596 (__libc_calloc): Add memory_calloc_retry probe.
20597 * manual/probes.texi: Document them.
20598
6999d38c
AO
20599 * malloc/arena.c (get_free_list): Add probe
20600 memory_arena_reuse_free_list.
20601 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20602 and memory_arena_reuse.
20603 (arena_get2) [!PER_THREAD]: Likewise.
20604 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20605 memory_arena_reuse_realloc.
20606 * manual/probes.texi: Document them.
20607
0653427f
AO
20608 * malloc/malloc.c (__libc_free): Add
20609 memory_mallopt_free_dyn_thresholds probe.
20610 (__libc_mallopt): Add multiple memory_mallopt probes.
20611 * manual/probes.texi: Document them.
20612
3ea5be54
AO
20613 * malloc/malloc.c: Include stap-probe.h.
20614 (__libc_mallopt): Add memory_mallopt probe.
20615 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20616 * manual/probes.texi: New.
20617 * manual/Makefile (chapters): Add probes.
20618 * manual/threads.texi: Set next node.
20619
e35696c3 206202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20621
e35696c3
CL
20622 [BZ #15963, #13985]
20623 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20624 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20625 Add `Chinese' to `nan' entry name.
20626
4aafb73c
SP
206272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20628
20629 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20630 (POLYNOMIAL): Likewise.
20631 (TAYLOR_SINCOS): Likewise.
20632 (TAYLOR_SLOW): Likewise.
20633 (__sin): Use TAYLOR_SINCOS.
20634 (__cos): Likewise.
20635 (slow): Use TAYLOR_SLOW.
20636 (sloww): Likewise.
20637 (bsloww): Likewise.
20638 (csloww): Likewise.
20639
d84f25c7
LD
206402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20641
20642 * stdlib/strtod_l.c: Fix buffer overrun.
20643
5eea0404
SP
206442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20645
7849ff93
SP
20646 * benchtests/Makefile (bench): Add sincos.
20647 * benchtests/bench-sincos.c: New file.
20648
cfa3c886
SP
20649 * math/libm-test.inc (cos_test_data): New test inputs.
20650 (sin_test_data): Likewise.
20651
b348e1e3
SP
20652 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20653 macro.
20654 (__sin): Use it.
20655 (__cos): Likewise.
20656 (slow1): Likewise.
20657 (slow2): Likewise.
20658 (sloww1): Likewise.
20659 (sloww2): Likewise.
20660 (bsloww1): Likewise.
20661 (bsloww2): Likewise.
20662 (cslow2): Likewise.
20663 (csloww1): Likewise.
20664 (csloww2): Likewise.
20665
6cce25f8
SP
20666 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20667 function.
20668 (__sin): Use it.
20669 (__cos): Likewise.
20670
5eea0404
SP
20671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20672 gotos.
20673 (__cos): Likewise.
20674
9c21573c
MR
206752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20676
20677 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20678 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20679 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20680 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20681 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20682 * elf/cache.c (print_entry): Handle the new cache flags.
20683
24d22e65
JM
206842013-09-18 Joseph Myers <joseph@codesourcery.com>
20685 Aldy Hernandez <aldyh@redhat.com>
20686
20687 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20688 Change condition to [_SOFT_FLOAT].
20689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20701 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20704 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20705 declaration.
20706
d13ef066
JM
207072013-09-18 Joseph Myers <joseph@codesourcery.com>
20708
2e071de0
JM
20709 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20710 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20711 (__longjmp): Use LOAD_GP to load saved GPRs.
20712 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20713 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20714 (__sigsetjmp): Use SAVE_GP to save GPRs.
20715
d13ef066
JM
20716 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20717 Do not append -msoft-float.
20718 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20719
97a0650b
SP
207202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20721
20722 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20723
11ca09e9
JM
207242013-09-17 Joseph Myers <joseph@codesourcery.com>
20725
20726 [BZ #15966]
20727 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20728 (_FPU_GETCW): Use initial "__" on variable and field names but not
20729 on macro parameter name.
20730 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20731 parentheses around reference to macro parameter.
20732
08ffcf34
RS
207332013-09-13 Richard Sandiford <richard@codesourcery.com>
20734
20735 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20736 prototype.
20737 (ctype_startup): Use uint32_t in cast and sizeof for
20738 ctype->charnames.
20739
ae7080d3
JL
207402013-09-11 Jia Liu <proljc@gmail.com>
20741
20742 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20743 __daddr_t_defined.
20744 [__FreeBSD__]: Likewise.
20745
5905e7b3
OB
207462013-09-11 Ondřej Bílka <neleai@seznam.cz>
20747
20748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20749 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20750 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20751 (strchr): Remove __strchr_sse42 ifunc selection.
20752 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20753 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20754
b987c776
WN
207552013-09-11 Will Newton <will.newton@linaro.org>
20756
20757 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20758 parameter to RES. Remove hardcoded 1000 value.
20759 * benchtests/bench-skeleton.c (main): Pass RES parameter
20760 to TIMING_INIT and multiply result by 1000.
20761
ddf985af
AZ
207622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20763
20764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20765
ffdd3181
AS
207662013-09-11 Andreas Schwab <schwab@suse.de>
20767
20768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20769 if not defined.
20770 (O_TMPFILE) [__USE_GNU]: Define.
20771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20772 Define.
20773
b73ed247
WN
207742013-09-11 Will Newton <will.newton@linaro.org>
20775
20776 [BZ #15857]
20777 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20778 does not overflow.
20779
55e17aad
WN
207802013-09-11 Will Newton <will.newton@linaro.org>
20781
20782 [BZ #15856]
20783 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20784 does not overflow.
20785
1159a193
WN
207862013-09-11 Will Newton <will.newton@linaro.org>
20787
20788 [BZ #15855]
20789 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20790 does not overflow.
20791
5905e7b3 207922013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
20793
20794 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20795 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20799
cdfc721b
AM
208002013-09-10 Allan McRae <allan@archlinux.org>
20801
aa04af00
AM
20802 [BZ #15748]
20803 * manual/arith.texi (Parsing of Floats): Clarify
20804 cross-reference.
20805
cdfc721b
AM
20806 [BZ #15849]
20807 * manual/install.texi (Running make install): Mention
20808 --enable-pt-chown.
20809 * INSTALL: Regenerated.
20810
95e7cf29
MR
208112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20812
20813 * csu/init-first.c (_init): Remove the !SHARED condition around
20814 FPU control word initialization.
20815 * elf/dl-support.c (_dl_fpu_control): New variable.
20816 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20817 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20818 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20819 * math/test-fpucw-static.c: New file.
20820 * math/test-fpucw-ieee.c: New file.
20821 * math/test-fpucw-ieee-static.c: New file.
20822 * math/Makefile (tests): Add `test-fpucw-ieee' and
20823 `$(tests-static)'.
20824 (tests-static): New variable.
20825 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20826 dependency to...
20827 [($(build-shared),yes)]
20828 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20829 ... this.
20830 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20831 New dependency.
20832
83e43bf0
AM
208332013-09-09 Allan McRae <allan@archlinux.org>
20834
a9f5ce09
AM
20835 [BZ #15939]
20836 * manual/string.texi (Collation Functions): Fix typo in
20837 strcoll example.
20838 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20839
34829bc2
AM
20840 [BZ #15893]
20841 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20842
3932737d
AM
20843 [BZ #15892]
20844 * libio/memstream.c (open_memstream): Fix memory leak.
20845 * libio/wmemstream.c (open_wmemstream): Likewise.
20846
83e43bf0
AM
20847 [BZ #15895]
20848 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20849
0c66b8e9
WN
208502013-09-09 Will Newton <will.newton@linaro.org>
20851
20852 * malloc/Makefile: Add tst-realloc to tests.
20853 * malloc/tst-realloc.c: New file.
20854
f6b00fd1
AM
208552013-09-09 Allan McRae <allan@archlinux.org>
20856
20857 [BZ #15844]
20858 * COPYING: Update from GNU website to fix FSF address.
20859 * COPYING.LIB: Likewise.
20860
eec55e16
DM
208612013-09-06 David S. Miller <davem@davemloft.net>
20862
20863 * po/zh_TW.po: Update Chinese (traditional) translation from
20864 translation project.
20865
1ecbb381
RS
208662013-09-06 Richard Sandiford <richard@codesourcery.com>
20867 Joseph Myers <joseph@codesourcery.com>
20868
20869 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20870 "localeinfo.h".
20871 (obstack_chunk_alloc): New macro.
20872 (obstack_chunk_free): Likewise.
20873 (record_offset): New function.
20874 (init_locale_data): Likewise.
20875 (align_locale_data): Likewise.
20876 (add_locale_empty): Likewise.
20877 (add_locale_raw_data): Likewise.
20878 (add_locale_raw_obstack): Likewise.
20879 (add_locale_string): Likewise.
20880 (add_locale_wstring): Likewise.
20881 (add_locale_uint32): Likewise.
20882 (add_locale_uint32_array): Likewise.
20883 (add_locale_char): Likewise.
20884 (start_locale_structure): Likewise.
20885 (end_locale_structure): Likewise.
20886 (start_locale_prelude): Likewise.
20887 (end_locale_prelude): Likewise.
20888 (write_locale_data): Take locale_file structure rather than an
20889 iovec.
20890 * locale/programs/locfile.h: Include "obstack.h".
20891 (struct locale_file): Change to store locale file contents instead
20892 of header.
20893 (init_locale_data): New prototype.
20894 (align_locale_data): Likewise.
20895 (add_locale_empty): Likewise.
20896 (add_locale_raw_data): Likewise.
20897 (add_locale_raw_obstack): Likewise.
20898 (add_locale_string): Likewise.
20899 (add_locale_wstring): Likewise.
20900 (add_locale_uint32): Likewise.
20901 (add_locale_uint32_array): Likewise.
20902 (add_locale_char): Likewise.
20903 (start_locale_structure): Likewise.
20904 (end_locale_structure): Likewise.
20905 (start_locale_prelude): Likewise.
20906 (end_locale_prelude): Likewise.
20907 (write_locale_data): Update prototype.
20908 * locale/programs/3level.h (struct TABLE): Remove result field.
20909 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20910 Use new locale_file interface.
20911 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20912 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20913 * locale/programs/ld-address.c (address_output): Use new
20914 locale_file interface.
20915 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20916 NO_ADD_LOCALE.
20917 (collate_finish): Don't call collseq_table_finalize.
20918 (collate_output): Use new locale_file interface.
20919 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20920 in file.
20921 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20922 (TABLE): Move defines earlier in file.
20923 (ELEMENT): Likewise.
20924 (DEFAULT): Likewise.
20925 (wctrans_table_add): Move macro and inline function earlier in
20926 file.
20927 (struct wctype_table): Move type earlier in file.
20928 (add_locale_wctype_table): New static prototype.
20929 (struct locale_ctype_t): Use logical types instead of struct iovec
20930 pointers for members.
20931 (ctype_output): Use new locale_file interface.
20932 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20933 new locale_file interface.
20934 (allocate_arrays): Update for use of new locale_file interface.
20935 * locale/programs/ld-identification.c (identification_output): Use
20936 new locale_file interface.
20937 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20938 * locale/programs/ld-messages.c (messages_output): Likewise.
20939 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20940 * locale/programs/ld-name.c (name_output): Likewise.
20941 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20942 * locale/programs/ld-paper.c (paper_output): Likewise.
20943 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20944 * locale/programs/ld-time.c (time_output): Likewise.
20945
e029e2e5
AZ
209462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20947
20948 * benchtests/Makefile: Add memrchr benchmark.
20949 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20950 benchmark as memrchr.
20951 * benchtests/bench-memrchr-ifunc.c: New file.
20952 * benchtests/bench-memrchr.c: New file.
20953
bbf6e8e4
WN
209542013-09-06 Will Newton <will.newton@linaro.org>
20955
20956 * benchtests/Makefile (string-bench): Add memcpy.
20957
6c82a2f8
CD
209582013-09-05 Carlos O'Donell <carlos@redhat.com>
20959 Cong Wang <amwang@redhat.com>
20960
e732c5f0 20961 [BZ #15850]
6c82a2f8
CD
20962 * sysdeps/unix/sysv/linux/bits/in.h
20963 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20964 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20965 before __USE_KERNEL_IPV6_DEFS uses.
20966 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20967 IPPROTO_BEETPH.
20968 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20969 sockaddr_in6, or ipv6_mreq.
20970
5430fc65
AZ
209712013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20972
20973 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20974 memory access for final bytes in some large inputs.
20975 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20976
4660856c
AZ
209772013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20978
20979 * string/test-memrchr.c: New file.
20980 * string/test-memrchr-ifunc.c: New file.
20981 * string/Makefile: Add new memrchr testcase.
20982
bb8ea713
MF
209832013-09-05 Mike Frysinger <vapier@gentoo.org>
20984
20985 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20986 fanotify_init returns EPERM.
20987
b92a20b5
JM
209882013-09-04 Joseph Myers <joseph@codesourcery.com>
20989
20990 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20991 errors.
20992 (top level): Treat second token from macro or constant entries for
20993 allowed headers as allowed.
20994 * include/complex.h: Condition internal declarations on
20995 [!_ISOMAC].
20996 * include/fenv.h: Condition include of <stdbool.h> and internal
20997 declarations on [!_ISOMAC].
7447ccd9
CL
20998
209992013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21000
3e181dda 21001 [BZ #15923]
7447ccd9
CL
21002 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21003
3f2e46a4
JM
210042013-09-04 Joseph Myers <joseph@codesourcery.com>
21005
21006 * configure.in (--enable-versioning): Remove configure option.
21007 (libc_cv_asm_symver_directive): Remove configure test.
21008 (libc_cv_ld_version_script_option): Likewise.
21009 (VERSIONING): Remove variable and AC_SUBST.
21010 (DO_VERSIONING): Remove AC_DEFINE.
21011 * configure: Regenerated.
21012 * config.h.in (DO_VERSIONING): Remove macro.
21013 * Makerules [$(versioning) = yes]: Change conditionals to
21014 [$(build-shared) = yes].
21015 * config.make.in (versioning): Remove variable.
21016 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21017 [$(build-shared) = yes].
21018 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21019 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21020 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21021 [$(build-shared) = yes].
21022 * extra-lib.mk [$(versioning) = yes]: Likewise.
21023 * hurd/Makefile [$(versioning) = yes]: Likewise.
21024 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21025 [SHARED].
21026 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21027 [SHARED].
21028 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21029 [SHARED && !NO_HIDDEN].
21030 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21031 [SHARED].
21032 [SHARED && DO_VERSIONING]: Likewise..
21033 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21034 [$(build-shared) = yes].
21035 * manual/install.texi (--disable-versioning): Remove
21036 documentation.
21037 * INSTALL: Regenerated.
21038 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21039 to [SHARED].
21040 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21041 [$(build-shared) = yes].
21042 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21043 * sysdeps/i386/i686/multiarch/strstr-c.c
21044 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21045 [SHARED && !NO_HIDDEN].
21046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21047 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21048 * sysdeps/powerpc/powerpc32/dl-machine.c
21049 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21050 * sysdeps/powerpc/powerpc32/sysdep.h
21051 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21052 to [SHARED && PIC && !NO_HIDDEN].
21053 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21054 conditional to [SHARED].
21055
44558701
WN
210562013-09-04 Will Newton <will.newton@linaro.org>
21057
21058 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21059 * benchtests/bench-string.h: Include bench-timing.h instead
21060 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21061 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21062 call to HP_TIMING_DIFF_INIT.
21063 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21064 instead of hp-timing.h macros.
21065 * benchtests/bench-memchr.c: Likewise.
21066 * benchtests/bench-memcmp.c: Likewise.
21067 * benchtests/bench-memcpy.c: Likewise.
21068 * benchtests/bench-memmem.c: Likewise.
21069 * benchtests/bench-memmove.c: Likewise.
21070 * benchtests/bench-memset.c: Likewise.
21071 * benchtests/bench-rawmemchr.c: Likewise.
21072 * benchtests/bench-strcasecmp.c: Likewise.
21073 * benchtests/bench-strcasestr.c: Likewise.
21074 * benchtests/bench-strcat.c: Likewise.
21075 * benchtests/bench-strchr.c: Likewise.
21076 * benchtests/bench-strcmp.c: Likewise.
21077 * benchtests/bench-strcpy.c: Likewise.
21078 * benchtests/bench-strcpy_chk.c: Likewise.
21079 * benchtests/bench-strlen.c: Likewise.
21080 * benchtests/bench-strncasecmp.c: Likewise.
21081 * benchtests/bench-strncat.c: Likewise.
21082 * benchtests/bench-strncmp.c: Likewise.
21083 * benchtests/bench-strncpy.c: Likewise.
21084 * benchtests/bench-strnlen.c: Likewise.
21085 * benchtests/bench-strpbrk.c: Likewise.
21086 * benchtests/bench-strrchr.c: Likewise.
21087 * benchtests/bench-strspn.c: Likewise.
21088 * benchtests/bench-strstr.c: Likewise.
21089
cae16d66
WN
210902013-09-04 Will Newton <will.newton@linaro.org>
21091
21092 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21093
ffa3cd7f
JM
210942013-09-03 Joseph Myers <joseph@codesourcery.com>
21095
21096 [BZ #15427]
21097 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21098 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21099 * math/libm-test.inc (lgamma_test_data): Add more tests.
21100 * sysdeps/i386/fpu/libm-test-ulps: Update.
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102
8f02859f
OB
211032013-09-03 Ondřej Bílka <neleai@seznam.cz>
21104
21105 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21107 Add ifunc.
21108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21109 Add strcmp-sse2-unaligned
21110 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21111
18d43716
MF
211122013-09-02 Mike Frysinger <vapier@gentoo.org>
21113
21114 * Versions.def (libc): Add GLIBC_2.19.
21115
ac444012
MF
211162013-09-02 Mike Frysinger <vapier@gentoo.org>
21117
21118 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21119 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21120
b7835e32
JM
211212013-09-02 Joseph Myers <joseph@codesourcery.com>
21122
21123 [BZ #14155]
21124 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21125 intermediate calculations in recurrence.
21126 (__ieee754_ynf): Likewise.
21127 * math/libm-test.inc (jn_test_data): Do not allow spurious
21128 underflow exception. Add more tests.
21129 (yn_test_data): Add more tests.
21130 * sysdeps/i386/fpu/libm-test-ulps: Update.
21131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21132
8220f4f0
OB
211332013-09-02 Ondřej Bílka <neleai@seznam.cz>
21134
21135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21136
f24a6d08
OB
211372013-08-30 Ondřej Bílka <neleai@seznam.cz>
21138
21139 * csu/init-first.c: Fix then/than typos.
21140 * locale/programs/ld-collate.c: Likewise.
21141 * locale/programs/linereader.h: Likewise.
21142 * manual/charset.texi: Likewise.
21143 * manual/filesys.texi: Likewise.
21144 * manual/stdio.texi: Likewise.
21145 * manual/string.texi: Likewise.
21146 * stdlib/fmtmsg.c: Likewise.
21147 * sysdeps/i386/stpncpy.S: Likewise.
21148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21149 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21150 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21151 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21152
382466e0
OB
211532013-08-30 Ondřej Bílka <neleai@seznam.cz>
21154
21155 * elf/dl-open.c: Fix typos.
21156 * iconvdata/gbbig5.c: Likewise.
21157 * iconvdata/iso-2022-jp.c: Likewise.
21158 * iconv/gconv_int.h: Likewise.
21159 * iconv/loop.c: Likewise.
21160 * nis/rpcsvc/nis.h: Likewise.
21161 * resolv/ns_name.c: Likewise.
21162 * stdio-common/vfscanf.c: Likewise.
21163 * streams/stropts.h: Likewise.
21164 * sunrpc/rpc_thread.c: Likewise.
21165 * sysdeps/i386/strpbrk.S: Likewise.
21166 * sysdeps/ieee754/k_standard.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21169 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21170 * sysdeps/mach/hurd/profil.c: Likewise.
21171 * sysdeps/s390/dl-procinfo.h: Likewise.
21172 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21173 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21174 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21175 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21177
0186c6e9
OB
211782013-08-30 Ondřej Bílka <neleai@seznam.cz>
21179
21180 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21182
d4e16af1
OB
211832013-08-29 Ondřej Bílka <neleai@seznam.cz>
21184
21185 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21186 aix specific files.
21187 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21188 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21189 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21190 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21191 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21192 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21193 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21194 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21195
88335980
TS
211962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21197 Roland McGrath <roland@hack.frob.com>
21198
21199 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21200 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21201
ed479b02
ST
212022013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21203
21204 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21205 __executable_start symbol instead of _start.
21206
f1cc4c86
TS
212072013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21208
d821f07c
TS
21209 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21210 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21211 Move macros to...
21212 * sysdeps/gnu/ldsodefs.h: ... this new file.
21213
c54290cf
TS
21214 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21215 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21216 instead of ELFOSABI_LINUX.
21217
0007fc9b 21218 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21219 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21220 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21221 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21222 Likewise.
21223 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21224 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21226 Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21228 (ibm_extended_long_double): Add ieee_nan member.
21229 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21230 (do_test): New function.
21231
f1cc4c86
TS
21232 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21233 TEST_TRUNC.
21234 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21235 functions, renamed from truncdfsf_test, trunctfsf_test,
21236 trunctfdf_test.
21237 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21238 functions.
21239 (do_test): Run all these.
21240
6f65e668
OB
212412013-08-29 Ondřej Bílka <neleai@seznam.cz>
21242
21243 * argp/argp-help.c: Fix typos.
21244 * argp/argp-parse.c: Likewise.
21245 * debug/backtracesyms.c: Likewise.
21246 * elf/elf.h: Likewise.
21247 * malloc/malloc.c: Likewise.
21248 * nis/nis_print.c: Likewise.
21249 * resolv/res_comp.c: Likewise.
21250 * stdlib/stdlib.h: Likewise.
21251 * sunrpc/clnt_tcp.c: Likewise.
21252 * sunrpc/clnt_udp.c: Likewise.
21253 * sunrpc/clnt_unix.c: Likewise.
21254 * sysdeps/unix/bsd/ptsname.c: Likewise.
21255 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21258 Likewise.
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21260 Likewise.
21261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21262 Likewise.
6f65e668
OB
21263 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21264
3a309239
SP
212652013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21266
21267 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21269
3b813b29
MF
212702013-08-27 Mike Frysinger <vapier@gentoo.org>
21271
21272 [BZ #15897]
21273 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21274 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21275 ($(objpfx)bug-dl-leaf): New rule.
21276 ($(objpfx)bug-dl-leaf.so): Likewise.
21277 ($(objpfx)bug-dl-leaf.out): Likewise.
21278 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21279 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21280 * dlfcn/bug-dl-leaf.c: New test.
21281 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21282 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21283 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21284 (dlclose): Likewise.
21285 (dlmopen): Likewise.
21286
8cc3269f
RM
212872013-08-27 Roland McGrath <roland@hack.frob.com>
21288
7f9d0034
RM
21289 * include/netdb.h [!_ISOMAC]:
21290 Don't include <tls.h>.
21291 (h_errno, __libc_h_errno): Move declaration and macros out of
21292 [_LIBC_REENTRANT].
21293
fb431262
RM
21294 * include/resolv.h [_RESOLV_H_]:
21295 Don't include <tls.h>.
21296 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21297 * resolv/res_libc.c: Don't include <tls.h>.
21298 (_res): Use __attribute__ ((nocommon)) in place of
21299 __attribute__ ((section (".bss"))).
21300
bd81123a
RM
21301 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21302 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21303
c4e42566
RM
21304 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21305
f890a59b
RM
21306 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21307 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21308
21309 * resolv/res_mkquery.c: Include <sys/time.h>.
21310
5d1f0a09
RM
21311 * inet/ifreq.c: Moved to ...
21312 * sysdeps/unix/ifreq.c: ... here.
21313 * inet/ifreq.c: New file, true stub version.
21314
6fcf28b3
RM
21315 * socket/sa_len.c: New file.
21316 * socket/Makefile (aux): Add it.
21317 * sysdeps/unix/sysv/linux/Makefile
21318 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21319 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21320 and #include <socket/sa_len.c>.
21321 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21322 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21323
e041fb8b
RM
21324 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21325 * bits/socket.h: ... here.
21326
8cc3269f
RM
21327 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21328 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21329 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21330
5d228a43
AS
213312013-08-27 Andreas Schwab <schwab@suse.de>
21332
45b8accc
AS
21333 [BZ #15736]
21334 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21335 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21336 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21337 * string/test-strcasecmp.c (test_main): Run tests in several
21338 locales.
21339 * string/test-strncasecmp.c (test_main): Likewise.
21340
5d228a43
AS
21341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21342 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21343 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21345 (__strncasecmp_ssse3) [PIC]: Likewise.
21346
59d112a4
RM
213472013-08-26 Roland McGrath <roland@hack.frob.com>
21348
53234cc3
RM
21349 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21350
59d112a4
RM
21351 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21352 instead of explicitly declaring xdecrypt.
21353 * nis/nss_nis/nis-publickey.c: Likewise.
21354
595aba70
SP
213552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21356
21357 [BZ #15890]
21358 * nscd/aicache.c: Include res_hconf.h.
21359 (addhstaiX): Initialize res_hconf.
21360
ffabd393
AS
213612013-08-26 Andreas Schwab <schwab@suse.de>
21362
21363 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21364 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21365
e0a69f5c
SP
213662013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21367
21368 * nscd/aicache.c (addhstaiX): Fix indentation.
21369
8c12f01d
MF
213702013-08-25 Mike Frysinger <vapier@gentoo.org>
21371
21372 * configure.ac: Quote $build_pt_chown test.
21373 * configure: Regenerated.
21374
8fe89494
JM
213752013-08-23 Joseph Myers <joseph@codesourcery.com>
21376
21377 [BZ #15532]
21378 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21379 * math/s_cexpf.c (__cexpf): Likewise.
21380 * math/s_cexpl.c (__cexpl): Likewise.
21381 * math/libm-test.inc (cexp_test_data): Correct expected return
21382 value for NaN + i0. Add another test.
21383
75b181d6
DM
213842013-08-22 David S. Miller <davem@davemloft.net>
21385
21386 * po/ca.po: Update Catalan translation from translation project.
936241e4 21387 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21388
acd06bb1
JM
213892013-08-21 Joseph Myers <joseph@codesourcery.com>
21390
21391 [BZ #15797]
21392 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21393 is infinite, not alongside NaN test.
21394 * math/s_fdimf.c (__fdimf): Likewise.
21395 * math/s_fdiml.c (__fdiml): Likewise.
21396 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21397 errno is unchanged.
21398
c0c3f78a
OB
213992013-08-21 Ondřej Bílka <neleai@seznam.cz>
21400
21401 * argp/argp-help.c: Fix typos.
21402 * crypt/speeds.c: Likewise.
21403 * csu/check_fds.c: Likewise.
21404 * elf/dl-load.c: Likewise.
21405 * elf/dl-open.c: Likewise.
21406 * elf/reldep3.c: Likewise.
21407 * elf/reldep.c: Likewise.
21408 * elf/sprof.c: Likewise.
21409 * iconv/iconv_charmap.c: Likewise.
21410 * iconv/skeleton.c: Likewise.
21411 * iconv/strtab.c: Likewise.
21412 * io/lockf64.c: Likewise.
21413 * libio/libioP.h: Likewise.
21414 * resolv/gai_notify.c: Likewise.
21415 * resolv/ns_name.c: Likewise.
21416 * resolv/ns_samedomain.c: Likewise.
21417 * resolv/res_send.c: Likewise.
21418 * stdlib/random.c: Likewise.
21419 * sunrpc/rpc/xdr.h: Likewise.
21420 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21421 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21422 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21423 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21424 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21427 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21428 * sysdeps/mach/hurd/check_fds.c: Likewise.
21429 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21430 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21433 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21434 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21435 * sysdeps/pthread/aio_notify.c: Likewise.
21436 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21437 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21438 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21440 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21441
46ed1038
LD
214422013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21443
21444 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21445 version if bit_Slow_SSE4_2 is set.
21446 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21448
d400dcac
AZ
214492013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21450
21451 [BZ #15867]
21452 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21453 trampoline stack frame information.
21454 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21456 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21457 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21458 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21459 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21460 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21461 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21462 sa_flags value.
21463 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21464 interrupting a syscall and set with option SA_SIGINFO.
21465
42c8fdd8
JM
214662013-08-20 Joseph Myers <joseph@codesourcery.com>
21467
c980f2f4
JM
21468 [BZ #15531]
21469 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21470 argument is infinite.
21471 * math/s_cprojf.c (__cprojf): Likewise.
21472 * math/s_cprojl.c (__cprojl): Likewise.
21473 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21474 * math/libm-test.inc (cproj_test_data): Add more tests.
21475
0716c4fc
JM
21476 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21477
42c8fdd8
JM
21478 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21479 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21480 size. Use __ffs to determine corresponding shift.
21481
b31469d0
JM
214822013-08-20 Joseph Myers <joseph@codesourcery.com>
21483 Roland McGrath <roland@hack.frob.com>
21484
21485 * Makefile (INSTALL): Remove trailing blank lines from output of
21486 makeinfo.
21487
4e39af6e
AK
214882013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21489
21490 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21491 Align 32 bit compat elf_greg to 8 bytes.
21492
f315524e
AA
214932013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21494
21495 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21496
1326ba1a
SP
214972013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21498
21499 * string/strcoll_l.c (coll_seq): New structure.
21500 (get_next_seq_cached): New function.
21501 (get_next_seq): New function.
21502 (do_compare): New function.
21503 (STRCOLL): Use GNU style definition. Simplify implementation
21504 by using get_next_seq, get_next_seq_cached and do_compare.
21505
91ce4085
FW
215062013-08-16 Florian Weimer <fweimer@redhat.com>
21507
21508 [BZ #14699]
21509 CVE-2013-4237
21510 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21511 member.
21512 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21513 member.
21514 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21515 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21516 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21517 conditional.
21518 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21519 GETDENTS_64BIT_ALIGNED.
21520 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21521 * manual/filesys.texi (Reading/Closing Directory): Document
21522 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21523 strongly.
21524 * manual/conf.texi (Limits for Files): Add portability note to
21525 NAME_MAX, PATH_MAX.
21526 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21527
ca0a6bc4
AS
215282013-08-13 Andreas Schwab <schwab@suse.de>
21529
21530 [BZ #15749]
21531 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21532 of fabs.
21533 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21534 LDBL_MAX_EXP >= 16384]: Add tests for it.
21535
6c1fd795
DM
215362013-08-12 David S. Miller <davem@davemloft.net>
21537
21538 * version.h (RELEASE): Set to "development".
21539 (VERSION): Set to "2.18.90".
21540 * NEWS: Add 2.19 section.
21541
31ad488d
DM
215422013-08-03 David S. Miller <davem@davemloft.net>
21543
21544 * po/ko.po: Update Korean translation from translation project.
21545
db24e684
DM
215462013-08-01 David S. Miller <davem@davemloft.net>
21547
21548 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21549 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21550 Bilka.
21551
f723285b
DM
215522013-07-30 David S. Miller <davem@davemloft.net>
21553
21554 * po/fr.po: Update French translation from translation project.
21555
3cbc52db
DM
215562013-07-28 David S. Miller <davem@davemloft.net>
21557
30bbc0cc
DM
21558 * po/cs.po: Update Czech translation from translation project.
21559
3cbc52db
DM
21560 * po/sv.po: Update Swedish translation from translation project.
21561
d492e6d0
DM
215622013-07-27 David S. Miller <davem@davemloft.net>
21563
f1a7f492
DM
21564 * po/eo.po: Update Esperanto translation from translation project.
21565
90e62a4a
DM
21566 * po/vi.po: Update Vietnamese translation from translation project.
21567
d492e6d0
DM
21568 * po/de.po: Update German translation from translation project.
21569
d4baa62d
DM
215702013-07-26 David S. Miller <davem@davemloft.net>
21571
641aa7b4
DM
21572 * po/bg.po: Update Bulgarian translation from translation project.
21573
d4baa62d
DM
21574 * po/nl.po: Update Dutch translation from translation project.
21575 * po/pl.po: Update Polish translation from translation project.
21576 * po/ru.po: Update Russian translation from translation project.
21577
61a9dcb9
DM
215782013-07-24 David S. Miller <davem@davemloft.net>
21579
21580 * po/libc.pot: Update.
21581
7b1f8b58
AZ
215822013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21583
21584 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21585 variable page size.
21586 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21587 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21588 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21589
a8fc7a03
AK
215902013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21591
21592 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21593
e4608715
CD
215942013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21595 Andreas Schwab <schwab@suse.de>
21596 Roland McGrath <roland@hack.frob.com>
21597 Joseph Myers <joseph@codesourcery.com>
21598 Carlos O'Donell <carlos@redhat.com>
21599
21600 [BZ #15755]
21601 * config.h.in: Define HAVE_PT_CHOWN.
21602 * config.make.in (build-pt-chown): New variable.
21603 * configure.in (--enable-pt_chown): New configure option.
21604 * configure: Regenerate.
21605 * login/Makefile: Include Makeconfig. Build pt_chown only if
21606 build-pt-chown is enabled.
21607 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21608 pt_chown to fix pty ownership.
21609 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21610 CLOSE_ALL_FDS.
21611 * manual/install.texi (Configuring and compiling): Mention
21612 --enable-pt_chown. Add @findex for grantpt.
21613 * INSTALL: Regenerate.
21614
da2d62df
DM
216152013-07-20 David S. Miller <davem@davemloft.net>
21616
21617 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21618 difference between 32-bit and 64-bit.
21619
d7e06450
CD
216202013-07-15 Carlos O'Donell <carlos@redhat.com>
21621
21622 [BZ #15711]
21623 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21624 Avoid system header dependency with -ffreestanding.
21625 ($(objpfx)bits/syscall%d): Likewise.
21626
f959cfd7
DM
216272013-07-13 David S. Miller <davem@davemloft.net>
21628
21629 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21630 underflows from atanl/atan2l due to bug 15319.
21631 (casinh_test_data): Likewise.
21632
c61f8513
DM
216332013-07-07 David S. Miller <davem@davemloft.net>
21634
21635 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21636
72c90ed0
JA
216372013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21638
21639 * sysdeps/i386/fpu/libm-test-ulps: Update.
21640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21641
52dfbe13
SP
216422013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21643
21644 * configure.in (--enable-lock-elision): Fix message text.
21645 * INSTALL: Regenerate.
21646 * configure: Regenerate.
21647
3f169543
AZ
216482013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21649
21650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21651
521c6785
AJ
216522013-07-03 Andreas Jaeger <aj@suse.de>
21653
21654 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21655 define.
21656 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21657 (ptrace_peeksiginfo_args): Add.
21658 (__ptrace_peeksiginfo_flags): Add.
21659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21662
d2cc15cb
AM
216632013-07-03 Allan McRae <allan@archlinux.org>
21664
21665 * sysdeps/i386/fpu/libm-test-ulps: Update.
21666
3aaeeca7
DM
216672013-07-02 David S. Miller <davem@davemloft.net>
21668
21669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21670
5314ed1a
MT
216712013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21672
21673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21674
67338156
JM
216752013-07-02 Joseph Myers <joseph@codesourcery.com>
21676
21677 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21679
1717da59
AK
216802013-07-02 Andi Kleen <ak@linux.intel.com>
21681
21682 * config.h.in (ENABLE_LOCK_ELISION): Add.
21683 * configure.in (--enable-lock-elision): Add option.
21684 * manual/install.texi: Document --enable lock elision.
21685 * configure: Regenerate
21686 * INSTALL: Regenerate.
21687
1c81621c
L
216882013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21689
21690 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21691 SSE4.2 strcasecmp for libc.a.
21692 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21693
77f01ab5
JM
216942013-07-02 Joseph Myers <joseph@codesourcery.com>
21695
21696 [BZ #13304]
21697 * soft-fp/op-common.h (_FP_FMA): New macro.
21698 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21699 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21700 (_FP_MUL_MEAT_1_imm): ... here.
21701 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21702 (_FP_MUL_MEAT_1_wide): ... here.
21703 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21704 (_FP_MUL_MEAT_1_hard): ... here.
21705 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21706 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21707 (_FP_MUL_MEAT_2_wide): ... here.
21708 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21709 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21710 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21711 (_FP_MUL_MEAT_2_gmp): ... here.
21712 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21713 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21714 (_FP_MUL_MEAT_4_wide): ... here.
21715 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21716 (_FP_MUL_MEAT_4_gmp): ... here.
21717 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21718 (_FP_WFRACBITS_DW_S): Likewise.
21719 (_FP_WFRACXBITS_DW_S): Likewise.
21720 (_FP_HIGHBIT_DW_S): Likewise.
21721 (FP_FMA_S): Likewise.
21722 (_FP_FRAC_HIGH_DW_S): Likewise.
21723 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21724 (_FP_WFRACBITS_DW_D): Likewise.
21725 (_FP_WFRACXBITS_DW_D): Likewise.
21726 (_FP_HIGHBIT_DW_D): Likewise.
21727 (FP_FMA_D): Likewise.
21728 (_FP_FRAC_HIGH_DW_D): Likewise.
21729 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21730 (_FP_WFRACBITS_DW_E): Likewise.
21731 (_FP_WFRACXBITS_DW_E): Likewise.
21732 (_FP_HIGHBIT_DW_E): Likewise.
21733 (FP_FMA_E): Likewise.
21734 (_FP_FRAC_HIGH_DW_E): Likewise.
21735 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21736 (_FP_WFRACBITS_DW_Q): Likewise.
21737 (_FP_WFRACXBITS_DW_Q): Likewise.
21738 (_FP_HIGHBIT_DW_Q): Likewise.
21739 (FP_FMA_Q): Likewise.
21740 (_FP_FRAC_HIGH_DW_Q): Likewise.
21741 * soft-fp/fmasf4.c: New file.
21742 * soft-fp/fmadf4.c: Likewise.
21743 * soft-fp/fmatf4.c: Likewise.
21744
6308fd9a
LD
217452013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21746
21747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21748 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21749 Silvermont.
21750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21751 macro.
21752 (index_Slow_SSE4_2): Likewise.
21753 (index_Prefer_PMINUB_for_stringop): Likewise.
21754 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21755 bit_Slow_SSE4_2 is set.
21756 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21758
89cd9569
RA
217592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21760
21761 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21762 rtld_global._dl_hwcap2.
21763 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21764 POWER8.
21765 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21766 POWER8 feature descriptions defined in _dl_hwcap2.
21767 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21768 string handling for POWER8 feature bits.
21769 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21770 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21771 _dl_powerpc_cap_flags.
21772 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21773 * sysdeps/powerpc/rtld-global-offsets.sym
21774 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21775 _dl_hwcap2 in the rtld_global_ro structure.
21776
1ae8bfe0
RA
217772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21778
21779 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21780 hardware capabilities in support of AT_HWCAP2.
21781 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21782 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21783 GLRO(dl_hwcap2).
21784 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21785 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21786 explicitly the unknown a_type display mechanism is used.
21787 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21788 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21789 struct member.
21790 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21791 to macro prototype for AT_HWCAP2 support.
21792 * sysdeps/i386/dl-procinfo.h: Likewise.
21793 * sysdeps/s390/dl-procinfo.h: Likewise.
21794 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21795 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21796 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21797 return -1 for unknown a_type display fallback.
21798 * sysdeps/sparc/dl-procinfo.h: Likewise.
21799 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21800 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21801
8fbec010
JM
218022013-06-28 Joseph Myers <joseph@codesourcery.com>
21803
21804 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21805 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21806
0432680e
PY
218072013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21808
21809 [BZ #12492]
21810 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21811 mprotect making __stack_prot writable.
21812
ce61a2ad
NF
218132013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21814 Joseph Myers <joseph@codesourcery.com>
21815
21816 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21817 as being properly aligned.
21818
f91f1c0f
MR
218192013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21820
3d0f5d0c
MR
21821 * dlfcn/modstatic5.c: New file.
21822 * dlfcn/tststatic5.c: New file.
21823 * dlfcn/Makefile (tests): Add tststatic5.
21824 (tests-static): Likewise.
21825 (modules-names): Add modstatic5.
21826 (tststatic5-ENV): New variable.
21827 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21828
f91f1c0f
MR
21829 [BZ #15022]
21830 * elf/dl-support.c (_dl_main_map): New variable.
21831 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21832 (_dl_nns, _dl_load_adds): Set to 1.
21833 (_dl_initial_searchlist): Refer to _dl_main_map.
21834 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21835 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21836 call to _dl_get_origin.
21837 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21838 around call_map.
21839 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21840 * dlfcn/modstatic3.c: New file.
21841 * dlfcn/tststatic3.c: New file.
21842 * dlfcn/tststatic4.c: New file.
21843 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21844 (tests-static): Likewise.
21845 (modules-names): Add modstatic3.
21846 (tststatic3-ENV, tststatic4-ENV): New variables.
21847 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21848 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21849
cbe7d24b
JM
218502013-06-26 Joseph Myers <joseph@codesourcery.com>
21851
21852 * configure.in (CC): Require GCC version 4.4 or later.
21853 * configure: Regenerated.
21854 * manual/install.texi (Tools for Compilation): Update GCC version
21855 requirement.
21856 * INSTALL: Regenerated.
21857
11b8a0e1
LD
218582013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21859
21860 [BZ #15674]
bb5bb87c
L
21861 * string/test-memcmp.c (check2): New.
21862 (main): Call check2.
21863
11b8a0e1
LD
21864 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21865
b0037103
MR
218662013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21867
21868 [BZ #15022]
21869 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21870 over to...
21871 (dl_open_worker) [!SHARED]: ... here.
21872
c18c701d
RA
218732013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21874
21875 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21876
1d17fa5f
RH
218772013-06-25 Richard Henderson <rth@redhat.com>
21878
21879 * locale/programs/locarchive.c: Include <libc-internal.h>
21880
8fcb833a
JM
218812013-06-25 Joseph Myers <joseph@codesourcery.com>
21882
21883 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21884 trailing whitespace removed.
21885
17db6e8d
MF
218862013-06-24 Mike Frysinger <vapier@gentoo.org>
21887
21888 [BZ #10283]
17db6e8d
MF
21889 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21890 * locale/programs/locarchive.c: Include libc-mmap.h.
21891 (prepare_address_space): Take two new outputs (the mmap base and len).
21892 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21893 values.
21894 (create_archive): Declare new mmap base and len values for
21895 prepare_address_space, and store the result in ah.
21896 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21897 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21898 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21899 Declare new mmap base and len values for
21900 prepare_address_space, and store the result in new_ah.
21901 (open_archive): Declare new mmap base and len values for
21902 prepare_address_space, and store the result in ah.
21903 (close_archive): If ah->mmap_base is not NULL, use that and
21904 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21905 * sysdeps/generic/libc-mmap.h: New file.
21906
d605071e
MF
219072013-06-24 Mike Frysinger <vapier@gentoo.org>
21908
21909 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21910 (ALIGN_UP): Likewise.
21911 (PTR_ALIGN_DOWN): Likewise.
21912 (PTR_ALIGN_UP): Likewise.
21913
2f063a6e
RA
219142013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21915
21916 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21917 entry mapped to PPC_PLATFORM_POWER8.
21918 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21919 POWER8.
21920 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21921 (_dl_string_platform): Add case for exporting platform position for
21922 POWER8.
21923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21924 search path to sysdeps/powerpc/powerpc32/power8 directory.
21925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21926 search path to sysdeps/powerpc/powerpc64/power8 directory.
21927 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21928 power7 directories.
21929 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21930 power7 directories.
21931
a31ee4b3
SP
219322013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21933
a74ca98f
SP
21934 * INSTALL: Regenerate.
21935
a31ee4b3
SP
21936 * nscd/connections.c (nscd_init): Fix comment.
21937
695c378f
JM
219382013-06-22 Joseph Myers <joseph@codesourcery.com>
21939
d8412221
JM
21940 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21941
695c378f
JM
21942 [BZ #15667]
21943 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21944 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21945
d1d54715
MR
219462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21947
21948 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21949 DL_DST_REQ_STATIC.
21950 (DL_DST_REQ_STATIC): Remove macro.
21951
8fdda7af
JM
219522013-06-21 Joseph Myers <joseph@codesourcery.com>
21953
21954 [BZ #7006]
21955 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21956 with a shift of 0 bits.
21957
f3bc5e5a
MR
219582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21959
21960 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21961 $(tststatic-ENV).
21962
be09e8c9
KK
219632013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21964
21965 [BZ #15655]
21966 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21967
85c2e611
AZ
219682013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21969
21970 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21971 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21972 accepts -fno-tree-loop-distribute-patterns.
21973 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21974 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21975 recursive call.
21976 * string/memset.c (memset): Likewise.
21977 * string/test-memmove.c (simple_memmove): Disable loop transformation
21978 to library calls.
21979 * string/test-memset.c (simple_memset): Likewise.
21980 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21981 * benchtests/bench-memset.c (simple_memset): Likewise.
21982 * configure: Regenerated.
21983
c91e0825
JM
219842013-06-20 Joseph Myers <joseph@codesourcery.com>
21985
b8c792af
JM
21986 * math/test-misc.c (main): Ignore fesetround failure when failures
21987 of subsequent rounding tests would be ignored.
21988
c91e0825
JM
21989 [BZ #15654]
21990 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21991 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21992 * math/fegetenv.c (__fegetenv): Return 0.
21993 * math/fegetexcept.c (fegetexcept): Return 0.
21994 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21995 FE_TONEAREST.
21996 * math/feholdexcpt.c (feholdexcept): Return 0.
21997 * math/fesetenv.c (__fesetenv): Return 0.
21998 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21999 argument FE_TONEAREST.
22000 * math/feupdateenv.c (__feupdateenv): Return 0.
22001 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22002
bfcacbde
RM
220032013-06-18 Roland McGrath <roland@hack.frob.com>
22004
22005 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22006 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22007 ($(objpfx)rtld-%.os rules): Use them.
22008
e55a9b25
AZ
220092013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22010
22011 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22012 fields.
22013
346d65b3
RM
220142013-06-17 Roland McGrath <roland@hack.frob.com>
22015
12086fb4
RM
22016 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22017 length of target pattern, then descending length of dependency pattern.
22018 * configure.in (AWK): Require gawk 3.1.2 or newer.
22019 * manual/install.texi (Tools for Compilation): Say that we do.
22020 * configure: Regenerated.
22021
346d65b3
RM
22022 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22023 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22024 * scripts/sysd-rules.awk: ... this new script.
22025 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22026 than a glob-style pattern.
22027
1a846317
JM
220282013-06-17 Joseph Myers <joseph@codesourcery.com>
22029
22030 * math/test-misc.c (main): Do not treat incorrectly rounded
22031 conversions as failure unless ROUNDING_TESTS passes.
22032
8fc75e6f
JM
220332013-06-15 Joseph Myers <joseph@codesourcery.com>
22034
3711a167
JM
22035 [BZ #15631]
22036 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22037 restore exception state around main square root computation, then
22038 check for inexactness explicitly.
22039
8fc75e6f
JM
22040 * math/libm-test.inc (fma_test_data): Add another test.
22041
61dd6208
SP
220422013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22043
adf23d2c
SP
22044 * manual/threads.texi (Non-POSIX Extensions): New document
22045 node. Document pthread_getattr_default_np and
22046 pthread_setattr_default_np.
22047
61dd6208
SP
22048 * Versions.def (libpthread): Add GLIBC_2.18.
22049 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22051 Likewise.
22052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22053 Likewise.
22054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22055 Likewise.
22056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22057 Likewise.
22058 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22059 Likewise.
22060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22061 Likewise.
22062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22063 Likewise.
22064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22065 Likewise.
22066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22067 Likewise.
22068
d086fc7b
LD
220692013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22070
22071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22072 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22073
747ef469
SP
220742013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22075 H.J. Lu <hjl.tools@gmail.com>
22076
22077 [BZ #15627]
22078 * sysdeps/x86_64/rtld-memset.c: Remove file.
22079 * sysdeps/x86_64/rtld-memset.S: New file.
22080
1b2feed2
JM
220812013-06-14 Joseph Myers <joseph@codesourcery.com>
22082
22083 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22084 (test_in_one_mode): Take arguments for whether the rounding mode
22085 is supported for each floating-point type.
22086 (do_test): Pass new arguments to test_in_one_mode using
22087 ROUNDING_TESTS.
22088
a58ad3f8
RM
220892013-06-13 Roland McGrath <roland@hack.frob.com>
22090
22091 * posix/tst-waitid.c (do_test): Distinguish different instances of
22092 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22093 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22094 before entering the kernel for waitpid.
22095
c204ab28
SP
220962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22097
22098 * NEWS: Fix note on clock function precision. Text by Roland
22099 McGrath.
22100
f4a29fba
RM
221012013-06-13 Roland McGrath <roland@hack.frob.com>
22102
22103 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22104 it into place only when and if the sanity check passes.
22105
1f24b9ad
JM
221062013-06-13 Joseph Myers <joseph@codesourcery.com>
22107
22108 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22109 output for whether conversion result is exact. Take argument
22110 indicating whether type is IBM long double.
22111 (round_for_all): Change need_exact field to ibm_ld.
22112 * stdlib/tst-strtod-round.c (struct exactness): New type.
22113 (struct test): Change bool ld_ok field to struct exactness exact.
22114 (TEST): Update all definitions for change to field.
22115 (tests): Regenerate array contents.
22116 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22117 field value. Check for IBM long double here.
22118 (do_test): Update calls to test_in_one_mode.
22119
58206c68
SP
221202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22121
22122 [BZ #12515]
22123 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22124 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22125
2d6f4c5b 221262013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22127
22128 [BZ #15605]
22129 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22130 generated by the compiler on loop optimizations.
22131 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22132 general definitions.
22133
94f2c076
JM
221342013-06-12 Joseph Myers <joseph@codesourcery.com>
22135
22136 * math/bug-nextafter.c: Include <math-tests.h>.
22137 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22138 the relevant type.
22139 * math/bug-nexttoward.c: Include <math-tests.h>.
22140 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22141 the relevant type.
22142 * math/test-misc.c: Include <math-tests.h>.
22143 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22144 the relevant type.
22145
e0e50a0a
AJ
221462013-06-12 Andreas Jaeger <aj@suse.de>
22147
22148 * po/ia.po: Update Interlingua translation from translation
22149 project.
22150
25061094
SP
221512013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22152
22153 * include/fenv.h: Include stdbool.h.
22154 (struct rm_ctx): New structure.
22155 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22156 Define macro.
22157 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22158 (SET_RESTORE_ROUNDF): Likewise.
22159 (SET_RESTORE_ROUNDL): Likewise.
22160 (SET_RESTORE_ROUND_NOEX): Likewise.
22161 (SET_RESTORE_ROUND_NOEXF): Likewise.
22162 (SET_RESTORE_ROUND_NOEXL): Likewise.
22163 (SET_RESTORE_ROUND_53BIT): Likewise.
22164 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22165 (libc_feresetround_noexf_ctx): Likewise.
22166 (libc_feresetround_noexl_ctx): Likewise.
22167 (libc_feholdsetround_53bit_ctx): Likewise.
22168 (libc_feresetround_53bit_ctx): Likewise.
22169 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22170 (libc_feholdexcept_setround_sse_ctx): New function.
22171 (libc_fesetenv_sse_ctx): Likewise.
22172 (libc_feupdateenv_sse_ctx): Likewise.
22173 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22174 (libc_feholdexcept_setround_387_ctx): Likewise.
22175 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22176 (libc_feholdsetround_387_prec_ctx): Likewise.
22177 (libc_feholdsetround_387_ctx): Likewise.
22178 (libc_feholdsetround_387_53bit_ctx): Likewise.
22179 (libc_feholdsetround_sse_ctx): Likewise.
22180 (libc_feresetround_sse_ctx): Likewise.
22181 (libc_feresetround_387_ctx): Likewise.
22182 (libc_feupdateenv_387_ctx): Likewise.
22183 (libc_feholdexcept_setroundf_ctx): Define macro.
22184 (libc_fesetenvf_ctx): Likewise.
22185 (libc_feupdateenvf_ctx): Likewise.
22186 (libc_feholdsetroundf_ctx): Likewise.
22187 (libc_feresetroundf_ctx): Likewise.
22188 (libc_feholdexcept_setround_ctx): Likewise.
22189 (libc_fesetenv_ctx): Likewise.
22190 (libc_feupdateenv_ctx): Likewise.
22191 (libc_feholdsetround_ctx): Likewise.
22192 (libc_feresetround_ctx): Likewise.
22193 (libc_feholdexcept_setroundl_ctx): Likewise.
22194 (libc_feupdateenvl_ctx): Likewise.
22195 (libc_feholdsetroundl_ctx): Likewise.
22196 (libc_feresetroundl_ctx): Likewise.
22197 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22198 (libc_feresetround_53bit_ctx): Likewise.
22199
59b30555
SP
222002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22201
22202 * locale/iso-639.def: Convert to UTF-8.
22203
f1d73d30
JM
222042013-06-11 Joseph Myers <joseph@codesourcery.com>
22205
22206 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22207 (EXCEPTION_TESTS_double): Likewise.
22208 (EXCEPTION_TESTS_long_double): Likewise.
22209 (EXCEPTION_TESTS): Likewise.
22210 * math/libm-test.inc (test_exceptions): Only test exceptions if
22211 EXCEPTION_TESTS (FLOAT).
22212
94aca5e7
SP
222132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22214
22215 * benchtests/Makefile (string-bench): Add strcpy_chk and
22216 stpcpy_chk.
22217 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22218 * benchtests/bench-stpcpy_chk.c: New file.
22219 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22220 * benchtests/bench-strcpy_chk.c: New file.
22221 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22222 code.
22223 (do_test): Likewise.
22224
fac0c5f2
RA
222252013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22226
22227 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22228 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22229 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22230 with tabs where appropriate.
22231 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22232 dl-procinfo.h.
22233 [PPC_PLATFORM_PPC440]: Likewise.
22234 [PPC_PLATFORM_PPC464]: Likewise.
22235 [PPC_PLATFORM_PPC476]: Likewise.
22236 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22237 ppc464, and ppc476 platform strings merging from ports/
22238 dl-procinfo.h.
22239
f22bc486
AS
222402013-06-11 Andreas Schwab <schwab@suse.de>
22241
22242 [BZ #14991]
22243 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22244 (from_ucs4_idx): Regenerate.
22245 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22246 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22247 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22248 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22249 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22250 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22251 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22252 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22253 from FROM_LOOP and TO_LOOP specific macros.
22254 (BODY): Handle combining characters.
22255 * iconvdata/BIG5HKSCS.irreversible: Update.
22256 * iconvdata/BIG5HKSCS.precomposed: New file.
22257 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22258 characters.
22259 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22260
c1f75dc3
SP
222612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22262
4eacded2
SP
22263 * include/sys/time.h: Fix indentation and add copyright header.
22264
fec799f8
SP
22265 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22266 (do_test): Likewise.
22267 * string/test-memchr.c (do_one_test): Likewise.
22268 (do_test): Likewise.
22269 * string/test-memcmp.c (do_one_test): Likewise.
22270 (do_test): Likewise.
22271 * string/test-memcpy.c (do_one_test): Likewise.
22272 (do_test): Likewise.
22273 * string/test-memmem.c (do_one_test): Likewise.
22274 (do_test): Likewise.
22275 (do_random_tests): Likewise.
22276 * string/test-memmove.c (do_one_test): Likewise.
22277 (do_test): Likewise.
22278 * string/test-memset.c (do_one_test): Likewise.
22279 (do_test): Likewise.
22280 * string/test-rawmemchr.c (do_one_test): Likewise.
22281 (do_test): Likewise.
22282 * string/test-strcasecmp.c (do_one_test): Likewise.
22283 (do_test): Likewise.
22284 * string/test-strcasestr.c (do_one_test): Likewise.
22285 (do_test): Likewise.
22286 * string/test-strcat.c (do_one_test): Likewise.
22287 (do_test): Likewise.
22288 * string/test-strchr.c (do_one_test): Likewise.
22289 (do_test): Likewise.
22290 * string/test-strcmp.c (do_one_test): Likewise.
22291 (do_test): Likewise.
22292 * string/test-strcpy.c (do_one_test): Likewise.
22293 (do_test): Likewise.
22294 * string/test-string.h: Likewise.
22295 (test_init): Likewise.
22296 * string/test-strlen.c (do_one_test): Likewise.
22297 (do_test): Likewise.
22298 * string/test-strncasecmp.c (do_one_test): Likewise.
22299 (do_test): Likewise.
22300 * string/test-strncat.c (do_one_test): Likewise.
22301 (do_test): Likewise.
22302 * string/test-strncmp.c (do_one_test): Likewise.
22303 (do_test_limit): Likewise.
22304 (do_test): Likewise.
22305 * string/test-strncpy.c (do_one_test): Likewise.
22306 (do_test): Likewise.
22307 * string/test-strnlen.c (do_one_test): Likewise.
22308 (do_test): Likewise.
22309 * string/test-strpbrk.c (do_one_test): Likewise.
22310 (do_test): Likewise.
22311 * string/test-strrchr.c (do_one_test): Likewise.
22312 (do_test): Likewise.
22313 * string/test-strspn.c (do_one_test): Likewise.
22314 (do_test): Likewise.
22315 * string/test-strstr.c (do_one_test): Likewise.
22316 (do_test): Likewise.
22317
97020474
SP
22318 * benchtests/Makefile (string-bench): Add string benchmarks.
22319 * benchtests/bench-bcopy-ifunc.c: New file.
22320 * benchtests/bench-bcopy.c: New file.
22321 * benchtests/bench-bzero-ifunc.c: New file.
22322 * benchtests/bench-bzero.c: New file.
22323 * benchtests/bench-memccpy-ifunc.c: New file.
22324 * benchtests/bench-memccpy.c: New file.
22325 * benchtests/bench-memchr-ifunc.c: New file.
22326 * benchtests/bench-memchr.c: New file.
22327 * benchtests/bench-memcmp-ifunc.c: New file.
22328 * benchtests/bench-memcmp.c: New file.
22329 * benchtests/bench-memmem-ifunc.c: New file.
22330 * benchtests/bench-memmem.c: New file.
22331 * benchtests/bench-memmove-ifunc.c: New file.
22332 * benchtests/bench-memmove.c: New file.
22333 * benchtests/bench-mempcpy-ifunc.c: New file.
22334 * benchtests/bench-mempcpy.c: New file.
22335 * benchtests/bench-memset-ifunc.c: New file.
22336 * benchtests/bench-memset.c: New file.
22337 * benchtests/bench-rawmemchr-ifunc.c: New file.
22338 * benchtests/bench-rawmemchr.c: New file.
22339 * benchtests/bench-stpcpy-ifunc.c: New file.
22340 * benchtests/bench-stpcpy.c: New file.
22341 * benchtests/bench-stpncpy-ifunc.c: New file.
22342 * benchtests/bench-stpncpy.c: New file.
22343 * benchtests/bench-strcasecmp-ifunc.c: New file.
22344 * benchtests/bench-strcasecmp.c: New file.
22345 * benchtests/bench-strcasestr-ifunc.c: New file.
22346 * benchtests/bench-strcasestr.c: New file.
22347 * benchtests/bench-strcat-ifunc.c: New file.
22348 * benchtests/bench-strcat.c: New file.
22349 * benchtests/bench-strchr-ifunc.c: New file.
22350 * benchtests/bench-strchr.c: New file.
22351 * benchtests/bench-strchrnul-ifunc.c: New file.
22352 * benchtests/bench-strchrnul.c: New file.
22353 * benchtests/bench-strcmp-ifunc.c: New file.
22354 * benchtests/bench-strcmp.c: New file.
22355 * benchtests/bench-strcpy-ifunc.c: New file.
22356 * benchtests/bench-strcpy.c: New file.
22357 * benchtests/bench-strcspn-ifunc.c: New file.
22358 * benchtests/bench-strcspn.c: New file.
22359 * benchtests/bench-strlen-ifunc.c: New file.
22360 * benchtests/bench-strlen.c: New file.
22361 * benchtests/bench-strncasecmp-ifunc.c: New file.
22362 * benchtests/bench-strncasecmp.c: New file.
22363 * benchtests/bench-strncat-ifunc.c: New file.
22364 * benchtests/bench-strncat.c: New file.
22365 * benchtests/bench-strncmp-ifunc.c: New file.
22366 * benchtests/bench-strncmp.c: New file.
22367 * benchtests/bench-strncpy-ifunc.c: New file.
22368 * benchtests/bench-strncpy.c: New file.
22369 * benchtests/bench-strnlen-ifunc.c: New file.
22370 * benchtests/bench-strnlen.c: New file.
22371 * benchtests/bench-strpbrk-ifunc.c: New file.
22372 * benchtests/bench-strpbrk.c: New file.
22373 * benchtests/bench-strrchr-ifunc.c: New file.
22374 * benchtests/bench-strrchr.c: New file.
22375 * benchtests/bench-strspn-ifunc.c: New file.
22376 * benchtests/bench-strspn.c: New file.
22377 * benchtests/bench-strstr-ifunc.c: New file.
22378 * benchtests/bench-strstr.c: New file.
22379
c1f75dc3
SP
22380 * benchtests/Makefile: Disable parallel execution of targets.
22381 (string-bench): Add memcpy.
22382 (benchset): New variable to store a list of benchmark sets.
22383 (bench-func): Renamed from bench.
22384 (bench-set): New target.
22385 (bench): Depend on bench-func and bench-set.
22386 * benchtests/README: Add section on benchmark sets.
22387 * benchtests/bench-memcpy-ifunc.c: New file.
22388 * benchtests/bench-memcpy.c: New file.
22389 * benchtests/bench-string.h: New file.
22390
50fd745b
AS
223912013-06-11 Andreas Schwab <schwab@suse.de>
22392
22393 [BZ #15577]
22394 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22395 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22396 values in the triple.
22397 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22398 terminator in the group key.
22399
3ee7e9fe
AJ
224002013-06-11 Andreas Jaeger <aj@suse.de>
22401
22402 * po/zh_TW.po: Update Chinese (traditional) translation from
22403 translation project.
22404
89fb6835
SP
224052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22406
22407 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22408 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22409 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22410 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22411 (clock_getcpuclockid): Likewise.
22412 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22413 Add weak_alias and libc_hidden_def.
22414 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22415 * rt/clock_gettime.c (clock_gettime): Rename to
22416 __clock_gettime. Add weak_alias and libc_hidden_def.
22417 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22418 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22419 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22420 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22421 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22422 Likewise.
22423 * rt/clock_settime.c (clock_settime): Rename to
22424 __clock_settime. Add weak_alias and libc_hidden_def.
22425 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22426
0efa6f8b
JM
224272013-06-10 Joseph Myers <joseph@codesourcery.com>
22428
b8c61b4b
JM
22429 * mach/err_boot.sub: Remove trailing whitespace.
22430 * mach/err_ipc.sub: Likewise.
22431 * mach/err_mach.sub: Likewise.
22432
0efa6f8b
JM
22433 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22434 (ROUNDING_TESTS_double): Likewise.
22435 (ROUNDING_TESTS_long_double): Likewise.
22436 (ROUNDING_TESTS): Likewise.
22437 * math/libm-test.inc: Include <math-tests.h>.
22438 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22439 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22440 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22441 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22442
50b818bf
SP
224432013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22444
22445 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22446 of assigning.
22447
60d2f8f3
JM
224482013-06-08 Joseph Myers <joseph@codesourcery.com>
22449
4902d2c3
JM
22450 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22451 otherwise empty TRANS lines.
22452 * sysdeps/gnu/errlist.c: Regenerated.
22453
60d2f8f3
JM
22454 * catgets/gencat.c (error_print): Use (void) in function
22455 definition.
22456 * crypt/crypt_util.c (__init_des): Likewise.
22457 * crypt/speeds.c (Stop): Likewise.
22458 (main): Likewise.
22459 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22460 * inet/ruserpass.c (token): Likewise.
22461 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22462 * intl/localealias.c (extend_alias_table): Likewise.
22463 * intl/plural-exp.c (init_germanic_plural): Likewise.
22464 * libio/fcloseall.c (__fcloseall): Likewise.
22465 * libio/genops.c (_IO_flush_all): Likewise.
22466 (_IO_flush_all_linebuffered): Likewise.
22467 (_IO_cleanup): Likewise.
22468 (_IO_iter_begin): Likewise.
22469 (_IO_iter_end): Likewise.
22470 (_IO_list_lock): Likewise.
22471 (_IO_list_unlock): Likewise.
22472 (_IO_list_resetlock): Likewise.
22473 * libio/getchar.c (getchar): Likewise.
22474 * libio/getchar_u.c (getchar_unlocked): Likewise.
22475 * libio/getwchar.c (getwchar): Likewise.
22476 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22477 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22478 * login/getpt.c (__getpt): Likewise.
22479 * login/tst-utmp.c (main): Likewise.
22480 * malloc/hooks.c (__malloc_check_init): Likewise.
22481 * malloc/malloc.c (__malloc_stats): Likewise.
22482 * malloc/mtrace.c (tr_break): Likewise.
22483 (mtrace): Likewise.
22484 (muntrace): Likewise.
22485 * misc/fstab.c (endfsent): Likewise.
22486 * misc/getclktck.c (__getclktck): Likewise.
22487 * misc/getdtsz.c (__getdtablesize): Likewise.
22488 * misc/gethostid.c (gethostid): Likewise.
22489 * misc/getpagesize.c (__getpagesize): Likewise.
22490 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22491 (__get_nprocs): Likewise.
22492 (__get_phys_pages): Likewise.
22493 (__get_avphys_pages): Likewise.
22494 * misc/getttyent.c (getttyent): Likewise.
22495 (setttyent): Likewise.
22496 (endttyent): Likewise.
22497 * misc/getusershell.c (getusershell): Likewise.
22498 (endusershell): Likewise.
22499 (setusershell): Likewise.
22500 (initshells): Likewise.
22501 * misc/hsearch.c (__hdestroy): Likewise.
22502 * misc/sync.c (sync): Likewise.
22503 * misc/syslog.c (closelog_internal): Likewise.
22504 (closelog): Likewise.
22505 * misc/ttyslot.c (ttyslot): Likewise.
22506 * misc/vhangup.c (vhangup): Likewise.
22507 * posix/fork.c (__fork): Likewise.
22508 * posix/getegid.c (__getegid): Likewise.
22509 * posix/geteuid.c (__geteuid): Likewise.
22510 * posix/getgid.c (__getgid): Likewise.
22511 * posix/getpid.c (__getpid): Likewise.
22512 * posix/getppid.c (__getppid): Likewise.
22513 * posix/getuid.c (__getuid): Likewise.
22514 * posix/pause.c (pause): Likewise.
22515 * posix/setpgrp.c (setpgrp): Likewise.
22516 * posix/setsid.c (__setsid): Likewise.
22517 * posix/test-vfork.c (noop): Likewise.
22518 * resolv/gethnamaddr.c (_endhtent): Likewise.
22519 (_gethtent): Likewise.
22520 (ht_endhostent): Likewise.
22521 (gethostent): Likewise.
22522 (dns_service): Likewise.
22523 * stdlib/drand48.c (drand48): Likewise.
22524 * stdlib/lrand48.c (lrand48): Likewise.
22525 * stdlib/mrand48.c (mrand48): Likewise.
22526 * stdlib/rand.c (rand): Likewise.
22527 * stdlib/random.c (__random): Likewise.
22528 * stdlib/setenv.c (clearenv): Likewise.
22529 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22530 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22531 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22532 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22533 (__get_nprocs): Likewise.
22534 (__get_phys_pages): Likewise.
22535 (__get_avphys_pages): Likewise.
22536 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22537 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22538 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22539 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22540 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22541 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22542 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22543 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22544 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22545 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22546 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22547 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22548 * sysdeps/posix/clock.c (clock): Likewise.
22549 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22550 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22551 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22552 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22553 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22555 (__get_nprocs_conf): Likewise.
22556 (__get_phys_pages): Likewise.
22557 (__get_avphys_pages): Likewise.
22558 * time/clock.c (clock): Likewise.
22559 * time/tzset.c (__tzname_max): Likewise.
22560
2e09a79a
JM
225612013-06-07 Joseph Myers <joseph@codesourcery.com>
22562
22563 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22564 (__bswap_32): Do not use "register".
22565 * crypt/crypt.c (_ufc_doit_r): Likewise.
22566 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22567 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22568 * gmon/gmon.c (__monstartup): Likewise.
22569 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22570 * hurd/hurdmalloc.c (more_memory): Likewise.
22571 (malloc): Likewise.
22572 (free): Likewise.
22573 (realloc): Likewise.
22574 (malloc_fork_prepare): Likewise.
22575 (malloc_fork_parent): Likewise.
22576 (malloc_fork_child): Likewise.
22577 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22578 (_svcauth_des): Likewise.
22579 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22580 * inet/inet_net.c (inet_network): Likewise.
22581 * inet/inet_netof.c (inet_netof): Likewise.
22582 * inet/rcmd.c (__validuser2_sa): Likewise.
22583 * io/fts.c (fts_open): Likewise.
22584 (fts_load): Likewise.
22585 (fts_close): Likewise.
22586 (fts_read): Likewise.
22587 (fts_children): Likewise.
22588 (fts_build): Likewise.
22589 (fts_stat): Likewise.
22590 (fts_sort): Likewise.
22591 (fts_alloc): Likewise.
22592 (fts_lfree): Likewise.
22593 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22594 (_IO_file_xsgetn): Likewise.
22595 (_IO_file_xsgetn_mmap): Likewise.
22596 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22597 (_IO_cookie_write): Likewise.
22598 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22599 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22600 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22601 * malloc/obstack.c (_obstack_begin): Likewise.
22602 (_obstack_begin_1): Likewise.
22603 (_obstack_newchunk): Likewise.
22604 (_obstack_allocated_p): Likewise.
22605 (obstack_free): Likewise.
22606 (_obstack_memory_used): Likewise.
22607 * misc/getttyent.c (getttynam): Likewise.
22608 (getttyent): Likewise.
22609 (skip): Likewise.
22610 (value): Likewise.
22611 * misc/getusershell.c (initshells): Likewise.
22612 * misc/syslog.c (__vsyslog_chk): Likewise.
22613 * misc/ttyslot.c (ttyslot): Likewise.
22614 * nis/nis_hash.c (__nis_hash): Likewise.
22615 * posix/fnmatch_loop.c (FCT): Likewise.
22616 * posix/getconf.c (print_all): Likewise.
22617 (main): Likewise.
22618 * posix/getopt.c (exchange): Likewise.
22619 * posix/glob.c (globfree): Likewise.
22620 (prefix_array): Likewise.
22621 (__glob_pattern_type): Likewise.
22622 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22623 (NS_GET32): Likewise.
22624 (NS_PUT16): Likewise.
22625 (NS_PUT32): Likewise.
22626 * resolv/gethnamaddr.c (getanswer): Likewise.
22627 (gethostbyname2): Likewise.
22628 (gethostbyaddr): Likewise.
22629 (_gethtent): Likewise.
22630 (_gethtbyname2): Likewise.
22631 (_gethtbyaddr): Likewise.
22632 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22633 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22634 * resolv/res_init.c (__res_vinit): Likewise.
22635 (net_mask): Likewise.
22636 * resolv/res_mkquery.c (outchar): Likewise.
22637 (PRINT): Likewise.
22638 * stdio-common/printf_fp.c (outchar): Likewise.
22639 (PRINT): Likewise.
22640 * stdio-common/printf_fphex.c (outchar): Likewise.
22641 (PRINT): Likewise.
22642 * stdio-common/printf_size.c (outchar): Likewise.
22643 (PRINT): Likewise.
22644 * stdio-common/test_rdwr.c (main): Likewise.
22645 * stdio-common/tfformat.c (matches): Likewise.
22646 * stdio-common/vfprintf.c (outchar): Likewise.
22647 (printf_unknown): Likewise.
22648 (buffered_vfprintf): Likewise.
22649 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22650 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22651 (ReadFile): Likewise.
22652 * stdlib/qsort.c (SWAP): Likewise.
22653 (_quicksort): Likewise.
22654 * stdlib/setenv.c (__add_to_environ): Likewise.
22655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22656 * stdlib/strtol_l.c (__strtol_l): Likewise.
22657 * stdlib/tst-strtod.c (main): Likewise.
22658 * stdlib/tst-strtol.c (main): Likewise.
22659 * stdlib/tst-strtoll.c (main): Likewise.
22660 * string/bits/string2.h (__strcmp_cc): Likewise.
22661 (__strcmp_cg): Likewise.
22662 (__strcspn_c1): Likewise.
22663 (__strcspn_c2): Likewise.
22664 (__strcspn_c3): Likewise.
22665 (__strspn_c1): Likewise.
22666 (__strspn_c2): Likewise.
22667 (__strspn_c3): Likewise.
22668 (__strsep_1c): Likewise.
22669 (__strsep_2c): Likewise.
22670 (__strsep_3c): Likewise.
22671 * string/memccpy.c (__memccpy): Likewise.
22672 * string/stpcpy.c (__stpcpy): Likewise.
22673 * string/strcmp.c (strcmp): Likewise.
22674 * string/strrchr.c (strrchr): Likewise.
22675 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22676 Likewise.
22677 * sysdeps/mach/hurd/getcwd.c
22678 (_hurd_canonicalize_directory_name_internal): Likewise.
22679 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22680 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22681 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22682 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22683 Likewise, in both definitions.
22684 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22685 definitions.
22686 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22687 64] (__bswap_64): Likewise.
22688 * time/test_time.c (main): Likewise.
22689 * time/tzfile.c (__tzfile_read): Likewise.
22690 (__tzfile_compute): Likewise.
22691 * time/tzset.c (__tzset_parse_tz): Likewise.
22692 (tzset_internal): Likewise.
22693 (compute_change): Likewise.
22694 * wcsmbs/wcscat.c (__wcscat): Likewise.
22695 * wcsmbs/wcschr.c (wcschr): Likewise.
22696 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22697 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22698 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22699 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22700 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22701 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22702 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22703 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22704 * wcsmbs/wmemset.c (wmemset): Likewise.
22705
9e54314b
JM
227062013-06-06 Joseph Myers <joseph@codesourcery.com>
22707
22708 * scripts/config.guess: Update to version 2013-05-16.
22709 * scripts/config.sub: Update to version 2013-04-24.
22710 * scripts/install-sh: Update to version 2011-11-20.07.
22711 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22712 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22713
350635a5
OB
227142013-06-06 Ondřej Bílka <neleai@seznam.cz>
22715
22716 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22717 * elf/sln.c: Likewise.
22718 * hurd/hurd/ioctl.h: Likewise.
22719 * hurd/hurdmalloc.c: Likewise.
22720 * hurd/xattr.c: Likewise.
22721 * include/shlib-compat.h: Likewise.
22722 * inet/ruserpass.c: Likewise.
22723 * libio/iofgets_u.c: Likewise.
22724 * libio/iofgetws_u.c: Likewise.
22725 * locale/programs/ld-identification.c: Likewise.
22726 * locale/programs/ld-time.c: Likewise.
22727 * mach/msg-destroy.c: Likewise.
22728 * nss/nss_files/files-netgrp.c: Likewise.
22729 * resolv/res_data.c: Likewise.
22730 * soft-fp/op-1.h: Likewise.
22731 * soft-fp/op-2.h: Likewise.
22732 * soft-fp/op-4.h: Likewise.
22733 * soft-fp/op-common.h: Likewise.
22734 * stdio-common/printf_fphex.c: Likewise.
22735 * stdlib/strtod_l.c: Likewise.
22736 * sunrpc/rpc/clnt.h: Likewise.
22737 * sysdeps/generic/framestate.c: Likewise.
22738 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22739 * sysdeps/i386/bsd-setjmp.S: Likewise.
22740 * sysdeps/i386/__longjmp.S: Likewise.
22741 * sysdeps/i386/setjmp.S: Likewise.
22742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22743 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22744 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22760 * sysdeps/ieee754/support.c: Likewise.
22761 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22762 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22763 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22764 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22765 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22766 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22767 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22768 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22769 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22770 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22771 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22772 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22773 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22774 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22775 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22776 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22777 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22779
44a988af
OB
227802013-06-05 Ondřej Bílka <neleai@seznam.cz>
22781
25506f09 22782 * posix/transbug.c: Remove executable mode.
44a988af 22783
9c84384c
JM
227842013-06-05 Joseph Myers <joseph@codesourcery.com>
22785
22786 * crypt/speeds.c: Remove trailing whitespace.
22787 * dlfcn/default.c: Likewise.
22788 * elf/ifuncdep2.c: Likewise.
22789 * elf/ifuncmain1.c: Likewise.
22790 * elf/ifuncmain1vis.c: Likewise.
22791 * elf/testobj.h: Likewise.
22792 * elf/tst-stackguard1.c: Likewise.
22793 * gmon/sys/gmon.h: Likewise.
22794 * hurd/hurdmsg.c: Likewise.
22795 * hurd/new-fd.c: Likewise.
22796 * hurd/ports-get.c: Likewise.
22797 * iconvdata/ibm1008_420.c: Likewise.
22798 * inet/tst-getni1.c: Likewise.
22799 * inet/tst-getni2.c: Likewise.
22800 * libio/ioungetc.c: Likewise.
22801 * libio/wfiledoalloc.c: Likewise.
22802 * manual/libm-err-tab.pl: Likewise.
22803 * math/w_dremf.c: Likewise.
22804 * misc/ftruncate.c: Likewise.
22805 * posix/bug-glob2.c: Likewise.
22806 * posix/tst-pcre.c: Likewise.
22807 * posix/wait4.c: Likewise.
22808 * resolv/README: Likewise.
22809 * resolv/res_debug.h: Likewise.
22810 * resolv/tst-inet_ntop.c: Likewise.
22811 * setjmp/bug269-setjmp.c: Likewise.
22812 * soft-fp/extended.h: Likewise.
22813 * soft-fp/op-1.h: Likewise.
22814 * soft-fp/op-2.h: Likewise.
22815 * soft-fp/op-4.h: Likewise.
22816 * soft-fp/op-8.h: Likewise.
22817 * soft-fp/testit.c: Likewise.
22818 * stdio-common/bug16.c: Likewise.
22819 * stdlib/random.c: Likewise.
22820 * sunrpc/rpcsvc/rquota.x: Likewise.
22821 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22822 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22823 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22824 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22825 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22826 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22827 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22829 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22830 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22831 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22850 * sysdeps/ieee754/s_lib_version.c: Likewise.
22851 * sysdeps/mach/hurd/check_fds.c: Likewise.
22852 * sysdeps/mach/hurd/getsockname.c: Likewise.
22853 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22854 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22855 * sysdeps/powerpc/bits/link.h: Likewise.
22856 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22857 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22858 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22859 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22860 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22861 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22862 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22863 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22864 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22865 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22866 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22867 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22868 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22869 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22870 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22871 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22875 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22876 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22877 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22879 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22880 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22881 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22882 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22883 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22884 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22886 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22887 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22888 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22890 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22891 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22892 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22893 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22894 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22895 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22896 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22897 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22898 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22899 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22900 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22901 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22902 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22903 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22904 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22905 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22908 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22909 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22910 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22911 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22912 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22914 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22915 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22916 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22917 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22918 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22919 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22920 * sysdeps/powerpc/sysdep.h: Likewise.
22921 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22922 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22923 * sysdeps/sh/dl-trampoline.S: Likewise.
22924 * sysdeps/sh/memset.S: Likewise.
22925 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22926 * sysdeps/sh/strlen.S: Likewise.
22927 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22928 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22929 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22930 * sysdeps/sparc/sparc32/rem.S: Likewise.
22931 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22932 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22933 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22934 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22935 * sysdeps/sparc/sparc32/urem.S: Likewise.
22936 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22937 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22938 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22939 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22940 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22941 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22942 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22943 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22944 * sysdeps/unix/bsd/times.c: Likewise.
22945 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22946 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22950 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22951 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22952 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22953 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22954 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22955 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22956 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22957 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22958 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22959 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22960 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22961 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22962 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22963 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22964 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22965 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22966 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22967 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22968 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22969 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22970 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22971 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22972 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22973 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22974 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22975 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22976 * sysdeps/x86_64/strcspn.S: Likewise.
22977
869378a5
RA
229782013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22979
22980 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22981 generated file. Regenerate properly from gen-translit.pl.
22982 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22983 locale/C-translit.h.
22984
840e2943
AS
229852013-06-05 Andreas Schwab <schwab@suse.de>
22986
22987 [BZ #15100]
22988 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22989 week as 6 instead of -1.
22990 * time/tst-strptime.c (day_tests): Add test case.
22991
4c60cb0c
SP
229922013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22993
22994 * sysdeps/generic/math_private.h
22995 (libc_feholdexcept_setround_53bit): Replace with
22996 libc_feholdsetround_53bit.
22997 (libc_feupdateenv_53bit): Replace with
22998 libc_feresetround_53bit.
22999 (SET_RESTORE_ROUND_53BIT): Adjust.
23000
d180203e
SP
230012013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23002
96df079a
SP
23003 * string/test-strchrnul.c: Add copyright header.
23004
d180203e
SP
23005 * posix/tst-getaddrinfo4.c: Increase test timeout.
23006
8b0ccb2d
CD
230072013-06-03 Carlos O'Donell <carlos@redhat.com>
23008
23009 [BZ #15536]
23010 * math/libm-test.inc (MAX_EXP): Remove
23011 (MIN_EXP): Define.
23012 (ulp): Use MIN_EXP - MANT_DIG.
23013 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23014
3b3c4d40
CD
230152013-05-31 Carlos O'Donell <carlos@redhat.com>
23016
23017 * po/be.po: Revert last change.
23018 * po/zh_CN.po: Likewise.
23019 * po/header.pot: Likewise.
23020
fab7ce3f
JM
230212013-05-31 Joseph Myers <joseph@codesourcery.com>
23022
23023 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23024 link-libc-deps to empty as target-specific variable.
23025 * Makerules (link-libc-args): New variable.
23026 (libc-for-link): Likewise.
23027 (link-libc-deps): Likewise.
23028 (lib%.so): Depend on $(link-libc-deps). Link with
23029 $(link-libc-args).
23030 (build-module): Link with $(link-libc-args).
23031 (build-module-asneeded): Likewise.
23032 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23033 list of objects.
23034 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23035 target-specific variable.
23036 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23037 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23038 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23039 libc.
23040 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23041 libc and ld.so.
23042 ($(objpfx)libpcprofile.so): Likewise.
23043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23044 libc_nonshared.a.
23045 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23046 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23047 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23048 $(link-libc-deps).
23049 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23050 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23051 * login/Makefile ($(objpfx)libutil.so): Likewise.
23052 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23053 * math/Makefile ($(objpfx)libm.so): Likewise.
23054 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23055 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23056 variable instead of depending directly on libc.
23057 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23058 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23059 $(link-libc-deps).
23060 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23061 libc.
23062 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23063 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23064 ($(objpfx)libanl.so): Likewise.
23065 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23066 ld.so.
23067 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23068 $(link-libc-deps).
23069 * sysdeps/i386/fpu/Makefile: Remove file.
23070 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23071 ($(objpfx)libm.so): Remove dependency on ld.so.
23072
eca5920c
PF
230732013-05-30 Patsy Franklin <pfrankli@redhat.com>
23074
23075 [BZ # 15553]
23076 * nis/yp_xdr.c (XDRMAXNAME): Define.
23077 (XDRMAXRECORD): Define.
23078 (xdr_domainname): Use XDRMAXNAME.
23079 (xdr_mapname): Likewise.
23080 (xdr_peername): Likewise.
23081 (xdr_keydat): Use XDRMAXRECORD.
23082 (xdr_valdat): Likewise.
23083
230842013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23085
23086 [BZ #14256]
23087 * manual/errno.texi (ESTALE): Update to account for more than
23088 just NFS file systems.
23089 * sysdeps/gnu/errlist.c: Regenerated.
23090
b9375348
SP
230912013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23092
23093 [BZ #15465]
23094 * elf/Makefile (tests): Add tst-null-argv.
23095 (modules-names): Add tst-null-argv-lib.
23096 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23097 (tst-null-argv-ENV): Set environment for tst-null-argv.
23098 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23099 (RTLD_PROGNAME): New macro.
23100 * elf/tst-null-argv.c: New test case.
23101 * elf/tst-null-argv-lib.c: Library for test case.
23102 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23103 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23104 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23105 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23106 * elf/dl-init.c (call_init): Likewise.
23107 (_dl_init): Likewise.
23108 * elf/dl-load.c (print_search_path): Likewise.
23109 (_dl_map_object): Likewise.
23110 * elf/dl-lookup.c (do_lookup_x): Likewise.
23111 (add_dependency): Likewise.
23112 (_dl_lookup_symbol_x): Likewise.
23113 (_dl_debug_bindings): Likewise.
23114 * elf/dl-open.c (_dl_show_scope): Likewise.
23115 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23116 * elf/dl-version.c (match_symbol): Likewise.
23117 (_dl_check_map_versions): Likewise.
23118 * elf/rtld.c (dl_main): Likewise.
23119 (print_unresolved): Use RTLD_PROGNAME.
23120 (print_missing_version): Likewise.
23121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23122 (elf_machine_rela): Likewise.
23123 * sysdeps/powerpc/powerpc32/dl-machine.c
23124 (__process_machine_rela): Likewise.
23125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23126 Likewise.
23127 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23128 Likewise.
23129 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23130 Likewise.
23131 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23133 Likewise.
23134 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23135 Likewise.
23136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23137
8a9f20c8
CD
231382013-05-28 Carlos O'Donell <carlos@redhat.com>
23139
23140 * po/be.po: Add descriptive title.
23141 * po/zh_CN.po: Likewise.
23142 * po/header.pot: Likewise.
23143
0e60d68e
MF
231442013-05-28 Mike Frysinger <vapier@gentoo.org>
23145
23146 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23147 error message.
23148 (enlarge_archive): Likewise.
23149
56b672e9
BN
231502013-05-28 Ben North <ben@redfrontdoor.org>
23151
23152 * manual/arith.texi (frexp): It is the magnitude of the return
23153 value which lies in [0.5, 1), not the return value itself.
23154
5e056687
AZ
231552013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23156
23157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23158
2b66ef5d
TS
231592013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23160
528c2405
TS
23161 * stdio-common/bug26.c (main): Correct fscanf template.
23162
07b4c13d
TS
23163 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23164 declare _dl_skip_args.
23165
ec9dd97c
TS
23166 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23167 Don't declare.
23168
2b66ef5d
TS
23169 * manual/platform.texi: Add missing @end deftypefun.
23170
4f8dfe27
JM
231712013-05-24 Joseph Myers <joseph@codesourcery.com>
23172
0323d086
JM
23173 [BZ #15529]
23174 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23175 bit of mantissa of 2^16382.
23176 * math/libm-test.inc (hypot_test_data): Add more tests.
23177
dd4259b9
JM
23178 * math/libm-test.inc: Add drem and pow10 to list of tested
23179 functions.
23180 (pow10_test): New function.
23181 (drem_test): Likewise.
23182 (drem_test_tonearest): Likewise.
23183 (drem_test_towardzero): Likewise.
23184 (drem_test_downward): Likewise.
23185 (drem_test_upward): Likewise.
23186 (main): Call the new functions.
23187
4f8dfe27
JM
23188 * math/libm-test.inc (finite_test_data): Remove.
23189 (finite_test): Run tests from isfinite_test_data.
23190 (gamma_test_data): Remove.
23191 (gamma_test): Run tests from lgamma_test_data.
23192 * sysdeps/i386/fpu/libm-test-ulps: Update.
23193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23194
d116b7c4
AZ
231952013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23196
23197 * manual/platform.texi: Add PowerPC PPR function set documentation.
23198 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23199 implementation.
23200
e96e3767
CD
232012013-05-24 Carlos O'Donell <carlos@redhat.com>
23202
23203 * math/libm-test.inc (MAX_EXP): Define.
23204 (ULPDIFF): Define.
23205 (ulp): New function.
23206 (check_float_internal): Use ULPDIFF.
23207 (cpow_test): Disable failing test.
23208 (check_ulp): Test ulp() implemetnation.
23209 (main): Call check_ulp before starting tests.
23210
b679a606
JM
232112013-05-24 Joseph Myers <joseph@codesourcery.com>
23212
e8bdba36
JM
23213 * math/gen-libm-test.pl (generate_testfile): Do not handle
23214 START_DATA and END_DATA.
23215 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23216 END_DATA.
23217 (acos_tonearest_test_data): Likewise.
23218 (acos_towardzero_test_data): Likewise.
23219 (acos_downward_test_data): Likewise.
23220 (acos_upward_test_data): Likewise.
23221 (acosh_test_data): Likewise.
23222 (asin_test_data): Likewise.
23223 (asin_tonearest_test_data): Likewise.
23224 (asin_towardzero_test_data): Likewise.
23225 (asin_downward_test_data): Likewise.
23226 (asin_upward_test_data): Likewise.
23227 (asinh_test_data): Likewise.
23228 (atan_test_data): Likewise.
23229 (atanh_test_data): Likewise.
23230 (atan2_test_data): Likewise.
23231 (cabs_test_data): Likewise.
23232 (cacos_test_data): Likewise.
23233 (cacosh_test_data): Likewise.
23234 (carg_test_data): Likewise.
23235 (casin_test_data): Likewise.
23236 (casinh_test_data): Likewise.
23237 (catan_test_data): Likewise.
23238 (catanh_test_data): Likewise.
23239 (cbrt_test_data): Likewise.
23240 (ccos_test_data): Likewise.
23241 (ccosh_test_data): Likewise.
23242 (ceil_test_data): Likewise.
23243 (cexp_test_data): Likewise.
23244 (cimag_test_data): Likewise.
23245 (clog_test_data): Likewise.
23246 (clog10_test_data): Likewise.
23247 (conj_test_data): Likewise.
23248 (copysign_test_data): Likewise.
23249 (cos_test_data): Likewise.
23250 (cos_tonearest_test_data): Likewise.
23251 (cos_towardzero_test_data): Likewise.
23252 (cos_downward_test_data): Likewise.
23253 (cos_upward_test_data): Likewise.
23254 (cosh_test_data): Likewise.
23255 (cosh_tonearest_test_data): Likewise.
23256 (cosh_towardzero_test_data): Likewise.
23257 (cosh_downward_test_data): Likewise.
23258 (cosh_upward_test_data): Likewise.
23259 (cpow_test_data): Likewise.
23260 (cproj_test_data): Likewise.
23261 (creal_test_data): Likewise.
23262 (csin_test_data): Likewise.
23263 (csinh_test_data): Likewise.
23264 (csqrt_test_data): Likewise.
23265 (ctan_test_data): Likewise.
23266 (ctan_tonearest_test_data): Likewise.
23267 (ctan_towardzero_test_data): Likewise.
23268 (ctan_downward_test_data): Likewise.
23269 (ctan_upward_test_data): Likewise.
23270 (ctanh_test_data): Likewise.
23271 (ctanh_tonearest_test_data): Likewise.
23272 (ctanh_towardzero_test_data): Likewise.
23273 (ctanh_downward_test_data): Likewise.
23274 (ctanh_upward_test_data): Likewise.
23275 (erf_test_data): Likewise.
23276 (erfc_test_data): Likewise.
23277 (exp_test_data): Likewise.
23278 (exp_tonearest_test_data): Likewise.
23279 (exp_towardzero_test_data): Likewise.
23280 (exp_downward_test_data): Likewise.
23281 (exp_upward_test_data): Likewise.
23282 (exp10_test_data): Likewise.
23283 (exp2_test_data): Likewise.
23284 (expm1_test_data): Likewise.
23285 (fabs_test_data): Likewise.
23286 (fdim_test_data): Likewise.
23287 (finite_test_data): Likewise.
23288 (floor_test_data): Likewise.
23289 (fma_test_data): Likewise.
23290 (fma_towardzero_test_data): Likewise.
23291 (fma_downward_test_data): Likewise.
23292 (fma_upward_test_data): Likewise.
23293 (fmax_test_data): Likewise.
23294 (fmin_test_data): Likewise.
23295 (fmod_test_data): Likewise.
23296 (fpclassify_test_data): Likewise.
23297 (frexp_test_data): Likewise.
23298 (gamma_test_data): Likewise.
23299 (hypot_test_data): Likewise.
23300 (ilogb_test_data): Likewise.
23301 (isfinite_test_data): Likewise.
23302 (isgreater_test_data): Likewise.
23303 (isgreaterequal_test_data): Likewise.
23304 (isinf_test_data): Likewise.
23305 (isless_test_data): Likewise.
23306 (islessequal_test_data): Likewise.
23307 (islessgreater_test_data): Likewise.
23308 (isnan_test_data): Likewise.
23309 (isnormal_test_data): Likewise.
23310 (issignaling_test_data): Likewise.
23311 (isunordered_test_data): Likewise.
23312 (j0_test_data): Likewise.
23313 (j1_test_data): Likewise.
23314 (jn_test_data): Likewise.
23315 (ldexp_test_data): Likewise.
23316 (lgamma_test_data): Likewise.
23317 (lrint_test_data): Likewise.
23318 (lrint_tonearest_test_data): Likewise.
23319 (lrint_towardzero_test_data): Likewise.
23320 (lrint_downward_test_data): Likewise.
23321 (lrint_upward_test_data): Likewise.
23322 (llrint_test_data): Likewise.
23323 (llrint_tonearest_test_data): Likewise.
23324 (llrint_towardzero_test_data): Likewise.
23325 (llrint_downward_test_data): Likewise.
23326 (llrint_upward_test_data): Likewise.
23327 (log_test_data): Likewise.
23328 (log10_test_data): Likewise.
23329 (log1p_test_data): Likewise.
23330 (log2_test_data): Likewise.
23331 (logb_test_data): Likewise.
23332 (logb_downward_test_data): Likewise.
23333 (lround_test_data): Likewise.
23334 (llround_test_data): Likewise.
23335 (modf_test_data): Likewise.
23336 (nearbyint_test_data): Likewise.
23337 (nextafter_test_data): Likewise.
23338 (nexttoward_test_data): Likewise.
23339 (pow_test_data): Likewise.
23340 (pow_tonearest_test_data): Likewise.
23341 (pow_towardzero_test_data): Likewise.
23342 (pow_downward_test_data): Likewise.
23343 (pow_upward_test_data): Likewise.
23344 (remainder_test_data): Likewise.
23345 (remainder_tonearest_test_data): Likewise.
23346 (remainder_towardzero_test_data): Likewise.
23347 (remainder_downward_test_data): Likewise.
23348 (remainder_upward_test_data): Likewise.
23349 (remquo_test_data): Likewise.
23350 (rint_test_data): Likewise.
23351 (rint_tonearest_test_data): Likewise.
23352 (rint_towardzero_test_data): Likewise.
23353 (rint_downward_test_data): Likewise.
23354 (rint_upward_test_data): Likewise.
23355 (round_test_data): Likewise.
23356 (scalb_test_data): Likewise.
23357 (scalbn_test_data): Likewise.
23358 (scalbln_test_data): Likewise.
23359 (signbit_test_data): Likewise.
23360 (sin_test_data): Likewise.
23361 (sin_tonearest_test_data): Likewise.
23362 (sin_towardzero_test_data): Likewise.
23363 (sin_downward_test_data): Likewise.
23364 (sin_upward_test_data): Likewise.
23365 (sincos_test_data): Likewise.
23366 (sinh_test_data): Likewise.
23367 (sinh_tonearest_test_data): Likewise.
23368 (sinh_towardzero_test_data): Likewise.
23369 (sinh_downward_test_data): Likewise.
23370 (sinh_upward_test_data): Likewise.
23371 (sqrt_test_data): Likewise.
23372 (tan_test_data): Likewise.
23373 (tan_tonearest_test_data): Likewise.
23374 (tan_towardzero_test_data): Likewise.
23375 (tan_downward_test_data): Likewise.
23376 (tan_upward_test_data): Likewise.
23377 (tanh_test_data): Likewise.
23378 (tgamma_test_data): Likewise.
23379 (trunc_test_data): Likewise.
23380 (y0_test_data): Likewise.
23381 (y1_test_data): Likewise.
23382 (yn_test_data): Likewise.
23383 (significand_test_data): Likewise.
23384
b679a606
JM
23385 * math/gen-libm-test.pl (@functions): Remove variable.
23386 (generate_testfile): Don't handle START and END lines.
23387 * math/libm-test.inc (START): New macro.
23388 (END): Likewise.
23389 (END_COMPLEX): Likewise.
23390 (acos_test): Use END macro without arguments.
23391 (acos_test_tonearest): Likewise.
23392 (acos_test_towardzero): Likewise.
23393 (acos_test_downward): Likewise.
23394 (acos_test_upward): Likewise.
23395 (acosh_test): Likewise.
23396 (asin_test): Likewise.
23397 (asin_test_tonearest): Likewise.
23398 (asin_test_towardzero): Likewise.
23399 (asin_test_downward): Likewise.
23400 (asin_test_upward): Likewise.
23401 (asinh_test): Likewise.
23402 (atan_test): Likewise.
23403 (atanh_test): Likewise.
23404 (atan2_test): Likewise.
23405 (cabs_test): Likewise.
23406 (cacos_test): Use END_COMPLEX macro without arguments.
23407 (cacosh_test): Likewise.
23408 (carg_test): Use END macro without arguments.
23409 (casin_test): Use END_COMPLEX macro without arguments.
23410 (casinh_test): Likewise.
23411 (catan_test): Likewise.
23412 (catanh_test): Likewise.
23413 (cbrt_test): Use END macro without arguments.
23414 (ccos_test): Use END_COMPLEX macro without arguments.
23415 (ccosh_test): Likewise.
23416 (ceil_test): Use END macro without arguments.
23417 (cexp_test): Use END_COMPLEX macro without arguments.
23418 (cimag_test): Use END macro without arguments.
23419 (clog_test): Use END_COMPLEX macro without arguments.
23420 (clog10_test): Likewise.
23421 (conj_test): Likewise.
23422 (copysign_test): Use END macro without arguments.
23423 (cos_test): Likewise.
23424 (cos_test_tonearest): Likewise.
23425 (cos_test_towardzero): Likewise.
23426 (cos_test_downward): Likewise.
23427 (cos_test_upward): Likewise.
23428 (cosh_test): Likewise.
23429 (cosh_test_tonearest): Likewise.
23430 (cosh_test_towardzero): Likewise.
23431 (cosh_test_downward): Likewise.
23432 (cosh_test_upward): Likewise.
23433 (cpow_test): Use END_COMPLEX macro without arguments.
23434 (cproj_test): Likewise.
23435 (creal_test): Use END macro without arguments.
23436 (csin_test): Use END_COMPLEX macro without arguments.
23437 (csinh_test): Likewise.
23438 (csqrt_test): Likewise.
23439 (ctan_test): Likewise.
23440 (ctan_test_tonearest): Likewise.
23441 (ctan_test_towardzero): Likewise.
23442 (ctan_test_downward): Likewise.
23443 (ctan_test_upward): Likewise.
23444 (ctanh_test): Likewise.
23445 (ctanh_test_tonearest): Likewise.
23446 (ctanh_test_towardzero): Likewise.
23447 (ctanh_test_downward): Likewise.
23448 (ctanh_test_upward): Likewise.
23449 (erf_test): Use END macro without arguments.
23450 (erfc_test): Likewise.
23451 (exp_test): Likewise.
23452 (exp_test_tonearest): Likewise.
23453 (exp_test_towardzero): Likewise.
23454 (exp_test_downward): Likewise.
23455 (exp_test_upward): Likewise.
23456 (exp10_test): Likewise.
23457 (exp2_test): Likewise.
23458 (expm1_test): Likewise.
23459 (fabs_test): Likewise.
23460 (fdim_test): Likewise.
23461 (finite_test): Likewise.
23462 (floor_test): Likewise.
23463 (fma_test): Likewise.
23464 (fma_test_towardzero): Likewise.
23465 (fma_test_downward): Likewise.
23466 (fma_test_upward): Likewise.
23467 (fmax_test): Likewise.
23468 (fmin_test): Likewise.
23469 (fmod_test): Likewise.
23470 (fpclassify_test): Likewise.
23471 (frexp_test): Likewise.
23472 (gamma_test): Likewise.
23473 (hypot_test): Likewise.
23474 (ilogb_test): Likewise.
23475 (isfinite_test): Likewise.
23476 (isgreater_test): Likewise.
23477 (isgreaterequal_test): Likewise.
23478 (isinf_test): Likewise.
23479 (isless_test): Likewise.
23480 (islessequal_test): Likewise.
23481 (islessgreater_test): Likewise.
23482 (isnan_test): Likewise.
23483 (isnormal_test): Likewise.
23484 (issignaling_test): Likewise.
23485 (isunordered_test): Likewise.
23486 (j0_test): Likewise.
23487 (j1_test): Likewise.
23488 (jn_test): Likewise.
23489 (ldexp_test): Likewise.
23490 (lgamma_test): Likewise.
23491 (lrint_test): Likewise.
23492 (lrint_test_tonearest): Likewise.
23493 (lrint_test_towardzero): Likewise.
23494 (lrint_test_downward): Likewise.
23495 (lrint_test_upward): Likewise.
23496 (llrint_test): Likewise.
23497 (llrint_test_tonearest): Likewise.
23498 (llrint_test_towardzero): Likewise.
23499 (llrint_test_downward): Likewise.
23500 (llrint_test_upward): Likewise.
23501 (log_test): Likewise.
23502 (log10_test): Likewise.
23503 (log1p_test): Likewise.
23504 (log2_test): Likewise.
23505 (logb_test): Likewise.
23506 (logb_test_downward): Likewise.
23507 (lround_test): Likewise.
23508 (llround_test): Likewise.
23509 (modf_test): Likewise.
23510 (nearbyint_test): Likewise.
23511 (nextafter_test): Likewise.
23512 (nexttoward_test): Likewise.
23513 (pow_test): Likewise.
23514 (pow_test_tonearest): Likewise.
23515 (pow_test_towardzero): Likewise.
23516 (pow_test_downward): Likewise.
23517 (pow_test_upward): Likewise.
23518 (remainder_test): Likewise.
23519 (remainder_test_tonearest): Likewise.
23520 (remainder_test_towardzero): Likewise.
23521 (remainder_test_downward): Likewise.
23522 (remainder_test_upward): Likewise.
23523 (remquo_test): Likewise.
23524 (rint_test): Likewise.
23525 (rint_test_tonearest): Likewise.
23526 (rint_test_towardzero): Likewise.
23527 (rint_test_downward): Likewise.
23528 (rint_test_upward): Likewise.
23529 (round_test): Likewise.
23530 (scalb_test): Likewise.
23531 (scalbn_test): Likewise.
23532 (scalbln_test): Likewise.
23533 (signbit_test): Likewise.
23534 (sin_test): Likewise.
23535 (sin_test_tonearest): Likewise.
23536 (sin_test_towardzero): Likewise.
23537 (sin_test_downward): Likewise.
23538 (sin_test_upward): Likewise.
23539 (sincos_test): Likewise.
23540 (sinh_test): Likewise.
23541 (sinh_test_tonearest): Likewise.
23542 (sinh_test_towardzero): Likewise.
23543 (sinh_test_downward): Likewise.
23544 (sinh_test_upward): Likewise.
23545 (sqrt_test): Likewise.
23546 (tan_test): Likewise.
23547 (tan_test_tonearest): Likewise.
23548 (tan_test_towardzero): Likewise.
23549 (tan_test_downward): Likewise.
23550 (tan_test_upward): Likewise.
23551 (tanh_test): Likewise.
23552 (tgamma_test): Likewise.
23553 (trunc_test): Likewise.
23554 (y0_test): Likewise.
23555 (y1_test): Likewise.
23556 (yn_test): Likewise.
23557 (significand_test): Likewise.
23558
bae143d2
OB
235592013-05-24 Ondřej Bílka <neleai@seznam.cz>
23560
23561 [BZ #15381]
23562 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23563
9323d39b
EM
235642013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23565
d4ea44a0 23566 [BZ #14894]
9323d39b
EM
23567 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23568 __ppc_mdoio and __ppc_mdoom.
23569 * manual/platform.texi: Document new functions __ppc_yield,
23570 __ppc_mdoio and __ppc_mdoom.
23571
13e23af7
CD
235722013-05-22 Carlos O'Donell <carlos@redhat.com>
23573
23574 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23575 (main): Mention "tls" pseudo-hwcap is legacy.
23576 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23577
351fe550
JM
235782013-05-22 Joseph Myers <joseph@codesourcery.com>
23579
23580 * math/gen-libm-test.pl (parse_args): Output only string of
23581 arguments as text for test name, not full call or descriptions of
23582 tests for extra outputs.
23583 (generate_testfile): Do not pass function name to parse_args.
23584 Generate this_func variable from START.
23585 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23586 field to arg_str.
23587 (struct test_ff_f_data): Likewise.
23588 (test_ff_f_data_nexttoward): Likewise.
23589 (struct test_fi_f_data): Likewise.
23590 (struct test_fl_f_data): Likewise.
23591 (struct test_if_f_data): Likewise.
23592 (struct test_fff_f_data): Likewise.
23593 (struct test_c_f_data): Likewise.
23594 (struct test_f_f1_data): Likewise. Remove field extra_name.
23595 (struct test_fF_f1_data): Likewise.
23596 (struct test_ffI_f1_data): Likewise.
23597 (struct test_c_c_data): Rename test_name field to arg_str.
23598 (struct test_cc_c_data): Likewise.
23599 (struct test_f_i_data): Likewise.
23600 (struct test_ff_i_data): Likewise.
23601 (struct test_f_l_data): Likewise.
23602 (struct test_f_L_data): Likewise.
23603 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23604 and extra2_name.
23605 (COMMON_TEST_SETUP): New macro.
23606 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23607 (COMMON_TEST_CLEANUP): Likewise.
23608 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23609 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23610 macros.
23611 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23612 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23613 macros.
23614 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23615 (RUN_TEST_fff_f): Take argument string. Call new setup and
23616 cleanup macros.
23617 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23618 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23619 macros.
23620 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23621 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23622 macros.
23623 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23624 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23625 cleanup macros.
23626 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23627 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23628 cleanup macros.
23629 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23630 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23631 cleanup macros.
23632 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23633 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23634 macros.
23635 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23636 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23637 macros.
23638 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23639 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23640 macros.
23641 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23642 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23643 cleanup macros.
23644 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23645 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23646 cleanup macros.
23647 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23648 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23649 macros.
23650 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23651 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23652 cleanup macros.
23653 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23654 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23655 macros.
23656 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23657 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23658 macros.
23659 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23660 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23661 cleanup macros.
23662 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23663
85118d4d
EBM
236642013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23665
23666 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23667 to _sifields.sigfault.
23668 (si_addr_lsb): Define new macro.
23669 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23671 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23672
7a44c18f
CD
236732013-05-03 Carlos O'Donell <carlos at redhat.com>
23674
23675 [BZ #15441]
23676 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23677 returns -1.
23678 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23679 null return -1.
23680 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23681 loading the domain.
23682
b50a7181
JM
236832013-05-22 Joseph Myers <joseph@codesourcery.com>
23684
23685 * math/gen-libm-test.pl (parse_args): Do not include expected
23686 result in test name.
23687 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23690 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23691 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23693
051063c8
SP
236942013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23695
3ce9e010
SP
23696 * benchtests/Makefile: Sort function entries.
23697
051063c8
SP
23698 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23699 tanh, asinh, acosh, atanh.
23700 * benchtests/acos-inputs: New file.
23701 * benchtests/acosh-inputs: New file.
23702 * benchtests/asin-inputs: New file.
23703 * benchtests/asinh-inputs: New file.
23704 * benchtests/atanh-inputs: New file.
23705 * benchtests/cosh-inputs: New file.
23706 * benchtests/log-inputs: New file.
23707 * benchtests/sinh-inputs: New file.
23708 * benchtests/tanh-inputs: New file.
23709
47c22455
DL
237102013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23711
23712 [BZ #15339]
23713 * posix/tst-getaddrinfo4.c: New test.
23714 * posix/Makefile (tests): Add it.
23715
3d04f5db
SP
237162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23717
23718 [BZ #15339]
23719 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23720 when no services were used.
23721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23722 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23723
d5dd6189
AS
237242013-05-21 Andreas Schwab <schwab@suse.de>
23725
23726 [BZ #15014]
23727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23728 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23729 successful.
23730 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23731 redundant variable declarations and reallocation of buffer when
23732 parsing as IPv6 address. Always set NSS status when called from
23733 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23734 buffer too small. Correct computation of needed size.
23735 * nss/Makefile (tests): Add test-digits-dots.
23736 * nss/test-digits-dots.c: New test.
23737
fef94eab
SP
237382013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23739
23740 * benchtests/Makefile: Remove instructions for adding
23741 benchmark tests.
23742 * benchtests/README: New file to explain how to execute and
23743 enhance the benchmark tests.
23744
e39adf43
AS
237452013-05-21 Andreas Schwab <schwab@suse.de>
23746
23747 [BZ #15493]
23748 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23749 * setjmp/tst-sigsetjmp.c: New test.
23750
b2b671b6
OB
237512013-05-20 Ondřej Bílka <neleai@seznam.cz>
23752
23753 * sysdeps/x86_64/memset.S (memset): New implementation.
23754 (__bzero): Likewise.
23755 (__memset_tail): New function.
23756
2d48b41c
OB
237572013-05-20 Ondřej Bílka <neleai@seznam.cz>
23758
23759 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23760 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23761 __memcpy_sse2_unaligned ifunc selection.
23762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23763 Add memcpy-sse2-unaligned.S.
23764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23765 Add: __memcpy_sse2_unaligned.
23766
f16cc3eb
JM
237672013-05-19 Joseph Myers <joseph@codesourcery.com>
23768
3e694268
JM
23769 [BZ #15490]
23770 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23771 math_force_eval before restoring floating-point envrionment.
23772 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23774 Likewise.
23775 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23776 <math_private.h>.
23777 (__nearbyintl): Use math_force_eval before restoring
23778 floating-point environment.
23779 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23780
db62a907
JM
23781 * math/gen-libm-test.pl (special_functions): Remove.
23782 (parse_args): Don't handle TEST_extra. Handle functions with no
23783 return value.
23784 * math/libm-test.inc (struct test_sincos_data): Replace with
23785 struct test_fFF_11_data.
23786 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23787 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23788 (sincos_test_data): Change element type to struct
23789 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23790 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23791 RUN_TEST_LOOP_sincos.
23792 * math/README.libm-test: Don't mention special handling of
23793 individual functions.
23794 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23796 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23797 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23798 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23800
f16cc3eb
JM
23801 * math/gen-libm-test.pl (get_variable): Remove function.
23802 (parse_args): Don't show pointer parameters to call in test
23803 names. Use "extra output N" in test names for extra outputs
23804 rather than naming variables.
23805
3779b5b6
JM
238062013-05-18 Joseph Myers <joseph@codesourcery.com>
23807
2ee094ff
JM
23808 [BZ #15488]
23809 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23810 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23811 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23812 double tests.
23813 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23814 disable.
23815 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23816 check_long_double.
23817
3779b5b6
JM
23818 * math/gen-libm-test.pl (@tests): Remove variable.
23819 ($count): Likewise.
23820 (new_test): Remove function.
23821 (show_exceptions): New function.
23822 (special_functions): Use show_exceptions instead of new_test.
23823 (parse_args): Likewise.
23824 (generate_testfile): Pass only function name in generated call to
23825 print_max_error or print_complex_max_error.
23826 (get_ulps): Do not handle complex tests specially.
23827 (output_test): Rename to ...
23828 (get_all_ulps_for_test): ... this. Return a string rather than
23829 printing to a file. Require ulps to be present.
23830 (output_ulps): Generate arrays rather than #defines.
23831 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23832 (struct ulp_data): New type.
23833 (BUILD_COMPLEX_ULP): Remove macro.
23834 (compare_ulp_data): New function.
23835 (find_ulps): Likewise.
23836 (find_test_ulps): Likewise.
23837 (find_function_ulps): Likewise.
23838 (find_complex_function_ulps): Likewise.
23839 (print_max_error): Determine allowed ulps using
23840 find_function_ulps.
23841 (print_complex_max_error): Determine allowed ulps using
23842 find_complex_function_ulps.
23843 (check_float_internal): Determine max ulps using find_test_ulps.
23844 (check_float): Do not take max_ulp parameter. Update call to
23845 check_float_internal.
23846 (check_complex): Likewise.
23847 (check_int): Do not take max_ulp parameter.
23848 (check_long): Likewise.
23849 (check_bool): Likewise.
23850 (check_longlong): Likewise.
23851 (struct test_f_f_data): Remove max_ulp field.
23852 (struct test_ff_f_data): Likewise.
23853 (struct test_ff_f_data_nexttoward): Likewise.
23854 (struct test_fi_f_data): Likewise.
23855 (struct test_fl_f_data): Likewise.
23856 (struct test_if_f_data): Likewise.
23857 (struct test_fff_f_data): Likewise.
23858 (struct test_c_f_data): Likewise.
23859 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23860 (struct test_fF_f1_data): Likewise.
23861 (struct test_ffI_f1_data): Likewise.
23862 (struct test_c_c_data): Remove max_ulp field.
23863 (struct test_cc_c_data): Likewise.
23864 (struct test_f_i_data): Likewise.
23865 (struct test_ff_i_data): Likewise.
23866 (struct test_f_l_data): Likewise.
23867 (struct test_f_L_data): Likewise.
23868 (struct test_sincos_data): Likewise.
23869 (RUN_TEST_f_f): Do not handle ulps.
23870 (RUN_TEST_LOOP_f_f): Likewise.
23871 (RUN_TEST_2_f): Likewise.
23872 (RUN_TEST_LOOP_2_f): Likewise.
23873 (RUN_TEST_fff_f): Likewise.
23874 (RUN_TEST_LOOP_fff_f): Likewise.
23875 (RUN_TEST_c_f): Likewise.
23876 (RUN_TEST_LOOP_c_f): Likewise.
23877 (RUN_TEST_f_f1): Likewise.
23878 (RUN_TEST_LOOP_f_f1): Likewise.
23879 (RUN_TEST_fF_f1): Likewise.
23880 (RUN_TEST_LOOP_fF_f1): Likewise.
23881 (RUN_TEST_fI_f1): Likewise.
23882 (RUN_TEST_LOOP_fI_f1): Likewise.
23883 (RUN_TEST_ffI_f1): Likewise.
23884 (RUN_TEST_LOOP_ffI_f1): Likewise.
23885 (RUN_TEST_c_c): Likewise.
23886 (RUN_TEST_LOOP_c_c): Likewise.
23887 (RUN_TEST_cc_c): Likewise.
23888 (RUN_TEST_LOOP_cc_c): Likewise.
23889 (RUN_TEST_f_i): Likewise.
23890 (RUN_TEST_LOOP_f_i): Likewise.
23891 (RUN_TEST_f_i_tg): Likewise.
23892 (RUN_TEST_LOOP_f_i_tg): Likewise.
23893 (RUN_TEST_ff_i_tg): Likewise.
23894 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23895 (RUN_TEST_f_b): Likewise.
23896 (RUN_TEST_LOOP_f_b): Likewise.
23897 (RUN_TEST_f_b_tg): Likewise.
23898 (RUN_TEST_LOOP_f_b_tg): Likewise.
23899 (RUN_TEST_f_l): Likewise.
23900 (RUN_TEST_LOOP_f_l): Likewise.
23901 (RUN_TEST_f_L): Likewise.
23902 (RUN_TEST_LOOP_f_L): Likewise.
23903 (RUN_TEST_sincos): Likewise.
23904 (RUN_TEST_LOOP_sincos): Likewise.
23905
8269107f
JM
239062013-05-17 Joseph Myers <joseph@codesourcery.com>
23907
bb38759d
JM
23908 [BZ #15480]
23909 [BZ #15485]
23910 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23911 main case of finite arguments, set rounding mode to FE_TONEAREST
23912 and discard exceptions.
23913 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23914 exceptions.
23915 (remainder_tonearest_test_data): New variable.
23916 (remainder_test_tonearest): New function.
23917 (remainder_towardzero_test_data): New variable.
23918 (remainder_test_towardzero): New function.
23919 (remainder_downward_test_data): New variable.
23920 (remainder_test_downward): New function.
23921 (remainder_upward_test_data): New variable.
23922 (remainder_test_upward): New function.
23923 (main): Call the new test functions.
23924
a00bdcf0
JM
23925 * math/libm-test.inc (struct test_f_f1_data): Remove field
23926 extra_init.
23927 (struct test_fF_f1_data): Likewise.
23928 (struct test_ffI_f1_data): Likewise.
23929 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23930 based on value of EXTRA_EXPECTED.
23931 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23932 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23933 EXTRA_VAR based on value of EXTRA_EXPECTED.
23934 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23935 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23936 EXTRA_VAR based on value of EXTRA_EXPECTED.
23937 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23938 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23939 EXTRA_VAR based on value of EXTRA_EXPECTED.
23940 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23941 * math/gen-libm-test.pl (parse_args): Don't output initializers
23942 for extra output values.
23943
de407f79
JM
23944 * math/libm-test.inc (check_int): Expect result to be exactly
23945 equal to expected value and do not handle ulps.
23946 (check_long): Likewise.
23947 (check_longlong): Likewise.
23948
8269107f
JM
23949 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23950 exceptions.
23951 (cimag_test_data): Likewise.
23952 (conj_test_data): Likewise.
23953 (copysign_test_data): Likewise.
23954 (cproj_test_data): Likewise.
23955 (creal_test_data): Likewise.
23956 (fabs_test_data): Likewise.
23957 (fdim_test_data): Likewise.
23958 (finite_test_data): Likewise.
23959 (floor_test_data): Likewise.
23960 (fmax_test_data): Likewise.
23961 (fmin_test_data): Likewise.
23962 (fmod_test_data): Likewise.
23963 (fpclassify_test_data): Likewise.
23964 (frexp_test_data): Likewise.
23965 (ilogb_test_data): Likewise.
23966 (isfinite_test_data): Likewise.
23967 (isgreater_test_data): Likewise.
23968 (isgreaterequal_test_data): Likewise.
23969 (isinf_test_data): Likewise.
23970 (isless_test_data): Likewise.
23971 (islessequal_test_data): Likewise.
23972 (islessgreater_test_data): Likewise.
23973 (isnan_test_data): Likewise.
23974 (isnormal_test_data): Likewise.
23975 (issignaling_test_data): Likewise.
23976 (isunordered_test_data): Likewise.
23977 (ldexp_test_data): Likewise.
23978 (lrint_test_data): Likewise.
23979 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23980 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23981 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23982 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23983 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23984 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23985 test input.
23986 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23987 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23988 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23989 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23990 that test input.
23991 (lrint_downward_test_data): Test for "inexact" exceptions.
23992 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23993 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23994 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23995 test input.
23996 (lrint_upward_test_data): Test for "inexact" exceptions.
23997 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23998 test input.
23999 (llrint_test_data): Test for "inexact" exceptions.
24000 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24001 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24002 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24003 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24004 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24005 (llrint_downward_test_data): Test for "inexact" exceptions.
24006 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24007 (llrint_upward_test_data): Test for "inexact" exceptions.
24008 (logb_test_data): Likewise.
24009 (logb_downward_test_data): Likewise.
24010 (nextafter_test_data): Likewise.
24011 (nexttoward_test_data): Likewise.
24012 (remainder_test_data): Likewise.
24013 (remquo_test_data): Likewise.
24014 (scalbn_test_data): Likewise.
24015 (scalbln_test_data): Likewise.
24016 (signbit_test_data): Likewise.
24017 (sqrt_test_data): Likewise.
24018 (significand_test_data): Likewise.
24019
48a18de1
SP
240202013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24021
24022 [BZ #15424]
24023 * benchtests/bench-modf.c (struct args): Mark arg0 as
24024 volatile.
24025 * scripts/bench.pl: Mark members of struct args as volatile.
24026
13d3b41a
AZ
240272013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24028
68191c1d 24029 [BZ # 15497]
13d3b41a
AZ
24030 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24031 negative infinity on POWER6 or lower.
24032 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24033
2848b105
MR
240342013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24035
24036 [BZ #15442]
24037 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24038 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24039 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24040 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24041 (_FP_SETQNAN): New macro.
24042 (_FP_SETQNAN_SEMIRAW): Likewise.
24043 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24044 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24045 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24046 (FP_EXTEND): Use _FP_FRAC_SNANP.
24047 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24048 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24049 into account.
24050 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24051 New macro.
24052 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24053 Likewise.
24054
323e5cb7
JM
240552013-05-16 Joseph Myers <joseph@codesourcery.com>
24056
c58b274f
JM
24057 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24058 with DIVIDE_BY_ZERO_EXCEPTION.
24059 (gamma_test_data): Likewise.
24060 (lgamma_test_data): Likewise.
24061 (log_test_data): Likewise.
24062 (log10_test_data): Likewise.
24063 (log2_test_data): Likewise.
24064 (tgamma_test_data): Likewise.
24065
0ab34904
JM
24066 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24067 (acos_test_tonearest): Likewise.
24068 (acos_test_towardzero): Likewise.
24069 (acos_test_downward): Likewise.
24070 (acos_test_upward): Likewise.
24071 (acosh_test): Likewise.
24072 (asin_test): Likewise.
24073 (asin_test_tonearest): Likewise.
24074 (asin_test_towardzero): Likewise.
24075 (asin_test_downward): Likewise.
24076 (asin_test_upward): Likewise.
24077 (asinh_test): Likewise.
24078 (atan_test): Likewise.
24079 (atanh_test): Likewise.
24080 (atan2_test): Likewise.
24081 (cabs_test): Likewise.
24082 (cacos_test): Likewise.
24083 (cacosh_test): Likewise.
24084 (casin_test): Likewise.
24085 (casinh_test): Likewise.
24086 (catan_test): Likewise.
24087 (catanh_test): Likewise.
24088 (cbrt_test): Likewise.
24089 (ccos_test): Likewise.
24090 (ccosh_test): Likewise.
24091 (cexp_test): Likewise.
24092 (clog_test): Likewise.
24093 (clog10_test): Likewise.
24094 (cos_test): Likewise.
24095 (cos_test_tonearest): Likewise.
24096 (cos_test_towardzero): Likewise.
24097 (cos_test_downward): Likewise.
24098 (cos_test_upward): Likewise.
24099 (cosh_test): Likewise.
24100 (cosh_test_tonearest): Likewise.
24101 (cosh_test_towardzero): Likewise.
24102 (cosh_test_downward): Likewise.
24103 (cosh_test_upward): Likewise.
24104 (cpow_test): Likewise.
24105 (csin_test): Likewise.
24106 (csinh_test): Likewise.
24107 (csqrt_test): Likewise.
24108 (ctan_test): Likewise.
24109 (ctan_test_tonearest): Likewise.
24110 (ctan_test_towardzero): Likewise.
24111 (ctan_test_downward): Likewise.
24112 (ctan_test_upward): Likewise.
24113 (ctanh_test): Likewise.
24114 (ctanh_test_tonearest): Likewise.
24115 (ctanh_test_towardzero): Likewise.
24116 (ctanh_test_downward): Likewise.
24117 (ctanh_test_upward): Likewise.
24118 (erf_test): Likewise.
24119 (erfc_test): Likewise.
24120 (exp_test): Likewise.
24121 (exp_test_tonearest): Likewise.
24122 (exp_test_towardzero): Likewise.
24123 (exp_test_downward): Likewise.
24124 (exp_test_upward): Likewise.
24125 (exp10_test): Likewise.
24126 (exp2_test): Likewise.
24127 (expm1_test): Likewise.
24128 (fmod_test): Likewise.
24129 (gamma_test): Likewise.
24130 (hypot_test): Likewise.
24131 (j0_test): Likewise.
24132 (j1_test): Likewise.
24133 (jn_test): Likewise.
24134 (lgamma_test): Likewise.
24135 (log_test): Likewise.
24136 (log10_test): Likewise.
24137 (log1p_test): Likewise.
24138 (log2_test): Likewise.
24139 (logb_test_downward): Likewise.
24140 (pow_test): Likewise.
24141 (pow_test_tonearest): Likewise.
24142 (pow_test_towardzero): Likewise.
24143 (pow_test_downward): Likewise.
24144 (pow_test_upward): Likewise.
24145 (remainder_test): Likewise.
24146 (remquo_test): Likewise.
24147 (sin_test): Likewise.
24148 (sin_test_tonearest): Likewise.
24149 (sin_test_towardzero): Likewise.
24150 (sin_test_downward): Likewise.
24151 (sin_test_upward): Likewise.
24152 (sincos_test): Likewise.
24153 (sinh_test): Likewise.
24154 (sinh_test_tonearest): Likewise.
24155 (sinh_test_towardzero): Likewise.
24156 (sinh_test_downward): Likewise.
24157 (sinh_test_upward): Likewise.
24158 (sqrt_test): Likewise.
24159 (tan_test): Likewise.
24160 (tan_test_tonearest): Likewise.
24161 (tan_test_towardzero): Likewise.
24162 (tan_test_downward): Likewise.
24163 (tan_test_upward): Likewise.
24164 (tanh_test): Likewise.
24165 (tgamma_test): Likewise.
24166 (y0_test): Likewise.
24167 (y1_test): Likewise.
24168 (yn_test): Likewise.
24169
323e5cb7
JM
24170 * math/gen-libm-test.pl (adjust_arg): Remove function.
24171 (special_function): Remove argument $in_func. Only handle
24172 generating output for tables of tests, not inside functions.
24173 (parse_args): Likewise.
24174 (generate_testfile): Remove variable $in_func. Update call to
24175 parse_args.
24176 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24177 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24178 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24179 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24180 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24181 (MAX_VALUE_INIT): Rename macro to max_value.
24182 (MIN_VALUE_INIT): Rename macro to min_value.
24183 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24184 (plus_zero): Remove variable.
24185 (minus_zero): Likewise.
24186 (plus_infty): Likewise.
24187 (minus_infty): Likewise.
24188 (qnan_value): Likewise.
24189 (max_value): Likewise.
24190 (min_value): Likewise.
24191 (min_subnorm_value): Likewise.
24192
e054f494
RA
241932013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24194
24195 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24196 uint64_t or uint32_t usage.
24197 * crypt/sha256-block.c: Likewise.
24198 * crypt/sha256-crypt.c: Likewise.
24199 * crypt/sha256.c: Likewise.
24200 * crypt/sha512-block.c: Likewise.
24201 * crypt/sha512-crypt.c: Likewise.
24202 * crypt/sha512.c: Likewise.
24203 * debug/backtrace-tst.c: Likewise.
24204 * debug/pcprofiledump.c: Likewise.
24205 * elf/cache.c: Likewise.
24206 * elf/dl-cache.c: Likewise.
24207 * elf/dl-misc.c: Likewise.
24208 * elf/dl-profile.c: Likewise.
24209 * elf/dl-support.c: Likewise.
24210 * elf/ldconfig.c: Likewise.
24211 * elf/sprof.c: Likewise.
24212 * iconv/dummy-repertoire.c: Likewise.
24213 * iconv/iconv_charmap.c: Likewise.
24214 * iconv/skeleton.c: Likewise.
24215 * iconvdata/8bit-generic.c: Likewise.
24216 * iconvdata/cp737.h: Likewise.
24217 * iconvdata/cp775.h: Likewise.
24218 * iconvdata/ibm1008.h: Likewise.
24219 * iconvdata/ibm1025.h: Likewise.
24220 * iconvdata/ibm1046.h: Likewise.
24221 * iconvdata/ibm1097.h: Likewise.
24222 * iconvdata/ibm1112.h: Likewise.
24223 * iconvdata/ibm1122.h: Likewise.
24224 * iconvdata/ibm1123.h: Likewise.
24225 * iconvdata/ibm1124.h: Likewise.
24226 * iconvdata/ibm1129.h: Likewise.
24227 * iconvdata/ibm1130.h: Likewise.
24228 * iconvdata/ibm1132.h: Likewise.
24229 * iconvdata/ibm1133.h: Likewise.
24230 * iconvdata/ibm1137.h: Likewise.
24231 * iconvdata/ibm1140.h: Likewise.
24232 * iconvdata/ibm1141.h: Likewise.
24233 * iconvdata/ibm1142.h: Likewise.
24234 * iconvdata/ibm1143.h: Likewise.
24235 * iconvdata/ibm1144.h: Likewise.
24236 * iconvdata/ibm1145.h: Likewise.
24237 * iconvdata/ibm1146.h: Likewise.
24238 * iconvdata/ibm1147.h: Likewise.
24239 * iconvdata/ibm1148.h: Likewise.
24240 * iconvdata/ibm1149.h: Likewise.
24241 * iconvdata/ibm1153.h: Likewise.
24242 * iconvdata/ibm1154.h: Likewise.
24243 * iconvdata/ibm1155.h: Likewise.
24244 * iconvdata/ibm1156.h: Likewise.
24245 * iconvdata/ibm1157.h: Likewise.
24246 * iconvdata/ibm1158.h: Likewise.
24247 * iconvdata/ibm1160.h: Likewise.
24248 * iconvdata/ibm1161.h: Likewise.
24249 * iconvdata/ibm1162.h: Likewise.
24250 * iconvdata/ibm1163.h: Likewise.
24251 * iconvdata/ibm1164.h: Likewise.
24252 * iconvdata/ibm1166.h: Likewise.
24253 * iconvdata/ibm1167.h: Likewise.
24254 * iconvdata/ibm12712.h: Likewise.
24255 * iconvdata/ibm1390.h: Likewise.
24256 * iconvdata/ibm1399.h: Likewise.
24257 * iconvdata/ibm16804.h: Likewise.
24258 * iconvdata/ibm4517.h: Likewise.
24259 * iconvdata/ibm4899.h: Likewise.
24260 * iconvdata/ibm4909.h: Likewise.
24261 * iconvdata/ibm4971.h: Likewise.
24262 * iconvdata/ibm5347.h: Likewise.
24263 * iconvdata/ibm803.h: Likewise.
24264 * iconvdata/ibm856.h: Likewise.
24265 * iconvdata/ibm901.h: Likewise.
24266 * iconvdata/ibm902.h: Likewise.
24267 * iconvdata/ibm9030.h: Likewise.
24268 * iconvdata/ibm9066.h: Likewise.
24269 * iconvdata/ibm921.h: Likewise.
24270 * iconvdata/ibm922.h: Likewise.
24271 * iconvdata/ibm9448.h: Likewise.
24272 * iconvdata/isiri-3342.h: Likewise.
24273 * iconvdata/jis0201.h: Likewise.
24274 * include/link.h: Likewise.
24275 * include/netdb.h: Likewise.
24276 * inet/check_native.c: Likewise.
24277 * inet/check_pf.c: Likewise.
24278 * inet/getipv4sourcefilter.c: Likewise.
24279 * inet/getnameinfo.c: Likewise.
24280 * inet/getsourcefilter.c: Likewise.
24281 * inet/htonl.c: Likewise.
24282 * inet/setipv4sourcefilter.c: Likewise.
24283 * inet/setsourcefilter.c: Likewise.
24284 * inet/test-inet6_opt.c: Likewise.
24285 * inet/tst-network.c: Likewise.
24286 * locale/C-collate.c: Likewise.
24287 * locale/C-ctype.c: Likewise.
24288 * locale/C-time.c: Likewise.
24289 * locale/C-translit.h: Likewise.
24290 * locale/loadarchive.c: Likewise.
24291 * locale/programs/3level.h: Likewise.
24292 * locale/programs/charmap.c: Likewise.
24293 * locale/programs/charmap.h: Likewise.
24294 * locale/programs/ld-address.c: Likewise.
24295 * locale/programs/ld-collate.c: Likewise.
24296 * locale/programs/ld-ctype.c: Likewise.
24297 * locale/programs/ld-identification.c: Likewise.
24298 * locale/programs/ld-measurement.c: Likewise.
24299 * locale/programs/ld-messages.c: Likewise.
24300 * locale/programs/ld-monetary.c: Likewise.
24301 * locale/programs/ld-name.c: Likewise.
24302 * locale/programs/ld-numeric.c: Likewise.
24303 * locale/programs/ld-paper.c: Likewise.
24304 * locale/programs/ld-telephone.c: Likewise.
24305 * locale/programs/ld-time.c: Likewise.
24306 * locale/programs/linereader.c: Likewise.
24307 * locale/programs/locale.c: Likewise.
24308 * locale/programs/locarchive.c: Likewise.
24309 * locale/programs/locfile.h: Likewise.
24310 * locale/programs/repertoire.c: Likewise.
24311 * locale/programs/simple-hash.c: Likewise.
24312 * locale/programs/simple-hash.h: Likewise.
24313 * malloc/memusage.c: Likewise.
24314 * malloc/memusagestat.c: Likewise.
24315 * nis/nis_defaults.c: Likewise.
24316 * nis/nis_hash.c: Likewise.
24317 * nis/nis_print.c: Likewise.
24318 * nis/nis_xdr.c: Likewise.
24319 * nscd/connections.c: Likewise.
24320 * nscd/hstcache.c: Likewise.
24321 * nscd/nscd_gethst_r.c: Likewise.
24322 * nscd/nscd_getserv_r.c: Likewise.
24323 * nscd/nscd_helper.c: Likewise.
24324 * nscd/servicescache.c: Likewise.
24325 * nss/makedb.c: Likewise.
24326 * nss/nss_db/db-XXX.c: Likewise.
24327 * nss/nss_db/db-initgroups.c: Likewise.
24328 * nss/nss_db/db-netgrp.c: Likewise.
24329 * nss/nss_files/files-network.c: Likewise.
24330 * nss/nss_files/files-parse.c: Likewise.
24331 * posix/bug-regex5.c: Likewise.
24332 * posix/fnmatch_loop.c: Likewise.
24333 * posix/regcomp.c: Likewise.
24334 * posix/regexec.c: Likewise.
24335 * posix/tst-rfc3484-2.c: Likewise.
24336 * posix/tst-rfc3484-3.c: Likewise.
24337 * posix/tst-rfc3484.c: Likewise.
24338 * resolv/nss_dns/dns-canon.c: Likewise.
24339 * resolv/nss_dns/dns-network.c: Likewise.
24340 * resolv/res_init.c: Likewise.
24341 * resolv/res_mkquery.c: Likewise.
24342 * resolv/tst-aton.c: Likewise.
24343 * stdlib/cxa_atexit.c: Likewise.
24344 * stdlib/cxa_finalize.c: Likewise.
24345 * stdlib/gen-fpioconst.c: Likewise.
24346 * stdlib/strtol_l.c: Likewise.
24347 * string/tst-endian.c: Likewise.
24348 * sunrpc/auth_des.c: Likewise.
24349 * sunrpc/clnt_udp.c: Likewise.
24350 * sunrpc/rtime.c: Likewise.
24351 * sunrpc/svcauth_des.c: Likewise.
24352 * sunrpc/xdr.c: Likewise.
24353 * sunrpc/xdr_intXX_t.c: Likewise.
24354 * sunrpc/xdr_rec.c: Likewise.
24355 * sysdeps/generic/ldconfig.h: Likewise.
24356 * sysdeps/generic/ldsodefs.h: Likewise.
24357 * sysdeps/generic/memusage.h: Likewise.
24358 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24359 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24360 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24361 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24364 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24365 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24366 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24368 * sysdeps/posix/getaddrinfo.c: Likewise.
24369 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24370 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24371 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24372 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24373 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24374 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24375 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24376 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24377 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24378 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24379 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24380 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24381 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24382 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24383 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24384 * sysdeps/x86_64/dl-tls.h: Likewise.
24385 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24386 * time/alt_digit.c: Likewise.
24387 * time/era.c: Likewise.
24388 * wcsmbs/tst-c16c32-1.c: Likewise.
24389
8c75f674
JM
243902013-05-16 Joseph Myers <joseph@codesourcery.com>
24391
24392 * math/libm-test.inc (struct test_sincos_data): New type.
24393 (RUN_TEST_LOOP_sincos): New macro.
24394 (sincos_test_data): New variable.
24395 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24396
e6e49e59
RH
243972013-05-16 Richard Henderson <rth@redhat.com>
24398
24399 * math/atest-exp2.c (LIMB64): New macro.
24400 (CONSTSZ): New macro.
24401 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24402 (hexdig): Move ...
24403 (print_mpn_fp): ... to function scope.
24404 (read_mpn_hex): Remove.
24405 (get_log2): Remove.
24406 (exp2_mpn): Use mp_log2.
24407 (main): Use mp_exp1.
24408
15c7c18d
JM
244092013-05-16 Joseph Myers <joseph@codesourcery.com>
24410
105a07df
JM
24411 * math/libm-test.inc: Remove comment about not testing "inexact"
24412 exceptions.
24413 (INEXACT_EXCEPTION): New macro.
24414 (NO_INEXACT_EXCEPTION): Likewise.
24415 (INVALID_EXCEPTION_OK): Update value.
24416 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24417 (OVERFLOW_EXCEPTION_OK): Likewise.
24418 (UNDERFLOW_EXCEPTION_OK): Likewise.
24419 (IGNORE_ZERO_INF_SIGN): Likewise.
24420 (ERRNO_UNCHANGED): Likewise.
24421 (ERRNO_EDOM): Likewise.
24422 (ERRNO_ERANGE): Likewise.
24423 (test_exceptions): Handle testing "inexact" exceptions.
24424 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24425 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24426 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24427 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24428 INEXACT_EXCEPTION.
24429 (rint_towardzero_test_data): Likewise.
24430 (rint_downward_test_data): Likewise.
24431 (rint_upward_test_data): Likewise.
24432
e9eee333
JM
24433 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24434 with OVERFLOW_EXCEPTION.
24435 (exp10_test_data): Likewise.
24436 (exp2_test_data): Likewise.
24437 (expm1_test_data): Likewise.
24438 (lgamma_test_data): Likewise.
24439 (pow_test_data): Likewise.
24440 (tgamma_test_data): Likewise.
24441 (yn_test_data): Remove duplicate test of overflow.
24442
1c38ff73
JM
24443 * math/libm-test.inc (struct test_cc_c_data): New type.
24444 (RUN_TEST_LOOP_cc_c): New macro.
24445 (cpow_test_data): New variable.
24446 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24447
15c7c18d
JM
24448 * math/libm-test.inc (struct test_f_L_data): New type.
24449 (RUN_TEST_LOOP_f_L): New macro.
24450 (llrint_test_data): New variable.
24451 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24452 (llrint_tonearest_test_data): New variable.
24453 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24454 (llrint_towardzero_test_data): New variable.
24455 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24456 (llrint_downward_test_data): New variable.
24457 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24458 (llrint_upward_test_data): New variable.
24459 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24460 (llround_test_data): New variable.
24461 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24462
f137ff13
PC
244632013-05-13 Peter Collingbourne <pcc@google.com>
24464
24465 * math/atest-exp2.c (get_log2): Remove const attribute.
24466
3608cb24
JM
244672013-05-15 Joseph Myers <joseph@codesourcery.com>
24468
24469 * math/libm-test.inc (struct test_f_l_data): New type.
24470 (RUN_TEST_LOOP_f_l): New macro.
24471 (lrint_test_data): New variable.
24472 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24473 (lrint_tonearest_test_data): New variable.
24474 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24475 (lrint_towardzero_test_data): New variable.
24476 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24477 (lrint_downward_test_data): New variable.
24478 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24479 (lrint_upward_test_data): New variable.
24480 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24481 (lround_test_data): New variable.
24482 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24483
39b1f617
PC
244842013-05-15 Peter Collingbourne <pcc@google.com>
24485
1deff3dc
PC
24486 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24487 (EXTRACT_WORDS64) Use where appropriate.
24488 (INSERT_WORDS64) Likewise.
24489
791f3ba0
PC
24490 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24491 constraints with x constraints.
24492 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24493
39b1f617
PC
24494 * malloc/obstack.c (_obstack_compat): Add initializer.
24495
12fba011
EM
244962013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24497
24498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24499 si_trapno and add si_addr_lsb to _sifields.sigfault.
24500 (si_trapno): Remove macro.
24501 (si_addr_lsb): Define new macro.
24502 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24503
d369f531
JM
245042013-05-15 Joseph Myers <joseph@codesourcery.com>
24505
b861c6c4
JM
24506 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24507 instead of TEST_f_l.
24508 (llrint_test_tonearest): Likewise.
24509 (llrint_test_towardzero): Likewise.
24510 (llrint_test_downward): Likewise.
24511 (llrint_test_upward): Likewise.
24512 (llround_test): Likewise.
24513
7abeee12
JM
24514 * math/libm-test.inc (struct test_f_i_data): Add comment.
24515 (RUN_TEST_LOOP_f_b): New macro.
24516 (RUN_TEST_LOOP_f_b_tg): Likewise.
24517 (finite_test_data): New variable.
24518 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24519 (isfinite_test_data): New variable.
24520 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24521 (isinf_test_data): New variable.
24522 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24523 (isnan_test_data): New variable.
24524 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24525 (isnormal_test_data): New variable.
24526 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24527 (issignaling_test_data): New variable.
24528 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24529 (signbit_test_data): New variable.
24530 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24531
cbe8c4d3
JM
24532 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24533 with INVALID_EXCEPTION.
24534 (acosh_test_data): Likewise.
24535 (asin_test_data): Likewise.
24536 (atanh_test_data): Likewise.
24537 (fmod_test_data): Likewise.
24538 (log_test_data): Likewise.
24539 (log10_test_data): Likewise.
24540 (log2_test_data): Likewise.
24541 (pow_test_data): Likewise.
24542 (sqrt_test_data): Likewise.
24543 (y0_test_data): Likewise.
24544 (y1_test_data): Likewise.
24545 (yn_test_data): Likewise.
24546
5575c0e5
JM
24547 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24548 function contents.
24549
d369f531
JM
24550 * math/libm-test.inc (struct test_ff_i_data): New type.
24551 (RUN_TEST_LOOP_ff_i_tg): New macro.
24552 (isgreater_test_data): New variable.
24553 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24554 (isgreaterequal_test_data): New variable.
24555 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24556 (isless_test_data): New variable.
24557 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24558 (islessequal_test_data): New variable.
24559 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24560 (islessgreater_test_data): New variable.
24561 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24562 (isunordered_test_data): New variable.
24563 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24564
781fd748
DM
245652013-05-14 David S. Miller <davem@davemloft.net>
24566
24567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24568
87aa21df
JM
245692013-05-14 Joseph Myers <joseph@codesourcery.com>
24570
5e908270
JM
24571 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24572
f71172e5
JM
24573 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24574 extra_test to int.
24575 (struct test_f_i_data): Change type of max_ulp to int.
24576
8cfa635a
JM
24577 * math/libm-test.inc (test_ffI_f1_data): New type.
24578 (RUN_TEST_LOOP_ffI_f1): New macro.
24579 (remquo_test_data): New variable.
24580 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24581
2bcb36b2
JM
24582 * setjmp/tst-setjmp-fp.c: New file.
24583 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24584 (link-libm): New variable.
24585 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24586
acbd839a
JM
24587 * math/libm-test.inc (struct test_f_i_data): New type.
24588 (RUN_TEST_LOOP_f_i): New macro.
24589 (RUN_TEST_LOOP_f_i_tg): Likewise.
24590 (fpclassify_test_data): New variable.
24591 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24592 (ilogb_test_data): New variable.
24593 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24594
e414d745
JM
24595 * math/libm-test.inc (scalbln_test): Correct function name in END
24596 call.
24597
d9c2a0fd
JM
24598 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24599 (RUN_TEST_LOOP_fI_f1): New macro.
24600 (frexp_test_data): New variable.
24601 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24602
9dc9095d
JM
24603 * math/libm-test.inc (struct test_fF_f1_data): New type.
24604 (RUN_TEST_LOOP_fF_f1): New macro.
24605 (modf_test_data): New variable.
24606 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24607
87aa21df
JM
24608 * math/libm-test.inc (struct test_f_f1_data): New type.
24609 (RUN_TEST_LOOP_f_f1): New macro.
24610 (gamma_test_data): New variable.
24611 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24612 (lgamma_test_data): New variable.
24613 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24614
141af660
CD
246152013-05-13 Carlos O'Donell <carlos@redhat.com>
24616
24617 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24618 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24619 (main): Comment "tls" pseudo-hwcap.
24620
6d33265c
JM
246212013-05-13 Joseph Myers <joseph@codesourcery.com>
24622
68fc074c
JM
24623 * math/libm-test.inc (struct test_fl_f_data): New type.
24624 (RUN_TEST_LOOP_fl_f): New variable.
24625 (scalbln_test_data): New variable.
24626 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24627
243216e1
JM
24628 * math/libm-test.inc (struct test_fi_f_data): New type.
24629 (RUN_TEST_LOOP_fi_f): New macro.
24630 (ldexp_test_data): New variable.
24631 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24632 (scalbn_test_data): New variable.
24633 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24634
6a1992e2
JM
24635 * math/libm-test.inc (struct test_c_f_data): New type.
24636 (RUN_TEST_LOOP_c_f): New macro.
24637 (cabs_test_data): New variable.
24638 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24639 (carg_test_data): New variable.
24640 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24641 (cimag_test_data): New variable.
24642 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24643 (creal_test_data): New variable.
24644 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24645
0e400df5
JM
24646 * math/libm-test.inc (struct test_if_f_data): New type.
24647 (RUN_TEST_LOOP_if_f): New macro.
24648 (jn_test_data): New variable.
24649 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24650 (yn_test_data): New variable.
24651 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24652
6d33265c
JM
24653 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24654
f98ece5f
AZ
246552013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24656
24657 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24658 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24659
0f7d347b
SP
246602013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24661
43fe811b
SP
24662 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24663 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24664 (bench-deps): Add bench-timing.h.
24665 * benchtests-bench-skeleton.c: Include bench-timing.h.
24666 (main): Use TIMING_* macros instead of clock_gettime.
24667 * benchtests/bench-timing.h: New file.
24668
0f7d347b
SP
24669 [BZ #14582]
24670 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24671 Renamed from _LIB_VERSION.
24672 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24673
601a3a5f
JM
246742013-05-12 Joseph Myers <joseph@codesourcery.com>
24675
4f184d30
JM
24676 * math/libm-test.inc (struct test_fff_f_data): New type.
24677 (RUN_TEST_LOOP_fff_f): New macro.
24678 (fma_test_data): New variable.
24679 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24680 (fma_towardzero_test_data): New variable.
24681 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24682 (fma_downward_test_data): New variable.
24683 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24684 (fma_upward_test_data): New variable.
24685 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24686
08198877
JM
24687 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24688 (struct test_c_c_data): New type.
24689 (RUN_TEST_LOOP_c_c): New macro.
24690 (cacos_test_data): New variable.
24691 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24692 (cacosh_test_data): New variable.
24693 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24694 (casin_test_data): New variable.
24695 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24696 (casinh_test_data): New variable.
24697 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24698 (catan_test_data): New variable.
24699 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24700 (catanh_test_data): New variable.
24701 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24702 (ccos_test_data): New variable.
24703 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24704 (ccosh_test_data): New variable.
24705 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24706 (cexp_test_data): New variable.
24707 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24708 (clog_test_data): New variable.
24709 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24710 (clog10_test_data): New variable.
24711 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24712 (conj_test_data): New variable.
24713 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24714 (cproj_test_data): New variable.
24715 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24716 (csin_test_data): New variable.
24717 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24718 (csinh_test_data): New variable.
24719 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24720 (csqrt_test_data): New variable.
24721 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24722 (ctan_test_data): New variable.
24723 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24724 (ctan_tonearest_test_data): New variable.
24725 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24726 (ctan_towardzero_test_data): New variable.
24727 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24728 (ctan_downward_test_data): New variable.
24729 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24730 (ctan_upward_test_data): New variable.
24731 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24732 (ctanh_test_data): New variable.
24733 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24734 (ctanh_tonearest_test_data): New variable.
24735 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24736 (ctanh_towardzero_test_data): New variable.
24737 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24738 (ctanh_downward_test_data): New variable.
24739 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24740 (ctanh_upward_test_data): New variable.
24741 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24742 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24743 of BUILD_COMPLEX.
24744
601a3a5f
JM
24745 * math/libm-test.inc (struct test_ff_f_data): New type.
24746 (struct test_ff_f_data_nexttoward): Likewise.
24747 (RUN_TEST_LOOP_2_f): New macro.
24748 (RUN_TEST_LOOP_ff_f): Likewise.
24749 (atan2_test_data): New variable.
24750 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24751 (copysign_test_data): New variable.
24752 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24753 (fdim_test_data): New variable.
24754 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24755 (fmax_test_data): New variable.
24756 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24757 (fmin_test_data): New variable.
24758 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24759 (fmod_test_data): New variable.
24760 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24761 (hypot_test_data): New variable.
24762 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24763 (nextafter_test_data): New variable.
24764 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24765 (nexttoward_test_data): New variable.
24766 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24767 (pow_test_data): New variable.
24768 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24769 (pow_tonearest_test_data): New variable.
24770 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24771 (pow_towardzero_test_data): New variable.
24772 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24773 (pow_downward_test_data): New variable.
24774 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24775 (pow_upward_test_data): New variable.
24776 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24777 (remainder_test_data): New variable.
24778 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24779 (scalb_test_data): New variable.
24780 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24781 * sysdeps/i386/fpu/libm-test-ulps: Update.
24782
74c57478
JM
247832013-05-11 Joseph Myers <joseph@codesourcery.com>
24784
8329e4da
JM
24785 * math/libm-test.inc (fma_test): Use max_value instead of local
24786 variable fltmax.
24787 (nextafter_test): Likewise.
24788
74c57478
JM
24789 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24790 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24791 (acos_downward_test_data): New variable.
24792 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24793 (acos_upward_test_data): New variable.
24794 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24795 (acosh_test_data): New variable.
24796 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24797 (asin_test_data): New variable.
24798 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24799 (asin_tonearest_test_data): New variable.
24800 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24801 (asin_towardzero_test_data): New variable.
24802 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24803 (asin_downward_test_data): New variable.
24804 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24805 (asin_upward_test_data): New variable.
24806 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24807 (asinh_test_data): New variable.
24808 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24809 (atan_test_data): New variable.
24810 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24811 (atanh_test_data): New variable.
24812 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24813 (cbrt_test_data): New variable.
24814 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24815 (ceil_test_data): New variable.
24816 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24817 (cos_test_data): New variable.
24818 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24819 (cos_tonearest_test_data): New variable.
24820 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24821 (cos_towardzero_test_data): New variable.
24822 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24823 (cos_downward_test_data): New variable.
24824 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24825 (cos_upward_test_data): New variable.
24826 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24827 (cosh_test_data): New variable.
24828 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24829 (cosh_tonearest_test_data): New variable.
24830 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24831 (cosh_towardzero_test_data): New variable.
24832 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24833 (cosh_downward_test_data): New variable.
24834 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24835 (cosh_upward_test_data): New variable.
24836 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24837 (erf_test_data): New variable.
24838 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24839 (erfc_test_data): New variable.
24840 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24841 (exp_test_data): New variable.
24842 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24843 (exp_tonearest_test_data): New variable.
24844 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24845 (exp_towardzero_test_data): New variable.
24846 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24847 (exp_downward_test_data): New variable.
24848 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24849 (exp_upward_test_data): New variable.
24850 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24851 (exp10_test_data): New variable.
24852 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24853 (exp2_test_data): New variable.
24854 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24855 (expm1_test_data): New variable.
24856 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24857 (fabs_test_data): New variable.
24858 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24859 (floor_test_data): New variable.
24860 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24861 (j0_test_data): New variable.
24862 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24863 (j1_test_data): New variable.
24864 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24865 (log_test_data): New variable.
24866 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24867 (log10_test_data): New variable.
24868 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24869 (log1p_test_data): New variable.
24870 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24871 (log2_test_data): New variable.
24872 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24873 (logb_test_data): New variable.
24874 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24875 (logb_downward_test_data): New variable.
24876 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24877 (nearbyint_test_data): New variable.
24878 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24879 (rint_test_data): New variable.
24880 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24881 (rint_tonearest_test_data): New variable.
24882 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24883 (rint_towardzero_test_data): New variable.
24884 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24885 (rint_downward_test_data): New variable.
24886 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24887 (rint_upward_test_data): New variable.
24888 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24889 (round_test_data): New variable.
24890 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24891 (sin_test_data): New variable.
24892 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24893 (sin_tonearest_test_data): New variable.
24894 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24895 (sin_towardzero_test_data): New variable.
24896 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24897 (sin_downward_test_data): New variable.
24898 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24899 (sin_upward_test_data): New variable.
24900 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24901 (sinh_test_data): New variable.
24902 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24903 (sinh_tonearest_test_data): New variable.
24904 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24905 (sinh_towardzero_test_data): New variable.
24906 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24907 (sinh_downward_test_data): New variable.
24908 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24909 (sinh_upward_test_data): New variable.
24910 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24911 (sqrt_test_data): New variable.
24912 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24913 (tan_test_data): New variable.
24914 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24915 (tan_tonearest_test_data): New variable.
24916 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24917 (tan_towardzero_test_data): New variable.
24918 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24919 (tan_downward_test_data): New variable.
24920 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24921 (tan_upward_test_data): New variable.
24922 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24923 (tanh_test_data): New variable.
24924 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24925 (tgamma_test_data): New variable.
24926 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24927 (trunc_test_data): New variable.
24928 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24929 (y0_test_data): New variable.
24930 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24931 (y1_test_data): New variable.
24932 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24933 (significand_test_data): New variable.
24934 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24935
7187d844
CG
249362013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24937
24938 [BZ #12387]
24939 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24940
f63fae73
PT
249412013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24942
24943 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24944
8a67a4b3
AJ
249452013-05-10 Andreas Jaeger <aj@suse.de>
24946
24947 [BZ #15448]
24948 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24949 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24950
51df539d
JM
249512013-05-10 Joseph Myers <joseph@codesourcery.com>
24952
24953 * math/gen-libm-test.pl (adjust_arg): New function.
24954 (special_functions): Handle generating output in both functions
24955 and arrays.
24956 (parse_args): Likewise.
24957 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24958 $in_func argument to parse_args.
24959 * math/libm-test.inc (struct test_f_f_data): New type.
24960 (IF_ROUND_INIT_): New macro.
24961 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24962 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24963 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24964 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24965 (ROUND_RESTORE_): Likewise.
24966 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24967 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24968 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24969 (ROUND_RESTORE_FE_UPWARD): Likewise.
24970 (RUN_TEST_LOOP_f_f): New macro.
24971 (acos_test_data): New variable.
24972 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24973 (acos_tonearest_test_data): New variable.
24974 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24975
5c637fe5
SP
249762013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24977
24978 * benchtests/bench-skeleton.c (startup): Fix coding style.
24979
ab2b9461
JM
249802013-05-10 Joseph Myers <joseph@codesourcery.com>
24981
24982 [BZ #6809]
24983 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24984 negative infinity argument.
24985 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24986 negative infinity argument.
24987 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24988 negative infinity argument.
24989 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24990 domain errors.
24991
4c0fe6fe
FW
249922013-05-10 Florian Weimer <fweimer@redhat.com>
24993
24994 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24995 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24996 * iconv/iconv_prog.c (main): Likewise.
24997 * locale/programs/charmap-dir.c (charmap_readdir)
24998 (fopen_uncompressed): Likewise.
24999 * locale/programs/locfile.c (siblings_uncached)
25000 (write_locale_data): Use lstat64 instead of lstat.
25001 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25002 stat.
25003
a3375d29
AJ
250042013-05-10 Andreas Jaeger <aj@suse.de>
25005
25006 [BZ #15395]
25007 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25008 localization.
25009 Include <locale.h>.
25010
36129722
CD
250112013-05-09 Carlos O'Donell <carlos@redhat.com>
25012
25013 * elf/dl-close.c (_dl_close_worker): Add comments.
25014
faa7f811
JM
250152013-05-09 Joseph Myers <joseph@codesourcery.com>
25016
ed41ffef
JM
25017 [BZ #15359]
25018 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25019 high part of pi/2.
25020 (__ieee754_rem_pio2l): Update comments.
25021
d0213cd0
JM
25022 [BZ #15429]
25023 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25024 high part of pi/2.
25025 (__ieee754_rem_pio2l): Update comments.
25026
0d3e777a
JM
25027 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25028 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25029
24f56066
JM
25030 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25031 M_PI_4l.
25032
faa7f811
JM
25033 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25034 (M_PI_34_LOG10El): Likewise.
25035 (M_PI2_LOG10El): Likewise.
25036 (M_PI4_LOG10El): Likewise.
25037 (M_PI_LOG10El): Likewise.
25038
e9a5e0fd
AZ
250392013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25040
25041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25042
d8cd06db
JM
250432013-05-08 Joseph Myers <joseph@codesourcery.com>
25044
a0d9f9d7
JM
25045 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25046 (MINUS_ZERO_INIT): Likewise.
25047 (PLUS_INFTY_INIT): Likewise.
25048 (MINUS_INFTY_INIT): Likewise.
25049 (QNAN_VALUE_INIT): Likewise.
25050 (MAX_VALUE_INIT): Likewise.
25051 (MIN_VALUE_INIT): Likewise.
25052 (MIN_SUBNORM_VALUE_INIT): Likewise.
25053 (plus_zero): Initialize with PLUS_ZERO_INIT.
25054 (minus_zero): Initialize with MINUS_ZERO_INIT.
25055 (plus_infty): Initialize with PLUS_INFTY_INIT.
25056 (minus_infty): Initialize with MINUS_INFTY_INIT.
25057 (qnan_value): Initialize with QNAN_VALUE_INIT.
25058 (max_value): Initialize with MAX_VALUE_INIT.
25059 (min_value): Initialize with MIN_VALUE_INIT.
25060 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25061
ae08db3b
JM
25062 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25063 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25064 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25065 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25066
f44bf14a
JM
25067 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25068 (RUN_TEST_2_f): Likewise.
25069 (RUN_TEST_ff_f): Likewise.
25070 (RUN_TEST_fi_f): Likewise.
25071 (RUN_TEST_fl_f): Likewise.
25072 (RUN_TEST_fff_f): Likewise.
25073 (RUN_TEST_c_f): Likewise.
25074 (RUN_TEST_f_f1): Likewise.
25075 (RUN_TEST_fF_f1): Likewise.
25076 (RUN_TEST_fI_f1): Likewise.
25077 (RUN_TEST_ffI_f1): Likewise.
25078 (RUN_TEST_c_c): Likewise.
25079 (RUN_TEST_cc_c): Likewise.
25080 (RUN_TEST_f_i): Likewise.
25081 (RUN_TEST_f_i_tg): Likewise.
25082 (RUN_TEST_ff_i_tg): Likewise.
25083 (RUN_TEST_f_b): Likewise.
25084 (RUN_TEST_f_b_tg): Likewise.
25085 (RUN_TEST_f_l): Likewise.
25086 (RUN_TEST_f_L): Likewise.
25087 (RUN_TEST_sincos): Likewise.
25088 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25089 whether to show exceptions. Do not include ");\n" in return
25090 value.
25091 (special_functions): Output call to RUN_TEST_sincos instead of
25092 check_float calls. Update calls to new_test.
25093 (parse_args): Output call to single RUN_TEST_* macro instead of
25094 check_* calls and other assignments. Update calls to new_test.
25095
d8cd06db
JM
25096 [BZ #2546]
25097 [BZ #2560]
25098 [BZ #5159]
25099 [BZ #15426]
25100 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25101 input to result for tgamma overflow.
25102 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25103 (gamma_coeff): New variable.
25104 (NCOEFF): New macro.
25105 (gamma_positive): New function.
25106 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25107 underflow here. Use gamma_positive instead of exp (lgamma) for
25108 other arguments.
25109 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25110 (gamma_coeff): New variable.
25111 (NCOEFF): New macro.
25112 (gammaf_positive): New function.
25113 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25114 underflow here. Use gamma_positive instead of exp (lgamma) for
25115 other arguments.
25116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25117 (gamma_coeff): New variable.
25118 (NCOEFF): New macro.
25119 (gammal_positive): New function.
25120 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25121 underflow here. Use gamma_positive instead of exp (lgamma) for
25122 other arguments.
25123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25124 (gamma_coeff): New variable.
25125 (NCOEFF): New macro.
25126 (gammal_positive): New function.
25127 (__ieee754_gammal_r): Handle positive infinity, overflow and
25128 underflow here. Handle NaN the same as positive infinity. Remove
25129 check x < 0xffffffff for negative integers. Use gamma_positive
25130 instead of exp (lgamma) for other arguments.
25131 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25132 (gamma_coeff): New variable.
25133 (NCOEFF): New macro.
25134 (gammal_positive): New function.
25135 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25136 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25137 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25138 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25139 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25140 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25141 * sysdeps/generic/math_private.h (__gamma_productf): New
25142 prototype.
25143 (__gamma_product): Likewise.
25144 (__gamma_productl): Likewise.
25145 * math/Makefile (libm-calls): Add gamma_product.
25146 * math/libm-test.inc (tgamma_test): Add more tests.
25147 * sysdeps/i386/fpu/libm-test-ulps: Update.
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25149
bb7cf681
OB
251502013-05-08 Ondřej Bílka <neleai@seznam.cz>
25151
25152 * benchtests/bench-skeleton.c (main): Preheat CPU.
25153
ba853947
AJ
251542013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25155
25156 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25157
8347c74c
RM
251582013-05-07 Roland McGrath <roland@hack.frob.com>
25159
25160 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25161 and _dl_skip_args_internal.
25162
e8dd4791
CD
251632013-05-07 Carlos O'Donell <carlos@redhat.com>
25164
25165 * manual/message.texi (Message Translation): Talk about users.
25166 Message to key mapping impacts design.
25167
c7405830
RM
251682013-05-06 Roland McGrath <roland@hack.frob.com>
25169
a9173057
RM
25170 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25171
976e2f03
RM
25172 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25173
9723ffc5
RM
25174 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25175 * sysdeps/wordsize-64/glob64.c: ... here.
25176
962e6658
RM
25177 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25178 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25179 New macros.
25180
ee586a6d
RM
25181 * debug/getlogin_r_chk.c: Moved to ...
25182 * login/getlogin_r_chk.c: ... here.
25183 * debug/Makefile (routines): Move getlogin_r_chk to ...
25184 * login/Makefile (routines): ... here.
25185 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25186 * login/Versions (libc: GLIBC_2.4): ... here.
25187
355f9165
RM
25188 * io/poll.c (__poll): Renamed from poll.
25189 Add libc_hidden_def.
25190 (poll): Define as weak alias.
25191
bd9ffde6
RM
25192 * debug/ptsname_r_chk.c: Moved to ...
25193 * login/ptsname_r_chk.c: ... here.
25194 * debug/Makefile (routines): Move ptsname_r_chk to ...
25195 * login/Makefile (routines): ... here.
25196 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25197 * login/Versions (libc: GLIBC_2.4): ... here.
25198
8fb16a04
RM
25199 * posix/getlogin.c: Moved to ...
25200 * login/getlogin.c: ... here.
25201 * posix/getlogin_r.c: Moved to ...
25202 * login/getlogin_r.c: ... here.
25203 * posix/getlogin_r.c: Moved to ...
25204 * login/getlogin_r.c: ... here.
25205 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25206 * login/Makefile (routines): ... here.
25207 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25208 * login/Versions (libc: GLIBC_2.0): ... here.
25209
b99b892f
RM
25210 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25211 (setrlimit): Define as weak alias.
25212
c7405830
RM
25213 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25214 Call __ names for open, ftruncate, and close.
25215 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25216 (truncate): Define as weak alias.
25217
5bf96de5
JM
252182013-05-06 Joseph Myers <joseph@codesourcery.com>
25219
9ea3513c
JM
25220 * math/gen-libm-test.pl (parse_args): Initialize x before each
25221 test of frexp, modf and remquo.
25222
5bf96de5
JM
25223 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25224 test signgam value.
25225
16e616a7
AZ
252262013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25227
25228 [BZ #15418]
25229 [BZ #15419]
25230 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25231 internal tests.
25232 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25233
d5e82754
RM
252342013-05-06 Roland McGrath <roland@hack.frob.com>
25235
25236 * elf/dl-writev.h: New file.
25237 * elf/dl-misc.c: Include it.
25238 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25239 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25240
a7548d41
JM
252412013-05-04 Joseph Myers <joseph@codesourcery.com>
25242
b7dab1e4
JM
25243 * math/libm-test.inc (noXFails): Remove variable.
25244 (noXPasses): Likewise.
25245 (BUILD_COMPLEX_INT): Remove macro.
25246 (print_screen): Remove xfail argument.
25247 (print_screen_max_error): Likewise.
25248 (update_stats): Likewise.
25249 (print_max_error): Likewise. Update calls to other affected
25250 functions.
25251 (print_complex_max_error): Likewise.
25252 (test_single_exception): Update calls to print_screen.
25253 (test_single_errno): Likewise.
25254 (check_float_internal): Remove xfail argument. Update calls to
25255 other affected functions.
25256 (check_float): Likewise.
25257 (check_complex): Likewise.
25258 (check_int): Likewise.
25259 (check_long): Likewise.
25260 (check_bool): Likewise.
25261 (check_longlong): Likewise.
25262 (main): Don't print noXFails and noXPasses.
25263 * math/gen-libm-test.pl (top level): Don't mention expected
25264 failure handling in comment.
25265 (new_test): Don't handle expected failures.
25266 (parse_args): Don't mention expected failure handling in comment.
25267 (generate_testfile): Don't handle expected failures.
25268 (parse_ulps): Likewise.
25269 (print_ulps_file): Likewise.
25270 (get_failure): Remove function.
25271 (output_test): Don't handle expected failures.
25272 * make/README.libm-test: Don't mention expected failure handling.
25273
a7548d41
JM
25274 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25275 (minus_zero): Likewise.
25276 (plus_infty): Likewise.
25277 (minus_infty): Likewise.
25278 (qnan_value): Likewise.
25279 (max_value): Likewise.
25280 (min_value): Likewise.
25281 (min_subnorm_value): Likewise.
25282 (initialize): Do not initialize those variables dynamically.
25283
60bfd54c
RM
252842013-05-03 Roland McGrath <roland@hack.frob.com>
25285
cc0e6ed8
RM
25286 * io/open.c (__open_2): Moved to ...
25287 * io/open_2.c: ... this new file.
25288 * io/open64.c (__open64_2): Moved to ...
25289 * io/open64_2.c: ... this new file.
25290 * io/openat.c (__openat_2): Moved to ...
25291 * io/openat_2.c: ... this new file.
25292 * io/openat64.c (__openat64_2): Moved to ...
25293 * io/openat64_2.c: ... this new file.
25294 * io/Makefile (routines): Add them.
25295 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25296 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25297 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25298 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25299 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25300 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25301 (__openat64): Add hidden_ver.
25302 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25303 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25304
60bfd54c
RM
25305 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25306 Separately conditionalize setting of GLRO(dl_sysinfo) so
25307 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25308 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25309
83e7640f
AZ
253102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25311
25312 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25313 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25314 definition.
25315 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25316 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25317 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25318 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25319 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25320
d5dc2af3
JM
253212013-05-03 Joseph Myers <joseph@codesourcery.com>
25322
c31a5b1e
JM
25323 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25324 test signgam value.
25325
d5dc2af3
JM
25326 * math/libm-test.inc (hypot_test): Do not use
25327 IGNORE_ZERO_INF_SIGN.
25328
164fd39d
AJ
253292013-05-03 Andreas Jaeger <aj@suse.de>
25330
25331 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25332 Linux 3.9.
25333 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25334 (PF_MAX): Adjust for VSOCK change.
25335
8237f48c
AZ
253362013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25337
25338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25339
9df02941
CD
253402013-05-02 Carlos O'Donell <carlos@redhat.com>
25341
25342 [BZ #15264]
25343 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25344 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25345 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25346
d422395e
DM
253472013-05-02 David S. Miller <davem@davemloft.net>
25348
25349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25350
a07c5731
OB
253512013-05-01 Ondřej Bílka <neleai@seznam.cz>
25352
25353 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25354
1324e37f
RM
253552013-05-01 Roland McGrath <roland@hack.frob.com>
25356
25357 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25358
0695940b
RS
253592013-05-01 Richard Smith <richard@metafoo.co.uk>
25360
bb5f27ad 25361 [BZ #14952]
0695940b
RS
25362 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25363 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25364 Use __attribute__ ((__gnu_inline__)).
25365 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25366 Don't use __attribute__ ((__gnu_inline__)).
25367
10de07f5
JM
253682013-05-01 Joseph Myers <joseph@codesourcery.com>
25369
25370 [BZ #15423]
25371 * math/s_catan.c (__catan): Handle small real or imaginary part of
25372 input specially to avoid spurious underflow.
25373 * math/s_catanf.c (__catanf): Likewise.
25374 * math/s_catanh.c (__catanh): Likewise.
25375 * math/s_catanhf.c (__catanhf): Likewise.
25376 * math/s_catanhl.c (__catanhl): Likewise.
25377 * math/s_catanl.c (__catanl): Likewise.
25378 * math/libm-test.inc (catan_test): Add more tests.
25379 (catanh_test): Likewise.
25380 * sysdeps/i386/fpu/libm-test-ulps: Update.
25381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25382
cb4d5414
AZ
253832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25384
25385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25386
caf84319
JM
253872013-04-30 Joseph Myers <joseph@codesourcery.com>
25388
25389 [BZ #15416]
25390 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25391 accurately for denominator in atan2.
25392 * math/s_catanf.c (__catanf): Likewise.
25393 * math/s_catanh.c (__catanh): Likewise.
25394 * math/s_catanhf.c (__catanhf): Likewise.
25395 * math/s_catanhl.c (__catanhl): Likewise.
25396 * math/s_catanl.c (__catanl): Likewise.
25397 * math/libm-test.inc (catan_test): Add more tests.
25398 (catanh_test): Likewise.
25399 * sysdeps/i386/fpu/libm-test-ulps: Update.
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25401
d569c6ee
SP
254022013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25403
6dbe713d
SP
25404 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25405
f0ee064b
SP
25406 * benchtests/Makefile (bench): Remove slow benchmarks.
25407 * benchtests/atan-inputs: Add slow benchmark inputs.
25408 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25409 (BENCH_FUNC): Accept variant offset.
25410 (VARIANT): Define.
25411 * benchtests/bench-skeleton.c (main): Run benchmark for each
25412 variant.
25413 * benchtests/cos-inputs: Add slow benchmark inputs.
25414 * benchtests/exp-inputs: Likewise.
25415 * benchtests/pow-inputs: Likewise.
25416 * benchtests/sin-inputs: Likewise.
25417 * benchtests/slowatan-inputs: Remove.
25418 * benchtests/slowatan.c: Remove.
25419 * benchtests/slowcos-inputs: Remove.
25420 * benchtests/slowcos.c: Remove.
25421 * benchtests/slowexp-inputs: Remove.
25422 * benchtests/slowexp.c: Remove.
25423 * benchtests/slowpow-inputs: Remove.
25424 * benchtests/slowpow.c: Remove.
25425 * benchtests/slowsin-inputs: Remove.
25426 * benchtests/slowsin.c: Remove.
25427 * benchtests/slowtan-inputs: Remove.
25428 * benchtests/slowtan.c: Remove.
25429 * benchtests/tan-inputs: Add slow benchmark inputs.
25430 * scripts/bench.pl: Parse comments and directives.
25431
d569c6ee
SP
25432 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25433 in CPPFLAGS.
25434 ($(objpfx)bench-%.c): Remove *-ITER.
25435 * benchtests/bench-modf.c: Remove definition of ITER.
25436 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25437 (main): Loop for DURATION seconds instead of fixed number of
25438 iterations.
25439 * scripts/bench.pl: Don't expect iterations in parameters.
25440
a6a242fe
RM
254412013-04-29 Roland McGrath <roland@hack.frob.com>
25442
25443 * io/fchdir.c (__fchdir): Renamed from fchdir.
25444 (fchdir): Define as weak alias.
25445
f2da7793
JM
254462013-04-29 Joseph Myers <joseph@codesourcery.com>
25447
25448 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25449 (ERRNO_EDOM): Likewise.
25450 (ERRNO_ERANGE): Likewise.
25451 (noErrnoTests): New variable.
25452 (init_max_error): Set errno to 0.
25453 (test_single_errno): New function.
25454 (test_errno): Likewise.
25455 (check_float_internal): Call test_errno. Set errno to 0.
25456 (check_complex): Refer to errno tests in comment.
25457 (check_int): Call test_errno. Set errno to 0.
25458 (check_long): Likewise.
25459 (check_bool): Likewise.
25460 (check_longlong): Likewise.
25461 (cos_test): Use ERRNO_* flags for errno tests instead of
25462 check_int.
25463 (expm1_test): Likewise.
25464 (fmod_test): Likewise.
25465 (ilogb_test): Likewise.
25466 (lgamma_test): Likewise.
25467 (pow_test): Likewise.
25468 (remainder_test): Likewise.
25469 (sin_test): Likewise.
25470 (tan_test): Likewise.
25471 (yn_test): Likewise.
25472 (initialize): Set errno to 0.
25473 (main): Print number of errno tests.
25474 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25475
b1a36ceb
AJ
254762013-04-29 Andreas Jaeger <aj@suse.de>
25477
c3ed8088
AJ
25478 [BZ #15084]
25479 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25480 and RES_USEVC.
25481
f1a24198
AJ
25482 [BZ #15085]
25483 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25484 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25485 unimplemented.
25486
9ce3b2cb
AJ
25487 [BZ #15380]
25488 * stdlib/random.c (__initstate): Return NULL if
25489 __initstate fails.
25490
f1a24198 25491 [BZ #15086]
b1a36ceb
AJ
25492 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25493 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25494 RES_SNGLKUPREOP.
25495
7e7b6f36
AZ
254962013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25497
25498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25499
4d14f449
JM
255002013-04-29 Joseph Myers <joseph@codesourcery.com>
25501
25502 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25503 of individual tests.
25504 (casin_test): Likewise.
25505 (casinh_test): Likewise.
25506
5b4217d7
JM
255072013-04-27 Joseph Myers <joseph@codesourcery.com>
25508
25509 [BZ #15409]
25510 * math/s_catan.c (__catan): Handle arguments with large real or
25511 imaginary part separately without squaring.
25512 * math/s_catanf.c (__catanf): Likewise.
25513 * math/s_catanh.c (__catanh): Likewise.
25514 * math/s_catanhf.c (__catanhf): Likewise.
25515 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25516 and redefine.
25517 (__catanhl): Handle arguments with large real or imaginary part
25518 separately without squaring.
25519 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25520 and redefine.
25521 (__catanl): Handle arguments with large real or imaginary part
25522 separately without squaring.
25523 * math/libm-test.inc (catan_test): Add more tests.
25524 (catanh_test): Likewise.
25525 * sysdeps/i386/fpu/libm-test-ulps: Update.
25526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25527
4220c3ef
AJ
255282013-04-27 Andreas Jaeger <aj@suse.de>
25529
25530 [BZ #15007]
25531 * stdlib/stdlib.h: Update guards for qecvt.
25532 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25533 <stdlib.h>.
25534
4721b2d1
AM
255352013-04-27 Allan McRae <allan@archlinux.org>
25536
25537 * sysdeps/i386/fpu/libm-test-ulps: Update.
25538
f0302940
JM
255392013-04-26 Joseph Myers <joseph@codesourcery.com>
25540
9457fd95
JM
25541 [BZ #15406]
25542 * math/s_catan.c: Include <float.h>.
25543 (__catan): Ensure underflow exception occurs for underflowed
25544 result.
25545 * math/s_catanf.c: Include <float.h>.
25546 (__catanf): Ensure underflow exception occurs for underflowed
25547 result.
25548 * math/s_catanh.c: Include <float.h>.
25549 (__catanh): Ensure underflow exception occurs for underflowed
25550 result.
25551 * math/s_catanhf.c: Include <float.h>.
25552 (__catanhf): Ensure underflow exception occurs for underflowed
25553 result.
25554 * math/s_catanhl.c: Include <float.h>.
25555 (__catanhl): Ensure underflow exception occurs for underflowed
25556 result.
25557 * math/s_catanl.c: Include <float.h>.
25558 (__catanl): Ensure underflow exception occurs for underflowed
25559 result.
25560 * math/libm-test.inc (catan_test): Add more tests.
25561 (catanh_test): Likewise.
25562
f0302940
JM
25563 [BZ #15405]
25564 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25565 underflowed result.
25566 * math/s_ccoshf.c (__ccoshf): Likewise.
25567 * math/s_ccoshl.c (__ccoshl): Likewise.
25568 * math/s_csin.c (__csin): Likewise.
25569 * math/s_csinf.c (__csinf): Likewise.
25570 * math/s_csinh.c (__csinh): Likewise.
25571 * math/s_csinhf.c (__csinhf): Likewise.
25572 * math/s_csinhl.c (__csinhl): Likewise.
25573 * math/s_csinl.c (__csinl): Likewise.
25574 * math/libm-test.inc (ccos_test): Add more tests.
25575 (ccosh_test): Likewise.
25576 (csin_test): Likewise.
25577 (csinh_test): Likewise.
25578
aa630f59
AZ
255792013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25580
25581 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25582 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25583 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25584 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25585 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25586 powerpc/power5+/fpu folders.
25587 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25588
25589
1b835983
MT
255902013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25591
25592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25593
73709b26
JM
255942013-04-25 Joseph Myers <joseph@codesourcery.com>
25595
25596 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25597 additions to variable.
25598 [$(config-machine) = x86_64] (modules-names): Likewise.
25599 ($(objpfx)tst-audit3): Remove dependency.
25600 ($(objpfx)tst-audit3.out): Likewise.
25601 ($(objpfx)tst-audit4): Likewise.
25602 ($(objpfx)tst-audit4.out): Likewise.
25603 ($(objpfx)tst-audit5): Likewise.
25604 ($(objpfx)tst-audit5.out): Likewise.
25605 ($(objpfx)tst-audit6): Likewise.
25606 ($(objpfx)tst-audit6.out): Likewise.
25607 ($(objpfx)tst-audit7): Likewise.
25608 ($(objpfx)tst-audit7.out): Likewise.
25609 (tst-audit3-ENV): Remove variable.
25610 (tst-audit4-ENV): Likewise.
25611 (tst-audit5-ENV): Likewise.
25612 (tst-audit6-ENV): Likewise.
25613 (tst-audit7-ENV): Likewise.
25614 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25615 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25616 addition to variable.
25617 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25618 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25619 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25620 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25621 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25622 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25623 tst-audit3, tst-audit4 and tst-audit5.
25624 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25625 tst-audit6 and tst-audit7.
25626 [$(subdir) = elf] (modules-names): Add audit modules for those
25627 tests.
25628 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25629 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25630 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25631 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25632 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25633 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25634 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25635 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25636 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25637 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25638 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25639 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25640 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25641 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25642 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25643 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25644 Likewise.
25645 [$(subdir) = elf && $(config-cflags-avx) = yes]
25646 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25647 [$(subdir) = elf && $(config-cflags-avx) = yes]
25648 (CFLAGS-tst-auditmod4a.c): Likewise.
25649 [$(subdir) = elf && $(config-cflags-avx) = yes]
25650 (CFLAGS-tst-auditmod4b.c): Likewise.
25651 [$(subdir) = elf && $(config-cflags-avx) = yes]
25652 (CFLAGS-tst-auditmod6b.c): Likewise.
25653 [$(subdir) = elf && $(config-cflags-avx) = yes]
25654 (CFLAGS-tst-auditmod6c.c): Likewise.
25655 [$(subdir) = elf && $(config-cflags-avx) = yes]
25656 (CFLAGS-tst-auditmod7b.c): Likewise.
25657 * elf/tst-audit3.c: Move to ...
25658 * sysdeps/x86_64/tst-audit3.c: ... here.
25659 * elf/tst-audit4.c: Move to ...
25660 * sysdeps/x86_64/tst-audit4.c: ... here.
25661 * elf/tst-audit5.c: Move to ...
25662 * sysdeps/x86_64/tst-audit5.c: ... here.
25663 * elf/tst-audit6.c: Move to ...
25664 * sysdeps/x86_64/tst-audit6.c: ... here.
25665 * elf/tst-audit7.c: Move to ...
25666 * sysdeps/x86_64/tst-audit7.c: ... here.
25667 * elf/tst-auditmod3a.c: Move to ...
25668 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25669 * elf/tst-auditmod3b.c: Move to ...
25670 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25671 * elf/tst-auditmod4a.c: Move to ...
25672 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25673 * elf/tst-auditmod4b.c: Move to ...
25674 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25675 * elf/tst-auditmod5a.c: Move to ...
25676 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25677 * elf/tst-auditmod5b.c: Move to ...
25678 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25679 * elf/tst-auditmod6a.c: Move to ...
25680 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25681 * elf/tst-auditmod6b.c: Move to ...
25682 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25683 * elf/tst-auditmod6c.c: Move to ...
25684 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25685 * elf/tst-auditmod7a.c: Move to ...
25686 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25687 * elf/tst-auditmod7b.c: Move to ...
25688 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25689
1ef74943
PP
256902013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25691
25692 [BZ #15366]
25693 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25694 define unconditionally.
25695 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25696 define unconditionally.
25697 (INT8_C, INT16_C, etc.): Likewise.
25698
93fd48c5
MR
256992013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25700
ae9552cf
MR
25701 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25702 __ehdr_start with hidden visibility.
25703
93fd48c5
MR
25704 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25705
418601aa
CD
257062013-04-24 Carlos O'Donell <carlos@redhat.com>
25707
25708 * math/libm-test.inc (cos_test): Use accurate hex constants.
25709 (sincost_test): Likewise.
25710
2f38fbfe
JM
257112013-04-24 Joseph Myers <joseph@codesourcery.com>
25712
5e221800
JM
25713 * math/libm-test.inc (catan_test): Add more tests.
25714 (catanh_test): Likewise.
25715
77f143fd
JM
25716 * math/s_catanf.c (__catanf): Use suffixed floating-point
25717 constants.
25718 * math/s_catanhf.c (__catanhf): Likewise.
25719 * math/s_catanhl.c (__catanhl): Likewise.
25720 * math/s_catanl.c (__catanl): Likewise.
25721
2f38fbfe
JM
25722 [BZ #15394]
25723 * math/s_catan.c (__catan): Calculate imaginary part of result
25724 with log1p not log unless computing log of number close to 0.
25725 * math/s_catanf.c (__catanf): Likewise.
25726 * math/s_catanl.c (__catanl): Likewise.
25727 * math/s_catanh.c (__catanh): Calculate real part of result with
25728 log1p not log unless computing log of number close to 0.
25729 * math/s_catanhf.c (__catanhf): Likewise.
25730 * math/s_catanhl.c (__catanhl): Likewise.
25731 * math/libm-test.inc (catan_test): Add more tests.
25732 (catanh_test): Likewise.
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25735
45d69176
SP
257362013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25737
25738 * benchtests/Makefile: Mention files in which fast and slow
25739 paths of math functions are implemented.
25740
87f51853
RM
257412013-04-23 Roland McGrath <roland@hack.frob.com>
25742
25743 * sysdeps/posix/timespec_get.c: New file.
25744
3c026539
AZ
257452013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25746
25747 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25748 POWER.
25749 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25750 for POWER.
25751 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25752 powerpc/power5/fpu folders.
25753 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25754 * benchtests/Makefile: Add modf testcase.
25755 * benchtests/bench-modf.c: New file: Benchmark test for mo
25756
ff491d14
SP
257572013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25758
25759 [BZ #14888]
25760 * time/Makefile (tests): Add tst-strptime-whitespace.
25761 * time/strptime_l.c (get_number): Use ISSPACE.
25762 (__strptime_internal): Likewise.
25763 * time/tst-strptime-whitespace.c: New test case.
25764
7ed3f4e8
AS
257652013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25766
25767 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25768 member.
25769 (_nss_files_init): Set it here.
25770
5c95f7b6
HC
257712013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25772
25773 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25774 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25775 unsigned.
25776
d34c9158
JBG
257772013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25778
25779 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25780
2169712d
SP
257812013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25782
25783 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25784 size just once.
25785
29c5de99
DM
257862013-04-21 David S. Miller <davem@davemloft.net>
25787
25788 * po/ru.po: Update Russion translation from translation project.
25789
ccdad15d
AC
257902013-04-17 Adam Conrad <adconrad@0c3.net>
25791
25792 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25793 and setfsgid.
25794
0f122b8d
CD
257952013-04-17 Carlos O'Donell <carlos@redhat.com>
25796
5c5b07da 25797 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 25798 * configure: Regenerate.
5c5b07da 25799 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
25800 Add example to error message.
25801 * sysdeps/i386/configure: Regenerate.
25802
037714dd
SP
258032013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25804
25805 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25806 slowtan.
25807 * benchtests/cos-inputs: New file.
25808 * benchtests/slowcos-inputs: New file.
25809 * benchtests/slowcos.c: New file.
25810 * benchtests/slowtan-inputs: New file.
25811 * benchtests/slowtan.c: New file.
25812 * benchtests/tan-inputs: New file.
25813
e913141d
RM
258142013-04-16 Roland McGrath <roland@hack.frob.com>
25815
25816 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25817 considered kosher.
25818
a2964074
SP
258192013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25820
4856bcd2
SP
25821 * benchtests/Makefile: Include cppflags-iterator.mk to add
25822 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25823
a2964074
SP
25824 * Makefile.in (bench-clean): New target.
25825 * benchtests/Makefile (bench-clean): Likewise.
25826
9fbf9aca
DH
258272013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25828
25829 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25830
207d1e2a
TS
258312013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25832
25833 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25834
306dfba9
AS
258352013-04-15 Andreas Schwab <schwab@suse.de>
25836
25837 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25839 * nscd/pwdcache.c (cache_addpw): Likewise.
25840 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25841 more than recsize.
25842
206a6699
SP
258432013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25844
25845 * benchtests/Makefile (bench): Write all output to
25846 bench-out.tmp together.
25847
0582f6b3
AS
258482013-04-15 Andreas Schwab <schwab@suse.de>
25849
25850 * nscd/nscd.c (main): Don't fork again after closing files.
25851
acb4325f
SP
258522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25853
5cb26d0a
SP
25854 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25855
acb4325f
SP
25856 * benchtests/Rules (bench-deps): Collect dependencies into a
25857 single variable. Add Makefile to dependencies.
25858 ($(objpfx)bench-%.c): Depend on bench-deps.
25859
47792506
RM
258602013-04-12 Roland McGrath <roland@hack.frob.com>
25861 Xavier Roche <roche+kml2@exalead.com>
25862
25863 [BZ #15361]
25864 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25865 just that it's a file descriptor.
25866 * manual/llio.texi (Synchronizing AIO Operations): Update description
25867 for EBADF error from aio_fsync.
25868
8fc1bee5
SP
258692013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25870
25871 * Rules (bench): Move target definition...
25872 * benchtests/Makefile: ... here.
25873
aba5e333
CD
258742013-04-11 Carlos O'Donell <carlos@redhat.com>
25875
25876 * math/libm-test.inc (cos_test): Fix PI/2 test.
25877 (sincos_test): Likewise.
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25879 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25880
273cdee8
AS
258812013-04-11 Andreas Schwab <schwab@suse.de>
25882
6ecec3b6
AS
25883 [BZ #13988]
25884 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25885 accept exponent character only when digits were seen.
25886 * stdio-common/Makefile (tests): Add bug26.
25887 * stdio-common/bug26.c: New file.
25888
273cdee8
AS
25889 [BZ #14293]
25890 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25891 non-freeable.
25892
8da491f5
SP
258932013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25894
01dc6df9
SP
25895 * Makeconfig (rtld-prefix): Define built linker prefix.
25896 * Rules (run-bench): Use it.
25897 * math/Makefile (run-regen-ulps): Likewise.
25898
8da491f5
SP
25899 * Rules (bench): Remove eval.
25900
abe7f530
SP
259012013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25902 Roland McGrath <roland@hack.frob.com>
25903 Ondrej Bilka <neleai@seznam.cz>
25904
25905 [BZ #15346]
25906 * time/getdate.c: Include ctype.h and alloca.h.
25907 (__getdate_r): Trim leading and trailing spaces of input.
25908 * time/tst-getdate.c (tests): Add tests with leading and
25909 trailing spaces.
25910
61c23e62
RM
259112013-04-08 Roland McGrath <roland@hack.frob.com>
25912
25913 [BZ #14280]
25914 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25915 when computing value.
25916
7208a313
CD
259172013-04-06 Carlos O'Donell <carlos@redhat.com>
25918
085b2d41
CD
25919 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25920 Use testrun.sh to run libm tests.
25921
7208a313
CD
25922 [BZ #15309]
25923 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25924
872c0acd
MM
259252013-04-06 Marko Myllynen <myllynen@redhat.com>
25926
25927 [BZ #15264]
25928 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25929
26510bdd
CD
259302013-04-06 Carlos O'Donell <carlos@redhat.com>
25931
25932 * Makefile.in (regen-ulps): New target.
25933 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25934 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25935 [ifneq (no,$(PERL)] (regen-ulps): New target.
25936 [ifeq (no,$(PERL)] (regen-ulps): New target.
25937 * math/libm-test.inc (ulps_file_name): Define.
25938 (output_dir): New variable.
25939 (options): Add "output-dir" option.
25940 (parse_opt): Handle 'o' case.
25941 (main): If output_dir is non-NULL use it as a prefix
25942 otherwise use "".
25943 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25944
a01f19c8
CD
259452013-04-06 Carlos O'Donell <carlos@redhat.com>
25946
25947 [BZ #10060, #10062]
25948 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25949 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25950 fail configure if __sync_val_compare_and_swap is not inlined.
25951 * sysdeps/i386/configure: Regenerate.
25952 * configure.in: Build for i686 when configured for i386.
25953 * configure: Regenerate.
25954 * README: Remove i386 reference.
25955
b7a329a5
CD
259562013-04-06 Carlos O'Donell <carlos@redhat.com>
25957
25958 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25959 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25960
bf0f50df
TS
259612013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25962
ee091edf
TS
25963 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25964 (lmsnanval): New variables.
25965 (F): Add conversion tests.
25966 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25967 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25968
a8b792d6
TS
25969 * stdio-common/tstdiomisc.c (F): Properly collect individual
25970 tests' results.
25971
a1cbf437
TS
25972 [BZ #14686, #15336]
25973 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25974 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25975 Instead, use input NaN values or generate a qNaN by arithmetic
25976 operation. Also fix bugs to comply with the standard.
25977 * math/libm-test.inc (remainder_test): Add more tests.
25978
8b43a0c9
TS
25979 [BZ #15335, #15342]
25980 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25982 input NaN values or generate a qNaN by arithmetic operation.
25983
d91da4ce
TS
25984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25985 unreachable code.
25986
bf0f50df
TS
25987 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25988 definitions.
25989
05e166c8
JM
259902013-04-03 Joseph Myers <joseph@codesourcery.com>
25991
25992 [BZ #14478]
25993 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25994 underflowed result.
25995 * math/s_cexpf.c (__cexpf): Likewise.
25996 * math/s_cexpl.c (__cexpl): Likewise.
25997 * math/libm-test.inc (cexp_test): Add more tests.
25998
1cef1b19
AS
259992013-04-03 Andreas Schwab <schwab@suse.de>
26000
26001 [BZ #15330]
26002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26003 order arrays from heap if bigger than alloca cutoff.
26004
74d87055
TS
260052013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26006
26007 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26008 (SNAN_TESTS_double): Refer to GCC PR56831.
26009 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26010 GCC PR56828.
26011
d755bba4
SP
260122013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26013
90d5d5bb
SP
26014 * Rules (bench): Move bench.out after the run is complete.
26015
73e0cd5d
SP
26016 * Rules (bench): Echo currently running benchmark.
26017
64aabd4b
SP
26018 * benchtests/Makefile (bench): Add atan and slowatan.
26019 * benchtests/atan-inputs: New file.
26020 * benchtests/slowatan-inputs: New file.
26021 * benchtests/slowatan.c: New file.
26022
c871eccd
SP
26023 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26025 its value.
26026
d755bba4
SP
26027 [BZ #15305]
26028 * sysdeps/unix/sysv/linux/kernel-features.h
26029 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26030 __ASSUME_XFS_RESTRICTED_CHOWN.
26031 * sysdeps/unix/sysv/linux/pathconf.c
26032 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26033 Save and restore errno.
26034
52ce4860
JM
260352013-04-02 Joseph Myers <joseph@codesourcery.com>
26036
26037 [BZ #15327]
26038 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26039 arguments using __kernel_casinh.
26040 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26041 arguments using __kernel_casinhf.
26042 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26043 arguments using __kernel_casinhl.
26044 * math/libm-test.inc (cacosh_test): Add more tests.
26045 * sysdeps/i386/fpu/libm-test-ulps: Update.
26046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26047
81f311c2
SP
260482013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26049
e7906a47
SP
26050 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26052
92e3664b
SP
26053 * bench/Makefile (bench): Add sin and slowsin.
26054 * benchtests/sin-inputs: New file.
26055 * benchtests/slowsin-inputs: New file.
26056 * benchtests/slowsin.c: New file.
26057
81f311c2
SP
26058 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26059 (bench): Add slowexp and slowpow.
26060 (exp-ITER): Increase iterations.
26061 (pow-ITER): Likewise.
26062 * benchtests/exp-inputs: Change input.
26063 * benchtests/pow-inputs: Likewise.
26064 * benchtests/slowexp-inputs: New file.
26065 * benchtests/slowexp.c: New file.
26066 * benchtests/slowpow-inputs: New file.
26067 * benchtests/slowpow.c: New file.
26068
ab0f1aa9
AZ
260692013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26070
26071 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26072 instructions.
26073 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26076 * benchtests/Makefile: Add rint benchtest.
26077 * benchtests/rint-inputs: Input for rint benchtest.
26078
57267616
TS
260792013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26080
26081 * Versions.def (libm): Add GLIBC_2.18.
26082 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26083 hidden libm prototypes.
26084 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26085 * math/Makefile (libm-calls): Add s_issignaling.
26086 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26087 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26088 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26089 declaration.
26090 * math/math.h [__USE_GNU] (issignaling): New macro.
26091 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26092 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26094 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26097 * manual/arith.texi (issignaling): New section.
26098 * manual/libm-err-tab.pl (@all_functions): Update comment.
26099 * math/gen-libm-test.pl (parse_args): Apply special handling for
26100 issignaling.
26101 * math/libm-test.inc (print_float, issignaling_test): New
26102 functions.
26103 (check_float_internal): Add issignaling checks.
26104 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26105 default definition.
26106 * sysdeps/powerpc/math-tests.h: New file.
26107 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26108 tests.
26109 * math/test-snan.c (TEST_FUNC): Likewise.
26110
6142896d
DM
261112013-03-30 David S. Miller <davem@davemloft.net>
26112
26113 * po/de.po: Update from translation team.
26114
ccc8cadf
JM
261152013-03-30 Joseph Myers <joseph@codesourcery.com>
26116
26117 [BZ #10357]
26118 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26119 imaginary part less than 1.0 and real part less than 0.5
26120 specially.
26121 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26122 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26123 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26124 (cacos_test): Add more tests.
26125 (casin_test): Likewise.
26126 (casinh_test): Likewise.
26127 * sysdeps/i386/fpu/libm-test-ulps: Update.
26128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26129
0f6a8d4b
SP
261302013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26131
0d1029de
SP
26132 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26133 ONE with its value.
26134
c2d94018
SP
26135 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26136 (__pow_mp): Replace ONE and MONE with their values.
26137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26138 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26139 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26140 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26143
27ec37f1
SP
26144 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26145
a64d7e0e
SP
26146 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26147 (__pow_mp): Replace ZERO and MZERO with their values.
26148 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26150 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26152 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26153 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26154 (__sqr): Likewise.
26155
d26dd3eb
SP
26156 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26157
0f6a8d4b
SP
26158 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26159
e57b0c61
RM
261602013-03-28 Roland McGrath <roland@hack.frob.com>
26161
26162 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26163 Declare with __attribute__ ((weak)).
26164 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26165 Call __call_tls_dtors only if it's not NULL.
26166
356b3480
RM
261672013-03-28 Roland McGrath <roland@hack.frob.com>
26168
288f7d79
RM
26169 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26170 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26171 magic __ehdr_start linker symbol if it's defined.
26172 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26173 them up here if it was already done.
26174
dc0a0263
RM
26175 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26176 (_dl_aux_init): Use const in cast when setting it.
26177 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26178 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26179 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26180
3d3436ae
RM
26181 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26182 Declare them here.
26183 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26184 * csu/libc-tls.c: Nor here.
26185 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26186
356b3480
RM
26187 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26188 (__libc_message): Never call vsyslog.
26189
b0f1246a
AM
261902013-03-28 Alan Modra <amodra@gmail.com>
26191
26192 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26193 Define as empty.
26194 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26195 Likewise.
26196
fbbe2b9a
AZ
261972013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26198
26199 [BZ #15214]
26200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26201 underflow.
26202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26203
1728ab37
SP
262042013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26205
7a86be6e
SP
26206 [BZ #15304]
26207 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26208 Don't add gid passed as argument.
26209
1728ab37
SP
26210 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26211
3a7182a1
JM
262122013-03-27 Joseph Myers <joseph@codesourcery.com>
26213
26214 [BZ #15307]
26215 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26216 imaginary part between 1.0 and 1.5 and real part less than 0.5
26217 specially.
26218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26220 * math/libm-test.inc (cacos_test): Add more tests.
26221 (casin_test): Likewise.
26222 (casinh_test): Likewise.
26223 * sysdeps/i386/fpu/libm-test-ulps: Update.
26224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26225
6f2e90e7
SP
262262013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26227
5739f705
SP
26228 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26229 constants.
26230 (norm): Likewise.
26231 (denorm): Likewise.
26232 (__dbl_mp): Likewise.
26233 (add_magnitudes): Likewise.
26234 (sub_magnitudes): Likewise.
26235 (__add): Likewise.
26236 (__sub): Likewise.
26237 (__mul): Likewise.
26238 (__sqr): Likewise.
26239 (__inv): Likewise.
26240 (__dvd): Likewise.
26241
e375e83d
SP
26242 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26243 commented code.
26244 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26245 (__dubcos): Likewise.
26246 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26247 (__ieee754_acos): Likewise.
26248 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26249 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26250 (__exp1): Likewise.
26251 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26253 (log1): Likewise.
26254 (my_log2): Likewise.
26255 (checkint): Likewise.
26256 * sysdeps/ieee754/dbl-64/e_remainder.c
26257 (__ieee754_remainder): Likewise.
26258 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26260 (bsloww): Likewise.
26261 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26262
6f2e90e7
SP
26263 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26264 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26265 MANTISSA_STORE_T to store computations on mantissa. Use
26266 macros for rounding and division.
26267 (denorm): Likewise.
26268 (__dbl_mp): Likewise.
26269 (add_magnitudes): Likewise.
26270 (sub_magnitudes): Likewise.
26271 (__mul): Likewise.
26272 (__sqr): Likewise.
26273 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26274 powers of two in terms of TWOPOW macro.
26275 (mp_no): Make type of mantissa as MANTISSA_T.
26276 [!RADIXI]: Define RADIXI.
26277 [!TWO52]: Define TWO52.
26278 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26279
fce14d4e
AZ
262802013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26281
26282 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26283 llroundl symbol when building for PPC32.
26284
9ad027fb
MW
262852013-03-24 Mark H Weaver <mhw@netris.org>
26286
26287 * manual/arith.texi (Normalization Functions): Fix prototypes for
26288 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26289
e42a38dd
AZ
262902013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26291
26292 [BZ #13889]
26293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26294 high value to check if expl overflow.
26295 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26296 to check for underflow and overflow.
26297 * math/libm-test.inc: Add exp test.
26298
2e0fb521
DL
262992013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26300
26301 [BZ #11120]
26302 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26303 with NOT_IN_libc.
26304
b5784d95
AZ
263052013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26306
26307 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26308 symbol.
26309
5aa4a1a1
TS
263102013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26311
bdef0be7
TS
26312 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26313 wrap blocks consisting of several statements.
26314
5aa4a1a1
TS
26315 * sysdeps/generic/math-tests.h: New file.
26316 * sysdeps/i386/fpu/math-tests.h: Likewise.
26317 * math/test-snan.c: Include it.
26318 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26319
98c48fe5
JM
263202013-03-21 Joseph Myers <joseph@codesourcery.com>
26321
26322 [BZ #15285]
26323 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26324 (__ieee754_j0l): Do not improve calculations using cos of twice
26325 input for inputs above LDBL_MAX / 2.0L.
26326 (__ieee754_y0l): Likewise.
26327 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26328 (__ieee754_j1l): Do not improve calculations using cos of twice
26329 input for inputs above LDBL_MAX / 2.0L.
26330 (__ieee754_y1l): Likewise.
26331 * math/libm-test.inc (j0_test): Add another test.
26332 (j1_test): Likewise.
26333 (y0_test): Likewise.
26334 (y1_test): Likewise.
26335 * sysdeps/i386/fpu/libm-test-ulps: Update.
26336
3775a8bc
SP
263372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26338
26339 * Rules ($(objpfx)bench-%.c): Include code from a C source
26340 file.
26341
0a1b2ae6
JM
263422013-03-21 Joseph Myers <joseph@codesourcery.com>
26343
26344 [BZ #15287]
26345 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26346 imaginary part 1.0 and real part less than 0.5 specially.
26347 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26348 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26349 * math/libm-test.inc (cacos_test): Add more tests.
26350 (casin_test): Likewise.
26351 (casinh_test): Likewise.
26352 * sysdeps/i386/fpu/libm-test-ulps: Update.
26353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26354
b33d4ce4
SP
263552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26356
26357 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26358 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26359
bef0b507
JM
263602013-03-20 Joseph Myers <joseph@codesourcery.com>
26361
26362 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26363 * config.make.in (config-cflags-sse4): Remove variable.
26364 (config-cflags-avx): Likewise.
26365 (config-cflags-sse2avx): Likewise.
26366 (config-cflags-novzeroupper): Likewise.
26367 (config-asflags-i686): Likewise.
26368 (have-mfma4): Likewise.
26369 (have-as-vis3): Likewise.
26370 (MIG): Likewise.
26371 * configure.in (MIG): Do not AC_SUBST.
26372 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26373 (libc_cv_cc_sse4): Do not AC_SUBST.
26374 (libc_cv_cc_avx): Likewise.
26375 (libc_cv_cc_sse2avx): Likewise.
26376 (libc_cv_cc_novzeroupper): Likewise.
26377 (libc_cv_cc_fma4): Likewise.
26378 (libc_cv_as_i686): Likewise.
26379 (libc_cv_sparc_as_vis3): Likewise.
26380 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26381 LIBC_CONFIG_VAR.
26382 (config-asflags-i686): Likewise.
26383 (config-cflags-avx): Likewise.
26384 (config-cflags-sse2avx): Likewise.
26385 (have-mfma4): Likewise.
26386 (config-cflags-novzeroupper): Likewise.
26387 * sysdeps/mach/configure.in (MIG): Likewise.
26388 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26389 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26390 LIBC_CONFIG_VAR.
26391 (config-cflags-avx): Likewise.
26392 (config-cflags-sse2avx): Likewise.
26393 (have-mfma4): Likewise.
26394 (config-cflags-novzeroupper): Likewise.
26395 * configure: Regenerated.
26396 * sysdeps/i386/configure: Likewise.
26397 * sysdeps/mach/configure: Likewise.
26398 * sysdeps/sparc/configure: Likewise.
26399 * sysdeps/x86_64/configure: Likewise.
26400
912cc4b3
RM
264012013-03-20 Roland McGrath <roland@hack.frob.com>
26402
26403 [BZ #14812]
26404 * locale/programs/localedef.c (options): Put N_ translation marker
26405 on argument names, not just descriptions.
26406
04eed2b0
MS
264072013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26408
26409 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26410
a065ceff
OB
264112013-03-20 Ondřej Bílka <neleai@seznam.cz>
26412
9bb2a810 26413 [BZ #14176]
a065ceff
OB
26414 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26415
a600e5ce
RM
264162013-03-19 Roland McGrath <roland@hack.frob.com>
26417
26418 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26419 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26420 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26421 [!BEFORE_ABORT] (before_abort): New function.
26422 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26423 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26424 (writev_for_fatal): New function.
26425 (WRITEV_FOR_FATAL): New macro; call that.
26426 (backtrace_and_maps): New function.
26427 (BEFORE_ABORT): New macro; call that.
26428 (struct str_list): Type removed.
26429 (__libc_message, __libc_fatal): Functions removed.
26430 Include <sysdeps/posix/libc_fatal.c> instead.
26431
6b18bea6
JM
264322013-03-19 Joseph Myers <joseph@codesourcery.com>
26433
26434 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26435 constants.
26436 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26437 double constants.
26438
aaa8cb4b
AS
264392013-03-19 Andreas Schwab <schwab@suse.de>
26440
44673770
AS
26441 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26442 * sysdeps/gnu/configure: Regenerate.
26443
aaa8cb4b
AS
26444 * configure.in: Substitute libc_cv_rtlddir.
26445 * configure: Regenerate.
26446 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26447 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26448 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26449 * elf/Makefile (install-others, CFLAGS-interp.c)
26450 (ldso_install, common-ldd-rewrite): Likewise.
26451 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26452 $(inst_slibdir)/$(rtld-installed-name).
26453 * scripts/rellns-sh: Add -p option.
26454 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26455 for source.
26456
d3cfc668
SP
264572013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26458
26459 * manual/nptl.texi: Renamed to ...
26460 * manual/threads.texi: ... this.
26461 * manual/Makefile (chapters): Update.
26462
0e2b9cdd
RM
264632013-03-18 Roland McGrath <roland@hack.frob.com>
26464
26465 [BZ #14812]
26466 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26467 on argument names, not just descriptions.
0e2b9cdd
RM
26468 * malloc/memusagestat.c (options): Likewise.
26469 * nss/getent.c (options): Likewise.
63270c24
RM
26470
264712013-03-18 Benno Schulenberg <bensberg@justemail.net>
26472
26473 [BZ #14812]
26474 * iconv/iconv_prog.c (options): Put N_ translation marker
26475 on argument names, not just descriptions.
26476 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26477
b2e1393c
OB
264782013-03-18 Ondrej Bilka <neleai@seznam.cz>
26479
26480 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26481 implementation which is faster on all x86_64 architectures.
26482 Tested on AMD, Intel Nehalem, SNB, IVB.
26483 * sysdeps/x86_64/strnlen.S: Likewise.
26484
26485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26486 Remove all multiarch strlen and strnlen versions.
26487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26488 Remove strlen and strnlen related parts.
26489
26490 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26491 Inline strlen part.
26492 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26493
26494 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26495 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26496 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26497 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26498 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26499 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26500
ec4ff04d
CD
265012013-03-17 Carlos O'Donell <carlos@redhat.com>
26502
26503 * manual/memory.texi (Malloc Tunable Parameters):
26504 Sort parameters alphabetically. Add comments for missing entries.
26505
cd18e90a
DM
265062013-03-17 David S. Miller <davem@davemloft.net>
26507
26508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26509
2a185d32
JM
265102013-03-16 Joseph Myers <joseph@codesourcery.com>
26511
d2f9799e
JM
26512 [BZ #15283]
26513 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26514 for arguments at most half maximum finite value.
26515 * math/libm-test.inc (j0_test): Add more tests.
26516 (j1_test): Likewise.
26517 (y0_test): Likewise.
26518 (y1_test): Likewise.
26519 * sysdeps/i386/fpu/libm-test-ulps: Update.
26520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26521
2a185d32
JM
26522 [BZ #14155]
26523 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26524 1 / x and functions P and Q for arguments above 0x1p256L.
26525 (__ieee754_y0l): Likewise.
26526 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26527 (__ieee754_y1l): Likewise.
26528 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26529 (j1_test): Likewise.
26530 (y0_test): Likewise.
26531 (y1_test): Likewise.
26532
6cbec759
TS
265332013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26534
26535 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26536 variable.
26537
bc16e260
RM
265382013-03-15 Roland McGrath <roland@hack.frob.com>
26539
aefc9b8c
RM
26540 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26541 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26542 zero since it's initialized to EXEC_PAGESIZE.
26543
bc16e260
RM
26544 * sysdeps/unix/sysv/linux/ldsodefs.h
26545 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26546 * sysdeps/generic/ldsodefs.h: ... here.
26547
a57da955
TS
265482013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26549
af00a34d
TS
26550 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26551
495ded2c
TS
26552 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26553 math/test-snan.c.
26554 * math/test-snan.c: Renamed from
26555 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26556 * math/Makefile (tests): Add test-snan.
26557 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26558 test-powerpc-snan.
26559
777b0332
TS
26560 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26561 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26562 functions.
26563 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26564 __builtin_nan family of functions.
26565 * math/libm-test.inc (initialize): Initialize qnan_value with
26566 __builtin_nan family of functions.
26567 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26568 Remove variables.
26569 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26570 Remove functions.
26571 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26572 storage class. Initialize qNaN_var and sNaN_var with
26573 __builtin_nan and __builtin_nans families of functions,
26574 respectively.
26575
64d063b8
TS
26576 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26577 (sqrt_test): Remove duplicate test with qNaN input.
26578 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26579 (round_test, signbit_test, significand_test): Note missing +/-Inf
26580 as well as qNaN tests.
26581
67e971f1
TS
26582 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26583 qNaN_var. Fix a few strings, too.
26584 * math/libm-test.inc (nan_value): Rename to qnan_value.
26585 * math/gen-libm-test.pl (%beautify): Adjust to that.
26586 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26587 * math/test-misc.c (main): Likewise.
26588 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26589 to __qnan_bytes, and __qnan_union, respectively.
26590 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26591 Likewise.
26592 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26593 and lqnanval, respectively.
26594 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26595 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26596 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26597 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26598
64487e12
TS
26599 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26600 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26601 doubles.
26602
e015e27b
TS
26603 * math/test-misc.c (main): Fix copy'n'pastos.
26604 * misc/tst-efgcvt.c (special): Likewise.
26605
a57da955
TS
26606 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26607 Remove declarations.
26608
1e380345
SP
266092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26610
26611 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26612 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26613 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26614 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26615
ef26eece
AZ
266162013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26617
26618 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26619 macro to return vdso values correctly in IFUNC implementations.
26620 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26621 Optimization by using IFUNC.
26622
8cfdb7e0
SP
266232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26624 Richard Henderson <rth@redhat.com>
26625 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26626
26627 * Makefile.in (bench): New target.
26628 * NEWS: Mention the benchmark framework.
26629 * Rules (bench): Likewise.
26630 (binaries-bench): Generate binaries for functions to
26631 benchmark.
26632 * benchtests/Makefile: New makefile for benchmark tests.
26633 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26634 programs.
26635 * benchtests/exp-inputs: New input file for EXP function.
26636 * benchtests/pow-inputs: New input file for POW function.
26637 * scripts/bench.pl: New script to generate source files for
26638 benchmark programs.
26639
bcda9880
SP
266402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26641
d22ca8cd
SP
26642 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26643 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26644 computations on mantissa. Use macros for rounding and
26645 division.
26646 (denorm): Likewise.
26647 (__dbl_mp): Likewise.
26648 (add_magnitudes): Likewise.
26649 (sub_magnitudes): Likewise.
26650 (__mul): Likewise.
26651 (__sqr): Likewise.
26652 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26653 powers of two in terms of TWOPOW macro.
26654 (mp_no): Make type of mantissa as MANTISSA_T.
26655 [!RADIXI]: Define RADIXI.
26656 [!TWO52]: Define TWO52.
26657 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26658
bcda9880
SP
26659 * manual/nptl.texi (cindex): Modify threads to pthreads.
26660
06d5adfb
JM
266612013-03-15 Joseph Myers <joseph@codesourcery.com>
26662
26663 * sysdeps/x86_64/preconfigure: Regenerated.
26664
41c7328e
JM
266652013-03-14 Joseph Myers <joseph@codesourcery.com>
26666
26667 [BZ #14155]
26668 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26669 0x1p28 and above.
26670 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26671 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26672 0x1p28 and above.
26673 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26674 * math/libm-test.inc (j0_test): Do not allow one spurious
26675 underflow exception.
26676 (y1_test): Likewise.
26677
e25cfa60
SP
266782013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26679
0409959c
SP
26680 * manual/Makefile (chapters): Add nptl.
26681 * manual/debug.texi (Debugging Support): Add link to Threads
26682 chapter.
26683 * manual/nptl.texi: New file.
26684
e25cfa60
SP
26685 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26686
58a1335e
PB
266872013-03-14 Petr Baudis <pasky@ucw.cz>
26688
26689 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26690 for non-NULL pointer before the memory validity test. Pointed
26691 out by Holger Brunck <holger.brunck@keymile.com>.
26692
9dc7c64f
AS
266932013-03-13 Andreas Schwab <schwab@suse.de>
26694
26695 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26696 instead of .os.
26697
54206aa6
JM
266982013-03-13 Joseph Myers <joseph@codesourcery.com>
26699
26700 * timezone/zic.c: Update from tzcode 2013b.
26701
e98cdb38
CD
267022013-03-12 Carlos O'Donell <carlos@redhat.com>
26703
26704 * manual/install.texi (Configuring and compiling):
26705 Mention i686 and i586.
26706 * INSTALL: Regenerate.
26707
9967e003
RM
267082013-03-12 Roland McGrath <roland@hack.frob.com>
26709
26710 * sysdeps/init_array/elf-init.c: New file.
26711 * csu/elf-init.c
26712 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26713 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26714
26715 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26716 __gmon_start__ as global, but as static with a .preinit_array pointer.
26717 * sysdeps/init_array/gmon-start.c: New file. Use that.
26718 * sysdeps/init_array/crti.S: New file, empty except for comments.
26719 * sysdeps/init_array/crtn.S: Likewise.
26720
e6b5a293 267212013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26722
26723 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26724 definining bcopy.
80f844c9
OB
26725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26726 Remove Prefer_SSE_for_memop.
26727 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26728 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26729 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26731 memset-x86-64.
80f844c9 26732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26733 Remove bzero, memset ifunc support.
80f844c9
OB
26734 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26735 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26736 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26737 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26738
fb6b0fcb
AS
267392013-03-11 Andreas Schwab <schwab@suse.de>
26740
26741 [BZ #15234]
26742 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26743 by SHLIB_COMPAT.
26744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26745 (GLIBC_2.16): Remove pthread_atfork.
26746
3e6bd4b1
PP
267472013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26748
26749 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26750 (ptestcases.h): Likewise.
26751
222d7f00
RM
267522013-03-08 Roland McGrath <roland@hack.frob.com>
26753
26754 * Makeconfig ($(common-objpfx)config.status): Depend on
26755 sysdeps/*/preconfigure{,.in} too.
26756
1ba4f030
JM
267572013-03-08 Joseph Myers <joseph@codesourcery.com>
26758
a222d91a
JM
26759 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26760 (__free_hook): Use void * instead of __malloc_ptr_t.
26761 (__malloc_hook): Likewise.
26762 (__realloc_hook): Likewise.
26763 (__memalign_hook): Likewise.
26764 (__after_morecore_hook): Likewise.
26765 * malloc/arena.c (save_malloc_hook): Likewise.
26766 (save_free_hook): Likewise.
26767 * malloc/hooks.c (malloc_hook_ini): Likewise.
26768 (realloc_hook_ini): Likewise.
26769 (memalign_hook_ini): Likewise.
26770 * malloc/malloc.c (malloc_hook_ini): Likewise.
26771 (realloc_hook_ini): Likewise.
26772 (memalign_hook_ini): Likewise.
26773 (__free_hook): Likewise.
26774 (__malloc_hook): Likewise.
26775 (__realloc_hook): Likewise.
26776 (__memalign_hook): Likewise.
26777 (__libc_malloc): Likewise.
26778 (__libc_free): Likewise.
26779 (__libc_realloc): Likewise.
26780 (__libc_memalign): Likewise.
26781 (__libc_valloc): Likewise.
26782 (__libc_pvalloc): Likewise.
26783 (__libc_calloc): Likewise.
26784 (__posix_memalign): Likewise.
26785 * malloc/morecore.c (__sbrk): Likewise.
26786 (__default_morecore): Likewise.
26787
5cc45e10
JM
26788 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26789
dd54b864
JM
26790 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26791 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26792 __malloc_ptrdiff_t.
26793
1ba4f030
JM
26794 * malloc/malloc.h (__malloc_size_t): Remove macro.
26795 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26796 __malloc_size_t.
26797 (old_memalign_hook): Likewise.
26798 (old_realloc_hook): Likewise.
26799 (struct hdr): Likewise.
26800 (flood): Likewise.
26801 (mallochook): Likewise.
26802 (memalignhook): Likewise.
26803 (reallochook): Likewise.
26804 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26805 (tr_old_realloc_hook): Likewise.
26806 (tr_old_memalign_hook): Likewise.
26807 (tr_mallochook): Likewise.
26808 (tr_reallochook): Likewise.
26809 (tr_memalignhook): Likewise.
26810
edf66e57
AZ
268112013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26812
26813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26814 default_ldbl_pack and using as default implementation.
26815 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26816 implementation.
26817 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26818 redundant definition.
26819 (ldbl_insert_mantissa): Likewise.
26820 (ldbl_canonicalize): Likewise.
26821 (ldbl_nearbyint): Likewise.
26822 (ldbl_pack): Rename to ldbl_pack_ppc.
26823 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26824 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26825 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26826
6d9145d8
SP
268272013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26828
26829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26830 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26831 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26832 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26835 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26836 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26837
4dd4e157
AJ
268382013-03-07 Andreas Jaeger <aj@suse.de>
26839
26840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26841 bits/mman-linux.h.
26842
adbb8027
SP
268432013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26844
ce544b5b
SP
26845 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26846 Include mpa.h and declare __MPEXP.
26847 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26848 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26849 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26851 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26852 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26853 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26854
4cc149fd
SP
26855 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26856 (__slowpow): Use long double EXPL and LOGL functions to
26857 compute POW.
26858 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26859 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26861 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26862 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26863 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26864
e6ebd4a7
SP
26865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26866 intermediate variable to calculate exponent.
26867 (__sqr): Likewise.
26868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26869 Likewise.
26870 (__sqr): Likewise.
26871
82a9811d
SP
26872 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26873 [!NO__SQR]: Define __sqr.
26874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26875 and NO__SQR. Remove all code except __mul and __sqr. Include
26876 sysdeps/ieee754/dbl-64/mpa.c.
26877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26878
adbb8027
SP
26879 [BZ #12723]
26880 * posix/Makefile (tests): Add tst-pathconf.
26881 * posix/tst-pathconf.c: New test case.
26882 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26883 _PC_PIPE_BUF.
26884 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26885
39120df9
PF
268862013-03-06 Patsy Franklin <pfrankli@redhat.com>
26887
26888 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26889
67525cb8
AJ
268902013-03-06 Andreas Jaeger <aj@suse.de>
26891
664a9ce4
AJ
26892 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26893 definition via __MAP_ANONYMOUS.
26894
8e39047d
AJ
26895 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26896 it's not part of Linux headers.
26897
67525cb8
AJ
26898 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26899 (MAP_HUGE_MASK): Define.
26900
26901 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26902 Define.
26903 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26905 Define.
26906 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26907 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26908 Define.
26909 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26911 Define.
26912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26913
26914 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26915 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26916 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26917 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26918 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26919 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26920
26921 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26922 Handle f2fs.
26923
26924 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26925 Handle f2fs and efivarfs.
26926
26927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26928 f2fs.
26929
26930 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26931 (EFIVARFS_MAGIC): Add.
26932 (F2FS_LINK_MAX): Add.
26933
e1b42695
PP
269342013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26935
26936 * stdio-common/vfprintf.c: Replace __builtin_expect with
26937 __glibc_unlikely.
26938
2d67d91a
JM
269392013-03-06 Joseph Myers <joseph@codesourcery.com>
26940
26941 [BZ #13550]
26942 * sysdeps/generic/bp-sym.h: Remove file.
26943 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26944 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26945 <bp-sym.h> and <bp-asm.h>.
26946 (__longjmp): Don't use BP_SYM.
26947 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26948 and <bp-asm.h>.
26949 (memcpy): Don't use BP_SYM.
26950 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26951 <bp-sym.h> and <bp-asm.h>.
26952 (memcpy): Don't use BP_SYM.
26953 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26954 <bp-asm.h>.
26955 (memcpy): Don't use BP_SYM.
26956 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26957 <bp-asm.h>.
26958 (memset): Don't use BP_SYM.
26959 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26960 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26961 (__bzero): Don't use BP_SYM.
26962 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26963 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26965 <bp-sym.h> and <bp-asm.h>.
26966 (memcmp): Don't use BP_SYM. Remove comment about bounded
26967 pointers.
26968 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26969 <bp-sym.h> and <bp-asm.h>.
26970 (memcpy): Don't use BP_SYM.
26971 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26972 <bp-sym.h> and <bp-asm.h>.
26973 (memset): Don't use BP_SYM.
26974 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26975 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26976 (__bzero): Don't use BP_SYM.
26977 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26978 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26979 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26980 <bp-sym.h> and <bp-asm.h>.
26981 (strncmp): Don't use BP_SYM. Remove comment about bounded
26982 pointers.
26983 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26984 <bp-sym.h> and <bp-asm.h>.
26985 (memcpy): Don't use BP_SYM.
26986 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26987 <bp-sym.h> and <bp-asm.h>.
26988 (memset): Don't use BP_SYM.
26989 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26990 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26991 (__bzero): Don't use BP_SYM.
26992 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26993 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26994 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26995 <bp-sym.h> and <bp-asm.h>.
26996 (__memchr): Don't use BP_SYM.
26997 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26998 <bp-sym.h> and <bp-asm.h>.
26999 (memcmp): Don't use BP_SYM. Remove comment about bounded
27000 pointers.
27001 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27002 <bp-sym.h> and <bp-asm.h>.
27003 (memcpy): Don't use BP_SYM.
27004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27005 <bp-sym.h> and <bp-asm.h>.
27006 (__mempcpy): Don't use BP_SYM.
27007 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27008 <bp-sym.h> and <bp-asm.h>.
27009 (__memrchr): Don't use BP_SYM.
27010 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27011 <bp-sym.h> and <bp-asm.h>.
27012 (memset): Don't use BP_SYM.
27013 (__bzero): Likewise.
27014 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27015 <bp-sym.h> and <bp-asm.h>.
27016 (__rawmemchr): Don't use BP_SYM.
27017 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27018 <bp-sym.h> and <bp-asm.h>.
27019 (__STRCMP): Don't use BP_SYM.
27020 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27021 <bp-sym.h> and <bp-asm.h>.
27022 (strchr): Don't use BP_SYM.
27023 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27024 <bp-sym.h> and <bp-asm.h>.
27025 (__strchrnul): Don't use BP_SYM.
27026 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27027 <bp-sym.h> and <bp-asm.h>.
27028 (strlen): Don't use BP_SYM.
27029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27030 <bp-sym.h> and <bp-asm.h>.
27031 (strncmp): Don't use BP_SYM. Remove comment about bounded
27032 pointers.
27033 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27034 <bp-sym.h> and <bp-asm.h>.
27035 (__strnlen): Don't use BP_SYM.
27036 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27037 <bp-sym.h> and <bp-asm.h>.
27038 (__GI__setjmp): Don't use BP_SYM.
27039 (_setjmp): Likewise.
27040 (__sigsetjmp): Likewise.
27041 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27042 (L(start_addresses)): Don't use BP_SYM.
27043 (_start): Likewise.
27044 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27045 <bp-asm.h>.
27046 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27047 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27048 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27049 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27050 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27051 <bp-asm.h>.
27052 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27053 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27054 about bounded pointers.
27055 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27056 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27057 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27058 <bp-asm.h>.
27059 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27060 about bounded pointers. Remove GKM FIXME comments.
27061 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27062 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27063 <bp-asm.h>.
27064 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27065 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27066 Remove GKM FIXME comments.
27067 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27068 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27069 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27070 <bp-asm.h>.
27071 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27072 about bounded pointers. Remove GKM FIXME comment.
27073 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27074 and <bp-asm.h>.
27075 (strncmp): Don't use BP_SYM. Remove comment about bounded
27076 pointers.
27077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27078 <bp-sym.h> and <bp-asm.h>.
27079 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27081 <bp-sym.h> and <bp-asm.h>.
27082 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27083 comment.
27084
cdcf361f
PP
270852013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27086
27087 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27088 call free(NULL).
27089
3c4a2b15
DM
270902013-03-05 David S. Miller <davem@davemloft.net>
27091
27092 * po/es.po: Update from translation team.
27093
cdcf361f 270942013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27095
27096 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27097 <bits/mman-linux.h>.
27098 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27099 is fine.
27100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27101 <bits/mman-linux.h> to end of file.
27102 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27103 is fine.
27104 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27105 <bits/mman-linux.h> to end of file.
27106 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27107 is fine.
27108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27109 <bits/mman-linux.h> to end of file.
27110
27111 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27112 (MCL_CURRENT, MCL_FUTURE): Define here.
27113
5f67c04f
AK
271142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27115
8a4473cc 27116 [BZ #15232]
5f67c04f
AK
27117 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27118 attribute_hidden.
27119 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27120
c3e94a95
AK
271212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27122
27123 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27124 fourth parameter needed for rt_sigprocmask syscall.
27125 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27126 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27127 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27128 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27129 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27130 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27131
cfb6382a
JM
271322013-03-04 Joseph Myers <joseph@codesourcery.com>
27133
27134 [BZ #13550]
27135 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27136 comment about bounded pointers.
27137 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27138 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27139
539d8e01
AJ
271402013-03-04 Andreas Jaeger <aj@suse.de>
27141
27142 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27143 common definitions.
27144
27145 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27146 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27147 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27148 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27150 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27151
2e167a70 271522013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27153
27154 [BZ #15055]
27155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27156 __ieee754_sqrl instead of __sqrl.
27157
68508633
JM
271582013-03-01 Joseph Myers <joseph@codesourcery.com>
27159
27160 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27161 * sysdeps/powerpc/fpu_control.h: ... here.
27162 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27163 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27164 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27165 * sysdeps/powerpc/bits/mathinline.h: ... here.
27166
7775448e
RM
271672013-03-01 Roland McGrath <roland@hack.frob.com>
27168
27169 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27170 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27171 to just [NEED_DL_SYSINFO_DSO].
27172 * elf/dl-support.c: Likewise.
27173 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27174 * elf/rtld.c (dl_main): Likewise.
27175 * elf/setup-vdso.h (setup_vdso): Likewise.
27176 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27177 * sysdeps/unix/sysv/linux/dl-sysdep.c
27178 (_dl_discover_osversion): Likewise.
27179
4e9b5995
CD
271802013-03-01 Carlos O'Donell <carlos@redhat.com>
27181
27182 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27183 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27184
e23872c8
SP
271852013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27186
e5c74c63
SP
27187 * NEWS: Mention libm performance improvements and non-x86 PI
27188 futex support.
27189
e23872c8
SP
27190 * csu/libc-start.c (__pthread_initialize_minimal): Change
27191 function arguments.
27192 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27193
b5510883
JM
271942013-02-28 Joseph Myers <joseph@codesourcery.com>
27195
27196 [BZ #13550]
27197 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27198 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27199 <bp-sym.h> and <bp-asm.h>.
27200 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27202 and <bp-asm.h>.
27203 (memcpy): Don't use BP_SYM.
27204 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27205 <bp-asm.h>.
27206 (__mpn_add_n): Don't use BP_SYM.
27207 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27208 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27209 and <bp-asm.h>.
27210 (__mpn_addmul_1): Don't use BP_SYM.
27211 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27212 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27213 <bp-sym.h>.
27214 (_setjmp): Don't use BP_SYM.
27215 (__novmx_setjmp): Likewise.
27216 (__GI__setjmp): Likewise.
27217 (__vmx_setjmp): Likewise.
27218 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27219 <bp-sym.h>.
27220 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27221 (__bzero): Don't use BP_SYM.
27222 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27223 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27224 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27225 <bp-sym.h> and <bp-asm.h>.
27226 (memcpy): Don't use BP_SYM.
27227 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27228 <bp-sym.h> and <bp-asm.h>.
27229 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27230 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27231 <bp-sym.h> and <bp-asm.h>.
27232 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27233 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27234 <bp-asm.h>.
27235 (__mpn_lshift): Don't use BP_SYM.
27236 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27237 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27238 <bp-asm.h>.
27239 (memset): Don't use BP_SYM.
27240 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27241 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27242 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27243 <bp-asm.h>.
27244 (__mpn_mul_1): Don't use BP_SYM.
27245 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27247 <bp-sym.h> and <bp-asm.h>.
27248 (memcmp): Don't use BP_SYM.
27249 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27250 <bp-sym.h> and <bp-asm.h>.
27251 (memcpy): Don't use BP_SYM.
27252 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27253 <bp-sym.h> and <bp-asm.h>.
27254 (memset): Don't use BP_SYM.
27255 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27256 <bp-sym.h> and <bp-asm.h>.
27257 (strncmp): Don't use BP_SYM.
27258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27259 <bp-sym.h> and <bp-asm.h>.
27260 (memcpy): Don't use BP_SYM.
27261 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27262 <bp-sym.h> and <bp-asm.h>.
27263 (memset): Don't use BP_SYM.
27264 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27265 <bp-sym.h> and <bp-asm.h>.
27266 (__memchr): Don't use BP_SYM.
27267 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27268 <bp-sym.h> and <bp-asm.h>.
27269 (memcmp): Don't use BP_SYM.
27270 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27271 <bp-sym.h> and <bp-asm.h>.
27272 (memcpy): Don't use BP_SYM.
27273 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27274 <bp-sym.h> and <bp-asm.h>.
27275 (__mempcpy): Don't use BP_SYM.
27276 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27277 <bp-sym.h> and <bp-asm.h>.
27278 (__memrchr): Don't use BP_SYM.
27279 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27280 <bp-sym.h> and <bp-asm.h>.
27281 (memset): Don't use BP_SYM.
27282 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27283 <bp-sym.h> and <bp-asm.h>.
27284 (__rawmemchr): Don't use BP_SYM.
27285 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27286 <bp-sym.h> and <bp-asm.h>.
27287 (__STRCMP): Don't use BP_SYM.
27288 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27289 <bp-sym.h> and <bp-asm.h>.
27290 (strchr): Don't use BP_SYM.
27291 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27292 <bp-sym.h> and <bp-asm.h>.
27293 (__strchrnul): Don't use BP_SYM.
27294 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27295 <bp-sym.h> and <bp-asm.h>.
27296 (strlen): Don't use BP_SYM.
27297 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27298 <bp-sym.h> and <bp-asm.h>.
27299 (strncmp): Don't use BP_SYM.
27300 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27301 <bp-sym.h> and <bp-asm.h>.
27302 (__strnlen): Don't use BP_SYM.
27303 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27304 <bp-asm.h>.
27305 (__mpn_rshift): Don't use BP_SYM.
27306 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27307 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27308 <bp-sym.h> and <bp-asm.h>.
27309 (__sigsetjmp): Don't use BP_SYM.
27310 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27311 (L(start_addresses)): Don't use BP_SYM.
27312 (_start): Likewise.
27313 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27314 <bp-asm.h>.
27315 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27316 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27317 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27318 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27319 <bp-asm.h>.
27320 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27321 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27322 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27323 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27324 <bp-asm.h>.
27325 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27326 comments.
27327 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27328 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27329 <bp-asm.h>.
27330 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27331 FIXME comments.
27332 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27333 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27334 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27335 <bp-asm.h>.
27336 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27337 comment.
27338 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27339 and <bp-asm.h>.
27340 (strncmp): Don't use BP_SYM,
27341 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27342 <bp-asm.h>.
27343 (__mpn_sub_n): Don't use BP_SYM.
27344 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27345 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27346 and <bp-asm.h>.
27347 (__mpn_submul_1): Don't use BP_SYM.
27348 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27350 <bp-sym.h> and <bp-asm.h>.
27351 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27353 <bp-sym.h> and <bp-asm.h>.
27354 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27355 comment.
27356
8d19fe64
SP
273572013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27358
27359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27360 Use ZK to minimize writes to Z.
27361 (sub_magnitudes): Simplify code a bit.
27362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27363 Use ZK to minimize writes to Z.
27364 (sub_magnitudes): Simplify code a bit.
27365
85bd816a
RM
273662013-02-27 Roland McGrath <roland@hack.frob.com>
27367
27368 * csu/gmon-start.c: Add special exception to license text.
27369
b5977bf2
RH
273702013-02-27 Richard Henderson <rth@redhat.com>
27371
27372 * scripts/config.guess: Update from config.git.
27373 * scripts/config.sub: Likewise.
27374
11d6e2f2
SP
273752013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27376
09c14ed2
SP
27377 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27378
a688864e
SP
27379 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27380
6295157a
SP
27381 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27382
b8de2202
SP
27383 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27384
11d6e2f2
SP
27385 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27386
7e80ddb8
RM
273872013-02-26 Roland McGrath <roland@hack.frob.com>
27388
27389 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27390 [$(build-shared = yes].
7e80ddb8 27391
7da6d9ed
SP
273922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27393
45f05884
SP
27394 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27395 (__mul): Reduce iterations for calculating mantissa.
27396
2236d359
SP
27397 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27398 MPTWO.
27399 (__mpranred): Likewise.
27400
7da6d9ed
SP
27401 [BZ #15160]
27402 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27403 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27404
b7688c42
PE
274052013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27406
27407 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27408 Define __attribute__.
27409
53a5c423
SP
274102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27411
27412 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27413 unused.
27414 * posix/regex_internal.h (__attribute): Remove.
27415 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27416 (re_string_context_at): Likewise.
27417 (bitset_not): Use __attribute__ and mark function as possibly
27418 unused.
27419 (bitset_merge): Likewise.
27420 (bitset_mask): Likewise.
27421 (re_string_char_size_at): Likewise.
27422 (re_string_wchar_at): Likewise.
27423 (re_string_elem_size_at): Likewise.
27424
60f5a8b5
SP
274252013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27426
2a983a2e
SP
27427 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27428 code.
27429 (cc32): Likewise.
27430
e69804d1
SP
27431 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27432 (__acr): Likewise.
27433 (__cpy): Likewise.
27434 (norm): Likewise.
27435 (denorm): Likewise.
27436 (__dbl_mp): Likewise.
27437 (add_magnitudes): Likewise.
27438 (sub_magnitudes): Likewise.
27439 (__mul): Likewise.
27440 (__inv): Likewise.
27441
2f22a1e8
SP
27442 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27443 style.
27444
8930ddc7
SP
27445 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27446 style.
27447
dc60cb11
SP
27448 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27449 code.
27450
60f5a8b5
SP
27451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27452 up changes with default code.
27453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27454 Likewise.
27455
b4d1fd33
AM
274562013-02-24 Allan McRae <allan@archlinux.org>
27457
faf6f8bc
AM
27458 * manual/socket.texi (The Internet Namespace): Order menu items
27459 to match that in the file.
27460
b4d1fd33
AM
27461 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27462 node listing of the info page menu.
27463
2366713d
JM
274642013-02-21 Joseph Myers <joseph@codesourcery.com>
27465
27466 [BZ #13550]
27467 * sysdeps/i386/bp-asm.h: Remove file.
27468 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27469 (PARMS): Do not use macros from bp-asm.h.
27470 (S1): Likewise.
27471 (S2): Likewise.
27472 (SIZE): Likewise.
27473 (__mpn_add_n): Do not use BP_SYM
27474 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27475 "bp-asm.h".
27476 (PARMS): Do not use macros from bp-asm.h.
27477 (S1): Likewise.
27478 (SIZE): Likewise.
27479 (__mpn_addmul_1): Do not use BP_SYM
27480 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27481 "bp-asm.h".
27482 (PARMS): Do not use macros from bp-asm.h.
27483 (SIGMSK): Likewise.
27484 (_setjmp): Likewise. Do not use BP_SYM.
27485 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27486 "bp-asm.h".
27487 (PARMS): Do not use macros from bp-asm.h.
27488 (SIGMSK): Likewise.
27489 (setjmp): Likewise. Do not use BP_SYM.
27490 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27491 "bp-asm.h".
27492 (PARMS): Do not use macros from bp-asm.h.
27493 (__frexp): Do not use BP_SYM.
27494 (frexp): Likewise.
27495 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27496 "bp-asm.h".
27497 (PARMS): Do not use macros from bp-asm.h.
27498 (__frexpf): Do not use BP_SYM.
27499 (frexpf): Likewise.
27500 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27501 "bp-asm.h".
27502 (PARMS): Do not use macros from bp-asm.h.
27503 (__frexpl): Do not use BP_SYM.
27504 (frexpl): Likewise.
27505 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27506 "bp-asm.h".
27507 (PARMS): Do not use macros from bp-asm.h.
27508 (__remquo): Do not use BP_SYM.
27509 (remquo): Likewise.
27510 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27511 "bp-asm.h".
27512 (PARMS): Do not use macros from bp-asm.h.
27513 (__remquof): Do not use BP_SYM.
27514 (remquof): Likewise.
27515 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27516 "bp-asm.h".
27517 (PARMS): Do not use macros from bp-asm.h.
27518 (__remquol): Do not use BP_SYM.
27519 (remquol): Likewise.
27520 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27521 "bp-asm.h".
27522 (PARMS): Do not use macros from bp-asm.h.
27523 (DEST): Likewise.
27524 (SRC): Likewise.
27525 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27526 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27527 "bp-asm.h".
27528 (PARMS): Do not use macros from bp-asm.h.
27529 (strlen): Do not use BP_SYM.
27530 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27531 "bp-asm.h".
27532 (PARMS): Do not use macros from bp-asm.h.
27533 (S1): Likewise.
27534 (S2): Likewise.
27535 (SIZE): Likewise.
27536 (__mpn_add_n): Do not use BP_SYM.
27537 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27538 "bp-asm.h".
27539 (PARMS): Do not use macros from bp-asm.h.
27540 (S1): Likewise.
27541 (SIZE): Likewise.
27542 (__mpn_addmul_1): Do not use BP_SYM.
27543 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27544 weak_alias.
27545 (bzero): Likewise.
27546 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27547 "bp-asm.h".
27548 (PARMS): Do not use macros from bp-asm.h.
27549 (S): Likewise.
27550 (SIZE): Likewise.
27551 (__mpn_lshift): Do not use BP_SYM.
27552 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27553 "bp-asm.h".
27554 (PARMS): Do not use macros from bp-asm.h.
27555 (DEST): Likewise.
27556 (SRC): Likewise.
27557 (LEN): Likewise.
27558 (memcpy): Likewise. Do not use BP_SYM.
27559 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27560 libc_hidden_def and weak_alias.
27561 (mempcpy): Do not use BP_SYM in weak_alias.
27562 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27563 "bp-asm.h".
27564 (PARMS): Do not use macros from bp-asm.h.
27565 (DEST): Likewise.
27566 (LEN): Likewise.
27567 [!BZERO_P] (CHR): Likewise.
27568 (memset): Likewise. Do not use BP_SYM.
27569 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27570 "bp-asm.h".
27571 (PARMS): Do not use macros from bp-asm.h.
27572 (S1): Likewise.
27573 (SIZE): Likewise.
27574 (__mpn_mul_1): Do not use BP_SYM.
27575 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27576 "bp-asm.h".
27577 (PARMS): Do not use macros from bp-asm.h.
27578 (S): Likewise.
27579 (SIZE): Likewise.
27580 (__mpn_rshift): Do not use BP_SYM.
27581 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27582 "bp-asm.h".
27583 (PARMS): Do not use macros from bp-asm.h.
27584 (STR): Likewise.
27585 (CHR): Likewise.
27586 (strchr): Likewise. Do not use BP_SYM.
27587 (index): Do not use BP_SYM in weak_alias.
27588 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27589 "bp-asm.h".
27590 (PARMS): Do not use macros from bp-asm.h.
27591 (DEST): Likewise.
27592 (SRC): Likewise.
27593 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27594 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27595 "bp-asm.h".
27596 (PARMS): Do not use macros from bp-asm.h.
27597 (strlen): Do not use BP_SYM.
27598 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27599 "bp-asm.h".
27600 (PARMS): Do not use macros from bp-asm.h.
27601 (S1): Likewise.
27602 (S2): Likewise.
27603 (SIZE): Likewise.
27604 (__mpn_sub_n): Do not use BP_SYM.
27605 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27606 "bp-asm.h".
27607 (PARMS): Do not use macros from bp-asm.h.
27608 (S1): Likewise.
27609 (SIZE): Likewise.
27610 (__mpn_submul_1): Do not use BP_SYM.
27611 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27612 "bp-asm.h".
27613 (PARMS): Do not use macros from bp-asm.h.
27614 (S1): Likewise.
27615 (S2): Likewise.
27616 (SIZE): Likewise.
27617 (__mpn_add_n): Do not use BP_SYM.
27618 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27619 weak_alias.
27620 (bzero): Likewise.
27621 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27622 "bp-asm.h".
27623 (PARMS): Do not use macros from bp-asm.h.
27624 (BLK2): Likewise.
27625 (LEN): Likewise.
27626 (memcmp): Do not use BP_SYM.
27627 (bcmp): Do not use BP_SYM in weak_alias.
27628 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27629 "bp-asm.h".
27630 (PARMS): Do not use macros from bp-asm.h.
27631 (DEST): Likewise.
27632 (SRC): Likewise.
27633 (LEN): Likewise.
27634 (memcpy): Likewise. Do not use BP_SYM.
27635 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27636 "bp-asm.h".
27637 (PARMS): Do not use macros from bp-asm.h.
27638 (DEST): Likewise.
27639 (SRC): Likewise.
27640 (LEN): Likewise.
27641 (memmove): Likewise. Do not use BP_SYM.
27642 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27643 "bp-asm.h".
27644 (PARMS): Do not use macros from bp-asm.h.
27645 (DEST): Likewise.
27646 (SRC): Likewise.
27647 (LEN): Likewise.
27648 (__mempcpy): Likewise. Do not use BP_SYM.
27649 (mempcpy): Do not use BP_SYM in weak_alias.
27650 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27651 "bp-asm.h".
27652 (PARMS): Do not use macros from bp-asm.h.
27653 (DEST): Likewise.
27654 (LEN): Likewise.
27655 [!BZERO_P] (CHR): Likewise.
27656 (memset): Likewise. Do not use BP_SYM.
27657 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27658 "bp-asm.h".
27659 (PARMS): Do not use macros from bp-asm.h.
27660 (STR2): Likewise.
27661 (strcmp): Do not use BP_SYM.
27662 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27663 "bp-asm.h".
27664 (PARMS): Do not use macros from bp-asm.h.
27665 (STR): Likewise.
27666 (DELIM): Likewise.
27667 [USE_AS_STRTOK_R] (SAVE): Likewise.
27668 (FUNCTION): Likewise. Do not use BP_SYM.
27669 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27670 aliases.
27671 (strtok_r): Likewise.
27672 (__GI___strtok_r): Likewise.
27673 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27674 (PARMS): Do not use macros from bp-asm.h.
27675 (S): Likewise.
27676 (SIZE): Likewise.
27677 (__mpn_lshift): Do not use BP_SYM.
27678 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27679 (PARMS): Do not use macros from bp-asm.h.
27680 (STR): Likewise.
27681 (CHR): Likewise.
27682 (__memchr): Do not use BP_SYM.
27683 (memchr): Do not use BP_SYM in weak_alias.
27684 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27685 (PARMS): Do not use macros from bp-asm.h.
27686 (BLK2): Likewise.
27687 (LEN): Likewise.
27688 (memcmp): Do not use BP_SYM.
27689 (bcmp): Do not use BP_SYM in weak_alias.
27690 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27691 (PARMS): Do not use macros from bp-asm.h.
27692 (S1): Likewise.
27693 (SIZE): Likewise.
27694 (__mpn_mul_1): Do not use BP_SYM.
27695 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27696 "bp-asm.h".
27697 (PARMS): Do not use macros from bp-asm.h.
27698 (STR): Likewise.
27699 (CHR): Likewise.
27700 (__rawmemchr): Do not use BP_SYM.
27701 (rawmemchr): Do not use BP_SYM in weak_alias.
27702 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27703 (PARMS): Do not use macros from bp-asm.h.
27704 (S): Likewise.
27705 (SIZE): Likewise.
27706 (__mpn_rshift): Do not use BP_SYM.
27707 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27708 (PARMS): Do not use macros from bp-asm.h.
27709 (SIGMSK): Likewise.
27710 (__sigsetjmp): Likewise. Do not use BP_SYM.
27711 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27712 (_start): Do not use BP_SYM.
27713 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27714 (PARMS): Do not use macros from bp-asm.h.
27715 (DEST): Likewise.
27716 (SRC): Likewise.
27717 (__stpcpy): Likewise. Do not use BP_SYM.
27718 (stpcpy): Do not use BP_SYM in weak_alias.
27719 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27720 "bp-asm.h".
27721 (PARMS): Do not use macros from bp-asm.h.
27722 (DEST): Likewise.
27723 (SRC): Likewise.
27724 (LEN): Likewise.
27725 (__stpncpy): Likewise. Do not use BP_SYM.
27726 (stpncpy): Do not use BP_SYM in weak_alias.
27727 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27728 (PARMS): Do not use macros from bp-asm.h.
27729 (STR): Likewise.
27730 (CHR): Likewise.
27731 (strchr): Likewise. Do not use BP_SYM.
27732 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27733 "bp-asm.h".
27734 (PARMS): Do not use macros from bp-asm.h.
27735 (STR): Likewise.
27736 (CHR): Likewise.
27737 (__strchrnul): Likewise. Do not use BP_SYM.
27738 (strchrnul): Do not use BP_SYM in weak_alias.
27739 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27740 "bp-asm.h".
27741 (PARMS): Do not use macros from bp-asm.h.
27742 (STOP): Likewise.
27743 (strcspn): Do not use BP_SYM.
27744 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27745 "bp-asm.h".
27746 (PARMS): Do not use macros from bp-asm.h.
27747 (STR): Likewise.
27748 (STOP): Likewise.
27749 (strpbrk): Likewise. Do not use BP_SYM.
27750 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27751 "bp-asm.h".
27752 (PARMS): Do not use macros from bp-asm.h.
27753 (STR): Likewise.
27754 (CHR): Likewise.
27755 (strrchr): Likewise. Do not use BP_SYM.
27756 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27757 (PARMS): Do not use macros from bp-asm.h.
27758 (SKIP): Likewise.
27759 (strspn): Do not use BP_SYM.
27760 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27761 (PARMS): Do not use macros from bp-asm.h.
27762 (STR): Likewise.
27763 (DELIM): Likewise.
27764 (SAVE): Likewise.
27765 (FUNCTION): Likewise. Do not use BP_SYM.
27766 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27767 aliases.
27768 (strtok_r): Likewise.
27769 (__GI___strtok_r): Likewise.
27770 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27771 (PARMS): Do not use macros from bp-asm.h.
27772 (S1): Likewise.
27773 (S2): Likewise.
27774 (SIZE): Likewise.
27775 (__mpn_sub_n): Do not use BP_SYM.
27776 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27777 "bp-asm.h".
27778 (PARMS): Do not use macros from bp-asm.h.
27779 (S1): Likewise.
27780 (SIZE): Likewise.
27781 (__mpn_submul_1): Do not use BP_SYM.
27782 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27783 <bp-sym.h>.
27784 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27785 and <bp-asm.h>.
27786 (PARMS): Do not use macros from bp-asm.h.
27787 (FLAGS): Likewise.
27788 (PTID): Likewise.
27789 (TLS): Likewise.
27790 (CTID): Likewise.
27791 (__clone): Do not use BP_SYM.
27792 (clone): Do not use BP_SYM in weak_alias.
27793 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27794 and <bp-asm.h>.
27795 (PARMS): Do not use macros from bp-asm.h.
27796 (LEN): Likewise.
27797 (__mmap64): Do not use BP_SYM.
27798 (mmap64): Do not use BP_SYM in weak_alias.
27799 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27800 <bp-sym.h> and <bp-asm.h>.
27801 (PARMS): Do not use macros from bp-asm.h.
27802 (__posix_fadvise64_l64): Do not use BP_SYM.
27803 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27804 (PARMS): Do not use macros from bp-asm.h.
27805 (NSOPS): Likewise.
27806 (semtimedop): Do not use BP_SYM.
27807 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27808 and <bp-asm.h>.
27809
582a3cff
AM
278102013-02-21 Allan McRae <allan@archlinux.org>
27811
27812 * manual/message.texi (Charset conversion in gettext):
27813 Move @end statement to beginning of line.
27814
bab8a695
SP
278152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27816
80945231
SP
27817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27818 static.
27819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27820 Likewise.
27821
bab8a695
SP
27822 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27823 (denorm): Likewise.
27824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27826
e21d7aa7
AK
278272013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27828
27829 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27830 tail-call to the resolved function if pltexit isn't needed.
27831
4c7a4263
SP
278322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27833
27834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27835 or Y being zero as being unlikely.
27836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27837 Likewise.
27838
41f49342
CD
278392013-02-20 Carlos O'Donell <carlos@redhat.com>
27840
27841 * manual/nss.texi (System Databases and Name Service Switch):
27842 Remove frobnicate @pxref.
27843
50022a93
TS
278442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27845
27846 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27847 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27848
08cbd996
PM
278492013-02-20 Petr Machata <pmachata@redhat.com>
27850
27851 * elf/elf.h (R_ARM_TARGET1): New macro.
27852 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27853 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27854 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27855 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27856 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27857 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27858 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27859 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27860 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27861 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27862 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27863 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27864 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27865 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27866 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27867 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27868 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27869 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27870 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27871 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27872 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27873 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27874 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27875 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27876 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27877 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27878 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27879 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27880 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27881 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27882 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27883 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27884 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27885 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27886 (R_ARM_THM_GOT_BREL12): Likewise.
27887 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27888 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27889 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27890 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27891 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27892 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27893 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27894 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27895 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27896
c7b275d6
TS
278972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27898
27899 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27900 __attribute_used__ to __attribute__ ((unused)).
27901
20cd7fb3
SP
279022013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27903
27904 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27905 powerpc mpa.c.
27906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27907 comment formatting.
27908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27909
92945b52
JM
279102013-02-19 Joseph Myers <joseph@codesourcery.com>
27911
27912 [BZ #13550]
27913 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27914 Remove macro.
27915 (ENTER): Remove both macro definitions.
27916 (LEAVE): Likewise.
27917 (CHECK_BOUNDS_LOW): Likewise.
27918 (CHECK_BOUNDS_HIGH): Likewise.
27919 (CHECK_BOUNDS_BOTH): Likewise.
27920 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27921 (RETURN_BOUNDED_POINTER): Likewise.
27922 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27923 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27924 (POP_ERRNO_LOCATION_RETURN): Likewise.
27925 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27926 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27927 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27928 macros.
27929 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27930 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27931 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27932 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27933 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27934 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27935 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27936 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27937 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27938 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27939 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27940 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27941 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27942 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27943 removed macros.
27944 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27945 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27946 macros.
27947 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27948 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27949 * sysdeps/i386/i586/memset.S (memset): Likewise.
27950 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27951 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27952 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27953 macros.
27954 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27955 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27956 Change uses of L(2) to L(out).
27957 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27958 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27959 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27960 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27961 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27962 removed macros.
27963 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27964 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27965 macros.
27966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27967 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27968 (RETURN): Do not use macro LEAVE.
27969 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27970 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27971 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27972 * sysdeps/i386/i686/memset.S (memset): Likewise.
27973 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27974 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27975 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27976 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27977 Likewise.
27978 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27979 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27980 L(1_2) and L(1_3) into L(1).
27981 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27982 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27983 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27984 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27985 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27986 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27987 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27988 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27989 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27990 macros.
27991 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27992 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27993 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27994 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27995 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27996 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27997 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27998 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27999 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28000 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28001 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28002 * sysdeps/i386/strspn.S (strspn): Likewise.
28003 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28004 conditional code.
28005 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28006 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28007 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28008 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28009 L(1_3) into L(1_1).
28010 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28011 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28012 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28013 macros.
28014 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28015
2389741a
JJ
280162013-02-19 Jakub Jelinek <jakub@redhat.com>
28017
28018 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28019 macro.
28020
2016b3cd
SP
280212013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28022
e4f22324
SP
28023 * math/atest-exp.c (exp_mpn): Remove ROUND.
28024 * math/atest-exp2.c (exp_mpn): Likewise.
28025 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28026
2016b3cd
SP
28027 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28028 * stdlib/tst-tls-atexit-lib.c: Likewise.
28029 * stdlib/tst-tls-atexit.c: Likewise.
28030
4be9b544
MF
280312013-02-18 Mike Frysinger <vapier@gentoo.org>
28032
28033 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28034 and __attribute_alloc_size__.
28035
2f62b9ee
MF
280362013-02-18 Mike Frysinger <vapier@gentoo.org>
28037
28038 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28039 __attribute_alloc_size__.
28040 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28041 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28042
6ff444c4
MF
280432013-02-18 Mike Frysinger <vapier@gentoo.org>
28044
28045 * include/programs/xmalloc.h: New file.
28046 * catgets/gencat.c: Include it.
28047 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28048 * elf/pldd.c: Likewise.
28049 * iconv/iconv_charmap.c: Likewise.
28050 * iconv/iconvconfig.c: Likewise.
28051 * iconv/strtab.c: Likewise.
28052 * locale/programs/locale.c: Likewise.
28053 * locale/programs/localedef.h: Likewise.
28054 * locale/programs/simple-hash.c: Likewise.
28055 * nscd/nscd.h: Likewise.
28056 * nss/makedb.c: Likewise.
28057 * sysdeps/generic/ldconfig.h: Likewise.
28058
be179c8a
SP
280592013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28060
ba384f6e
SP
28061 * Versions.def: Add GLIBC_2.18.
28062 * include/link.h (struct link_map): New member l_tls_dtor_count.
28063 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28064 (__call_tls_dtors): Likewise.
28065 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28066 __cxa_thread_atexit_impl.
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28068 Likewise.
28069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28070 Likewise.
28071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28072 Likewise.
28073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28074 Likewise.
28075 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28077 Likewise.
28078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28079 Likewise.
28080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28082 Likewise.
28083 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28084 (tests): Add test case tst-tls-atexit.
28085 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28086 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28087 (GLIBC_PRIVATE): Add __call_tls_dtors.
28088 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28089 for libstdc++.
28090 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28091 * stdlib/tst-tls-atexit.c: New test case.
28092 * stdlib/tst-tls-atexit-lib.c: New test case.
28093
ffaa74cf 28094 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28095
be179c8a
SP
28096 * elf/Versions (ld): Add _dl_find_dso_for_object.
28097 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28098 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28099 (dl_open_worker): Use _dl_find_dso_for_object.
28100 * elf/dl-sym.c (do_sym): Likewise.
28101 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28102
f78b5caa
AK
281032013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28104
28105 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28106 Syntactic changes only.
28107 (_dl_runtime_profile): Do a tail-call to the resolved function.
28108
29691210
JM
281092013-02-17 Joseph Myers <joseph@codesourcery.com>
28110
28111 [BZ #13550]
28112 * sysdeps/x86_64/bp-asm.h: Remove file.
28113 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28114 <bp-sym.h> and <bp-asm.h>.
28115 (__clone): Do not use BP_SYM.
28116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28117 <bp-sym.h> and <bp-asm.h>.
28118 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28119 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28120 "bp-asm.h".
28121 (_setjmp): Do not use BP_SYM.
28122 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28123 "bp-asm.h".
28124 (setjmp): Do not use BP_SYM.
28125 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28126 libc_hidden_def.
28127 (mempcpy): Do not use BP_SYM in weak_alias.
28128 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28129 "bp-asm.h".
28130 (strchr): Do not use BP_SYM.
28131 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28132 "bp-asm.h".
28133 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28134 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28135 (_start): Do not use BP_SYM.
28136 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28137 "bp-asm.h".
28138 (strcat): Do not use BP_SYM.
28139 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28140 "bp-asm.h".
28141 (STRCMP): Do not use BP_SYM.
28142 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28143 "bp-asm.h".
28144 (STRCPY): Do not use BP_SYM.
28145 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28146 "bp-asm.h".
28147 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28148 "bp-asm.h".
28149 (FUNCTION): Do not use BP_SYM.
28150 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28151 weak_alias.
28152 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28153
f238fd19
AJ
281542013-02-17 Andreas Jaeger <aj@suse.de>
28155
28156 * time/Versions: Sort entries.
28157 * string/Versions: Likewise.
28158 * resolv/Versions: Likewise.
28159 * posix/Versions: Likewise.
28160 * iconv/Versions: Likewise.
28161 * elf/Versions: Likewise.
28162 * wcsmbs/Versions: Likewise.
28163
bd07f23c 281642013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28165
22af19f9
SP
28166 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28167 loop termination condition.
28168
4709fe76
SP
28169 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28170 variable to calculate EZ.
28171 (__sqr): Likewise.
2d0e0f29
SP
28172
28173 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28174 the lower precision input.
28175
daaa7713
JM
281762013-02-15 Joseph Myers <joseph@codesourcery.com>
28177
28178 [BZ #13550]
28179 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28180 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28181 (run-via-rtld-prefix): Do not handle %-bp tests.
28182 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28183 (all-object-suffixes): Remove .ob.
28184 (bppfx): Remove variable.
28185 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28186 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28187 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28188 [$(build-bounded) = yes] (libtype.ob): Likewise.
28189 * Makerules (elide-routines.ob): Remove variable.
28190 (do-tests-clean): Do not handle *-bp.out.
28191 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28192 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28193 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28194 (tests): Do not include $(tests-bp.out).
28195 (xtests): Do not include $(xtests-bp.out).
28196 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28197 [$(build-bounded) = yes] ($(addprefix
28198 $(objpfx),$(binaries-bounded))): Remove rule.
28199 ($(objpfx)%-bp.out): Remove rule.
28200 * config.make.in (build-bounded): Remove variable.
28201 * crypt/Makefile [$(build-bounded) = yes]
28202 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28203 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28204 append to variable.
28205 [$(build-bounded) = yes] (install-lib): Likewise.
28206 [$(build-bounded) = yes] (generated): Likewise.
28207 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28208 Remove rule.
28209 * intl/Makefile [$(build-bounded) = yes]
28210 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28211 * math/Makefile [$(build-bounded) = yes]
28212 ($(tests:%=$(objpfx)%-bp): Likewise.
28213 * misc/Makefile [$(build-bounded) = yes]
28214 ($(objpfx)tst-tsearch-bp): Likewise.
28215 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28216 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28217 Remove dependency.
28218 * string/Makefile (o-objects.ob): Remove variable.
28219 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28220 (CFLAGS-.ob): Remove variable.
28221 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28222 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28223 both definitions of variable.
28224 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28225 (ASFLAGS-.ob): Remove variable.
28226
e97ed6dd
JM
282272013-02-14 Joseph Myers <joseph@codesourcery.com>
28228
2bdd4ca6
JM
28229 [BZ #13550]
28230 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28231 Remove __BOUNDED_POINTERS__ from condition.
28232 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28233 * string/bits/string2.h [!__NO_STRING_INLINES &&
28234 !__BOUNDED_POINTERS__]: Likewise.
28235 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28236 Likewise.
28237 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28238 Remove conditional code.
28239 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28240 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28241 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28242 condition.
28243
e97ed6dd
JM
28244 [BZ #13550]
28245 * csu/libc-start.c: Do not include <bp-sym.h>.
28246 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28247 * elf/dl-open.c: Do not include <bp-sym.h>.
28248 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28249 * math/fegetenv.c: Do not include <bp-sym.h>.
28250 (fegetenv): Do not use BP_SYM in versioned symbols.
28251 * nptl/sysdeps/pthread/bits/libc-lockP.h
28252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28253 <bp-sym.h>.
28254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28255 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28257 (__pthread_mutex_destroy): Likewise.
28258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28259 (__pthread_mutex_lock): Likewise.
28260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28261 (__pthread_mutex_trylock): Likewise.
28262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28263 (__pthread_mutex_unlock): Likewise.
28264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28265 (__pthread_mutexattr_init): Likewise.
28266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28267 (__pthread_mutexattr_destroy): Likewise.
28268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28269 (__pthread_mutexattr_settype): Likewise.
28270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28271 (__pthread_rwlock_init): Likewise.
28272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28273 (__pthread_rwlock_destroy): Likewise.
28274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28275 (__pthread_rwlock_rdlock): Likewise.
28276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28277 (__pthread_rwlock_tryrdlock): Likewise.
28278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28279 (__pthread_rwlock_wrlock): Likewise.
28280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28281 (__pthread_rwlock_trywrlock): Likewise.
28282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28283 (__pthread_rwlock_unlock): Likewise.
28284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28285 (__pthread_key_create): Likewise.
28286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28287 (__pthread_setspecific): Likewise.
28288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28289 (__pthread_getspecific): Likewise.
28290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28291 Likewise.
28292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28293 (_pthread_cleanup_push_defer): Likewise.
28294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28295 (_pthread_cleanup_pop_restore): Likewise.
28296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28297 (pthread_setcancelstate): Likewise.
28298 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28299 <bp-sym.h>.
28300 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28301 (memchr): Do not use BP_SYM in weak_alias.
28302 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28303 (fegetenv): Do not use BP_SYM in versioned symbols.
28304 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28305 (fesetenv): Do not use BP_SYM in versioned symbols.
28306 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28307 (feupdateenv): Do not use BP_SYM in versioned symbols.
28308 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28309 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28310 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28311 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28312 (open64): Do not use BP_SYM in weak_alias.
28313 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28314 (fegetenv): Do not use BP_SYM in versioned symbols.
28315 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28316 (fesetenv): Do not use BP_SYM in versioned symbols.
28317 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28318 (feupdateenv): Do not use BP_SYM in versioned symbols.
28319 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28320 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28321 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28322 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28323 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28324 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28325 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28326 <bp-sym.h>.
28327 (__libc_start_main): Do not use BP_SYM.
28328
d6752ccd
SP
283292013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28330
cb57ce60
SP
28331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28332 redundant return line.
28333 (norm): Likewise.
28334 (denorm): Likewise.
28335 (dbl_mp): Likewise.
28336 (sub_magnitudes): Likewise.
28337 (__add): Likewise.
28338 (__sub): Likewise.
28339 (__mul): Likewise.
28340 (__inv): Likewise.
28341 (__dvd): Likewise.
28342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28343 (norm): Likewise.
28344 (denorm): Likewise.
28345 (dbl_mp): Likewise.
28346 (sub_magnitudes): Likewise.
28347 (__add): Likewise.
28348 (__sub): Likewise.
28349 (__mul): Likewise.
28350 (__inv): Likewise.
28351 (__dvd): Likewise.
28352
f414520d
SP
28353 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28354 instead of __mul.
28355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28356 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28357 (cc32): Likewise.
28358
d6752ccd
SP
28359 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28360 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28361 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28362 of __mul for squares.
28363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28364 function
28365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28366 Likewise.
28367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28368 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28369
70d9946a
JM
283702013-02-13 Joseph Myers <joseph@codesourcery.com>
28371
28372 [BZ #13550]
28373 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28374 code.
28375 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28376 prototype or function definition. Rename ubp_* variables and
28377 parameters. Remove argv definitions conditional on
28378 [__BOUNDED_POINTERS__].
28379 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28380 * elf/dl-runtime.c (_dl_fixup): Likewise.
28381 * include/set-hooks.h (RUN_HOOK): Likewise.
28382 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28383 definition.
28384 * string/strcpy.c (strcpy): Do not use __unbounded.
28385 * sysdeps/generic/frame.h (struct layout): Likewise.
28386 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28387 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28388 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28389 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28390 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28391 (__backtrace): Likewise.
28392 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28393 use __ptrvalue.
28394 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28395 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28396 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28397 Likewise.
28398 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28399 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28400 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28401 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28402 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28403 Do not use __unbounded.
28404 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28405 Rename __unboundedrlimits parameter to rlimits in prototype.
28406 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28407 Do not use __unbounded.
28408 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28409 not use __ptrvalue.
28410 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28411 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28412 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28413 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28414 __ptrvalue or __unbounded.
28415 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28416 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28417 use __unbounded.
28418 (__new_msgctl): Do not use __ptrvalue.
28419 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28420 __unbounded.
28421 (__libc_msgrcv): Do not use __ptrvalue.
28422 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28423 startup_info): Do not use __unbounded.
28424 (__libc_start_main): Likewise. Rename ubp_* variables and
28425 parameters. Remove argv definitions conditional on
28426 [__BOUNDED_POINTERS__].
28427 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28428 __ptrvalue.
28429 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28430 use __unbounded.
28431 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28432 or __ptrvalue.
28433 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28434 use __unbounded.
28435 (__new_shmctl): Do not use __ptrvalue.
28436 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28437 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28438 Likewise.
28439 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28440 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28441 (__libc_sigaction): Likewise.
28442 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28443 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28444 Likewise.
28445 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28446
cc7834d6
OB
284472013-02-13 Ondřej Bílka <neleai@seznam.cz>
28448
ffb1ec7b 28449 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28450
28451 * string/mempcpy.c: Implement by calling memcpy.
28452
bdf02814
SP
284532013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28454
c2af38aa
SP
28455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28456
4e92d59e
SP
28457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28458 evaluation.
28459
909279a5
SP
28460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28461 values in the mantissa.
28462
bdf02814
SP
28463 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28464 minimize writes to Z.
28465 (sub_magnitudes): Simplify code a bit.
28466
cd525923
RM
284672013-02-12 Roland McGrath <roland@hack.frob.com>
28468
28469 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28470 from the message. The linker prefixes all warnings with that already.
28471
7e2f0d2d
AS
284722013-02-12 Andreas Schwab <schwab@suse.de>
28473
a445af0b
AS
28474 [BZ #15078]
28475 * posix/regexec.c (extend_buffers): Add parameter min_len.
28476 (check_matching): Pass minimum needed length.
28477 (clean_state_log_if_needed): Likewise.
28478 (get_subexp): Likewise.
28479 * posix/Makefile (tests): Add bug-regex34.
28480 (bug-regex34-ENV): Define.
28481 * posix/bug-regex34.c: New file.
28482
7e2f0d2d
AS
28483 [BZ #11561]
28484 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28485 elements compare against the byte sequence of it, not its name.
28486 * posix/Makefile (tests): Add bug-regex35.
28487 (bug-regex35-ENV): Define.
28488 * posix/bug-regex35.c: New file.
28489
a175b684
TV
284902013-02-11 Tom de Vries <tom@codesourcery.com>
28491
28492 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28493 comment.
28494 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28495 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28496 (CHECK_EOL): Add undef.
28497
310998fe 284982013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28499
28500 * bits/stdlib-bsearch.h: New file.
28501 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28502 * stdlib/stdlib.h: Likewise.
41eda41d 28503
8ded91fb
RM
285042013-02-11 Roland McGrath <roland@hack.frob.com>
28505
28506 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28507 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28508 declaration.
28509 * manual/search.texi (Array Search Function): Add missing const in
28510 lfind prototype.
28511 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28512 declaration to use rlim_t.
28513 (Basic Scheduling Functions): Remove erroneous const from
28514 sched_getparam prototype. Remove erroneous * from
28515 sched_get_priority_max and sched_get_priority_min prototypes.
28516 (Resource Usage): Fix summary @comment on vtimes to refer to
28517 sys/vtimes.h rather than vtimes.h.
28518 Add missing *s in vtimes prototype.
28519 (Limits on Resources): Fix ulimit prototype to return long int.
28520 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28521 prototypes to use long int rather than double.
28522 (BSD Random): Fix initstate and setstate to use char *, not void *.
28523 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28524 prototype to make second argument 'struct aiocb64 *const[]'.
28525 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28526 (Status of AIO Operations): Remove erroneous const in aio_return and
28527 aio_return64 prototypes.
28528 (Synchronizing I/O): Fix sync prototype to return void.
28529 * manual/startup.texi (Suboptions): Remove an erroneous const in
28530 getsubopt prototype.
28531 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28532 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28533 use size_t rather than int.
28534 (Scanning All Users): Likewise for getpwent_r.
28535 (Setting Groups): Add missing const to setgroups prototype.
28536 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28537 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28538 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28539 'const void *' rather than 'const char *'.
28540 (Host Address Functions): Likewise for inet_ntop.
28541 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28542 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28543 ssize_t for return value.
28544 (Sending Data): Likewise for send, sendto, sendmsg.
28545 (Socket Option Functions): Add a missing const in setsockopt prototype.
28546 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28547 use wchar_t for the argument.
28548 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28549 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28550 take no arguments.
28551 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28552 double/float/long double for second argument.
28553 Fix return types of significand, significandf, significandl.
28554 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28555 argument in fchmod prototype.
28556 (File Owner): Use uid_t and gid_t in fchown prototype.
28557 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28558 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28559 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28560 use 'const struct dirent **' as argument types to CMP function pointer
28561 argument.
28562 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28563 (File Times): Fix summary magic @comment for struct utimbuf and utime
28564 to refer to utime.h, not time.h.
28565 * manual/string.texi (Argz Functions): Add missing const in
28566 argz_extract and argz_next prototypes.
28567 (Finding Tokens in a String): Likewise for basename.
28568 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28569 (Copying and Concatenation): Fix typo in wmemmove prototype.
28570 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28571 (Signal Stack): Remove erroneous const in sigstack prototype.
28572 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28573 prototype.
28574 (Simple Calendar Time): Likewise for stime.
28575 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28576 prototype.
28577 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28578 say sys/sysctl.h instead.
28579 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28580 and vsyslog prototypes.
28581
fe77fe6d
TV
285822013-02-11 Tom de Vries <tom@codesourcery.com>
28583
28584 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28585 Remove.
28586
3a09b620
RM
285872013-02-11 Roland McGrath <roland@hack.frob.com>
28588
28589 * misc/sys/mman.h: Fix typo in mremap comment.
28590
550a0b89
RM
285912013-02-08 Roland McGrath <roland@hack.frob.com>
28592
28593 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28594 the '\0' terminator.
28595
a2da1673
JM
285962013-02-08 Joseph Myers <joseph@codesourcery.com>
28597
28598 [BZ #13550]
28599 * debug/segfault.c: Don't include <bp-checks.h>.
28600 * sysdeps/generic/bp-checks.h: Remove file.
28601 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28602 (__GETDENTS): Don't use CHECK_N.
28603 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28604 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28605 (__getgroups): Don't use CHECK_N.
28606 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28607 (setgroups): Don't use CHECK_N.
28608 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28609 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28610 (__libc_msgrcv): Don't use CHECK_N.
28611 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28612 (__libc_msgsnd): Don't use CHECK_N.
28613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28614 <bp-checks.h>.
28615 (__libc_pread): Don't use CHECK_N.
28616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28617 include <bp-checks.h>.
28618 (__libc_pread64): Don't use CHECK_N.
28619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28620 include <bp-checks.h>.
28621 (__libc_pwrite): Don't use CHECK_N.
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28623 include <bp-checks.h>.
28624 (__libc_pwrite64): Don't use CHECK_N.
28625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28626 <bp-checks.h>.
28627 (__libc_pread): Don't use CHECK_N.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28629 include <bp-checks.h>.
28630 (__libc_pread64): Don't use CHECK_N.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28632 include <bp-checks.h>.
28633 (__libc_pwrite): Don't use CHECK_N.
28634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28635 include <bp-checks.h>.
28636 (__libc_pwrite64): Don't use CHECK_N.
28637 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28638 (do_pread): Don't use CHECK_N.
28639 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28640 (do_pread64): Don't use CHECK_N.
28641 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28642 (do_pwrite): Don't use CHECK_N.
28643 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28644 (do_pwrite64): Don't use CHECK_N.
28645 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28646 (__libc_readv): Don't use CHECK_N.
28647 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28648 (semop): Don't use CHECK_N.
28649 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28650 <bp-checks.h>.
28651 (semtimedop): Don't use CHECK_N.
28652 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28653 (__libc_pread): Don't use CHECK_N.
28654 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28655 <bp-checks.h>.
28656 (__libc_pread64): Don't use CHECK_N.
28657 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28658 <bp-checks.h>.
28659 (__libc_pwrite): Don't use CHECK_N.
28660 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28661 <bp-checks.h>.
28662 (__libc_pwrite64): Don't use CHECK_N.
28663 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28664 <bp-checks.h>.
28665 (__libc_msgrcv): Don't use CHECK_N.
28666 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28667 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28668 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28669 (__libc_writev): Don't use CHECK_N.
28670
b84660a8
RM
286712013-02-08 Roland McGrath <roland@hack.frob.com>
28672
7f3e75f8
RM
28673 * string/strcpy.c: Removed unused variable.
28674
b84660a8
RM
28675 * Makeconfig (+sysdep-includes): Define with := rather than =.
28676 Use an existing include/ subdir of each sysdeps dir before it.
28677
471514d3
CD
286782013-02-08 Carlos O'Donell <carlos@redhat.com>
28679
28680 * nscd/connection.c (register_traced_file): Comment function.
28681 [HAVE_INOTIFY] (union __inev): Define.
28682 [HAVE_INOTIFY] (inotify_check_files): New function.
28683 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28684 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28685 clear_db_cache.
28686 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28687
b2d3c3be
CD
286882013-02-08 Carlos O'Donell <carlos@redhat.com>
28689
28690 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28691 loaded if not already and that a failure is permanent.
28692
b39949d2
CD
286932013-02-08 Carlos O'Donell <carlos@redhat.com>
28694
ddacd1db 28695 [BZ #15006]
b39949d2
CD
28696 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28697 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28698
b2c9eff4
JM
286992013-02-08 Joseph Myers <joseph@codesourcery.com>
28700
f3aae3f3
JM
28701 [BZ #13550]
28702 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28703 (CHECK_1_NULL_OK): Likewise.
28704 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28705 (__fxstat): Do not use CHECK_1.
28706 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28707 <bp-checks.h>.
28708 (___fxstat64): Do not use CHECK_1.
28709 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28710 <bp-checks.h>.
28711 (__fxstatat): Do not use CHECK_1.
28712 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28713 <bp-checks.h>.
28714 (__fxstatat64): Do not use CHECK_1.
28715 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28716 <bp-checks.h>.
28717 (__fxstat): Do not use CHECK_1.
28718 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28719 <bp-checks.h>.
28720 (__fxstatat): Do not use CHECK_1.
28721 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28722 <bp-checks.h>.
28723 (__getresgid): Do not use CHECK_1.
28724 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28725 <bp-checks.h>.
28726 (__getresuid): Do not use CHECK_1.
28727 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28728 <bp-checks.h>.
28729 (__lxstat): Do not use CHECK_1.
28730 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28731 <bp-checks.h>.
28732 (__old_msgctl): Do not use CHECK_1.
28733 (__new_msgctl): Likewise.
28734 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28735 <bp-checks.h>.
28736 (__new_setrlimit): Do not use CHECK_1.
28737 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28738 <bp-checks.h>.
28739 (__old_shmctl): Do not use CHECK_1.
28740 (__new_shmctl): Likewise.
28741 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28742 <bp-checks.h>.
28743 (__xstat): Do not use CHECK_1.
28744 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28745 (__lxstat): Do not use CHECK_1.
28746 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28747 <bp-checks.h>.
28748 (___lxstat64): Do not use CHECK_1.
28749 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28750 (__old_msgctl): Do not use CHECK_1.
28751 (__new_msgctl): Likewise.
28752 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28753 <bp-checks.h>.
28754 (__gettimeofday): Do not use CHECK_1.
28755 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28756 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28757 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28758 <bp-checks.h>.
28759 (__gettimeofday): Do not use CHECK_1.
28760 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28761 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28762 (__new_shmctl): Do not use CHECK_1.
28763 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28764 <bp-checks.h>.
28765 (do_sigtimedwait): Do not use CHECK_1.
28766 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28767 <bp-checks.h>.
28768 (do_sigwaitinfo): Do not use CHECK_1.
28769 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28770 <bp-checks.h>.
28771 (msgctl): Do not use CHECK_1.
28772 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28773 <bp-checks.h>.
28774 (shmctl): Do not use CHECK_1.
28775 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28776 (ustat): Do not use CHECK_1.
28777 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28778 <bp-checks.h>.
28779 (__fxstat): Do not use CHECK_1.
28780 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28781 <bp-checks.h>.
28782 (__fxstatat): Do not use CHECK_1.
28783 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28784 <bp-checks.h>.
28785 (__lxstat): Do not use CHECK_1.
28786 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28787 <bp-checks.h>.
28788 (__xstat): Do not use CHECK_1.
28789 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28790 (__xstat): Do not use CHECK_1.
28791 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28792 (___xstat64): Do not use CHECK_1.
28793
b2c9eff4
JM
28794 [BZ #13550]
28795 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28796 definitions.
28797 (CHECK_BOUNDS_HIGH): Likewise.
28798 * string/strcpy.c: Do not include <bp-checks.h>.
28799 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28800
f1d70dad
RM
288012013-02-07 Roland McGrath <roland@hack.frob.com>
28802
28803 * nscd/nscd-client.h (__nscd_drop_map_ref):
28804 Add __attribute__ ((unused)).
28805 * nis/nss-nisplus.h (niserr2nss): Likewise.
28806
28807 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28808 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28809
28810 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28811 Remove inline keyword.
28812 * include/rounding-mode.h (round_away): Likewise.
28813 * libio/wfileops.c (adjust_wide_data): Likewise.
28814 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28815 (__m128i_strloadu_tolower): Likewise.
28816 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28817 (__m128i_strloadu_tolower): Likewise.
28818 * time/mktime.c (ydhms_diff): Likewise.
28819 * locale/elem-hash.h (elem_hash): Likewise.
28820 * locale/setlocale.c (setdata): Likewise.
28821 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28822 (re_string_wchar_at): Likewise.
28823 (bitset_not, bitset_merge, bitset_mask): Likewise.
28824 [!(__GNUC__ > 3)] (inline): Remove macro.
28825 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28826 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28827 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28828 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28829 * string/memcmp.c (memcmp_bytes): Likewise.
28830 * locale/programs/locarchive.c (compute_hashval): Likewise.
28831 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28832 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28833 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28834 * nss/getent.c (print_rpc, print_protocols): Likewise.
28835 (print_passwd, print_group, print_aliases): Likewise.
28836 * nis/nss-nisplus.h (niserr2nss): Likewise.
28837 * nscd/connections.c (restart_p): Likewise.
28838 Change return type to bool.
28839
eab55bfb
RM
288402013-02-05 Roland McGrath <roland@hack.frob.com>
28841
7bd642f5
RM
28842 * Makeconfig (all-Depend-files): Add existing
28843 $(sorted-subdirs:=/Depend) files.
28844 (all-subdirs): Remove nss.
28845 * sysdeps/unix/inet/Subdirs: Add it here instead.
28846 * hesiod/Depend: New file.
28847
573c29b2
RM
28848 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28849 instead of calling alloca.
28850
b2e25af0
RM
28851 * io/lseek.c (__lseek): Rename to __libc_lseek.
28852 Define __lseek as an alias.
28853
eab55bfb
RM
28854 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28855
9a0d1941
CD
288562013-02-04 Carlos O'Donell <carlos@redhat.com>
28857
28858 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28859 else clause and remove check for non-standard endianness.
28860
b83bbec4
DM
288612013-02-04 David S. Miller <davem@davemloft.net>
28862
28863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28864
6277fdab
JM
288652013-02-04 Joseph Myers <joseph@codesourcery.com>
28866
28867 [BZ #13550]
28868 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28869 (__ubp_memchr): Remove prototype.
28870 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28871 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28872 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28873 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28874 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28875 Remove alias.
28876 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28877 (__ubp_memchr): Likewise.
28878 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28879 (__ubp_memchr): Likewise.
28880 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28881 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28882 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28883 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28884 CHECK_STRING.
28885 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28886 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28887 (__getcwd): Do not use CHECK_STRING.
28888 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28889 <bp-checks.h>.
28890 (__real_chown): Do not use CHECK_STRING.
28891 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28892 <bp-checks.h>.
28893 (fchownat): Do not use CHECK_STRING.
28894 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28895 CHECK_STRING.
28896 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28897 <bp-checks.h>.
28898 (__lchown): Do not use CHECK_STRING.
28899 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28900 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28901 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28902 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28904 include <bp-checks.h>.
28905 (truncate64): Do not use CHECK_STRING.
28906 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28907 <bp-checks.h>.
28908 (__real_chown): Do not use CHECK_STRING.
28909 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28910 <bp-checks.h>.
28911 (__lchown): Do not use CHECK_STRING.
28912 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28913 <bp-checks.h>.
28914 (__chown): Do not use CHECK_STRING.
28915 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28916 <bp-checks.h>.
28917 (truncate64): Do not use CHECK_STRING.
28918 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28919 Likewise.
28920 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28921 (__xmknod): Do not use CHECK_STRING.
28922 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28923 <bp-checks.h>.
28924 (__xmknodat): Do not use CHECK_STRING.
28925 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28926 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28927
903ae060
AS
289282013-02-04 Andreas Schwab <schwab@suse.de>
28929
28930 [BZ #14142]
28931 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28932 * include/netdb.h: Likewise for h_errno.
28933 * elf/tst-stackguard1.c: Include <tls.h>.
28934
542f9466
JK
289352013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28936
28937 * elf/link.h (struct link_map): Extend the l_addr comment.
28938 * include/link.h (struct link_map): Likewise.
28939
e782a927
JM
289402013-02-01 Joseph Myers <joseph@codesourcery.com>
28941
28942 [BZ #13550]
28943 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28944 (BOUNDED_1): Remove macro.
28945 * debug/backtrace.c: Don't include <bp-checks.h>.
28946 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28947 (__backtrace): Likewise.
28948 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28949 <bp-checks.h>.
28950 (__backtrace): Don't use BOUNDED_1.
28951 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28952 <bp-checks.h>.
28953 (__backtrace): Don't use BOUNDED_1.
28954 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28955 (__backtrace): Don't use BOUNDED_1.
28956 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28957 (shmat): Don't use BOUNDED_N.
28958
8cf28c5e
JM
289592013-01-31 Joseph Myers <joseph@codesourcery.com>
28960
3a7ac8a0
JM
28961 [BZ #13550]
28962 * sysdeps/generic/bp-start.h: Remove file.
28963 * csu/libc-start.c: Don't include <bp-start.h>.
28964 (LIBC_START_MAIN): Set up __environ directly instead of using
28965 INIT_ARGV_and_ENVIRON.
28966 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28967 <bp-start.h>.
28968
f3499f95
JM
28969 [BZ #13550]
28970 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28971 definitions.
28972 (CHECK_FCNTL): Likewise.
28973 (CHECK_N_PAGES): Likewise.
28974
32a45bea
JM
28975 [BZ #13550]
28976 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28977 definitions.
28978 (CHECK_SIGSET_NULL_OK): Likewise.
28979 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28980 <bp-checks.h>.
28981 (sigpending): Don't use CHECK_SIGSET.
28982 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28983 <bp-checks.h>.
28984 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28985 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28986 <bp-checks.h>.
28987 (do_sigsuspend): Don't use CHECK_SIGSET.
28988 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28989 use CHECK_SIGSET.
28990 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28991 (do_sigwait): Don't use CHECK_SIGSET.
28992 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28993 use CHECK_SIGSET.
28994 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28995 include <bp-checks.h>.
28996 (sigpending): Don't use CHECK_SIGSET.
28997 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28998 include <bp-checks.h>.
28999 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29000 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29001 <bp-checks.h>.
29002 (sigpending): Don't use CHECK_SIGSET.
29003 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29004 <bp-checks.h>.
29005 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29006
2e8a5c8c
JM
29007 [BZ #13550]
29008 * sysdeps/generic/bp-semctl.h: Remove file.
29009 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29010 <bp-checks.h> and <bp-semctl.h>.
29011 (__old_semctl): Don't use CHECK_SEMCTL.
29012 (__new_semctl): Likewise.
29013 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29014 and <bp-semctl.h>.
29015 (__old_semctl): Don't use CHECK_SEMCTL.
29016 (__new_semctl): Likewise.
29017 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29018 <bp-checks.h> and <bp-semctl.h>.
29019 (__old_semctl): Don't use CHECK_SEMCTL.
29020 (__new_semctl): Likewise.
29021 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29022 <bp-checks.h> and <bp-semctl.h>.
29023 (semctl): Don't use CHECK_SEMCTL.
29024
c2d54929
JM
29025 [BZ #13550]
29026 * Makerules (elide-bp-thunks): Remove variable.
29027 (elide-routines.oS): Don't use $(elide-bp-thunks).
29028 (elide-routines.os): Likewise.
29029 (elide-routines.o): Likewise.
29030 (elide-routines.op): Likewise.
29031 (elide-routines.og): Likewise.
29032 (objects): Don't use $(bp-thunks).
29033 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29034 include.
29035 (common-generated): Do not add s-proto-bp.d.
29036 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29037 (int): Likewise.
29038 (typ): Likewise.
29039 Do not generate makefile rules for bounded-pointer thunks.
29040 * sysdeps/generic/bp-thunks.h: Remove file.
29041 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29042 * sysdeps/unix/s-proto-bp.S: Likewise.
29043
8cf28c5e
JM
29044 [BZ #15062]
29045 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29046 parts of result separately when argument is not close to line from
29047 -i to i and one part of argument is small.
29048 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29049 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29050 * math/libm-test.inc (cacos_test): Add more tests.
29051 (casin_test): Likewise.
29052 (casinh_test): Likewise.
29053 * sysdeps/i386/fpu/libm-test-ulps: Update.
29054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29055
c4e33b8d
DM
290562013-01-31 David S. Miller <davem@davemloft.net>
29057
29058 * po/de.po: Update from translation team.
29059
3b60b421
MK
290602013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29061
29062 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29063
bb931195
TS
290642013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29065
b5a5da23
TS
29066 * configure.in (_AC_PROG_CC_C89): New definition.
29067 * configure: Regenerate.
29068
bb931195
TS
29069 * configure.in (AC_PROG_CPP): New definition.
29070 * configure: Regenerate.
29071
8c53a12c
JM
290722013-01-23 Joseph Myers <joseph@codesourcery.com>
29073
29074 * debug/tst-backtrace.h: New file.
29075 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29076 (ret): Remove variable.
29077 (x): Likewise.
29078 (FAIL): Remove macro.
29079 (NO_INLINE): Likewise.
29080 (fn1): Use match function instead of strstr.
29081 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29082 (ret): Remove variable.
29083 (x): Likewise.
29084 (FAIL): Remove macro.
29085 (NO_INLINE): Likewise.
29086 (fn): Use match function instead of strstr.
29087 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29088 (ret): Remove variable.
29089 (x): Likewise.
29090 (FAIL): Remove macro.
29091 (NO_INLINE): Likewise.
29092 (handle_signal): Use match function instead of strstr.
29093 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29094 (ret): Remove variable.
29095 (x): Likewise.
29096 (FAIL): Remove macro.
29097 (NO_INLINE): Likewise.
29098 (handle_signal): Use match function instead of strstr.
29099
4858fa2a
RM
291002013-01-23 Roland McGrath <roland@hack.frob.com>
29101
29102 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29103
bae8e7f5
DM
291042013-01-23 David S. Miller <davem@davemloft.net>
29105
29106 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29107 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29108 argument of CAS if possible.
29109 * sysdeps/sparc/sparc64/bits/atomic.h
29110 (__arch_compare_and_exchange_val_32_acq): Likewise.
29111 (__arch_compare_and_exchange_val_64_acq): Likewise.
29112
9cbbc4ae
PT
291132013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29114
29115 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29116 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29117 Include <limits.h>.
67b3f58c 29118 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29119
5655a0b5
AC
291202013-01-23 Adam Conrad <adconrad@0c3.net>
29121
29122 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29123 (LDFLAGS-tst-array5): Likewise.
29124
052aff95
JM
291252013-01-23 Joseph Myers <joseph@codesourcery.com>
29126
29127 [BZ #15036]
29128 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29129 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29130 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29131 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29132
7c1e01aa
DM
291332013-01-21 David S. Miller <davem@davemloft.net>
29134
29135 * sysdeps/sparc/backtrace.c: New file.
29136 * sysdeps/sparc/sparc32/backtrace.h: New file.
29137 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29138 * sysdeps/sparc/sparc64/backtrace.h: New file.
29139 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29140 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29141 -funwind-tables.
29142
ab087e0a
AS
291432013-01-21 Andreas Schwab <schwab@suse.de>
29144
29145 [BZ #15020]
29146 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29147 closed its stdout.
29148
ed689c2f
AS
291492013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29150
29151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29152 "mpa2.h".
29153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29154
31d470ac
JM
291552013-01-18 Joseph Myers <joseph@codesourcery.com>
29156 Mark Mitchell <mark@codesourcery.com>
29157 Tom de Vries <tom@codesourcery.com>
29158 Paul Pluzhnikov <ppluzhnikov@google.com>
29159
29160 * debug/tst-backtrace2.c: New file.
29161 * debug/tst-backtrace3.c: Likewise.
29162 * debug/tst-backtrace4.c: Likewise.
29163 * debug/tst-backtrace5.c: Likewise.
29164 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29165 (CFLAGS-tst-backtrace3.c): Likewise.
29166 (CFLAGS-tst-backtrace4.c): Likewise.
29167 (CFLAGS-tst-backtrace5.c): Likewise.
29168 (LDFLAGS-tst-backtrace2): Likewise.
29169 (LDFLAGS-tst-backtrace3): Likewise.
29170 (LDFLAGS-tst-backtrace4): Likewise.
29171 (LDFLAGS-tst-backtrace5): Likewise.
29172 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29173 tst-backtrace4 and tst-backtrace5.
29174
90567f30 291752013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29176 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29177
29178 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29179 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29180 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29181 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29183 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29184 "+r" and remove output regs list as redundant. Add explicit inline
29185 asm to specify register of return val to work around compiler codegen
29186 bug. Remove (int) cast on return value. Add return type parameter to
29187 use in macro so that this macro does not truncate return value for
29188 64-bit values.
29189 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29190 pass to INTERNAL_VSYSCALL_NCS.
29191 (INLINE_VSYSCALL): Add 'long int' as return type to
29192 INTERNAL_VSYSCALL_NCS macro invocation.
29193 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29194 INTERNAL_VSYSCALL_NCS macro invocation.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29196
d3b9ea61
SP
291972013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29198
0b57daeb
SP
29199 [BZ #14496]
29200 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29201 Fix application of SIMD FP exception mask.
29202
caa99d06
SP
29203 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29204 mp_no from a power of two.
29205 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29206 __mpexp_twomm1. Use __pow_mp.
29207
d3b9ea61
SP
29208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29209 multiplication.
29210
1dbaee3c
DM
292112013-01-17 David S. Miller <davem@davemloft.net>
29212
29213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29214
728d7b43
JM
292152013-01-17 Joseph Myers <joseph@codesourcery.com>
29216
29217 [BZ #15023]
29218 * include/complex.h: Condition contents on [!_COMPLEX_H].
29219 (__kernel_casinhf): New prototype.
29220 (__kernel_casinh): Likewise.
29221 (__kernel_casinhl): Likewise.
29222 * math/Makefile (libm_calls): Add k_casinh.
29223 * math/k_casinh.c: New file.
29224 * math/k_casinhf.c: Likewise.
29225 * math/k_casinhl.c: Likewise.
29226 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29227 finite nonzero arguments.
29228 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29229 finite nonzero arguments.
29230 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29231 finite nonzero arguments.
29232 * math/s_casinh.c: Do not include <float.h>.
29233 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29234 * math/s_casinhf.c: Do not include <float.h>.
29235 (__casinhf): Move code for finite nonzero arguments to
29236 k_casinhf.c.
29237 * math/s_casinhl.c: Do not include <float.h>.
29238 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29239 redefine.
29240 (__casinhl): Move code for finite nonzero arguments to
29241 k_casinhl.c.
29242 * math/libm-test.inc (cacos_test): Add more tests.
29243 * sysdeps/i386/fpu/libm-test-ulps: Update.
29244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29245
2a26ef3a
PT
292462013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29247
29248 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29249 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29250 [!HAVE_MREMAP]: Remove [defined linux] case.
29251 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29252
a897655d
SP
292532013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29254
29255 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29256
881ebe89 292572013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29258
29259 * elf/elf.h (R_386_SIZE32): New relocation.
29260 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29261 R_386_SIZE32.
29262 (elf_machine_rela): Likewise.
29263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29264 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29265
59981e9b
JM
292662013-01-17 Joseph Myers <joseph@codesourcery.com>
29267
29268 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29269 (FP_FAST_FMA): Do not define.
29270 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29271 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29272 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29273 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29274 !_SOFT_FLOAT]: Likewise.
29275 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29276 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29277 value.
29278 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29279 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29280 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29281 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29282 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29283 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29284 file.
29285
cfa8054f
AS
292862013-01-16 Andreas Schwab <schwab@suse.de>
29287
29288 [BZ #14327]
29289 * include/stdlib.h (__mktemp): Add declaration.
29290 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29291 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29292
dd930cc5
SP
292932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29294
881ebe89
SP
29295 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29296 definitions.
29297 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29298 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29299 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29300 definitions here.
29301 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29302 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29303 definitions.
29304 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29305 and ONE.
29306 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29307 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29308 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29309 definitions.
29310 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29311 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29312 definitions.
29313 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29314
dd930cc5
SP
29315 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29316
c19a9f89
DM
293172013-01-15 David S. Miller <davem@davemloft.net>
29318
1aa61767
DM
29319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29320 trunc{,f} to libm-sysdep_routes.
29321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29323 file.
29324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29326 file.
29327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29328 file.
29329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29331 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29332 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29333 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29334 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29335 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29336 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29337
c42d5e98
DM
29338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29339 nearbyint{,f} to libm-sysdep_routes.
29340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29342 New file.
29343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29344 file.
29345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29346 New file.
29347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29348 file.
29349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29351 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29352 file.
29353 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29354 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29355 file.
29356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29357 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29358 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29359
c19a9f89
DM
29360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29361 libc_feholdexcept and libc_fesetenv.
29362
357679d2
MF
293632013-01-15 Mike Frysinger <vapier@gentoo.org>
29364
29365 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29366
65a82e3d
DM
293672013-01-14 David S. Miller <davem@davemloft.net>
29368
8b954ab9
DM
29369 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29370 (SPARC_ASM_VIS2_IFUNC): Likewise.
29371 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29373 use of 'siam' instruction.
29374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29375 Likewise.
29376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29377 Likewise.
29378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29379 Likewise.
29380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29385 file.
29386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29387 file.
29388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29389 file.
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29391 file.
29392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29397 new VIS2 routines.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29401 Likewise.
29402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29407 routines to libm-sysdep_routines.
29408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29409
65a82e3d
DM
29410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29411 fdim/fdimf to libm-sysdep_routines.
29412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29413 file.
29414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29416 file.
29417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29420 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29421 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29422 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29423 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29424
e34ab705
SP
294252013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29426
2a91b573
SP
29427 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29428 to optimize copies.
29429
1066a534
SP
29430 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29433
e34ab705
SP
29434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29435 local variable MPTWO.
29436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29437 Likewise.
29438
aba5e596
MF
294392013-01-13 Mike Frysinger <vapier@gentoo.org>
29440
29441 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29442 GLOB_NOESCAPE.
29443
e557e9e5
MF
294442013-01-13 Mike Frysinger <vapier@gentoo.org>
29445
29446 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29447
0428cec9
MF
294482013-01-13 Mike Frysinger <vapier@gentoo.org>
29449
29450 * manual/pattern.texi (glob_t): Document gl_flags.
29451 (glob64_t): Likewise.
29452
8794a964
DM
294532013-01-11 David S. Miller <davem@davemloft.net>
29454
66438c3f
RM
29455 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29456 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29457 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29458 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29459 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29460 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29461 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29462 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29463 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29464 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29465 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29466 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29467 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29468
4ae4244d
DM
29469 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29470 sparc V9 rather than using V8 code.
29471 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29472 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29473
8794a964
DM
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29475 Move to...
29476 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29477 Here.
29478
6270516e
RM
294792013-01-11 Roland McGrath <roland@hack.frob.com>
29480
29481 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29482 not in the main loop.
29483 * configure: Regenerated.
29484
6a57d931
JM
294852013-01-11 Joseph Myers <joseph@codesourcery.com>
29486
29487 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29488 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29489 to just #else.
29490 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29491 [!__GLIBC_HAVE_LONG_LONG] case.
29492 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29493 condition to just #else.
29494 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29495 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29496 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29497 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29498 unconditional.
29499 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29500 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29501 #elif condition to just #else.
29502 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29503 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29504 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29505 #elif condition to just #else.
29506
0e8529e9
SE
295072013-01-11 Steve Ellcey <sellcey@mips.com>
29508
29509 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29510 (EF_MIPS_ARCH_64): Fix value.
29511 (EF_MIPS_ARCH_32R2): New.
29512 (EF_MIPS_ARCH_64R2): New.
29513
740b3dbe
L
295142013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29515
29516 * Makeconfig (+link-pie-before-libc): New.
29517 (+link-pie-after-libc): Likewise.
29518 (+link-pie-tests): Likewise.
29519 (+link-pie): Rewritten.
29520 (link-before-libc): Remove $(config-LDFLAGS).
29521 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29522 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29523 (config-LDFLAGS): Renamed to ...
29524 (rtld-LDFLAGS): This.
29525 (rtld-tests-LDFLAGS): New macro.
29526 (link-libc-rpath-link): Likewise.
29527 (link-libc-tests-rpath-link): Likewise.
29528 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29529 (link-libc): Prepand $(link-libc-rpath-link).
29530 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29531 (test-program-prefix): New macro.
29532 (test-via-rtld-prefix): Likewise.
29533 (test-program-cmd): Likewise.
29534 (host-test-program-cmd): Likewise.
29535 * Makefile ($(common-objpfx)testrun.sh): Replace
29536 $(run-program-prefix) with $(test-program-prefix).
29537 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29538 $(rtld-LDFLAGS).
29539 ($(common-objpfx)shlib.lds): Likewise.
29540 (build-module-helper): Likewise.
29541 ($(common-objpfx)format.lds): Likewise.
29542 * Rules (binaries-pie-tests): New.
29543 (binaries-pie-notests): Likewise.
29544 (binaries-pie): Rewritten.
29545 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29546 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29547 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29548 (make-test-out): Replace $(host-built-program-cmd) with
29549 $(host-test-program-cmd).
29550 * config.make.in (build-hardcoded-path-in-tests): New variable.
29551 * configure.in (--enable-hardcoded-path-in-tests): New configure
29552 option.
29553 (hardcoded_path_in_tests): New AC_SUBST.
29554 * configure: Regenerated.
29555 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29556 $(built-program-cmd) with $(test-program-cmd).
29557 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29558 (test_program_cmd): This.
29559 * elf/Makefile ($(objpfx)order.out): Run test with
29560 $(test-program-prefix).
29561 ($(objpfx)order2.out): Likewise.
29562 ($(objpfx)tst-initorder.out): Likewise.
29563 ($(objpfx)tst-initorder2.out): Likewise.
29564 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29565 $(test-program-cmd).
29566 ($(objpfx)tst-array1-static.out): Likewise.
29567 ($(objpfx)tst-array2.out): Likewise.
29568 ($(objpfx)tst-array3.out): Likewise.
29569 ($(objpfx)tst-array4.out): Likewise.
29570 ($(objpfx)tst-array5.out): Likewise.
29571 ($(objpfx)tst-array5-static.out): Likewise.
29572 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29573 $(test-program-cmd).
29574 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29575 $(run-program-prefix) with $(test-program-prefix).
29576 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29577 (test_program_prefix): This.
29578 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29579 $(run-program-prefix) with $(test-program-prefix).
29580 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29581 (test_program_prefix): This.
29582 * iconvdata/tst-tables.sh: Likewise.
29583 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29584 $(run-program-prefix) with $(test-program-prefix).
29585 ($(objpfx)tst-translit.out): Likewise.
29586 ($(objpfx)tst-gettext2.out): Likewise.
29587 ($(objpfx)tst-gettext4.out): Likewise.
29588 ($(objpfx)tst-gettext6.out): Likewise.
29589 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29590 (test_program_prefix): This.
29591 * intl/tst-gettext2.sh: Likewise.
29592 * intl/tst-gettext4.sh Likewise.
29593 * intl/tst-gettext6.sh: Likewise.
29594 * intl/tst-translit.sh: Likewise.
29595 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29596 with $(test-program-cmd).
29597 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29598 $(run-program-prefix) with $(test-program-prefix).
29599 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29600 (test_program_prefix): This.
29601 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29602 $(run-program-prefix) with $(test-program-prefix).
29603 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29604 (test_program_prefix): This.
29605 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29606 * posix/Makefile ($(objpfx)globtest.out): Replace
29607 $(run-via-rtld-prefix) and $(test-wrapper) with
29608 $(test-program-prefix) and $(test-via-rtld-prefix).
29609 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29610 $(test-program-prefix).
29611 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29612 $(host-test-program-cmd).
29613 (tst-spawn-ARGS): Likewise.
29614 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29615 $(test-program-prefix).
29616 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29617 (test_via_rtld_prefix): This.
29618 (test_wrapper): Renamed to ...
29619 (test_program_prefix): This.
29620 (run_program_prefix): Replaced by test_program_prefix.
29621 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29622 (test_program_prefix): This.
29623 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29624 with $(host-test-program-cmd).
29625 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29626 $(run-program-prefix) with $(test-program-prefix).
29627 ($(objpfx)tst-printf.out): Likewise.
29628 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29629 $(test-program-cmd).
29630 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29631 (test_program_prefix): This.
29632 * stdio-common/tst-unbputc.sh: Likewise.
29633 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29634 $(run-program-prefix) with $(test-program-prefix).
29635 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29636 (test_program_prefix): This.
29637 * string/Makefile ($(objpfx)tst-svc.out): Replace
29638 $(built-program-cmd) with $(test-program-cmd).
29639
c6fe55cf
AJ
296402013-01-11 Andreas Jaeger <aj@suse.de>
29641
29642 [BZ #15003]
29643 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29644 value. Sync with Linux 3.7.
29645
9e6919c8
DM
296462013-01-10 David S. Miller <davem@davemloft.net>
29647
29648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29651
1c9f1a02
RM
296522013-01-10 Roland McGrath <roland@hack.frob.com>
29653
29654 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29655 never set.
29656 * configure: Regenerated.
29657
b9de2dde
DM
296582013-01-10 David S. Miller <davem@davemloft.net>
29659
29660 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29661 sparc V9 rather than using V8 code.
29662 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29663 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29664
e7f68ef4
RM
296652013-01-10 Roland McGrath <roland@hack.frob.com>
29666
29667 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29668 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29669 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29670 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29671 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29672 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29673 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29674 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29675 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29676 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29677 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29678 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29679 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29680 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29681 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29682 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29683 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29684 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29685 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29686 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29687 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29688 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29689 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29690 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29691 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29692 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29693 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29694
5a47cc9c
DM
296952013-01-10 David S. Miller <davem@davemloft.net>
29696
29697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29698
4cf8f209
L
296992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29700
29701 * posix/Makefile (tests-static): New variable.
29702 (tests): Add $(tests-static).
29703 (tst-exec-static-ARGS): New variable.
29704 (tst-spawn-static-ARGS): Likewise.
29705 * posix/tst-exec-static.c: New file.
29706 * posix/tst-spawn-static.c: Likewise.
29707 * posix/tst-exec.c: Support run directly.
29708 * posix/tst-spawn.c: Likewise.
29709
fed0faa1
JM
297102013-01-10 Joseph Myers <joseph@codesourcery.com>
29711
828beb13
JM
29712 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29713 long.
29714 * math/bits/mathcalls.h (llrint): Likewise.
29715 (llround): Likewise.
29716 * stdlib/stdlib.h (struct drand48_data): Likewise.
29717 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29718 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29719 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29720 Likewise.
29721 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29722 Likewise.
29723 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29724 (elf_greg_t): Likewise.
29725 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29726 (__jmp_buf): Likewise.
29727 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29728 definitions.
29729 (llrint): Likewise, for all definitions.
29730 (llrintl): Likewise.
29731
fed0faa1
JM
29732 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29733 Remove [__GNUC__] condition.
29734 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29735 condition to just [__USE_ISOC99].
29736 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29737
1a20cb20
L
297382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29739
29740 [BZ #14200]
29741 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29742 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29743 defined.
29744 (_POSIX_V6_ILP32_OFF32): Likewise.
29745 (_XBS5_ILP32_OFF32): Likewise.
29746 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29747 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29748
751b85f7
SP
297492013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29750
7490eb81
SP
29751 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29752
751b85f7
SP
29753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29754 doubles __mpexp_twomm1. Adjust usage.
29755 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29756 Remove.
29757
988197f0
AS
297582013-01-10 Andreas Schwab <schwab@suse.de>
29759
29760 [BZ #14964]
29761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29762 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29763
e83d7298
DM
297642013-01-09 David S. Miller <davem@davemloft.net>
29765
034ed64b 29766 [BZ #15003]
57f41c40
AS
29767 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29768 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29769 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29770 (TCP_FASTOPEN): Define.
e83d7298
DM
29771 (tcp_repair_opt): New structure.
29772 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29773 enum values.
57f41c40
AS
29774 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29775 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29776 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
29777 (tcp_cookie_transactions): New structure.
29778
d5e0b9bd
AB
297792013-01-09 Anton Blanchard <anton@samba.org>
29780
29781 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29782 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29784 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29785
0c07e3ea
JM
297862013-01-09 Joseph Myers <joseph@codesourcery.com>
29787
29788 * include/features.h (__USE_ANSI): Remove.
29789
232f7002
RM
297902013-01-09 Roland McGrath <roland@hack.frob.com>
29791
ad98e30c
RM
29792 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29793
232f7002
RM
29794 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29795
950c99ca
SP
297962013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29797
b5792741
SP
29798 * sysdeps/s390/fpu/libm-test-ulps: Update.
29799
47cf2278
SP
29800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29801
950c99ca
SP
29802 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29803 (__acr): Likewise.
29804 (__cpy): Likewise.
29805 (norm): Likewise.
29806 (denorm): Likewise.
29807 (__mp_dbl): Likewise.
29808 (__dbl_mp): Likewise.
29809 (add_magnitudes): Likewise.
29810 (sub_magnitudes): Likewise.
29811 (__add): Likewise.
29812 (__sub): Likewise.
29813 (__mul): Likewise.
29814 (__inv): Likewise.
29815 (__dvd): Likewise.
29816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29817 (__acr): Likewise.
29818 (__cpy): Likewise.
29819 (norm): Likewise.
29820 (denorm): Likewise.
29821 (__mp_dbl): Likewise.
29822 (__dbl_mp): Likewise.
29823 (add_magnitudes): Likewise.
29824 (sub_magnitudes): Likewise.
29825 (__add): Likewise.
29826 (__sub): Likewise.
29827 (__mul): Likewise.
29828 (__inv): Likewise.
29829 (__dvd): Likewise.
29830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29831 (__acr): Likewise.
29832 (__cpy): Likewise.
29833 (norm): Likewise.
29834 (denorm): Likewise.
29835 (__mp_dbl): Likewise.
29836 (__dbl_mp): Likewise.
29837 (add_magnitudes): Likewise.
29838 (sub_magnitudes): Likewise.
29839 (__add): Likewise.
29840 (__sub): Likewise.
29841 (__mul): Likewise.
29842 (__inv): Likewise.
29843 (__dvd): Likewise.
29844
eede9df9
JM
298452013-01-08 Joseph Myers <joseph@codesourcery.com>
29846
29847 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29848 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29849 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29850 2 && __USE_EXTERN_INLINES]: Likewise.
29851
c40ea3d9
AJ
298522013-01-08 Andreas Jaeger <aj@suse.de>
29853
29854 [BZ# 14985]
29855 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29856 Remove.
29857 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29858 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29859
2ccdea26
AB
298602013-01-07 Anton Blanchard <anton@samba.org>
29861
29862 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29863 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29864 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29865 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29866 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29867 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29868 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29869 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29871 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29872 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29873 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29874 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29875 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29876 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29877 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29878 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29879 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29880 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29881 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29882 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29883 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29885 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29886 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29887 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29888 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29889 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29891 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29892 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29895 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29897 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29899 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29900 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29902 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29904 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29905
a9708fed
JM
299062013-01-07 Joseph Myers <joseph@codesourcery.com>
29907
375607b9
JM
29908 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29909 (__MALLOC_PMT): Likewise.
29910 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29911 [__GNUC__], only on [_LIBC].
29912 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29913 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29914 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29915 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29916 forward declaration.
29917 (realloc_hook_ini): Likewise.
29918 (memalign_hook_ini): Likewise.
29919 (__libc_memalign): Do not use __MALLOC_PMT in variable
29920 declaration.
29921 (__libc_valloc): Likewise.
29922 (__libc_pvalloc): Likewise.
29923 (__libc_calloc): Likewise.
29924 (__posix_memalign): Likewise.
29925
a9708fed
JM
29926 [BZ #14996]
29927 * math/s_casinh.c: Include <float.h>.
29928 (__casinh): Do not do computation with squaring and square root
29929 for large arguments.
29930 * math/s_casinhf.c: Include <float.h>.
29931 (__casinhf): Do not do computation with squaring and square root
29932 for large arguments.
29933 * math/s_casinhl.c: Include <float.h>.
29934 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29935 (__casinhl): Do not do computation with squaring and square root
29936 for large arguments.
29937 * math/libm-test.inc (casin_test): Add more tests.
29938 (casinh_test): Likewise.
29939 * sysdeps/i386/fpu/libm-test-ulps: Update.
29940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29941
afec409a
L
299422013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29943
29944 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29945 (__x86_64_raw_data_cache_size): Likewise.
29946 (__x86_64_data_cache_size_half): Likewise.
29947 (__x86_64_raw_data_cache_size_half): Likewise.
29948 (__x86_64_shared_cache_size): Likewise.
29949 (__x86_64_raw_shared_cache_size): Likewise.
29950 (__x86_64_shared_cache_size_half): Likewise.
29951 (__x86_64_raw_shared_cache_size_half): Likewise.
29952 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29953 to ...
29954 (__x86_data_cache_size): This.
29955 (__x86_64_raw_data_cache_size): Renamed to ...
29956 (__x86_raw_data_cache_size): This.
29957 (__x86_64_data_cache_size_half): Renamed to ...
29958 (__x86_data_cache_size_half): This.
29959 (__x86_64_raw_data_cache_size_half): Renamed to ...
29960 (__x86_raw_data_cache_size_half): This.
29961 (__x86_64_shared_cache_size): Renamed to ...
29962 (__x86_shared_cache_size): This.
29963 (__x86_64_raw_shared_cache_size): Renamed to ...
29964 (__x86_raw_shared_cache_size): This.
29965 (__x86_64_shared_cache_size_half): Renamed to ...
29966 (__x86_shared_cache_size_half): This.
29967 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29968 (__x86_raw_shared_cache_size_half): This.
29969 * sysdeps/x86_64/memcpy.S: Updated.
29970 * sysdeps/x86_64/memset.S: Likewise.
29971 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29974
0b3986d0
DM
299752013-01-04 David S. Miller <davem@davemloft.net>
29976
29977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29978
e47686e9
AS
299792013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29980
d643bac1
AS
29981 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29982 1 to avoid redefinition warning.
29983 (__USE_GNU): Don't define.
29984 (init_signaling_nan): Protoize.
29985
e47686e9
AS
29986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29987
b18decba
SP
299882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29989
fffb407f
SP
29990 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29992 (__cpymn): Likewise.
29993 (norm): Remove commented code.
29994 (denorm): Likewise.
29995 (__mp_dbl): Likewise.
29996 (__inv): Likewise.
29997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29998 (__cpymn): Likewise.
29999 (norm): Remove commented code.
30000 (denorm): Likewise.
30001 (__mp_dbl): Likewise.
30002 (__inv): Likewise.
30003
b18decba
SP
30004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30005 mp_no value for 1.0 and 2.0.
30006 (norm): Use RADIXI instead of radixi.d.
30007 (denorm): Likewise.
30008 (__mul): Use 0.0 instead of zero.d.
30009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30010 mp_no value for 1.0 and 2.0.
30011 (norm): Use RADIXI instead of radixi.d.
30012 (denorm): Likewise.
30013 (__mul): Use 0.0 instead of zero.d.
30014
cdc1c96f
JM
300152013-01-04 Joseph Myers <joseph@codesourcery.com>
30016
30017 [BZ #14994]
30018 * math/s_casinh.c (__casinh): Reduce finite argument to first
30019 quadrant then set signs of results at the end.
30020 * math/s_casinhf.c (__casinhf): Likewise.
30021 * math/s_casinhl.c (__casinhl): Likewise.
30022 * math/libm-test.inc (casin_test): Add more tests.
30023 (casinh_test): Likewise.
30024 * sysdeps/i386/fpu/libm-test-ulps: Update.
30025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30026
302913e1
SP
300272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30028
6420d207
SP
30029 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30030
a9e48ab4
SP
30031 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30032
b7837264
SP
30033 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30034 declarations.
30035 (denorm): Likewise.
30036 (__mp_dbl): Likewise.
30037 (__inv): Likewise.
30038
f8af25d2
SP
30039 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30040 and adjust the header comment.
30041
302913e1
SP
30042 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30043 variable name from declaration.
30044
5d7dd1ca
L
300452013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30046
30047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30048 Initialize COMMON_CPUID_INDEX_7 element.
30049 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30050 (CPUID_RTM): Likewise.
30051 (HAS_RTM): Likewise.
30052 (COMMON_CPUID_INDEX_7): New enum.
30053
2f5f40f4
AS
300542013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30055
30056 [BZ #14981]
30057 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30058 size is zero, record memory as freed.
30059
4056f4a0
AJ
300602013-01-03 Andreas Jaeger <aj@suse.de>
30061
30062 * po/ia.po: Add new Interlingua translation.
30063
ab15736f 300642012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30065
30066 * locale/programs/localedef.c: Fix description of '--posix' flag.
30067
568035b7
JM
300682013-01-02 Joseph Myers <joseph@codesourcery.com>
30069
e6898b8d
JM
30070 * NEWS: Update dates in second copyright notice.
30071 * README: Update copyright dates in example.
30072 * manual/libc.texinfo: Update copyright dates.
30073 * scripts/test-installation.pl: Update copyright date in --version
30074 output.
30075
0e2f9562
JM
30076 * hurd/ctty-input.c: Fix copyright notice formatting.
30077 * hurd/ctty-output.c: Likewise.
30078 * hurd/dtable.c: Likewise.
30079 * hurd/hurd-raise.c: Likewise.
30080 * hurd/hurdprio.c: Likewise.
30081 * hurd/msgportdemux.c: Likewise.
30082 * misc/sys/file.h: Likewise.
30083 * misc/sys/ioctl.h: Likewise.
30084 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30085 * sysdeps/mach/hurd/chdir.c: Likewise.
30086 * sysdeps/mach/hurd/fchdir.c: Likewise.
30087 * sysdeps/mach/hurd/rename.c: Likewise.
30088 * sysdeps/mach/hurd/rmdir.c: Likewise.
30089 * sysdeps/mach/hurd/seekdir.c: Likewise.
30090 * sysdeps/mach/hurd/setsid.c: Likewise.
30091 * sysdeps/posix/wait3.c: Likewise.
30092
568035b7
JM
30093 * All files with FSF copyright notices: Update copyright dates
30094 using scripts/update-copyrights.
30095 * intl/plural.c: Regenerated.
30096 * locale/programs/charmap-kw.h: Likewise.
30097 * locale/programs/locfile-kw.h: Likewise.
30098
da08f647
SP
300992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30100
0f5477af
SP
30101 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30102 four values.
30103
44e0d4c2
SP
30104 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30105 calculation loop and add branch prediction.
30106
4d55b4e5
SP
30107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30108 check access beyond bounds of m1np.
30109
da08f647
SP
30110 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30111 MPTWO.
30112 (__inv): Remove local variable MPTWO to use the global
30113 constant.
30114 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30116 variable MPTWO.
30117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30118 MP3HALFS static const.
30119
8e051029
DM
301202013-01-01 David S. Miller <davem@davemloft.net>
30121
30122 * po/ca.po: Update from translation team.
30123
f4cf5f2d
JM
301242013-01-01 Joseph Myers <joseph@codesourcery.com>
30125
30126 * scripts/update-copyrights: New file.
30127 * Makeconfig: Reformat copyright notice.
30128 * ctype/ctype.h: Likewise.
30129 * debug/swprintf_chk.c: Likewise.
30130 * elf/dl-cache.c: Likewise.
30131 * elf/dl-debug.c: Likewise.
30132 * elf/dl-object.c: Likewise.
30133 * grp/initgroups.c: Likewise.
30134 * hurd/Makefile: Likewise.
30135 * hurd/hurd/signal.h: Likewise.
30136 * hurd/hurdfault.c: Likewise.
30137 * hurd/hurdioctl.c: Likewise.
30138 * hurd/hurdlookup.c: Likewise.
30139 * hurd/intr-msg.c: Likewise.
30140 * iconv/gconv_open.c: Likewise.
30141 * libio/swprintf.c: Likewise.
30142 * locale/lc-ctype.c: Likewise.
30143 * locale/nl_langinfo.c: Likewise.
30144 * mach/Machrules: Likewise.
30145 * mach/Makefile: Likewise.
30146 * malloc/obstack.h: Likewise.
30147 * manual/Makefile: Likewise.
30148 * manual/tsort.awk: Likewise.
30149 * misc/bits/stab.def: Likewise.
30150 * nis/nis_print_group_entry.c: Likewise.
30151 * nis/nis_table.c: Likewise.
30152 * nis/nss_compat/compat-pwd.c: Likewise.
30153 * nis/nss_compat/compat-spwd.c: Likewise.
30154 * po/Makefile: Likewise.
30155 * posix/fnmatch.c: Likewise.
30156 * posix/regex.h: Likewise.
30157 * resolv/Makefile: Likewise.
30158 * resolv/nss_dns/dns-network.c: Likewise.
30159 * resolv/res_hconf.c: Likewise.
30160 * scripts/gen-sorted.awk: Likewise.
30161 * soft-fp/soft-fp.h: Likewise.
30162 * stdio-common/printf.h: Likewise.
30163 * stdlib/monetary.h: Likewise.
30164 * stdlib/random.c: Likewise.
30165 * stdlib/random_r.c: Likewise.
30166 * sysdeps/generic/Makefile: Likewise.
30167 * sysdeps/gnu/Makefile: Likewise.
30168 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30170 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30172 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30176 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30179 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30180 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30182 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30189 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30190 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30191 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30192 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30193 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30194 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30195 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30196 * sysdeps/mach/hurd/errnos.awk: Likewise.
30197 * sysdeps/mach/hurd/fork.c: Likewise.
30198 * sysdeps/mach/hurd/getcwd.c: Likewise.
30199 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30200 * sysdeps/mach/hurd/mmap.c: Likewise.
30201 * sysdeps/mach/hurd/utimes.c: Likewise.
30202 * sysdeps/mach/hurd/xmknod.c: Likewise.
30203 * sysdeps/posix/profil.c: Likewise.
30204 * sysdeps/posix/readdir_r.c: Likewise.
30205 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30206 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30207 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30208 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30210 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30211 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30212 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30214 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30215 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30216 * sysdeps/pthread/lio_listio.c: Likewise.
30217 * sysdeps/sparc/dl-procinfo.h: Likewise.
30218 * sysdeps/unix/i386/sysdep.S: Likewise.
30219 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30220 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30221 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30222 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30224 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30225 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30226 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30227 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30228 * sysdeps/wordsize-32/divdi3.c: Likewise.
30229 * time/sys/time.h: Likewise.
30230 * wcsmbs/Makefile: Likewise.
30231
0549fbba
DM
302322013-01-01 David S. Miller <davem@davemloft.net>
30233
a141f1a7
DM
30234 * po/fr.po: Update from translation team.
30235
0549fbba
DM
30236 * catgets/gencat.c: Update copyright year.
30237 * csu/version.c: Likewise.
30238 * debug/catchsegv.sh: Likewise.
30239 * debug/pcprofiledump.c: Likewise.
30240 * debug/xtrace.sh: Likewise.
30241 * elf/ldconfig.c: Likewise.
30242 * elf/ldd.bash.in: Likewise.
30243 * elf/pldd.c: Likewise.
30244 * elf/sotruss.ksh: Likewise.
30245 * elf/sprof.c: Likewise.
30246 * iconv/iconv_prog.c: Likewise.
30247 * iconv/iconvconfig.c: Likewise.
30248 * locale/programs/locale.c: Likewise.
30249 * locale/programs/localedef.c: Likewise.
30250 * login/programs/pt_chown.c: Likewise.
30251 * malloc/memusage.sh: Likewise.
30252 * malloc/memusagestat.c: Likewise.
30253 * malloc/mtrace.pl: Likewise.
30254 * nscd/nscd.c: Likewise.
30255 * nss/getent.c: Likewise.
30256 * nss/makedb.c: Likewise.
30257 * posix/getconf.c: Likewise.
30258
18ea052c
SP
302592012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30260
30261 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30262 numbers.
30263
9c89fca6
MF
302642012-12-30 Mike Frysinger <vapier@gentoo.org>
30265
30266 * math/bits/mathcalls.h (modf): Use __nonnull.
30267
085ec079
SP
302682012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30269
30270 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30271 (split): Use macro CN instead of the bare value.
30272 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30273 could be used.
30274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30275 instead of the bare value.
30276 (power1): Likewise.
30277
6d9f97e1
SP
302782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30279
d63f73be
SP
30280 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30281 __ATAN_TWOM.
30282 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30283
6d9f97e1
SP
30284 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30285 their values.
30286 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30287 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30288 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30289 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30290
4c4febf5
AJ
302912012-12-28 Andreas Jaeger <aj@suse.de>
30292
af5843ef
AJ
30293 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30294 values are from Linux 3.7.
30295
4c4febf5
AJ
30296 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30297 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30298
99136f82
SP
302992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30300
2f216c3c 30301 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30302 TRUE case.
30303
99136f82
SP
30304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30305 (norm): Likewise.
30306 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30307 variables with preprocessor constants.
30308 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30309 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30310 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30311
7fffbdff
BH
303122012-12-27 Bruno Haible <bruno@clisp.org>
30313
30314 [BZ #14317]
30315 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30316 only if needed.
30317
b76eb5f0
SP
303182012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30319
31a7fe5c
SP
30320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30321 and use variable directly.
30322 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30323
b76eb5f0
SP
30324 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30325 MPONE.
30326 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30328 variable MPONE.
30329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30331 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30332 include directive. Remove local variable MPONE.
30333 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30334 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30335 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30336
2c8bfe7d
DM
303372012-12-25 David S. Miller <davem@davemloft.net>
30338
30339 * version.h (RELEASE): Set to "development".
30340 (VERSION): Set to "2.17.90".
30341 * NEWS: Add 2.18 section.
30342
147d03b0
DM
303432012-12-21 David S. Miller <davem@davemloft.net>
30344
30345 * po/hr.po: Update from translation team.
30346
a8ebb2b9
AK
303472012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30348
30349 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30350
95b4f1b6
SE
303512012-12-19 Steve Ellcey <sellcey@mips.com>
30352
b2d94007 30353 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30354
cedb2a90
MS
303552012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30356
30357 * manual/contrib.texi (Contributors): Spelling correction.
30358
bbf527d6
DM
303592012-12-15 David S. Miller <davem@davemloft.net>
30360
30361 * po/ru.po: Update from translation team.
30362
bc38c906
DM
303632012-12-13 David S. Miller <davem@davemloft.net>
30364
85429b1a
DM
30365 * NEWS: Mention IFUNC testsuite enhancements.
30366
d283e353
DM
30367 * po/pl.po: Update from translation team.
30368 * po/bg.po: Likewise.
30369
bc38c906
DM
30370 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30371 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30372
a181b0d7
DM
303732012-12-11 David S. Miller <davem@davemloft.net>
30374
4641d57e
DM
30375 * po/sv.po: Update from translation team.
30376
f7bc6495
DM
30377 * po/vi.po: Update from translation team.
30378
6fc9048f
DM
30379 * po/cs.po: Update from translation team.
30380
a181b0d7
DM
30381 * po/de.po: Update from translation team.
30382 * po/eo.po: Likewise.
30383 * po/nl.po: Likewise.
30384
f70bfe80
SP
303852012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30386
3c8b4190
SP
30387 [BZ #14246]
30388 * manual/argp.texi (Argp Helper Functions): Move node to follow
30389 Argp Parsing State.
30390
f70bfe80
SP
30391 [BZ #14872]
30392 * manual/conf.texi (Limits on File System Capacity): Mention if
30393 terminating null is included in the max size.
30394
188f0adf
AJ
303952012-12-10 Andreas Jaeger <aj@suse.de>
30396
30397 * po/cs.po: Update from translation team.
30398
56e7d3ad
SP
303992012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30400
30401 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30402 void pointer and cast to uintptr_t.
30403 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30404 path.
30405 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30406 * sysdeps/s390/s390-64/memset.S: Likewise.
30407
76f2d2ea 304082012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30409
30410 [BZ #14833]
30411 * menual/message.texi (Message Translation): Fix typos.
30412 (Helper programs for gettext): Likewise.
30413
67cbf9a2
AS
304142012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30415
30416 [BZ #14898]
30417 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30418 Change to -1.
30419
682d0e9a
DM
304202012-12-07 David S. Miller <davem@davemloft.net>
30421
30422 * po/libc.pot: Update.
30423
573cd484
RH
304242012-12-07 Richard Henderson <rth@redhat.com>
30425
7e9da188 30426 [BZ #10114]
573cd484
RH
30427 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30428 normal/normal case to before the switch.
30429 (_FP_DIV): Likewise.
30430
e933a943
MF
304312012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30432 Mike Frysinger <vapier@gentoo.org>
30433
30434 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30435 check for __NR_fadvise64_64.
30436
82123268
CM
304372012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30438
30439 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30440 0, not just to plain "0" as a statement.
30441 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30442 with cw.
30443
d9814526
JM
304442012-12-06 Joseph Myers <joseph@codesourcery.com>
30445
30446 * NEWS: Use sourceware.org in Bugzilla URL.
30447
7728c574
SP
304482012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30449
f16946dd
SP
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30451 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30452
5704bbcb
SP
30453 * stdio-common/tst-put-error.c (do_test): Add newline to the
30454 padded test to ensure flush.
30455
17aa0516
JL
304562012-12-05 Jeff Law <law@redhat.com>
30457
30458 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30459
363313b5
JM
304602012-12-05 Joseph Myers <joseph@codesourcery.com>
30461
effbd42a
JM
30462 * README: Don't refer to ports add-on as distributed separately.
30463 Mention AArch64 in list of systems supported in the ports add-on.
30464
87600365
JM
30465 * LICENSES: Add more non-FSF copyright and license notices.
30466
a0d7066a
JM
30467 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30468 ((unused)).
30469
66ca5a5b
JM
30470 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30471
363313b5
JM
30472 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30473 10000 as width of padded output.
30474
b37984ad
JM
304752012-12-04 Joseph Myers <joseph@codesourcery.com>
30476
9003570a
JM
30477 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30478
b37984ad
JM
30479 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30480 variable LX with __attribute__ ((unused)).
30481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30482 Likewise.
30483 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30484 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30485 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30486 with __attribute__ ((unused)).
30487
c8df52ec
DM
304882012-12-04 David S. Miller <davem@abraco.davemloft.net>
30489
30490 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30491
b3b099af
JM
304922012-12-04 Joseph Myers <joseph@codesourcery.com>
30493
c33aa6e3
JM
30494 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30495 (CFLAGS-nldbl-acos.c): New variable.
30496 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30497 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30498 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30499 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30500 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30501 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30502 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30503 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30504 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30505 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30506 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30507 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30508 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30509 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30510 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30511 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30512 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30513 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30514 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30515 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30516 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30517 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30518 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30519 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30520 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30521 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30522 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30523 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30524 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30525 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30526 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30527 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30528 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30529 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30530 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30531 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30532 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30533 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30534 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30535 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30536 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30537 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30538 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30539 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30540 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30541 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30542 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30543 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30544 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30545 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30546 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30547 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30548 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30549 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30550 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30551 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30552 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30553 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30554 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30555 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30556 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30557 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30558 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30559 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30560 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30561 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30562 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30563 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30564 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30565 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30566 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30567 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30568 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30569 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30570 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30571 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30572 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30573 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30574 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30575 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30576 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30577 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30578 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30579 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30580 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30581 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30582 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30583 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30584 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30585 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30586 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30587 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30588 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30589 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30590 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30591 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30592 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30593
20f0018d
JM
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30595 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30596
b3b099af
JM
30597 [BZ #14914]
30598 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30599 whole low double instead of just low 47 bits when splitting values
30600 into two parts.
30601
029264d1
AM
306022012-12-03 Allan McRae <allan@archlinux.org>
30603
30604 * manual/stdio.texi (Predefined Printf Handlers): Remove
30605 @hsep and @vsep usage.
30606
c9d6789e
MF
306072012-12-03 Mike Frysinger <vapier@gentoo.org>
30608
30609 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30610 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30611
4b7634a5
JL
306122012-12-03 Jeff Law <law@redhat.com>
30613
30614 * time/sys/time.h (settimeofday): Do not mark TV argument
30615 as __nonnull.
30616
eb6cbd24
MF
306172012-12-01 Mike Frysinger <vapier@gentoo.org>
30618
30619 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30620 when currently writing and seek to current position when not.
30621 * libio/Makefile (tests): Remove bug-fclose1.
30622 * libio/bug-fclose1.c: Delete.
30623
f638872a
JM
306242012-12-01 Joseph Myers <joseph@codesourcery.com>
30625
30626 * manual/arith.texi (feenableexcept): Fix typo.
30627 (fedisableexcept): Likewise.
30628
48085d14
RM
306292012-11-30 Roland McGrath <roland@hack.frob.com>
30630
30631 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30632 second, differently-typed declaration, rather than a cast.
30633
1a538b9f
SP
306342012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30635
30636 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30637 * include/rpc/svc.h: ... here.
30638
d07f2ff1 306392012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30640
30641 [BZ #13013]
30642 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30643 depending n and resplen2 to catch cases where answer
30644 equals answerp2.
30645
c93ec1f0
CD
306462012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30647
30648 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30649 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30650
37db69de
MF
306512012-11-29 Mike Frysinger <vapier@gentoo.org>
30652
30653 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30654
e10c4e4f
RM
306552012-11-29 Roland McGrath <roland@hack.frob.com>
30656
30657 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30658
2af1b328
JL
306592012-11-28 Jeff Law <law@redhat.com>
30660
30661 [BZ #13761]
30662 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30663 dataset_temporary. Track alloca usage into alloca_used.
30664 If dataset is large allocate and release it via malloc/free.
30665
111db5b1
FW
306662012-06-04 Florian Weimer <fweimer@redhat.com>
30667
f06cc227 30668 [BZ #14197]
111db5b1
FW
30669 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30670
dd694abd
DM
306712012-11-28 David S. Miller <davem@davemloft.net>
30672
30673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30674
9984dd01
JM
306752012-11-28 Joseph Myers <joseph@codesourcery.com>
30676
30677 [BZ #14803]
30678 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30679 of pi/2 rounded to nearest to 64 bits.
30680 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30681 nearest to 64 bits.
30682 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30683 bits.
30684
14bc93a9
JL
306852012-11-28 Jeff Law <law@redhat.com>
30686 Martin Osvald <mosvald@redhat.com>
30687
30688 [BZ #14889]
30689 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30690 * sunrpc/svc.c: Include time.h.
30691 (__svc_accept_failed): New function.
30692 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30693 any reason other than EINTR, call __svc_accept_failed.
30694 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30695 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30696
e3c6aa3a
AS
306972012-11-28 Andreas Schwab <schwab@suse.de>
30698
30699 * scripts/abilist.awk: Also handle indirect functions in .opd
30700 section.
30701
1bead169
JM
307022012-11-28 Joseph Myers <joseph@codesourcery.com>
30703
30704 [BZ #13881]
30705 * sysdeps/x86/fpu/powl_helper.c: New file.
30706 * sysdeps/x86/fpu/Makefile: Likewise.
30707 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30708 (p3): New object.
30709 (__ieee754_powl): Use __powl_helper for finite arguments except
30710 integer exponents below 8.
30711 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30712 (p3): New object.
30713 (__ieee754_powl): Use __powl_helper for finite arguments except
30714 integer exponents below 8.
30715 * math/libm-test.inc (pow_test): Add more tests and enable some
30716 previously disabled tests.
30717 * sysdeps/i386/fpu/libm-test-ulps: Update.
30718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30719
0817d63d
SP
307202012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30721 Carlos O'Donell <carlos_odonell@mentor.com>
30722
30723 * nss/makedb.c (is_prime): Assert that input is odd and greater
30724 than 4. Note that fact in a comment too.
30725 (next_prime): Add 4 to input.
30726
de2fd463
SP
307272012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30728
30729 [BZ #11741]
30730 * libio/Makefile (tests): Add test case tst-fwrite-error.
30731 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30732 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30733 * libio/tst-fwrite-error.c: New test case.
30734
c515fb51
L
307352012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30736
30737 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30738 before casting to void *.
30739 * include/libc-internal.h (__pointer_type): New macro.
30740 (__integer_if_pointer_type_sub): Likewise.
30741 (__integer_if_pointer_type): Likewise.
30742 (cast_to_integer): Likewise.
30743 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30744 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30745 before casting to atomic64_t.
30746 (atomic_exchange_acq): Likewise.
30747 (__arch_exchange_and_add_body): Likewise.
30748 (__arch_add_body): Likewise.
30749 (atomic_add_negative): Likewise.
30750 (atomic_add_zero): Likewise.
30751
4cf77aa9
JM
307522012-11-26 Joseph Myers <joseph@codesourcery.com>
30753
30754 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30755 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30756 (add_fdes): Likewise.
30757 (linear_search_fdes): Likewise.
30758 (binary_search_unencoded_fdes): Likewise.
30759
d260b3b4
AS
307602012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30761
30762 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30763
67060746
AC
307642012-11-24 Adam Conrad <adconrad@0c3.net>
30765
30766 * configure.in: Autodetect C++ header directories.
30767 * configure: Regenerated.
30768
800938a1
MF
307692012-11-23 Mike Frysinger <vapier@gentoo.org>
30770
30771 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30772
4e6e34e6
AS
307732012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30774
30775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30776
7c7feb47
JM
307772012-11-22 Joseph Myers <joseph@codesourcery.com>
30778
7184dcdf
JM
30779 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30780 LDBL_MANT_DIG == 106]: Disable some tests.
30781 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30782 Likewise.
30783 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30784 Likewise.
30785
0a42601f
JM
30786 [BZ #14871]
30787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30788 input for small inputs. Return +/- pi/2 for large inputs.
30789 * math/libm-test.inc (atan_test): Add more tests.
30790
79c9b9fe
JM
30791 * sysdeps/generic/unwind-dw2-fde-glibc.c
30792 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30793 __attribute__ ((unused)).
30794
c60d3bf2
JM
30795 [BZ #14645]
30796 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30797 x * y if x and y are nonzero and z is zero.
30798
ef1e0867
JM
30799 [BZ #14811]
30800 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30801 nonzero exponents with absolute value below 0x1p-117 to +/-
30802 0x1p-117.
30803
1468ded3
JM
30804 [BZ #14869]
30805 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30806 up arguments below 2**-450, not just those below 2**-500.
30807 * math/libm-test.inc (hypot_test): Add another test.
30808
8e27e3cc
JM
30809 [BZ #14868]
30810 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30811 Return a+b for ratio over 2**120, not 2**60.
30812 * math/libm-test.inc (hypot_test): Add another test.
30813
c9c0279b
JM
30814 * math/libm-test.inc (clog_test): Use
30815 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30816 (clog10_test): Likewise.
30817
7c7feb47
JM
30818 [BZ #6778]
30819 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30820
fff1530e
AS
308212012-11-22 Andreas Schwab <schwab@suse.de>
30822
30823 * sysdeps/i386/fpu/libm-test-ulps: Update.
30824
94558d30
PT
308252012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30826
30827 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30828 printf output with newline.
30829
7e1be741
L
308302012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30831
6bfea974
L
30832 [BZ #14865]
30833 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30834 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30835 -z nodlopen, -z initfirst and -z execstack support.
30836 * configure: Regenerated.
30837
7e1be741
L
30838 * elf/elf.h (DF_1_NODIRECT): New macro.
30839 (DF_1_IGNMULDEF): Likewise.
30840 (DF_1_NOKSYMS): Likewise.
30841 (DF_1_NOHDR): Likewise.
30842 (DF_1_EDITED): Likewise.
30843 (DF_1_NORELOC): Likewise.
30844 (DF_1_SYMINTPOSE): Likewise.
30845 (DF_1_GLOBAUDIT): Likewise.
30846 (DF_1_SINGLETON): Likewise.
30847 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30848 DT_1_SUPPORTED_MASK bits.
30849 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30850
105ce2ce
CD
308512012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30852
30853 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30854
123be9de
TS
308552012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30856
d072f3f7
TS
30857 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30858 macro.
30859
123be9de
TS
30860 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30861 (sendmmsg): Move declarations...
30862 * socket/sys/socket.h: ... here.
30863 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30864 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30865 include it from...
30866 * socket/recvmmsg.c: ... this new file.
30867 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30868 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30869 definition of __sendmmsg hidden.
30870 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30871 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30872 Move ENOSYS stub into and include it from...
30873 * socket/sendmmsg.c: ... this new file.
30874 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30875 (sysdep_routines): Move recvmmsg and sendmmsg...
30876 * socket/Makefile (routines): ... here.
30877 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30878 (GLIBC_PRIVATE): Add __sendmmsg.
30879 * include/sys/socket.h (__sendmmsg): Add declarations.
30880 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30881 sendmmsg.
30882
cf9a5d18
JM
308832012-11-20 Joseph Myers <joseph@codesourcery.com>
30884
30885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30886 variable I1 with __attribute__ ((unused)).
30887 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30888
ecd4caf9
JM
308892012-11-19 Joseph Myers <joseph@codesourcery.com>
30890
be14d48f
JM
30891 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30892 DUMMY variables with __attribute__ ((unused)).
30893
ecd4caf9
JM
30894 * bits/byteswap.h: Include <bits/types.h>.
30895 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30896
986cab95
PT
308972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30898
30899 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30900 string_t. Do not manually set errno.
30901 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30902 length with __strnlen. Make sure to both set errno and return it on
30903 failure.
30904
6d33cc9d
DM
309052012-11-19 David S. Miller <davem@davemloft.net>
30906
30907 With help from Joseph Myers.
30908 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30909 very large arguments properly.
30910 * math/libm-test.inc (atan_test): New tests.
30911 (atan2_test): New tests.
30912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30914
ee663277
JM
309152012-11-19 Joseph Myers <joseph@codesourcery.com>
30916
877f2d8e
JM
30917 [BZ #14856]
30918 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30919 Define to 3.
30920
116fc08a
JM
30921 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30922 [POSIX] (EADDRNOTAVAIL): Likewise.
30923 [POSIX] (EAFNOSUPPORT): Likewise.
30924 [POSIX] (EALREADY): Likewise.
30925 [POSIX] (ECONNABORTED): Likewise.
30926 [POSIX] (ECONNREFUSED): Likewise.
30927 [POSIX] (ECONNRESET): Likewise.
30928 [POSIX] (EDESTADDRREQ): Likewise.
30929 [POSIX] (EDQUOT): Likewise.
30930 [POSIX] (EHOSTUNREACH): Likewise.
30931 [POSIX] (EIDRM): Likewise.
30932 [POSIX] (EISCONN): Likewise.
30933 [POSIX] (ELOOP): Likewise.
30934 [POSIX] (EMULTIHOP): Likewise.
30935 [POSIX] (ENETDOWN): Likewise.
30936 [POSIX] (ENETUNREACH): Likewise.
30937 [POSIX] (ENOBUFS): Likewise.
30938 [POSIX] (ENODATA): Likewise.
30939 [POSIX] (ENOLINK): Likewise.
30940 [POSIX] (ENOMSG): Likewise.
30941 [POSIX] (ENOPROTOOPT): Likewise.
30942 [POSIX] (ENOSR): Likewise.
30943 [POSIX] (ENOSTR): Likewise.
30944 [POSIX] (ENOTCONN): Likewise.
30945 [POSIX] (ENOTSOCK): Likewise.
30946 [POSIX] (EOPNOTSUPP): Likewise.
30947 [POSIX] (EOVERFLOW): Likewise.
30948 [POSIX] (EPROTO): Likewise.
30949 [POSIX] (EPROTONOSUPPORT): Likewise.
30950 [POSIX] (EPROTOTYPE): Likewise.
30951 [POSIX] (ESTALE): Likewise.
30952 [POSIX] (ETIME): Likewise.
30953 [POSIX] (ETXTBSY): Likewise.
30954 [POSIX] (EWOULDBLOCK): Likewise.
30955 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30956 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30957 [POSIX] (SEEK_CUR): Likewise.
30958 [POSIX] (SEEK_END): Likewise.
30959 [POSIX || UNIX98] (mode_t): Do not require.
30960 [POSIX] (off_t): Likewise.
30961 [POSIX] (pid_t): Likewise.
30962 [POSIX] (sys/stat.h): Do not allow header.
30963 [POSIX] (unistd.h): Likewise.
30964 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30965 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30966 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30967 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30968 require.
30969 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30970 sigevent): Specify elements.
30971 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30972 entry.
30973 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30974 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30975
a483863f
JM
30976 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30977 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30978 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30979 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30980 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30981 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30982 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30983 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30984 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30985 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30986 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30987 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30988 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30989 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30990 Likewise.
30991 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30992 Likewise.
30993 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30994 Likewise.
30995 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30996 Likewise.
30997 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30998 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30999 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31000 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31001 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31002 Specify lower bound on value.
31003 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31004 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31005 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31006 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31007 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31008 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31009 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31010 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31011 value.
31012 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31013 as optional.
31014 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31015 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31016 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31017 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31018 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31019 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31020 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31021 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31022 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31023 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31024 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31025 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31026 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31027 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31028 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31029 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31030 entry.
31031 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31032 optional.
31033 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31034 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31035 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31036 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31037 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31038 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31039 Likewise.
31040 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31041 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31042 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31043 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31044 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31045 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31046 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31047 as optional.
31048 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31049 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31050 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31051 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31052 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31053 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31054 specify as optional.
31055 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31056 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31057 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31058 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31059 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31060 [XPG3] (NL_LANGMAX): Likewise.
31061 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31062 [POSIX || XPG3] (NL_NMAX): Likewise.
31063 [POSIX || XPG3] (NL_SETMAX): Likewise.
31064 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31065 [XPG3] (NZERO): Likewise.
31066 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31067 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31068 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31069 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31070 (REG_ERANGE): Expect.
31071 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31072 optional-constant.
31073 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31074 Use (void) in prototype.
31075 [POSIX] (*_t): Allow.
31076 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31077 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31078 (WRDE_BADVAL): Expect.
31079
5ba924e3
JM
31080 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31081 expect.
31082 [XPG3 || XPG4] (O_RSYNC): Likewise.
31083 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31084 Likewise.
31085 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31086 [XPG3 || XPG4] (sigqueue): Likewise.
31087 [XPG3 || XPG4] (sigtimedwait): Likewise.
31088 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31089 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31090 [XPG3 || XPG4] (vsnprintf): Likewise.
31091 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31092 Likewise.
31093 [XPG3 || XPG4] (blksize_t): Likewise.
31094 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31095 Likewise.
31096 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31097 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31098 [XPG3 || XPG4] (struct itimerspec): Likewise.
31099 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31100 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31101 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31102 [XPG3 || XPG4] (clockid_t): Likewise.
31103 [XPG3 || XPG4] (timer_t): Likewise.
31104 [XPG3 || XPG4] (clock_getres): Likewise.
31105 [XPG3 || XPG4] (clock_gettime): Likewise.
31106 [XPG3 || XPG4] (clock_settime): Likewise.
31107 [XPG3 || XPG4] (nanosleep): Likewise.
31108 [XPG3 || XPG4] (timer_create): Likewise.
31109 [XPG3 || XPG4] (timer_delete): Likewise.
31110 [XPG3 || XPG4] (timer_gettime): Likewise.
31111 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31112 [XPG3 || XPG4] (timer_settime): Likewise.
31113 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31114 [XPG3 || XPG4] (getlogin_r): Likewise.
31115 [XPG3 || XPG4] (pread): Likewise.
31116 [XPG3 || XPG4] (pthread_atfork): Likewise.
31117 [XPG3 || XPG4] (pwrite): Likewise.
31118
ee663277
JM
31119 [BZ #14835]
31120 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31121 <bits/siginfo.h>.
31122
942caa16
PT
311232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31124
e19af380
PT
31125 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31126 finalizing MALLSTREAM.
31127
942caa16
PT
31128 * sysdeps/mach/hurd/syncfs.c: New file.
31129
cfde9b46
SP
311302012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31131
31132 [BZ #14719]
31133 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31134 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31135 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31136 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31137 (_nss_dns_gethostbyname4_r): Likewise.
31138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31139 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31140
f6da27e5
PH
311412012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31142
31143 [BZ #13763]
31144 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31145
6665d4a2
SM
311462012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31147
1f51ee92
SM
31148 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31149 * elf/cache.c (print_entry): Print ",AArch64" for
31150 FLAG_AARCH64_LIB64
31151
6665d4a2
SM
31152 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31153 * elf/cache.c (print_entry): Print ",hard-float" for
31154 FLAG_ARM_LIBHF.
31155
05b227bd
DM
311562012-11-18 David S. Miller <davem@davemloft.net>
31157
31158 With help from Joseph Myers.
31159 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31160 cutoff to 2**-13.
31161 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31162 cutoff to 2**-25.
31163 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31164 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31165 small.
31166 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31167 * math/libm-test.inc (y0_test): New tests.
31168 (y1_test): New tests.
31169 * sysdeps/i386/fpu/libm-test-ulps: Update.
31170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31172
786b0b67
AS
311732012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31174
31175 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31176 64-bit targets.
31177 * configure: Regenerated.
31178
8e18b86d
DM
311792012-11-17 David S. Miller <davem@davemloft.net>
31180
31181 [BZ #14811]
31182 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31183 nonzero exponents with absolute value below 0x1p-128 to +/-
31184 0x1p-128.
31185
531f1ae0
JM
311862012-11-17 Joseph Myers <joseph@codesourcery.com>
31187
12df29e2
JM
31188 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31189
150dc1a0
JM
31190 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31191
531f1ae0
JM
31192 * posix/getconf-speclist.c: New file.
31193 * posix/posix-envs.def: Likewise.
31194 * posix/confstr.c (START_ENV_GROUP): New macro.
31195 (END_ENV_GROUP): Likewise.
31196 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31197 (KNOWN_PRESENT_ENV_STRING): Likewise.
31198 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31199 (UNKNOWN_ENVIRONMENT): Likewise.
31200 (confstr): Include posix-envs.def instead of handling
31201 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31202 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31203 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31204 (END_ENV_GROUP): Likewise.
31205 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31206 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31207 (UNKNOWN_ENVIRONMENT): Likewise.
31208 (__sysconf): Include posix-envs.def instead of handling associated
31209 cases directly here.
31210 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31211 preprocessing getconf-speclist.c rather than running getconf or
31212 generating empty file.
31213
a93f9cbc
PT
312142012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31215
31216 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31217
d64d9f87
AL
312182012-11-16 Andrej Lajovic <natrij@gmail.com>
31219
31220 [BZ #14672]
31221 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31222
447885eb
DM
312232012-11-16 David S. Miller <davem@davemloft.net>
31224
31225 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31226 smaller than LDBL_EPSILON/2.0L, just return xm1.
31227
bcbf9830
L
312282012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 * elf/tst-array1.c (init): Set constructor priority to 1000.
31231 (fini): Set destructor priority to 1000.
31232 * elf/tst-array2dep.c: Likewise.
31233
2b766585
SP
312342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31235
31236 [BZ #11741]
31237 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31238 (_IO_new_file_xsputn): Also return EOF if none of the input
31239 data was written when overflow failed.
31240 * libio/iopadn.c (_IO_padn): Likewise.
31241 * libio/iowpadn.c (_IO_wpadn): Likewise.
31242 * stdio-common/tst-put-error.c: Add copyright notice.
31243 (do_test): Add case for printing padded string.
31244 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31245 _IO_padn returned error.
31246 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31247 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31248 return EOF.
31249
b1848fde
SP
312502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31251
31252 * libio/libioP.h: Add comment note that the references to C++
31253 bits are now obsolete.
31254
2fd89785
MS
312552012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31256
31257 * math/libm-test.inc (check_complex): Use asprintf.
31258
e3ea5409
JM
312592012-11-14 Joseph Myers <joseph@codesourcery.com>
31260
31261 * debug/pcprofiledump.c (print_version): Update copyright year.
31262 * malloc/memusagestat.c (print_version): Likewise.
31263
2e64d265
L
312642012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 [BZ #14831]
31267 * elf/Makefile (tests): Add tst-audit8.
31268 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31269 ($(objpfx)tst-audit8.out): New target.
31270 (tst-audit8-ENV): New variable.
31271 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31272 audit if l_reloc_result is NULL.
31273 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31274 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31275 * elf/tst-audit8.c: New file.
31276
c485e4d2
MS
312772012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31278
31279 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31280 * misc/Makefile (CFLAGS-select.c): Define.
31281 * posix/Makefile (CFLAGS-pause.c): Define.
31282
3a0d900a
DM
312832012-11-13 David S. Miller <davem@davemloft.net>
31284
31285 * crypt/Makefile: Move test targets after toplevel Rules
31286 inclusion. Grab any necessary sysdep routines when linking.
31287 * crypt/md5.c (md5_process_block): Remove define, we will always
31288 name it __md5_process_block.
31289 (md5_finish_ctx): Update md5_process_block call.
31290 (md5_stream): Likewise.
31291 (md5_process_bytes): Likewise.
31292 (md5_process_block): Rename to __md5_process_block and move to ...
31293 * crypt/md5-block.c: ... here.
31294 * crypt/sha256.c (sha256_process_block): Move to ...
31295 * crypt/sha256-block.c: ... here.
31296 * crypt/sha512.c (sha512_process_block): Move to ...
31297 * crypt/sha512-block.c: ... here.
31298 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31299 path.
31300 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31301 * sysdeps/sparc/sparc64/multiarch/Makefile
31302 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31303 crypt subdir.
31304 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31305 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31306 multiarch changes.
31307 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31308 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31309 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31310 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31311 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31312 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31313 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31314 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31315 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31316 file.
31317 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31318 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31319 file.
31320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31321
8ca89318
JM
313222012-11-13 Joseph Myers <joseph@codesourcery.com>
31323
e27d476a
JM
31324 * timezone/tzselect.ksh: Update from tzcode git revision
31325 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31326 * timezone/zdump.c: Likewise.
31327 * timezone/zic.c: Likewise.
31328 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31329 in TZVERSION setting, not $(PKGVERSION).
31330 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31331 REPORT_BUGS_TO settings.
31332
8ca89318
JM
31333 [BZ #14838]
31334 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31335 macro.
31336
47594329
MS
313372012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31338
31339 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31340 detection to immediately after _FP_ROUND().
31341 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31342 bits are 0.
31343
640ac3f1
DM
313442012-11-11 David S. Miller <davem@davemloft.net>
31345
31346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31347 inttypes.h
31348 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31349 __close rather than their public counterparts.
31350
3d2577bb
JM
313512012-11-10 Joseph Myers <joseph@codesourcery.com>
31352
31353 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31354 file.
31355 [UNIX98] (sem_timedwait): Do not expect.
31356 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31357 [XPG4 || UNIX98] (sockatmark): Do not expect.
31358 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31359 (clock_getcpuclockid): Do not expect.
31360 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31361 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31362 Do not expect.
31363 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31364 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31365 [UNIX98] (vwscanf): Likewise.
31366 [UNIX98] (vswscanf): Likewise.
31367
fb1ae1ee
JM
313682012-11-09 Joseph Myers <joseph@codesourcery.com>
31369
9ec6f8bd
JM
31370 * timezone/version.h: Remove file.
31371 * timezone/README: Do not refer to version.h.
31372 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31373 $(objpfx)version.h.
31374 ($(objpfx)zdump.o): Likewise.
c3f81911 31375 ($(objpfx)version.h): New target.
9ec6f8bd 31376
0aa8f8a1
JM
31377 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31378 2012i.
31379 * timezone/README: Don't mention modification to tzselect.ksh.
31380 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31381 work on unmodified tzselect.ksh. Substitute version numbers in
31382 tzselect.ksh.
31383
4e87147f
JM
31384 * Makefile (format-me): Remove.
31385 (INSTALL): Adjust indentation. Use commands directly instead of
31386 using $(format-me).
31387
8b748aed
JM
31388 * aclocal.m4 (ACX_PKGVERSION): New macro.
31389 (ACX_BUGURL): Likewise.
31390 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31391 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31392 (REPORT_BUGS_TO): Likewise.
31393 * configure: Regenerated.
31394 * config.h.in (PKGVERSION): New macro.
31395 (REPORT_BUGS_TO): Likewise.
31396 * config.make.in (PKGVERSION): New variable.
31397 (PKGVERSION_TEXI): Likewise.
31398 (REPORT_BUGS_TO): Likewise.
31399 (REPORT_BUGS_TEXI): Likewise.
31400 * Makefile (format-me): Use -I$(common-objpfx)manual.
31401 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31402 ($(common-objpfx)manual/%): New target.
31403 (manual/%): Remove target.
31404 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31405 (print_version): Use PKGVERSION.
31406 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31407 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31408 and REPORT_BUGS_TO.
31409 ($(objpfx)xtrace): Likewise.
31410 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31411 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31412 (print_version): Use PKGVERSION.
31413 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31414 (do_version): Use PKGVERSION.
31415 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31416 REPORT_BUGS_TO.
31417 (common-ldd-rewrite): Likewise.
31418 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31419 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31420 (print_version): Use PKGVERSION.
31421 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31422 * elf/pldd.c (argp_program_bug_address): Remove variable.
31423 (more_help): New function.
31424 (argp): Use more_help.
31425 (print_version): Use PKGVERSION.
31426 * elf/sln.c (main): Use PKGVERSION.
31427 (usage): Use REPORT_BUGS_TO.
31428 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31429 (top level): Use PKGVERSION.
31430 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31431 (print_version): Use PKGVERSION.
31432 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31433 (print_version): Use PKGVERSION.
31434 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31435 (print_version): Use PKGVERSION.
31436 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31437 (print_version): Use PKGVERSION.
31438 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31439 (print_version): Use PKGVERSION.
31440 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31441 (print_version): Use PKGVERSION.
31442 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31443 and BUGURL.
31444 ($(objpfx)memusage): Likewise.
31445 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31446 (do_version): Use PKGVERSION.
31447 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31448 (print_version): Use PKGVERSION.
31449 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31450 ($PKGVERSION): New variable.
31451 ($REPORT_BUGS_TO): Likewise.
31452 (usage): Use $REPORT_BUGS_TO.
31453 (top level): Use $PKGVERSION.
31454 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31455 ($(objpfx)pkgvers.texi): New rule.
31456 ($(objpfx)stamp-pkgvers): Likewise.
31457 * manual/install.texi: Include pkgvers.texi.
31458 (--with-pkgversion): Document new configure option.
31459 (--with-bugurl): Likewise.
31460 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31461 than necessarily for this particular distribution. Use
31462 REPORT_BUGS_TO for where to report bugs.
31463 * INSTALL: Regenerated.
31464 * manual/libc.texinfo: Include pkgvers.texi.
31465 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31466 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31467 (print_version): Use PKGVERSION.
31468 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31469 (print_version): Use PKGVERSION.
31470 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31471 (print_version): Use PKGVERSION.
31472 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31473 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31474 macro.
31475 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31476 (print_version): Use PKGVERSION.
31477 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31478 (print_version): Use PKGVERSION.
31479 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31480 and PKGVERSION.
31481
92e4b6a9
JM
31482 * timezone/checktab.awk: Update from tzcode 2012i.
31483 * timezone/ialloc.c: Likewise.
31484 * timezone/private.h: Likewise.
31485 * timezone/scheck.c: Likewise.
31486 * timezone/tzfile.h: Likewise.
31487 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31488 (TZVERSION): Hardcode tzcode version number.
31489 * timezone/zdump.c: Update from tzcode 2012i.
31490 * timezone/zic.c: Likewise.
31491 * timezone/version.h: New file.
31492 * timezone/README: Describe version.h. Update upstream location.
31493
9bde902c
JM
31494 [BZ #14824]
31495 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31496 (mktemp): Enable declaration.
31497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31498 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31501 Likewise.
31502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31503 Likewise.
31504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31505 Likewise.
31506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31507 Likewise.
31508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31509 Likewise.
31510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31511 Likewise.
31512
fb1ae1ee
JM
31513 [BZ #14821]
31514 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31515 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31516 for copies of such integer values.
31517 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31518 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31519
2c1adbcb
AJ
315202012-11-09 Andreas Jaeger <aj@suse.de>
31521
31522 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31523 definitions and declarations that are provided by
31524 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31525
d0f8457e
AK
315262012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31527
3a235abb 31528 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31529 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31530 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31531 definition.
31532
57241e26
MS
315332012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31534
31535 * elf/elf.h: Update comment before AArch64 relocations.
31536
60e8270d
DM
315372012-11-07 David S. Miller <davem@davemloft.net>
31538
31539 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31540 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31541 (__start_context): Declare.
31542 (__makecontext_ret): Delete.
31543 (__makecontext): Hook up __start_context instead of
31544 __makecontext_ret.
31545 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31546 (sysdep_routines): Add __start_context when in stdlib.
31547
0fbb0fbc
JM
315482012-11-07 Joseph Myers <joseph@codesourcery.com>
31549
31550 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31551 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31552 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31553 hardcoded "nm".
31554 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31555 (READELF): New variable. Use it instead of hardcoded "readelf".
31556
eb48db7e
L
315572012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31558
31559 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31560 * sysdeps/x86/Makefile: Here.
31561 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31562 * sysdeps/x86/tst-xmmymm.sh: This.
31563
05bcf62a
JM
315642012-11-07 Joseph Myers <joseph@codesourcery.com>
31565
c4b6cf53
JM
31566 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31567 expectations.
31568 [UNIX98] (pthread_barrier_t): Do not expect.
31569 [UNIX98] (pthread_barrierattr_t): Likewise.
31570 [UNIX98] (pthread_spinlock_t): Likewise.
31571 [UNIX98] (pthread_barrier_destroy): Likewise.
31572 [UNIX98] (pthread_barrier_init): Likewise.
31573 [UNIX98] (pthread_barrier_wait): Likewise.
31574 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31575 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31576 [UNIX98] (pthread_barrierattr_init): Likewise.
31577 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31578 [UNIX98] (pthread_getcpuclockid): Likewise.
31579 [UNIX98] (pthread_mutex_timedlock): Likewise.
31580 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31581 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31582 [UNIX98] (pthread_sigmask): Likewise.
31583 [UNIX98] (pthread_spin_destroy): Likewise.
31584 [UNIX98] (pthread_spin_init): Likewise.
31585 [UNIX98] (pthread_spin_lock): Likewise.
31586 [UNIX98] (pthread_spin_trylock): Likewise.
31587 [UNIX98] (pthread_spin_unlock): Likewise.
31588 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31589 Do not expect.
31590 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31591 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31592 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31593 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31594 [XPG3 || XPG4] (pthread_key_t): Likewise.
31595 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31596 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31597 [XPG3 || XPG4] (pthread_once_t): Likewise.
31598 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31599 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31600 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31601 [XPG3 || XPG4] (pthread_t): Likewise.
31602
cbe6e120
JM
31603 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31604 not expect.
31605 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31606
1b126443
JM
31607 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31608 Change function return type to int.
31609
b961a573
JM
31610 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31611 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31612 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31613 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31614 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31615 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31616 [!POSIX] (posix_madvise): Likewise.
31617 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31618 && !UNIX98].
31619 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31620 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31621 (mode_t): Likewise.
31622 (posix_mem_offset): Likewise.
31623 (posix_typed_mem_get_info): Likewise.
31624 (posix_typed_mem_open): Likewise.
31625
9e188909
JM
31626 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31627 Change condition to [XOPEN2K8].
31628
05bcf62a
JM
31629 * conform/conformtest.pl: Preprocess allow-header data with -x c
31630 instead of from stdin.
31631 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31632 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31633 [C99-based standards] (cerfc): Likewise.
31634 [C99-based standards] (cexp2): Likewise.
31635 [C99-based standards] (cexpm1): Likewise.
31636 [C99-based standards] (clog10): Likewise.
31637 [C99-based standards] (clog1p): Likewise.
31638 [C99-based standards] (clog2): Likewise.
31639 [C99-based standards] (clgamma): Likewise.
31640 [C99-based standards] (ctgamma): Likewise.
31641 [C99-based standards] (cerff): Likewise.
31642 [C99-based standards] (cerfcf): Likewise.
31643 [C99-based standards] (cexp2f): Likewise.
31644 [C99-based standards] (cexpm1f): Likewise.
31645 [C99-based standards] (clog10f): Likewise.
31646 [C99-based standards] (clog1pf): Likewise.
31647 [C99-based standards] (clog2f): Likewise.
31648 [C99-based standards] (clgammaf): Likewise.
31649 [C99-based standards] (ctgammaf): Likewise.
31650 [C99-based standards] (cerfl): Likewise.
31651 [C99-based standards] (cerfcl): Likewise.
31652 [C99-based standards] (cexp2l): Likewise.
31653 [C99-based standards] (cexpm1l): Likewise.
31654 [C99-based standards] (clog10l): Likewise.
31655 [C99-based standards] (clog1pl): Likewise.
31656 [C99-based standards] (clog2l): Likewise.
31657 [C99-based standards] (clgammal): Likewise.
31658 [C99-based standards] (ctgammal): Likewise.
31659 * conform/data/inttypes.h-data [C99-based standards]: Include
31660 stdint.h-data. Remove all expectations for stdint.h contents.
31661 [C99-based standards] (PRI*): Do not allow.
31662 [C99-based standards] (SCN*): Likewise.
31663 [C99-based standards] (*_t): Likewise.
31664 [C99-based-standards] (PRId8): Expect macro.
31665 [C99-based-standards] (PRIi8): Likewise.
31666 [C99-based-standards] (PRIo8): Likewise.
31667 [C99-based-standards] (PRIu8): Likewise.
31668 [C99-based-standards] (PRIx8): Likewise.
31669 [C99-based-standards] (PRIX8): Likewise.
31670 [C99-based-standards] (SCNd8): Likewise.
31671 [C99-based-standards] (SCNi8): Likewise.
31672 [C99-based-standards] (SCNo8): Likewise.
31673 [C99-based-standards] (SCNu8): Likewise.
31674 [C99-based-standards] (SCNx8): Likewise.
31675 [C99-based-standards] (PRIdLEAST8): Likewise.
31676 [C99-based-standards] (PRIiLEAST8): Likewise.
31677 [C99-based-standards] (PRIoLEAST8): Likewise.
31678 [C99-based-standards] (PRIuLEAST8): Likewise.
31679 [C99-based-standards] (PRIxLEAST8): Likewise.
31680 [C99-based-standards] (PRIXLEAST8): Likewise.
31681 [C99-based-standards] (SCNdLEAST8): Likewise.
31682 [C99-based-standards] (SCNiLEAST8): Likewise.
31683 [C99-based-standards] (SCNoLEAST8): Likewise.
31684 [C99-based-standards] (SCNuLEAST8): Likewise.
31685 [C99-based-standards] (SCNxLEAST8): Likewise.
31686 [C99-based-standards] (PRIdFAST8): Likewise.
31687 [C99-based-standards] (PRIiFAST8): Likewise.
31688 [C99-based-standards] (PRIoFAST8): Likewise.
31689 [C99-based-standards] (PRIuFAST8): Likewise.
31690 [C99-based-standards] (PRIxFAST8): Likewise.
31691 [C99-based-standards] (PRIXFAST8): Likewise.
31692 [C99-based-standards] (SCNdFAST8): Likewise.
31693 [C99-based-standards] (SCNiFAST8): Likewise.
31694 [C99-based-standards] (SCNoFAST8): Likewise.
31695 [C99-based-standards] (SCNuFAST8): Likewise.
31696 [C99-based-standards] (SCNxFAST8): Likewise.
31697 [C99-based-standards] (PRId16): Likewise.
31698 [C99-based-standards] (PRIi16): Likewise.
31699 [C99-based-standards] (PRIo16): Likewise.
31700 [C99-based-standards] (PRIu16): Likewise.
31701 [C99-based-standards] (PRIx16): Likewise.
31702 [C99-based-standards] (PRIX16): Likewise.
31703 [C99-based-standards] (SCNd16): Likewise.
31704 [C99-based-standards] (SCNi16): Likewise.
31705 [C99-based-standards] (SCNo16): Likewise.
31706 [C99-based-standards] (SCNu16): Likewise.
31707 [C99-based-standards] (SCNx16): Likewise.
31708 [C99-based-standards] (PRIdLEAST16): Likewise.
31709 [C99-based-standards] (PRIiLEAST16): Likewise.
31710 [C99-based-standards] (PRIoLEAST16): Likewise.
31711 [C99-based-standards] (PRIuLEAST16): Likewise.
31712 [C99-based-standards] (PRIxLEAST16): Likewise.
31713 [C99-based-standards] (PRIXLEAST16): Likewise.
31714 [C99-based-standards] (SCNdLEAST16): Likewise.
31715 [C99-based-standards] (SCNiLEAST16): Likewise.
31716 [C99-based-standards] (SCNoLEAST16): Likewise.
31717 [C99-based-standards] (SCNuLEAST16): Likewise.
31718 [C99-based-standards] (SCNxLEAST16): Likewise.
31719 [C99-based-standards] (PRIdFAST16): Likewise.
31720 [C99-based-standards] (PRIiFAST16): Likewise.
31721 [C99-based-standards] (PRIoFAST16): Likewise.
31722 [C99-based-standards] (PRIuFAST16): Likewise.
31723 [C99-based-standards] (PRIxFAST16): Likewise.
31724 [C99-based-standards] (PRIXFAST16): Likewise.
31725 [C99-based-standards] (SCNdFAST16): Likewise.
31726 [C99-based-standards] (SCNiFAST16): Likewise.
31727 [C99-based-standards] (SCNoFAST16): Likewise.
31728 [C99-based-standards] (SCNuFAST16): Likewise.
31729 [C99-based-standards] (SCNxFAST16): Likewise.
31730 [C99-based-standards] (PRId32): Likewise.
31731 [C99-based-standards] (PRIi32): Likewise.
31732 [C99-based-standards] (PRIo32): Likewise.
31733 [C99-based-standards] (PRIu32): Likewise.
31734 [C99-based-standards] (PRIx32): Likewise.
31735 [C99-based-standards] (PRIX32): Likewise.
31736 [C99-based-standards] (SCNd32): Likewise.
31737 [C99-based-standards] (SCNi32): Likewise.
31738 [C99-based-standards] (SCNo32): Likewise.
31739 [C99-based-standards] (SCNu32): Likewise.
31740 [C99-based-standards] (SCNx32): Likewise.
31741 [C99-based-standards] (PRIdLEAST32): Likewise.
31742 [C99-based-standards] (PRIiLEAST32): Likewise.
31743 [C99-based-standards] (PRIoLEAST32): Likewise.
31744 [C99-based-standards] (PRIuLEAST32): Likewise.
31745 [C99-based-standards] (PRIxLEAST32): Likewise.
31746 [C99-based-standards] (PRIXLEAST32): Likewise.
31747 [C99-based-standards] (SCNdLEAST32): Likewise.
31748 [C99-based-standards] (SCNiLEAST32): Likewise.
31749 [C99-based-standards] (SCNoLEAST32): Likewise.
31750 [C99-based-standards] (SCNuLEAST32): Likewise.
31751 [C99-based-standards] (SCNxLEAST32): Likewise.
31752 [C99-based-standards] (PRIdFAST32): Likewise.
31753 [C99-based-standards] (PRIiFAST32): Likewise.
31754 [C99-based-standards] (PRIoFAST32): Likewise.
31755 [C99-based-standards] (PRIuFAST32): Likewise.
31756 [C99-based-standards] (PRIxFAST32): Likewise.
31757 [C99-based-standards] (PRIXFAST32): Likewise.
31758 [C99-based-standards] (SCNdFAST32): Likewise.
31759 [C99-based-standards] (SCNiFAST32): Likewise.
31760 [C99-based-standards] (SCNoFAST32): Likewise.
31761 [C99-based-standards] (SCNuFAST32): Likewise.
31762 [C99-based-standards] (SCNxFAST32): Likewise.
31763 [C99-based-standards] (PRId64): Likewise.
31764 [C99-based-standards] (PRIi64): Likewise.
31765 [C99-based-standards] (PRIo64): Likewise.
31766 [C99-based-standards] (PRIu64): Likewise.
31767 [C99-based-standards] (PRIx64): Likewise.
31768 [C99-based-standards] (PRIX64): Likewise.
31769 [C99-based-standards] (SCNd64): Likewise.
31770 [C99-based-standards] (SCNi64): Likewise.
31771 [C99-based-standards] (SCNo64): Likewise.
31772 [C99-based-standards] (SCNu64): Likewise.
31773 [C99-based-standards] (SCNx64): Likewise.
31774 [C99-based-standards] (PRIdLEAST64): Likewise.
31775 [C99-based-standards] (PRIiLEAST64): Likewise.
31776 [C99-based-standards] (PRIoLEAST64): Likewise.
31777 [C99-based-standards] (PRIuLEAST64): Likewise.
31778 [C99-based-standards] (PRIxLEAST64): Likewise.
31779 [C99-based-standards] (PRIXLEAST64): Likewise.
31780 [C99-based-standards] (SCNdLEAST64): Likewise.
31781 [C99-based-standards] (SCNiLEAST64): Likewise.
31782 [C99-based-standards] (SCNoLEAST64): Likewise.
31783 [C99-based-standards] (SCNuLEAST64): Likewise.
31784 [C99-based-standards] (SCNxLEAST64): Likewise.
31785 [C99-based-standards] (PRIdFAST64): Likewise.
31786 [C99-based-standards] (PRIiFAST64): Likewise.
31787 [C99-based-standards] (PRIoFAST64): Likewise.
31788 [C99-based-standards] (PRIuFAST64): Likewise.
31789 [C99-based-standards] (PRIxFAST64): Likewise.
31790 [C99-based-standards] (PRIXFAST64): Likewise.
31791 [C99-based-standards] (SCNdFAST64): Likewise.
31792 [C99-based-standards] (SCNiFAST64): Likewise.
31793 [C99-based-standards] (SCNoFAST64): Likewise.
31794 [C99-based-standards] (SCNuFAST64): Likewise.
31795 [C99-based-standards] (SCNxFAST64): Likewise.
31796 [C99-based-standards] (PRIdMAX): Likewise.
31797 [C99-based-standards] (PRIiMAX): Likewise.
31798 [C99-based-standards] (PRIoMAX): Likewise.
31799 [C99-based-standards] (PRIuMAX): Likewise.
31800 [C99-based-standards] (PRIxMAX): Likewise.
31801 [C99-based-standards] (PRIXMAX): Likewise.
31802 [C99-based-standards] (SCNdMAX): Likewise.
31803 [C99-based-standards] (SCNiMAX): Likewise.
31804 [C99-based-standards] (SCNoMAX): Likewise.
31805 [C99-based-standards] (SCNuMAX): Likewise.
31806 [C99-based-standards] (SCNxMAX): Likewise.
31807 [C99-based-standards] (PRIdPTR): Likewise.
31808 [C99-based-standards] (PRIiPTR): Likewise.
31809 [C99-based-standards] (PRIoPTR): Likewise.
31810 [C99-based-standards] (PRIuPTR): Likewise.
31811 [C99-based-standards] (PRIxPTR): Likewise.
31812 [C99-based-standards] (PRIXPTR): Likewise.
31813 [C99-based-standards] (SCNdPTR): Likewise.
31814 [C99-based-standards] (SCNiPTR): Likewise.
31815 [C99-based-standards] (SCNoPTR): Likewise.
31816 [C99-based-standards] (SCNuPTR): Likewise.
31817 [C99-based-standards] (SCNxPTR): Likewise.
31818 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31819 allow.
31820 * conform/data/stdint.h-data: Update comments to clarify
31821 requirements.
31822 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31823 type.
31824 [C99-based standards] (INT8_MAX): Likewise.
31825 [C99-based standards] (INT16_MIN): Likewise.
31826 [C99-based standards] (INT16_MAX): Likewise.
31827 [C99-based standards] (INT32_MIN): Likewise.
31828 [C99-based standards] (INT32_MAX): Likewise.
31829 [C99-based standards] (INT64_MIN): Likewise.
31830 [C99-based standards] (INT64_MAX): Likewise.
31831 [C99-based standards] (UINT8_MAX): Likewise.
31832 [C99-based standards] (UINT16_MAX): Likewise.
31833 [C99-based standards] (UINT32_MAX): Likewise.
31834 [C99-based standards] (UINT64_MAX): Likewise.
31835 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31836 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31837 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31838 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31839 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31840 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31841 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31842 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31843 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31844 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31845 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31846 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31847 [C99-based standards] (INT_FAST8_MIN): Likewise.
31848 [C99-based standards] (INT_FAST8_MAX): Likewise.
31849 [C99-based standards] (INT_FAST16_MIN): Likewise.
31850 [C99-based standards] (INT_FAST16_MAX): Likewise.
31851 [C99-based standards] (INT_FAST32_MIN): Likewise.
31852 [C99-based standards] (INT_FAST32_MAX): Likewise.
31853 [C99-based standards] (INT_FAST64_MIN): Likewise.
31854 [C99-based standards] (INT_FAST64_MAX): Likewise.
31855 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31856 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31857 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31858 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31859 [C99-based standards] (INTPTR_MIN): Likewise.
31860 [C99-based standards] (INTPTR_MAX): Likewise.
31861 [C99-based standards] (UINTPTR_MAX): Likewise.
31862 [C99-based standards] (INTMAX_MIN): Likewise.
31863 [C99-based standards] (INTMAX_MAX): Likewise.
31864 [C99-based standards] (UINTMAX_MAX): Likewise.
31865 [C99-based standards] (PTRDIFF_MIN): Likewise.
31866 [C99-based standards] (PTRDIFF_MAX): Likewise.
31867 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31868 [C99-based standards] (SIZE_MAX): Likewise.
31869 [C99-based standards] (WCHAR_MAX): Likewise.
31870 [C99-based standards] (WINT_MAX): Likewise.
31871 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31872 constraint on value.
31873 [C99-based standards] (WCHAR_MIN): Likewise.
31874 [C99-based standards] (WINT_MIN): Likewise.
31875 [C99-based standards] (*_t): Allow.
31876 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31877 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31878 Include math.h-data and complex.h-data. Remove all expectations
31879 of math.h and complex.h contents.
31880 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31881 at end of line.
31882 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31883 (struct tm): Expect tag.
31884 [C99-based-standards] (wcstof): Expect function.
31885 [C99-based-standards] (wcstold): Likewise.
31886 [C99-based-standards] (wcstoll): Likewise.
31887 [C99-based-standards] (wcstoull): Likewise.
31888 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31889 macro-int-constant. Specify type.
31890 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31891 constraint on value.
31892 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31893 Specify type.
31894 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31895 Specify value.
31896 [ISO C standards]: Do not allow headers.
31897 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31898 wcs[abcdefghijklmnopqrstuvwxyz]*.
31899 [ISO C standards] (*_t): Do not allow.
31900 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31901 Expect function.
31902 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31903 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31904 Specify type.
31905 [ISO C standards]: Do not allow headers.
31906 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31907 is[abcdefghijklmnopqrstuvwxyz]*.
31908 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31909 to[abcdefghijklmnopqrstuvwxyz]*.
31910 [ISO C standards] (*_t): Do not allow.
31911 * conform/data/stdalign.h-data: New file.
31912 * conform/data/stdbool.h-data: Likewise.
31913 * conform/data/stdnoreturn.h-data: Likewise.
31914
7514feb8
RM
319152012-11-07 Roland McGrath <roland@hack.frob.com>
31916
31917 [BZ #14815]
31918 * manual/filesys.texi (Directory Entries): Typo fix.
31919 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31920
19b2ecfc
MS
319212012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31922
31923 * elf/elf.h (EM_AARCH64): New macro.
31924 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31925 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31926 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31927 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31928 (R_AARCH64_TLSDESC): Likewise.
31929 (NT_ARM_TLS): Likewise.
31930 (NT_ARM_HW_BREAK): Likewise.
31931 (NT_ARM_HW_WATCH): Likewise.
31932
60e235ee
JM
319332012-11-07 Joseph Myers <joseph@codesourcery.com>
31934
31935 [BZ #14811]
31936 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31937 (__ieee754_powl): Saturate nonzero exponents with absolute value
31938 below 0x1p-79 to +/- 0x1p-79.
31939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31940 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31941 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31942 nonzero exponents with absolute value below 0x1p-32 to +/-
31943 0x1p-32.
31944 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31945 (__ieee754_powl): Saturate nonzero exponents with absolute value
31946 below 0x1p-79 to +/- 0x1p-79.
31947 * math/libm-test.inc (pow_test): Add more tests.
31948
0ab234b7
AK
319492012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31950
31951 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31952 _dl_s390_cap_flags with kernel. Increase string length.
31953 (_dl_s390_platforms): Add z196 and zEC12.
31954
45832f74
JM
319552012-11-07 Joseph Myers <joseph@codesourcery.com>
31956
31957 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31958 Change XOPEN21K to XOPEN2K.
31959
19218757
MK
319602012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31961
31962 * string/memmove.c: Use memcpy when possible.
31963
c5f45721
AJ
319642012-11-06 Andreas Jaeger <aj@suse.de>
31965
31966 * po/eo.po: Update from translation team.
31967
82477c28
JM
319682012-11-06 Joseph Myers <joseph@codesourcery.com>
31969
31970 [BZ #14793]
31971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31972 exponent and small x and y exponents, scale x or y up. Increase
31973 by 2 the exponent used in scaling up.
31974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31976 * math/libm-test.inc (fma_test): Add more tests.
31977 (fma_test_towardzero): Likewise.
31978 (fma_test_downward): Likewise.
31979 (fma_test_upward): Likewise.
31980
99252c8c
JM
319812012-11-05 Joseph Myers <joseph@codesourcery.com>
31982
acfa885f
JM
31983 [BZ #14805]
31984 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31985 fenv_t *.
31986
99252c8c
JM
31987 [BZ #14801]
31988 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31989 namespace for names of struct fields.
31990 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31991 fenv_t fields.
31992 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31993 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31994
d6d98dea
ST
319952012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31996
31997 [BZ #3665]
31998 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31999
e10bb107
TS
320002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32001
32002 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32003 PTR_DEMANGLE.
32004
32005 [BZ #5246]
32006 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32007 PTR_DEMANGLE.
32008
a0c2940d
JM
320092012-11-04 Joseph Myers <joseph@codesourcery.com>
32010
32011 [BZ #14797]
32012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32013 definitely overflow as x * y not x * y + z.
32014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32016 * math/libm-test.inc (fma_test): Add more tests.
32017 (fma_test_towardzero): Likewise.
32018 (fma_test_downward): Likewise.
32019 (fma_test_upward): Likewise.
32020
b830319d
TS
320212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32022
32023 [BZ #157]
32024
32025 * include/stub-tag.h: Remove file.
32026 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32027 '#include' of it.
32028 * manual/maint.texi (Porting): Don't reference it.
32029 * Makerules ($(objpfx)stubs): Likewise.
32030 * dirent/closedir.c: Don't include <stub-tag.h>.
32031 * dirent/dirfd.c: Likewise.
32032 * dirent/fdopendir.c: Likewise.
32033 * dirent/getdents.c: Likewise.
32034 * dirent/getdents64.c: Likewise.
32035 * dirent/opendir.c: Likewise.
32036 * dirent/readdir.c: Likewise.
32037 * dirent/readdir64.c: Likewise.
32038 * dirent/readdir64_r.c: Likewise.
32039 * dirent/readdir_r.c: Likewise.
32040 * dirent/rewinddir.c: Likewise.
32041 * dirent/seekdir.c: Likewise.
32042 * dirent/telldir.c: Likewise.
32043 * gmon/profil.c: Likewise.
32044 * grp/setgroups.c: Likewise.
32045 * inet/if_index.c: Likewise.
32046 * io/access.c: Likewise.
32047 * io/chdir.c: Likewise.
32048 * io/chmod.c: Likewise.
32049 * io/chown.c: Likewise.
32050 * io/close.c: Likewise.
32051 * io/dup.c: Likewise.
32052 * io/dup2.c: Likewise.
32053 * io/dup3.c: Likewise.
32054 * io/euidaccess.c: Likewise.
32055 * io/faccessat.c: Likewise.
32056 * io/fchdir.c: Likewise.
32057 * io/fchmod.c: Likewise.
32058 * io/fchmodat.c: Likewise.
32059 * io/fchown.c: Likewise.
32060 * io/fchownat.c: Likewise.
32061 * io/fcntl.c: Likewise.
32062 * io/flock.c: Likewise.
32063 * io/fstatfs.c: Likewise.
32064 * io/fstatfs64.c: Likewise.
32065 * io/fstatvfs.c: Likewise.
32066 * io/fstatvfs64.c: Likewise.
32067 * io/futimens.c: Likewise.
32068 * io/fxstat.c: Likewise.
32069 * io/fxstat64.c: Likewise.
32070 * io/fxstatat.c: Likewise.
32071 * io/fxstatat64.c: Likewise.
32072 * io/getcwd.c: Likewise.
32073 * io/isatty.c: Likewise.
32074 * io/lchmod.c: Likewise.
32075 * io/lchown.c: Likewise.
32076 * io/link.c: Likewise.
32077 * io/linkat.c: Likewise.
32078 * io/lseek.c: Likewise.
32079 * io/lseek64.c: Likewise.
32080 * io/lxstat64.c: Likewise.
32081 * io/mkdir.c: Likewise.
32082 * io/mkdirat.c: Likewise.
32083 * io/mkfifo.c: Likewise.
32084 * io/mkfifoat.c: Likewise.
32085 * io/open.c: Likewise.
32086 * io/open64.c: Likewise.
32087 * io/openat.c: Likewise.
32088 * io/openat64.c: Likewise.
32089 * io/pipe.c: Likewise.
32090 * io/pipe2.c: Likewise.
32091 * io/poll.c: Likewise.
32092 * io/posix_fadvise.c: Likewise.
32093 * io/posix_fadvise64.c: Likewise.
32094 * io/posix_fallocate.c: Likewise.
32095 * io/posix_fallocate64.c: Likewise.
32096 * io/read.c: Likewise.
32097 * io/readlink.c: Likewise.
32098 * io/readlinkat.c: Likewise.
32099 * io/rmdir.c: Likewise.
32100 * io/sendfile.c: Likewise.
32101 * io/sendfile64.c: Likewise.
32102 * io/statfs.c: Likewise.
32103 * io/statfs64.c: Likewise.
32104 * io/statvfs.c: Likewise.
32105 * io/statvfs64.c: Likewise.
32106 * io/symlink.c: Likewise.
32107 * io/symlinkat.c: Likewise.
32108 * io/ttyname.c: Likewise.
32109 * io/ttyname_r.c: Likewise.
32110 * io/umask.c: Likewise.
32111 * io/unlink.c: Likewise.
32112 * io/unlinkat.c: Likewise.
32113 * io/utime.c: Likewise.
32114 * io/utimensat.c: Likewise.
32115 * io/write.c: Likewise.
32116 * io/xmknod.c: Likewise.
32117 * io/xmknodat.c: Likewise.
32118 * io/xstat.c: Likewise.
32119 * io/xstat64.c: Likewise.
32120 * login/getpt.c: Likewise.
32121 * login/grantpt.c: Likewise.
32122 * login/unlockpt.c: Likewise.
32123 * math/e_acoshl.c: Likewise.
32124 * math/e_acosl.c: Likewise.
32125 * math/e_asinl.c: Likewise.
32126 * math/e_atan2l.c: Likewise.
32127 * math/e_atanhl.c: Likewise.
32128 * math/e_coshl.c: Likewise.
32129 * math/e_expl.c: Likewise.
32130 * math/e_fmodl.c: Likewise.
32131 * math/e_gammal_r.c: Likewise.
32132 * math/e_hypotl.c: Likewise.
32133 * math/e_j0l.c: Likewise.
32134 * math/e_j1l.c: Likewise.
32135 * math/e_jnl.c: Likewise.
32136 * math/e_lgammal_r.c: Likewise.
32137 * math/e_log10l.c: Likewise.
32138 * math/e_log2l.c: Likewise.
32139 * math/e_logl.c: Likewise.
32140 * math/e_powl.c: Likewise.
32141 * math/e_rem_pio2l.c: Likewise.
32142 * math/e_sinhl.c: Likewise.
32143 * math/e_sqrtl.c: Likewise.
32144 * math/fclrexcpt.c: Likewise.
32145 * math/fedisblxcpt.c: Likewise.
32146 * math/feenablxcpt.c: Likewise.
32147 * math/fegetenv.c: Likewise.
32148 * math/fegetexcept.c: Likewise.
32149 * math/fegetround.c: Likewise.
32150 * math/feholdexcpt.c: Likewise.
32151 * math/fesetenv.c: Likewise.
32152 * math/fesetround.c: Likewise.
32153 * math/feupdateenv.c: Likewise.
32154 * math/fgetexcptflg.c: Likewise.
32155 * math/fraiseexcpt.c: Likewise.
32156 * math/fsetexcptflg.c: Likewise.
32157 * math/ftestexcept.c: Likewise.
32158 * math/k_cosl.c: Likewise.
32159 * math/k_rem_pio2l.c: Likewise.
32160 * math/k_sinl.c: Likewise.
32161 * math/k_tanl.c: Likewise.
32162 * math/s_asinhl.c: Likewise.
32163 * math/s_atanl.c: Likewise.
32164 * math/s_cbrtl.c: Likewise.
32165 * math/s_erfl.c: Likewise.
32166 * math/s_expm1l.c: Likewise.
32167 * math/s_log1pl.c: Likewise.
32168 * math/s_tanhl.c: Likewise.
32169 * misc/acct.c: Likewise.
32170 * misc/brk.c: Likewise.
32171 * misc/chflags.c: Likewise.
32172 * misc/chroot.c: Likewise.
32173 * misc/fchflags.c: Likewise.
32174 * misc/fgetxattr.c: Likewise.
32175 * misc/flistxattr.c: Likewise.
32176 * misc/fremovexattr.c: Likewise.
32177 * misc/fsetxattr.c: Likewise.
32178 * misc/fsync.c: Likewise.
32179 * misc/ftruncate.c: Likewise.
32180 * misc/futimes.c: Likewise.
32181 * misc/futimesat.c: Likewise.
32182 * misc/getdomain.c: Likewise.
32183 * misc/getdtsz.c: Likewise.
32184 * misc/gethostid.c: Likewise.
32185 * misc/gethostname.c: Likewise.
32186 * misc/getloadavg.c: Likewise.
32187 * misc/getpagesize.c: Likewise.
32188 * misc/getsysstats.c: Likewise.
32189 * misc/getxattr.c: Likewise.
32190 * misc/gtty.c: Likewise.
32191 * misc/ioctl.c: Likewise.
32192 * misc/lgetxattr.c: Likewise.
32193 * misc/listxattr.c: Likewise.
32194 * misc/llistxattr.c: Likewise.
32195 * misc/lremovexattr.c: Likewise.
32196 * misc/lsetxattr.c: Likewise.
32197 * misc/lutimes.c: Likewise.
32198 * misc/madvise.c: Likewise.
32199 * misc/mincore.c: Likewise.
32200 * misc/mlock.c: Likewise.
32201 * misc/mlockall.c: Likewise.
32202 * misc/mmap.c: Likewise.
32203 * misc/mprotect.c: Likewise.
32204 * misc/msync.c: Likewise.
32205 * misc/munlock.c: Likewise.
32206 * misc/munlockall.c: Likewise.
32207 * misc/munmap.c: Likewise.
32208 * misc/preadv.c: Likewise.
32209 * misc/preadv64.c: Likewise.
32210 * misc/ptrace.c: Likewise.
32211 * misc/pwritev.c: Likewise.
32212 * misc/pwritev64.c: Likewise.
32213 * misc/readv.c: Likewise.
32214 * misc/reboot.c: Likewise.
32215 * misc/remap_file_pages.c: Likewise.
32216 * misc/removexattr.c: Likewise.
32217 * misc/revoke.c: Likewise.
32218 * misc/select.c: Likewise.
32219 * misc/setdomain.c: Likewise.
32220 * misc/setegid.c: Likewise.
32221 * misc/seteuid.c: Likewise.
32222 * misc/sethostid.c: Likewise.
32223 * misc/sethostname.c: Likewise.
32224 * misc/setregid.c: Likewise.
32225 * misc/setreuid.c: Likewise.
32226 * misc/setxattr.c: Likewise.
32227 * misc/sstk.c: Likewise.
32228 * misc/stty.c: Likewise.
32229 * misc/swapoff.c: Likewise.
32230 * misc/swapon.c: Likewise.
32231 * misc/sync.c: Likewise.
32232 * misc/syncfs.c: Likewise.
32233 * misc/syscall.c: Likewise.
32234 * misc/truncate.c: Likewise.
32235 * misc/ualarm.c: Likewise.
32236 * misc/usleep.c: Likewise.
32237 * misc/ustat.c: Likewise.
32238 * misc/utimes.c: Likewise.
32239 * misc/vhangup.c: Likewise.
32240 * misc/writev.c: Likewise.
32241 * posix/_exit.c: Likewise.
32242 * posix/alarm.c: Likewise.
32243 * posix/execve.c: Likewise.
32244 * posix/fexecve.c: Likewise.
32245 * posix/fork.c: Likewise.
32246 * posix/fpathconf.c: Likewise.
32247 * posix/getaddrinfo.c: Likewise.
32248 * posix/getegid.c: Likewise.
32249 * posix/geteuid.c: Likewise.
32250 * posix/getgid.c: Likewise.
32251 * posix/getgroups.c: Likewise.
32252 * posix/getlogin.c: Likewise.
32253 * posix/getlogin_r.c: Likewise.
32254 * posix/getpgid.c: Likewise.
32255 * posix/getpid.c: Likewise.
32256 * posix/getppid.c: Likewise.
32257 * posix/getresgid.c: Likewise.
32258 * posix/getresuid.c: Likewise.
32259 * posix/getsid.c: Likewise.
32260 * posix/getuid.c: Likewise.
32261 * posix/glob64.c: Likewise.
32262 * posix/nanosleep.c: Likewise.
32263 * posix/pathconf.c: Likewise.
32264 * posix/pause.c: Likewise.
32265 * posix/posix_madvise.c: Likewise.
32266 * posix/pread.c: Likewise.
32267 * posix/pread64.c: Likewise.
32268 * posix/pwrite.c: Likewise.
32269 * posix/pwrite64.c: Likewise.
32270 * posix/sched_getaffinity.c: Likewise.
32271 * posix/sched_getp.c: Likewise.
32272 * posix/sched_gets.c: Likewise.
32273 * posix/sched_primax.c: Likewise.
32274 * posix/sched_primin.c: Likewise.
32275 * posix/sched_rr_gi.c: Likewise.
32276 * posix/sched_setaffinity.c: Likewise.
32277 * posix/sched_setp.c: Likewise.
32278 * posix/sched_sets.c: Likewise.
32279 * posix/sched_yield.c: Likewise.
32280 * posix/setgid.c: Likewise.
32281 * posix/setlogin.c: Likewise.
32282 * posix/setpgid.c: Likewise.
32283 * posix/setresgid.c: Likewise.
32284 * posix/setresuid.c: Likewise.
32285 * posix/setsid.c: Likewise.
32286 * posix/setuid.c: Likewise.
32287 * posix/sleep.c: Likewise.
32288 * posix/spawni.c: Likewise.
32289 * posix/sysconf.c: Likewise.
32290 * posix/times.c: Likewise.
32291 * posix/wait.c: Likewise.
32292 * posix/wait3.c: Likewise.
32293 * posix/wait4.c: Likewise.
32294 * posix/waitpid.c: Likewise.
32295 * resolv/gai_sigqueue.c: Likewise.
32296 * resource/getpriority.c: Likewise.
32297 * resource/getrlimit.c: Likewise.
32298 * resource/getrusage.c: Likewise.
32299 * resource/nice.c: Likewise.
32300 * resource/setpriority.c: Likewise.
32301 * resource/setrlimit.c: Likewise.
32302 * resource/ulimit.c: Likewise.
32303 * rt/aio_cancel.c: Likewise.
32304 * rt/aio_fsync.c: Likewise.
32305 * rt/aio_read.c: Likewise.
32306 * rt/aio_sigqueue.c: Likewise.
32307 * rt/aio_suspend.c: Likewise.
32308 * rt/aio_write.c: Likewise.
32309 * rt/clock_getres.c: Likewise.
32310 * rt/clock_gettime.c: Likewise.
32311 * rt/clock_nanosleep.c: Likewise.
32312 * rt/clock_settime.c: Likewise.
32313 * rt/lio_listio.c: Likewise.
32314 * rt/mq_close.c: Likewise.
32315 * rt/mq_getattr.c: Likewise.
32316 * rt/mq_notify.c: Likewise.
32317 * rt/mq_open.c: Likewise.
32318 * rt/mq_receive.c: Likewise.
32319 * rt/mq_send.c: Likewise.
32320 * rt/mq_setattr.c: Likewise.
32321 * rt/mq_timedreceive.c: Likewise.
32322 * rt/mq_timedsend.c: Likewise.
32323 * rt/mq_unlink.c: Likewise.
32324 * rt/shm_open.c: Likewise.
32325 * rt/shm_unlink.c: Likewise.
32326 * rt/timer_create.c: Likewise.
32327 * rt/timer_delete.c: Likewise.
32328 * rt/timer_getoverr.c: Likewise.
32329 * rt/timer_gettime.c: Likewise.
32330 * rt/timer_settime.c: Likewise.
32331 * setjmp/__longjmp.c: Likewise.
32332 * setjmp/setjmp.c: Likewise.
32333 * signal/kill.c: Likewise.
32334 * signal/killpg.c: Likewise.
32335 * signal/raise.c: Likewise.
32336 * signal/sigaction.c: Likewise.
32337 * signal/sigaltstack.c: Likewise.
32338 * signal/sigblock.c: Likewise.
32339 * signal/sigignore.c: Likewise.
32340 * signal/sigintr.c: Likewise.
32341 * signal/signal.c: Likewise.
32342 * signal/sigpause.c: Likewise.
32343 * signal/sigpending.c: Likewise.
32344 * signal/sigqueue.c: Likewise.
32345 * signal/sigreturn.c: Likewise.
32346 * signal/sigset.c: Likewise.
32347 * signal/sigsetmask.c: Likewise.
32348 * signal/sigstack.c: Likewise.
32349 * signal/sigsuspend.c: Likewise.
32350 * signal/sigtimedwait.c: Likewise.
32351 * signal/sigvec.c: Likewise.
32352 * signal/sigwait.c: Likewise.
32353 * signal/sigwaitinfo.c: Likewise.
32354 * signal/sysv_signal.c: Likewise.
32355 * socket/accept.c: Likewise.
32356 * socket/accept4.c: Likewise.
32357 * socket/bind.c: Likewise.
32358 * socket/connect.c: Likewise.
32359 * socket/getpeername.c: Likewise.
32360 * socket/getsockname.c: Likewise.
32361 * socket/getsockopt.c: Likewise.
32362 * socket/isfdtype.c: Likewise.
32363 * socket/listen.c: Likewise.
32364 * socket/recv.c: Likewise.
32365 * socket/recvfrom.c: Likewise.
32366 * socket/recvmsg.c: Likewise.
32367 * socket/send.c: Likewise.
32368 * socket/sendmsg.c: Likewise.
32369 * socket/sendto.c: Likewise.
32370 * socket/setsockopt.c: Likewise.
32371 * socket/shutdown.c: Likewise.
32372 * socket/sockatmark.c: Likewise.
32373 * socket/socket.c: Likewise.
32374 * socket/socketpair.c: Likewise.
32375 * stdio-common/ctermid.c: Likewise.
32376 * stdio-common/cuserid.c: Likewise.
32377 * stdio-common/remove.c: Likewise.
32378 * stdio-common/rename.c: Likewise.
32379 * stdio-common/renameat.c: Likewise.
32380 * stdio-common/tempname.c: Likewise.
32381 * stdlib/getcontext.c: Likewise.
32382 * stdlib/makecontext.c: Likewise.
32383 * stdlib/setcontext.c: Likewise.
32384 * stdlib/swapcontext.c: Likewise.
32385 * stdlib/system.c: Likewise.
32386 * streams/fattach.c: Likewise.
32387 * streams/fdetach.c: Likewise.
32388 * streams/getmsg.c: Likewise.
32389 * streams/getpmsg.c: Likewise.
32390 * streams/putmsg.c: Likewise.
32391 * streams/putpmsg.c: Likewise.
32392 * sysdeps/unix/bsd/getpt.c: Likewise.
32393 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32394 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32395 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32397 Likewise.
32398 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32399 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32400 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32401 * sysvipc/msgctl.c: Likewise.
32402 * sysvipc/msgget.c: Likewise.
32403 * sysvipc/msgrcv.c: Likewise.
32404 * sysvipc/msgsnd.c: Likewise.
32405 * sysvipc/semctl.c: Likewise.
32406 * sysvipc/semget.c: Likewise.
32407 * sysvipc/semop.c: Likewise.
32408 * sysvipc/semtimedop.c: Likewise.
32409 * sysvipc/shmat.c: Likewise.
32410 * sysvipc/shmctl.c: Likewise.
32411 * sysvipc/shmdt.c: Likewise.
32412 * sysvipc/shmget.c: Likewise.
32413 * termios/tcdrain.c: Likewise.
32414 * termios/tcflow.c: Likewise.
32415 * termios/tcflush.c: Likewise.
32416 * termios/tcgetattr.c: Likewise.
32417 * termios/tcgetpgrp.c: Likewise.
32418 * termios/tcsendbrk.c: Likewise.
32419 * termios/tcsetattr.c: Likewise.
32420 * termios/tcsetpgrp.c: Likewise.
32421 * time/adjtime.c: Likewise.
32422 * time/clock.c: Likewise.
32423 * time/getitimer.c: Likewise.
32424 * time/gettimeofday.c: Likewise.
32425 * time/setitimer.c: Likewise.
32426 * time/settimeofday.c: Likewise.
32427 * time/stime.c: Likewise.
32428 * time/time.c: Likewise.
32429
324302012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32431
a20492cf
PT
32432 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32433 /usr/old/bin.
32434
72e182e3
PT
32435 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32436 instead of spaces.
32437 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32438
fbeafede
JM
324392012-11-03 Joseph Myers <joseph@codesourcery.com>
32440
5b5b04d6
JM
32441 [BZ #14796]
32442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32443 FE_TONEAREST before applying Dekker multiplication and Knuth
32444 addition. Clear inexact exceptions and check for exact zero
32445 results afterwards.
32446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32448 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32449 * math/libm-test.inc (fma_test): Add more tests.
32450 (fma_test_towardzero): Likewise.
32451 (fma_test_downward): Likewise.
32452 (fma_test_upward): Likewise.
32453 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32454 function.
32455 (libc_fesetround): New macro.
32456 (libc_fesetroundf): Likewise.
32457 (libc_fesetroundl): Likewise.
32458 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32459 function.
32460 (libc_fesetround_387): Likewise.
32461 (libc_fesetroundf): New macro.
32462 (libc_fesetround): Likewise.
32463 (libc_fesetroundl): Likewise.
32464 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32465 function.
32466 (libc_fesetroundf): New macro.
32467 (libc_fesetround): Likewise.
32468 (libc_fesetroundl): Likewise.
32469 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32470 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32471 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32472 libm_hidden_ver.
32473 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32474 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32475 libm_hidden_def.
32476 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32477 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32478 libm_hidden_ver.
32479 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32480 libm_hidden_def.
32481
fbeafede
JM
32482 [BZ #3439]
32483 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32484 integer constant usable in #if and use that to give value to enum
32485 constant.
32486 (FE_DIVBYZERO): Likewise.
32487 (FE_UNDERFLOW): Likewise.
32488 (FE_OVERFLOW): Likewise.
32489 (FE_INVALID): Likewise.
32490 (FE_INVALID_SNAN): Likewise.
32491 (FE_INVALID_ISI): Likewise.
32492 (FE_INVALID_IDI): Likewise.
32493 (FE_INVALID_ZDZ): Likewise.
32494 (FE_INVALID_IMZ): Likewise.
32495 (FE_INVALID_COMPARE): Likewise.
32496 (FE_INVALID_SOFTWARE): Likewise.
32497 (FE_INVALID_SQRT): Likewise.
32498 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32499 (FE_TONEAREST): Likewise.
32500 (FE_TOWARDZERO): Likewise.
32501 (FE_UPWARD): Likewise.
32502 (FE_DOWNWARD): Likewise.
32503 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32504 (FE_DIVBYZERO): Likewise.
32505 (FE_OVERFLOW): Likewise.
32506 (FE_UNDERFLOW): Likewise.
32507 (FE_INEXACT): Likewise.
32508 (FE_TONEAREST): Likewise.
32509 (FE_DOWNWARD): Likewise.
32510 (FE_UPWARD): Likewise.
32511 (FE_TOWARDZERO): Likewise.
32512 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32513 (FE_UNDERFLOW): Likewise.
32514 (FE_OVERFLOW): Likewise.
32515 (FE_DIVBYZERO): Likewise.
32516 (FE_INVALID): Likewise.
32517 (FE_TONEAREST): Likewise.
32518 (FE_TOWARDZERO): Likewise.
32519 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32520 (FE_OVERFLOW): Likewise.
32521 (FE_UNDERFLOW): Likewise.
32522 (FE_DIVBYZERO): Likewise.
32523 (FE_INEXACT): Likewise.
32524 (FE_TONEAREST): Likewise.
32525 (FE_TOWARDZERO): Likewise.
32526 (FE_UPWARD): Likewise.
32527 (FE_DOWNWARD): Likewise.
32528 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32529 (FE_DIVBYZERO): Likewise.
32530 (FE_OVERFLOW): Likewise.
32531 (FE_UNDERFLOW): Likewise.
32532 (FE_INEXACT): Likewise.
32533 (FE_TONEAREST): Likewise.
32534 (FE_DOWNWARD): Likewise.
32535 (FE_UPWARD): Likewise.
32536 (FE_TOWARDZERO): Likewise.
32537
105ca950
CM
325382012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32539
32540 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32541
a542b389
AS
325422012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32543
32544 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32545 commands. Quote $PWD.
32546 (blacklist_exports): Don't use remove_newlines. Replace "declare
32547 -x" by "export".
32548 (remove_newlines): Remove.
32549
f62c8abc
L
325502012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32551
32552 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32553 * stdlib/stdlib.h (atof): Moved to ...
32554 * include/bits/stdlib-float.h: Here. New file.
32555 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32556 * stdlib/bits/stdlib-float.h: New file.
32557 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32558 -mno-sse -mno-mmx.
32559 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32560 <xmmintrin.h>.
32561
0155d5b2
JM
325622012-11-02 Joseph Myers <joseph@codesourcery.com>
32563
a68d0680
JM
32564 * conform/conformtest.pl (@headers): Add fenv.h.
32565 * conform/data/fenv.h-data: New file.
32566 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32567 include of <math/fenv.h>.
32568
caf7f573
JM
32569 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32570 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32571 && !UNIX98]. Enables tests for XOPEN2K8.
32572 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32573 POSIX2008]: Likewise.
32574
6c073ad6
JM
32575 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32576 (struct rusage): Do not expect type or its members.
32577
0155d5b2
JM
32578 [BZ #3439]
32579 * math/math.h (FP_NAN): Define macro to integer constant usable in
32580 #if and use that to give value to enum constant.
32581 (FP_INFINITE): Likewise.
32582 (FP_ZERO): Likewise.
32583 (FP_SUBNORMAL): Likewise.
32584 (FP_NORMAL): Likewise.
32585
b5dcacb4
AS
325862012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32587
32588 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32589 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32590 arguments.
32591
f7934be8
RM
325922012-11-02 Roland McGrath <roland@hack.frob.com>
32593
32594 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32595 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32596 autoconf-time if not.
32597 * configure.in: Remove AC_PREREQ.
32598
d7d08bde
TMQMF
325992012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32600
32601 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32602 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32603 of the internal implementation.
32604
dcdae19a
JM
326052012-11-02 Joseph Myers <joseph@codesourcery.com>
32606
32607 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32608 except include of <misc/sys/syslog.h>.
32609
d6cffd3e
AS
326102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32611
32612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32613 function returns with a NULL context exit with zero.
32614
b3563932
TMQMF
326152012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32616
32617 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32618
b288a93d
L
326192012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32620
32621 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32622 (run_program_cmd): This.
32623 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32624 (tst_langinfo): New variable. Use it.
32625
a2421a68
SAS
326262012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32627
32628 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32629 floating point opcodes.
32630
6f796e1b
TS
326312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32632
7402596b
TS
32633 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32634 variable.
32635
d0d4f868
TS
32636 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32637
6f796e1b
TS
32638 * sysdeps/mach/hurd/powerpc: Remove directory.
32639 * sysdeps/mach/powerpc: Likewise.
32640
4da224a2
AS
326412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32642
32643 * scripts/check-local-headers.sh: Ignore c++ headers.
32644
341dd673
TS
326452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32646
32647 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32648 __libc_cleanup_region_start argument.
32649
473611b2
JM
326502012-11-01 Joseph Myers <joseph@codesourcery.com>
32651
32652 [BZ #14784]
32653 [BZ #14785]
32654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32655 x * y using scaling, not as x * y + z.
32656 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32658 * math/libm-test.inc (fma_test): Add more tests.
32659 (fma_test_towardzero): Likewise.
32660 (fma_test_downward): Likewise.
32661 (fma_test_upward): Likewise.
32662
4078da3d
TS
326632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32664
32665 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32666
903252aa
JM
326672012-10-31 Joseph Myers <joseph@codesourcery.com>
32668
32669 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32670 New variable.
32671
cbc818d0
TS
326722012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32673
32674 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32675
5a03cb1e
AS
326762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32677
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32679 Fix sort order.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32681 Likewise.
32682
90aff2ff
TMQMF
326832012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32684
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32686 Fix the order of the list for glibc 2.17.
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32688 Likewise.
32689
1818fcb7
AS
326902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32691
32692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32693
ef82f4da
JM
326942012-10-31 Joseph Myers <joseph@codesourcery.com>
32695
16a0e2ec
JM
32696 [BZ #14610]
32697 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32698 for low part of x being zero before using __atanl (y).
32699 * math/libm-test.inc (atan2_test): Add another test.
32700
0eb69512
JM
32701 * manual/install.texi (Configuring and compiling): Document
32702 general use of test-wrapper and test-wrapper-env.
32703 * INSTALL: Regenerated.
32704
ef82f4da
JM
32705 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32706 (__fma): Do not extract and scale down low bits on after-rounding
32707 systems when result rounded to normal precision would have normal
32708 exponent.
32709 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32710 (__fmal): Do not extract and scale down low bits on after-rounding
32711 systems when result rounded to normal precision would have normal
32712 exponent.
32713 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32714 (__fmal): Do not extract and scale down low bits on after-rounding
32715 systems when result rounded to normal precision would have normal
32716 exponent.
32717 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32718 macro.
32719 (fma_test): Add more tests.
32720 (fma_test_towardzero): Likewise.
32721 (fma_test_downward): Likewise.
32722 (fma_test_upward): Likewise.
32723
954ef0d9
L
327242012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32725
32726 * sysdeps/i386/tininess.h: Renamed to ...
32727 * sysdeps/x86/tininess.h: This.
32728 * sysdeps/x86_64/tininess.h: Removed.
32729
df61ffb2
JM
327302012-10-30 Joseph Myers <joseph@codesourcery.com>
32731
32732 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32733 input. Use $(build-program-cmd).
32734 ($(objpfx)tst-array1-static.out): Likewise.
32735 ($(objpfx)tst-array2.out): Likewise.
32736 ($(objpfx)tst-array3.out): Likewise.
32737 ($(objpfx)tst-array4.out): Likewise.
32738 ($(objpfx)tst-array5.out): Likewise.
32739 ($(objpfx)tst-array5-static.out): Likewise.
32740
01767843
CM
327412012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32742
47cc1490
CM
32743 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32744 if defined.
32745
01767843
CM
32746 * nss/nsswitch.h (nss_interface_function): Provide new
32747 macro for use with NSS functions.
32748 * grp/initgroups.c: Use new macro.
32749 * nss/getXXbyYY.c: Likewise.
32750 * nss/getXXbyYY_r.c: Likewise.
32751 * nss/getXXent.c: Likewise.
32752 * nss/getXXent_r.c: Likewise.
32753 * sysdeps/posix/getaddrinfo.c: Likewise.
32754
8321aa97
AJ
327552012-10-30 Andreas Jaeger <aj@suse.de>
32756
32757 * po/ru.po: Update Russion translation from translation project.
32758
2a27fd6d
JM
327592012-10-30 Joseph Myers <joseph@codesourcery.com>
32760
8627a232
JM
32761 [BZ #14152]
32762 [BZ #14783]
32763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32764 result and shift together with sticky bit instead of replicating
32765 round-to-nearest rounding.
32766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32768 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32769 missing underflow exceptions.
32770 (fma_test_towardzero): Add more tests.
32771 (fma_test_downward): Likewise.
32772 (fma_test_upward): Likewise.
32773
2a27fd6d
JM
32774 [BZ #14047]
32775 * sysdeps/generic/tininess.h: New file.
32776 * sysdeps/i386/tininess.h: Likewise.
32777 * sysdeps/sh/tininess.h: Likewise.
32778 * sysdeps/x86_64/tininess.h: Likewise.
32779 * stdlib/tst-strtod-underflow.c: Likewise.
32780 * stdlib/tst-tininess.c: Likewise.
32781 * stdlib/strtod_l.c: Include <tininess.h>.
32782 (round_and_return): Do not set errno for exact underflow cases.
32783 Force an underflow exception when setting errno for underflow.
32784 Determine underflow based on rounding to normal precision if
32785 TININESS_AFTER_ROUNDING.
32786 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32787 ERANGE for exact underflow cases.
32788 * stdlib/Makefile (tests): Add tst-tininess and
32789 tst-strtod-underflow.
32790 ($(objpfx)tst-tininess): Use $(link-libm).
32791 ($(objpfx)tst-strtod-underflow): Likewise.
32792
e7170363
AJ
327932012-10-30 Andreas Jaeger <aj@suse.de>
32794
e5088dc6
AJ
32795 [BZ#14767]
32796 * elf/Makefile (tests): Remove conditional for have-initfini-array
32797 since this is now always required and the variable does not exist
32798 anymore.
32799 (tests-static): Likewise.
32800 (modules-names): Likewise.
32801
e7170363 32802 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
32803
32804 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32805 merged with constructor/destructor.
32806 (init_array): Likewise.
32807 * elf/tst-array2dep.c (fini_array): Likewise.
32808 (init_array): Likewise.
32809
60457d8a
MF
328102012-10-29 Mike Frysinger <vapier@gentoo.org>
32811
32812 * manual/message.texi: Delete @cartouche tags.
32813
8bece752
PT
328142012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32815
94ce799f
PT
32816 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32817 EOPNOTSUPP.
32818 * sysdeps/mach/hurd/fsync.c: Likewise.
32819
8bece752
PT
32820 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32821 [_POSIX_REALTIME_SIGNALS]: Change condition to
32822 [_POSIX_REALTIME_SIGNALS > 0].
32823
86ebe6b1
AJ
328242012-10-27 Andreas Jaeger <aj@suse.de>
32825
32826 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32827 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32829 [__WORDSIZE != 64]: Likewise.
32830
54399c08
L
328312012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32832
32833 * iconvdata/tst-table.sh: Remove ${SHELL}.
32834 * iconvdata/tst-tables.sh: Likewise.
32835
e2211bed
DM
328362012-10-25 David S. Miller <davem@davemloft.net>
32837
32838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32839 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32840 of strtoull.
32841
f303f97c
DM
32842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32843 ifunc-impl-list.c
32844 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32845 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32846 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32847 file.
32848
1e9d84cd
RM
328492012-10-25 Roland McGrath <roland@hack.frob.com>
32850
32851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32852 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32853 __getdirentries.
32854
df381762
JM
328552012-10-25 Joseph Myers <joseph@codesourcery.com>
32856 Jim Blandy <jimb@codesourcery.com>
32857
32858 * scripts/cross-test-ssh.sh: New file.
32859 * manual/install.texi (Configuring and compiling): Document use of
32860 cross-test-ssh.sh.
32861 * INSTALL: Regenerated.
32862
bff64913
PT
328632012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32864
32865 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32866 EOPNOTSUPP.
32867
25fe8932
JM
328682012-10-25 Joseph Myers <joseph@codesourcery.com>
32869
32870 * Makeconfig (run-program-prefix): Fix comment.
32871
cc1290d0
JM
328722012-10-24 Joseph Myers <joseph@codesourcery.com>
32873 Jim Blandy <jimb@codesourcery.com>
32874
32875 * Makeconfig (test-wrapper): New variable,
32876 (test-wrapper-env): Likewise.
32877 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32878 (run-built-tests): Define to yes.
32879 (run-program-prefix): Use $(test-wrapper).
32880 (built-program-cmd): Likewise.
32881 * Rules (make-test-out): Use $(test-wrapper-env) and
32882 $(host-built-program-cmd).
32883 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32884 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32885 tst-pathopt.sh.
32886 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32887 $(test-wrapper-env) to tst-rtld-load-self.sh.
32888 ($(objpfx)order2.out): Use $(test-wrapper).
32889 ($(objpfx)tst-initorder.out): Likewise.
32890 ($(objpfx)tst-initorder2.out): Likewise.
32891 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32892 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32893 (test_wrapper_env): New variable. Use it to run ld.so.
32894 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32895 Use it to run ld.so.
32896 (test_wrapper_env): Likewise.
32897 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32898 $(test-wrapper) to run-iconv-test.sh.
32899 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32900 (ICONV): Use $test_wrapper.
32901 * posix/Makefile ($(objpfx)globtest.out): Pass
32902 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32903 globtest.sh, not $(run-program-prefix).
32904 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32905 (test_wrapper): Likewise.
32906 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32907 set together with run_via_rtld_prefix.
32908 (run_program_prefix): Define in terms of test_wrapper and
32909 run_via_rtld_prefix.
32910
6e6249d0
RM
329112012-10-24 Roland McGrath <roland@hack.frob.com>
32912
32913 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32914 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32915 Targets removed.
32916
32917 [BZ #14743]
32918 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32919 Declare __clock_getres, __clock_gettime, __clock_settime,
32920 __clock_nanosleep, and __clock_getcpuclockid.
32921 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32922 Remove librt_hidden_def (clock_gettime).
32923 * sysdeps/unix/clock_gettime.c: Likewise.
32924 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32925 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32926 * rt/clock_getres.c: Define __clock_getres as an alias.
32927 * sysdeps/posix/clock_getres.c: Likewise.
32928 * rt/clock_settime.c: Define __clock_settime as an alias.
32929 * sysdeps/unix/clock_settime.c: Likewise.
32930 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32931 * sysdeps/unix/clock_nanosleep.c: Likewise.
32932 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32933 * rt/clock-compat.c: New file.
32934 * rt/Makefile (librt-routines): Add clock-compat and move
32935 $(clock-routines) to ...
32936 (routines): ... here, new variable.
32937 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32938 Don't add get_clockfreq here.
32939 * rt/Versions (libc: GLIBC_2.17): New version set.
32940 Add clock_* symbols here.
32941 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32943 (GLIBC_2.17): Add clock_* symbols.
32944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32948 Likewise.
32949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32950 Likewise.
32951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32955 * NEWS: Mention the move.
32956
32957 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32958 Use __open, __read, __close rather than their public counterparts.
32959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32960 (__get_clockfreq_via_cpuinfo): Likewise.
32961 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32962 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32963
32964 * config.h.in (HAVE_IFUNC): New #undef.
32965 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32966 was successful.
32967 * configure: Regenerated.
32968
0cae3f4b
MF
329692012-10-24 Mike Frysinger <vapier@gentoo.org>
32970
32971 * configure.in: Move READELF check to start of file.
32972 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32973 libc_cv_asm_gnu_indirect_function in the process.
32974 * configure: Regenerated.
32975
8175a253
MF
329762012-10-24 Mike Frysinger <vapier@gentoo.org>
32977
32978 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32979 send the output to /dev/null.
32980 (libc_cv_cc_with_libunwind): Likewise.
32981 (libc_cv_as_noexecstack): Likewise.
32982 * configure: Regenerate.
32983
0708a7d1
JM
329842012-10-24 Joseph Myers <joseph@codesourcery.com>
32985
10b40d85
JM
32986 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32987
0708a7d1
JM
32988 * posix/globtest.sh (TMPDIR): Do not set.
32989 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32990 (testout): Likewise.
32991
9fddec1a
AJ
329922012-10-24 Andreas Jaeger <aj@suse.de>
32993
3a8db22f
AJ
32994 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32995 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32996 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32997 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32998 posix_fadvise64, posix_fallocate64.
32999
9fddec1a
AJ
33000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33001 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33002 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33003 Likewise.
33004 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33005 Likewise.
33006 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33007
33008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33009 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33010 <bits/fcntl-linux.h>.
33011 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33012
33013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33014 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33015 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33016 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33017 [__WORDSIZE != 64]: Likewise.
33018
ebfd1bbd
JM
330192012-10-23 Joseph Myers <joseph@codesourcery.com>
33020
03ac099f
JM
33021 * Makeconfig (run-built-tests): New variable.
33022 * Rules [$(cross-compiling) = yes]: Change condition to
33023 [$(run-built-tests) = no].
33024 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33025 to [$(run-built-tests) = yes].
33026 * elf/Makefile [$(cross-compiling) = no]: Likewise
33027 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33028 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33029 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33030 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33031 * io/Makefile [$(cross-compiling) = no]: Likewise.
33032 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33033 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33034 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33035 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33036 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33037 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33038 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33039 * string/Makefile [$(cross-compiling) = no]: Likewise.
33040
ebfd1bbd
JM
33041 * posix/Makefile ($(objpfx)globtest.out): Pass
33042 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33043 $(rtld-installed-name).
33044 * posix/globtest.sh (elf_objpfx): Remove variable.
33045 (rtld_installed_name): Likewise.
33046 (library_path): Likewise.
33047 (run_program_prefix): New variable. Use for running globtest
33048 binary.
33049
166bca24
JB
330502012-10-23 Jim Blandy <jimb@codesourcery.com>
33051 Joseph Myers <joseph@codesourcery.com>
33052
33053 * Makeconfig (host-built-program-cmd): New variable.
33054 * elf/Makefile (tst-stackguard1-ARGS): Use
33055 $(host-built-program-cmd).
33056 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33057 (tst-spawn-ARGS): Likewise.
33058 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33059
88866099
JM
330602012-10-23 Joseph Myers <joseph@codesourcery.com>
33061 Jim Blandy <jimb@codesourcery.com>
33062
33063 * Makeconfig (run-via-rtld-prefix): New variable.
33064 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33065 (built-program-cmd): Likewise.
33066
b4b4c296
AJ
330672012-10-22 Andreas Jaeger <aj@suse.de>
33068
33069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33070 __O_RSYNC if it exists, otherwise to O_SYNC.
33071
6fb54a22
JB
330722012-10-22 Jim Blandy <jimb@codesourcery.com>
33073 Joseph Myers <joseph@codesourcery.com>
33074
33075 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33076 /dev/null.
33077 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33078 from /dev/null
33079 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33080 /dev/null.
33081
481b90b9
AJ
330822012-10-22 Andreas Jaeger <aj@suse.de>
33083
2a0e2669
AJ
33084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33085 Define always.
33086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33087
76e38f9a
AJ
33088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33089 bits/fcntl-linux.h.
33090
7cd37b43
AJ
33091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33092 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33093
481b90b9
AJ
33094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33095 to __O_LARGEFILE.
33096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33097 to __O_LARGEFILE.
33098
aba75984
JB
330992012-10-21 Jim Blandy <jimb@codesourcery.com>
33100 Joseph Myers <joseph@codesourcery.com>
33101
33102 * config.make.in (NM): New variable.
33103
88d4247f
AJ
331042012-10-21 Andreas Jaeger <aj@suse.de>
33105
33106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33107 definitions and declarations that are provided by
33108 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33109
f2eed205
L
331102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33111
33112 [BZ #14683]
33113 * elf/Makefile (tests-static): Add tst-leaks1-static.
33114 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33115 ($(objpfx)tst-leaks1-static): New rule.
33116 ($(objpfx)tst-leaks1-static-mem): Likewise.
33117 (tst-leaks1-static-ENV): New macro.
33118 * elf/dl-open.c (dl_open_worker): Check the main application
33119 only if SHARED is defined.
33120 * elf/tst-leaks1-static.c: New file.
33121
335e6931
AJ
331222012-10-20 Andreas Jaeger <aj@suse.de>
33123
33124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33125 generic values for Linux.
33126 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33127 and declarations that are provided by <bits/fcntl-linux.h> and
33128 include <bits/fcntl-linux.h>.
33129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33131
ac5c94d3
RM
331322012-10-20 Roland McGrath <roland@hack.frob.com>
33133
33134 * io/fcntl.h: Move include of <bits/types.h> to the top and
33135 include it unconditionally.
33136
de54b33a
L
331372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33138
228cfb01
L
33139 * wcsmbs/Makefile (tests-ifunc): New variable.
33140 (tests): Add $(tests-ifunc).
33141 * wcsmbs/test-wcschr-ifunc.c: New file.
33142 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33143 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33144 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33145 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33146 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33147
69f07e5f
L
33148 * string/Makefile (tests-ifunc): New variable.
33149 (tests): Add $(tests-ifunc).
33150 * string/test-memccpy.c (TEST_NAME): New macro.
33151 * string/test-memchr.c (TEST_NAME): Likewise.
33152 * string/test-memcmp.c (TEST_NAME): Likewise.
33153 * string/test-memcpy.c (TEST_NAME): Likewise.
33154 * string/test-memmem.c (TEST_NAME): Likewise.
33155 * string/test-memmove.c (TEST_NAME): Likewise.
33156 * string/test-memset.c (TEST_NAME): Likewise.
33157 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33158 * string/test-stpcpy.c (TEST_NAME): Likewise.
33159 * string/test-stpncpy.c (TEST_NAME): Likewise.
33160 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33161 * string/test-strcasestr.c (TEST_NAME): Likewise.
33162 * string/test-strcat.c (TEST_NAME): Likewise.
33163 * string/test-strchr.c (TEST_NAME): Likewise.
33164 * string/test-strcmp.c(TEST_NAME): Likewise.
33165 * string/test-strcpy.c (TEST_NAME): Likewise.
33166 * string/test-strcspn.c (TEST_NAME): Likewise.
33167 * string/test-strlen.c (TEST_NAME): Likewise.
33168 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33169 * string/test-strncmp.c (TEST_NAME): Likewise.
33170 * string/test-strncpy.c (TEST_NAME): Likewise.
33171 * string/test-strnlen.c (TEST_NAME): Likewise.
33172 * string/test-strpbrk.c (TEST_NAME): Likewise.
33173 * string/test-strrchr.c (TEST_NAME): Likewise.
33174 * string/test-strspn.c (TEST_NAME): Likewise.
33175 * string/test-strstr.c (TEST_NAME): Likewise.
33176 * string/test-bcopy-ifunc.c: New file.
33177 * string/test-bzero-ifunc.c: Likewise.
33178 * string/test-memccpy-ifunc.c: Likewise.
33179 * string/test-memchr-ifunc.c: Likewise.
33180 * string/test-memcmp-ifunc.c: Likewise.
33181 * string/test-memcpy-ifunc.c: Likewise.
33182 * string/test-memmem-ifunc.c: Likewise.
33183 * string/test-memmove-ifunc.c: Likewise.
33184 * string/test-mempcpy-ifunc.c: Likewise.
33185 * string/test-memset-ifunc.c: Likewise.
33186 * string/test-rawmemchr-ifunc.c: Likewise.
33187 * string/test-stpcpy-ifunc.c: Likewise.
33188 * string/test-stpncpy-ifunc.c: Likewise.
33189 * string/test-strcasecmp-ifunc.c: Likewise.
33190 * string/test-strcasestr-ifunc.c: Likewise.
33191 * string/test-strcat-ifunc.c: Likewise.
33192 * string/test-strchr-ifunc.c: Likewise.
33193 * string/test-strchrnul-ifunc.c: Likewise.
33194 * string/test-strcmp-ifunc.c: Likewise.
33195 * string/test-strcpy-ifunc.c: Likewise.
33196 * string/test-strcspn-ifunc.c: Likewise.
33197 * string/test-strlen-ifunc.c: Likewise.
33198 * string/test-strncasecmp-ifunc.c: Likewise.
33199 * string/test-strncat-ifunc.c: Likewise.
33200 * string/test-strncmp-ifunc.c: Likewise.
33201 * string/test-strncpy-ifunc.c: Likewise.
33202 * string/test-strnlen-ifunc.c: Likewise.
33203 * string/test-strpbrk-ifunc.c: Likewise.
33204 * string/test-strrchr-ifunc.c: Likewise.
33205 * string/test-strspn-ifunc.c: Likewise.
33206 * string/test-strstr-ifunc.c: Likewise.
33207
de54b33a
L
33208 * debug/Makefile (tests-ifunc): New variable.
33209 (tests): Add $(tests-ifunc).
33210 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33211 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33212 * debug/test-stpcpy_chk-ifunc.c: New file.
33213 * debug/test-strcpy_chk-ifunc.c: Likewise.
33214
88481c16
SP
332152012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33216
33217 [BZ #13601]
33218 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33219 header is not read in.
33220
135948bd
JM
332212012-10-19 Joseph Myers <joseph@codesourcery.com>
33222
89f1c388
JM
33223 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33224 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33225 directly. Pass built executable to script as
33226 $(built-program-cmd).
33227 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33228 $testprogram without using LD_LIBRARY_PATH and $ldso.
33229
e40a0d21
JM
33230 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33231 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33232 $(rtld-installed-name).
33233 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33234 (rtld_installed_name): Likewise.
33235 (library_path): Likewise.
33236 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33237 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33238 $(run-program-prefix) to tst-tables.sh.
33239 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33240 it to run tst-table-from and tst-table-to.
33241 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33242 Pass it to tst-table.sh.
33243 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33244 $(run-program-prefix) to tst-gettext.sh.
33245 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33246 tst-translit.sh.
33247 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33248 tst-gettext2.sh.
33249 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33250 to run tst-gettext.
33251 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33252 to run tst-gettext2.
33253 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33254 to run tst-translit.
33255 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33256 $(run-program-prefix) to tst-mtrace.sh.
33257 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33258 to run tst-mtrace.
33259 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33260 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33261 $(rtld-installed-name).
33262 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33263 (rtld_installed_name): Likewise.
33264 (run_program_prefix): New variable. Use it to run wordexp-test.
33265
728e272a
JM
33266 * Makeconfig (ARCH): Remove all definitions.
33267 (machine): Likewise.
33268 [ARCH]: Remove conditional code.
33269 [!objdir]: Give error.
33270 [!objdir] (objpfx): Remove.
33271 [!objdir] (common-objpfx): Likewise.
33272 [!objdir] (common-objdir): Likewise.
33273 * configure.in (config_makefile): Remove. Hardcode Makefile in
33274 AC_CONFIG_FILES call.
33275 * configure: Regenerated.
33276
d528cdcf
JM
33277 [BZ #13888]
33278 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33279 or TMPDIR.
33280 (testout): Likewise.
33281
135948bd
JM
33282 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33283 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33284 $(rtld-installed-name).
33285 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33286 (rtld_installed_name): Likwise.
33287 (runit): Remove function.
33288 (run_getconf): New variable, Use it for running getconf binary.
33289
38c78296
L
332902012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33291
33292 [BZ #14716]
33293 * string/test-memmem.c (check_result): New function.
33294 (do_one_test): Use it.
33295 (check1): New function.
33296 (test_main): Use it.
33297
d077f65f
MT
332982012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33299
33300 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33301
ced52c71
JM
333022012-10-18 Joseph Myers <joseph@codesourcery.com>
33303
33304 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33305 (_G_LSEEK64): Likewise.
33306 (_G_MMAP64): Likewise.
33307 (_G_FSTAT64): Likewise.
33308 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33309 (_G_LSEEK64): Likewise.
33310 (_G_MMAP64): Likewise.
33311 (_G_FSTAT64): Likewise.
33312 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33313 unconditional. Call __mmap64 directly.
33314 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33315 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33316 __lseek64 directly.
33317 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33318 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33319 __mmap64 directly.
33320 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33321 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33322 __lseek64 directly.
33323 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33324 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33325 __lseek64 directly.
33326 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33327 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33328 __lseek64 directly.
33329 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33330 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33331 __fxstat64 directly.
33332 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33333 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33334 unconditional.
33335 (freopen64) [!_G_OPEN64]: Remove conditional code.
33336 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33337 unconditional.
33338 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33339 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33340 unconditional.
33341 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33342 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33343 unconditional.
33344 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33345 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33346 unconditional.
33347 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33348 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33349 unconditional.
33350 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33351 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33352 unconditional.
33353 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33354 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33355 unconditional.
33356 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33357
b741de23
SP
333582012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33359
33360 [BZ #12140]
33361 * manual/memory.texi (Malloc Tunable Parameters): Add note
33362 about free list pointers overwriting some perturb bytes.
33363 Wording suggested by Roland McGrath.
33364
f9b9d9c9
JM
333652012-10-17 Joseph Myers <joseph@codesourcery.com>
33366
33367 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33368 (lgamma_test): Likewise.
33369 (tgamma_test): Likewise.
33370
172a631a
FW
333712012-10-16 Florian Weimer <fweimer@redhat.com>
33372
33373 [BZ #14700]
33374 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33375 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33376
e9f37252
MK
333772012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33378
33379 * NEWS: Mention BZ #14716.
33380 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33381 when removing AVAILABLE1_USES_J macro.
33382
d394eb74
L
333832012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33386 (__bswap_64): __uint64_t for unsigned 64-bit int.
33387
ca38dc17
AS
333882012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33389
33390 * include/string.h (memmem): Declare libc hidden alias.
33391 * string/memmem.c (memmem): Define libc hidden alias.
33392 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33393 __read, __close instead of open, read, close.
33394
9a387d1f
L
333952012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33396
ac49ecaf
L
33397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33398 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33399 global and hidden.
33400 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33401 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33402 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33403 Likewise.
33404 (__rawmemchr_sse2): Likewise.
33405 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33406 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33407 (__strchr_sse2): Likewise.
33408 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33409 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33410 (__strcasecmp_sse2): Likewise.
33411 (__strncasecmp_sse2): Likewise.
33412 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33413 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33414 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33415 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33416 (__strrchr_sse2): Likewise.
33417 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33418 ifunc-impl-list.c.
33419 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33420 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33421 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33422 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33423 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33424 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33425 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33426 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33427 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33428 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33429 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33430 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33431 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33432 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33433 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33434 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33435 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33436 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33437 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33438 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33439 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33440 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33441 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33442 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33443 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33444 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33445 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33446 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33447 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33448 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33449
b090e8ea
L
33450 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33451 global and hidden.
33452 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33453 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33454 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33455 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33456 Likewise.
33457 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33458 Likewise.
33459 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33460 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33461 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33462 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33463 ifunc-impl-list.c.
33464 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33465 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33466 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33467 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33468 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33469 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33470 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33471 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33472 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33473 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33474 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33475 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33476 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33477 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33478 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33480 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33481 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33482 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33483 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33484 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33485 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33486 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33487 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33488 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33489 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33490 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33491 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33492 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33493 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33494 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33495 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33496 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33497 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33498 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33499 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33501 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33502 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33503 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33504 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33505
11dd4af6
L
33506 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33507 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33508 * include/ifunc-impl-list.h: New file.
33509 * misc/ifunc-impl-list.c: Likewise.
33510 * misc/Makefile (routines): Add ifunc-impl-list.
33511 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33512 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33513 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33514 TEST_NAME]: New variables.
11dd4af6
L
33515 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33516 are defined.
33517 (test_init): Call __libc_ifunc_impl_list to initialize
33518 func_list if TEST_IFUNC and TEST_NAME are defined.
33519
9a387d1f
L
33520 * string/Makefile (strop-tests): Add bcopy and bzero.
33521 * string/test-bcopy.c: New file.
33522 * string/test-bzero.c: Likewise.
33523 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33524 defined.
33525 * string/test-memset.c: Support bzero test if TEST_BZERO is
33526 defined.
33527 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33528 __libc_memmove.
33529 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33530 __libc_memset.
33531 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33532 of memset.
33533
472371b9
JM
335342012-10-10 Joseph Myers <joseph@codesourcery.com>
33535
1e4a9536
JM
33536 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33537 * configure: Regenerated.
33538
d173d12e
JM
33539 * Makeconfig (+link-static-before-libc): Don't include
33540 $(link-static-libc).
33541
472371b9
JM
33542 * libio/libio.h (_IO_pos_t): Remove.
33543
89a3ad0b
AO
335442012-10-10 Alexandre Oliva <aoliva@redhat.com>
33545
33546 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33547 McGrath.
33548
e7451425
AO
335492012-10-10 Alexandre Oliva <aoliva@redhat.com>
33550
33551 * crypt/crypt-entry.c: Include fips-private.h.
33552 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33553 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33554 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33555 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33556
4ba74a35
AO
335572012-10-10 Alexandre Oliva <aoliva@redhat.com>
33558
33559 * crypt/crypt-private.h: Include stdbool.h.
33560 (_ufc_setup_salt_r): Return bool.
33561 * crypt/crypt-entry.c: Include errno.h.
33562 (__crypt_r): Return NULL with EINVAL for bad salt.
33563 * crypt/crypt_util.c (bad_for_salt): New.
33564 (_ufc_setup_salt_r): Check that salt is long enough and within
33565 the specified alphabet.
33566 * crypt/badsalttest.c: New file.
33567 * crypt/Makefile (tests): Add it.
33568 ($(objpfx)badsalttest): New.
33569
f96f1242
MK
335702012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33571
33572 * NEWS: Add entry for BZ #14602.
33573
0e8e0c1c
JM
335742012-10-09 Joseph Myers <joseph@codesourcery.com>
33575
33576 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33577 type-generic.
33578 * math/libm-test.inc: Update comment listing what functions and
33579 macros are tested.
33580 (isgreater_test): New function.
33581 (isgreaterequal_test): Likewise.
33582 (isless_test): Likewise.
33583 (islessequal_test): Likewise.
33584 (islessgreater_test): Likewise.
33585 (isunordered_test): Likewise.
33586 (main): Call the new functions.
33587
273edc5e
RM
335882012-10-09 Roland McGrath <roland@hack.frob.com>
33589
b8493de0
RM
33590 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33591 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33592 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33593 * sysdeps/i386/configure: Regenerated.
33594 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33595 * sysdeps/mach/configure: Regenerated.
33596 * sysdeps/mach/hurd/configure: Regenerated.
33597 * sysdeps/powerpc/configure: Regenerated.
33598 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33599 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33600 * sysdeps/s390/s390-32/configure: Regenerated.
33601 * sysdeps/s390/s390-64/configure: Regenerated.
33602 * sysdeps/sh/configure: Regenerated.
33603 * sysdeps/sparc/configure: Regenerated.
33604 * sysdeps/unix/sysv/linux/configure: Regenerated.
33605 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33606 * sysdeps/x86_64/configure: Regenerated.
33607
273edc5e
RM
33608 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33609 defined. Don't check if MAP is NULL.
33610
c8450f70
JM
336112012-10-09 Joseph Myers <joseph@codesourcery.com>
33612
33613 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33614 (_G_stat64): Likewise.
33615 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33616 (_G_stat64): Likewise.
33617 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33618 instead of struct _G_stat64.
33619 * libio/fileops.c (mmap_remap_check): Likewise.
33620 (decide_maybe_mmap): Likewise.
33621 (_IO_new_file_seekoff): Likewise.
33622 (_IO_file_stat): Likewise.
33623 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33624 _G_off64_t.
33625 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33626 instead of struct _G_stat64.
33627 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33628
57e605ba
MK
336292012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33630
33631 [BZ #14602]
33632 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33633 Replace with ...
33634 (CHECK_EOL): New macro.
33635 (two_way_short_needle): Check beginning of haystack for EOL. Use
33636 CHECK_EOL.
33637 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33638 Replace with CHECK_EOL.
33639 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33640 Replace with CHECK_EOL.
33641
ef1bb361
JM
336422012-10-08 Joseph Myers <joseph@codesourcery.com>
33643
33644 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33645 type-generic.
33646 * math/libm-test.inc: Update comment listing what functions and
33647 macros are tested.
33648 (finite_test): New function.
33649 (isinf_test): Likewise.
33650 (isnan_test): Likewise.
33651 (fpclassify_test): Test subnormal input.
33652 (isfinite_test): Likewise.
33653 (isnormal_test): Likewise.
33654 (main): Call the new functions.
33655
55f11534
JN
336562012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33657
33658 [BZ #14660]
33659 * Makerules (%.dynsym): Force C locale when running
33660 $(OBJDUMP) --dynamic-syms.
33661
1ab29350
AS
336622012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33663
33664 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33665 <stdint.h>.
33666
f1ecb7ef
DM
336672012-10-06 David S. Miller <davem@davemloft.net>
33668
33669 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33670 upper 32-bits of the length value in %o2 since we use branch-on-register
33671 tests which consider the entire 64-bit register.
33672
5d41d91a
L
336732012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33674
33675 * string/test-strstr.c (check2): Add a test for page boundary.
33676
3baddb72
DM
336772012-10-05 David S. Miller <davem@davemloft.net>
33678
33679 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33680 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33681 file.
33682 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33683 sysdep_routines.
33684 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33685 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33686 and bzero when HWCAP_SPARC_CRYPTO is present.
33687
9cee5585
L
336882012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33689
d7e0dab9
L
33690 [BZ #14602]
33691 * string/test-strstr.c (check2): New function.
33692 (test_main): Call check2.
33693
03759f47
L
33694 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33695 and bug-strchr1.
33696 * string/bug-strcasestr1.c (do_test): Moved to ...
33697 * string/test-strcasestr.c (check1): Here. New function.
33698 (do_one_test): Break out result checking code into ...
33699 (check_result): This. New function.
33700 (do_one_test): Call check_result.
33701 (test_main): Call check1.
33702 * string/bug-strchr1.c (do_test): Moved to ...
33703 * string/test-strchr.c (check1): Here. New function.
33704 (do_one_test): Break out result checking code into ...
33705 (check_result): This. New function.
33706 (do_one_test): Call check_result.
33707 (test_main): Call check1.
33708 * string/bug-strstr1.c (main): Moved to ...
046f153e 33709 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33710 (do_one_test): Break out result checking code into ...
33711 (check_result): This. New function.
33712 (do_one_test): Call check_result.
33713 (test_main): Call check1.
33714 * string/bug-strcasestr1.c: Removed.
33715 * string/bug-strchr1.c: Likewise.
33716 * string/bug-strstr1.c: Likewise.
33717
53cea63e
L
33718 * elf/Makefile (dl-routines): Add hwcaps.
33719 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33720 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33721 (_dl_important_hwcaps): Moved to ...
33722 * elf/dl-hwcaps.c: Here. New file.
33723 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33724
9cee5585 33725 [BZ #14557]
bb859b06
L
33726 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33727 if IS_IN_rtld isn't defined.
33728
9cee5585
L
33729 * elf/dl-support.c (_dl_sysinfo_map): New.
33730 Include "get-dynamic-info.h" and "setup-vdso.h".
33731 (_dl_non_dynamic_init): Call setup_vdso.
33732 * elf/dynamic-link.h: Don't include <assert.h>.
33733 (elf_get_dynamic_info): Moved to ...
33734 * elf/get-dynamic-info.h: Here. New file.
33735 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33736 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33737 * elf/setup-vdso.h: Here. New file.
33738 * elf/rtld.c: Include "setup-vdso.h".
33739 (dl_main): Call setup_vdso.
33740
23c31b76
JM
337412012-10-05 Joseph Myers <joseph@codesourcery.com>
33742
28234b07
JM
33743 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33744 creal in comment listing functions tested. List finite, isinf,
33745 isnan, isless, islessequal, isgreater, isgreaterequal,
33746 islessgreater, isunordered, lgamma_r and pow10 as functions and
33747 macros not tested. Mention which functions not tested are aliases
33748 for other functions. Fix typo. Note that signs of NaNs are not
33749 tested.
33750
23c31b76
JM
33751 * scripts/config.guess: Update from config.git.
33752 * scripts/config.sub: Likewise.
33753
9043e228
RM
337542012-10-04 Roland McGrath <roland@hack.frob.com>
33755
33756 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33757 * misc/madvise.c (madvise): Renamed to __madvise.
33758 Make madvise a weak alias.
33759 * include/sys/mman.h: Declare __madvise.
33760 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33761 * sysdeps/unix/syscalls.list
33762 (madvise): Make __madvise the strong name, and madvise a weak alias.
33763 * sysdeps/unix/sysv/linux/syscalls.list
33764 (madvise, mmap): Remove redundant entries.
33765 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33766 * malloc/malloc.c (mtrim): Likewise.
33767 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33768
f57f8055
RM
337692012-10-03 Roland McGrath <roland@hack.frob.com>
33770
33771 * sysdeps/mach/hurd/dl-cache.c: File removed.
33772 * config.h.in (USE_LDCONFIG): New #undef.
33773 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33774 * configure: Regenerated.
33775 * elf/Makefile (dl-routines): Add dl-cache only under
33776 [$(use-ldconfig) = yes].
33777 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33778 cache on [USE_LDCONFIG].
33779 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33780 [USE_LDCONFIG].
33781 * elf/rtld.c (dl_main): Likewise.
33782
5bb0c10a
PT
337832012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33784
33785 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33786 _SC_LEVEL4_CACHE_LINESIZE.
33787
010188c6
RM
337882012-10-03 Roland McGrath <roland@hack.frob.com>
33789
33790 * sysdeps/unix/bsd/confstr.h: File removed.
33791
b6c5ec07
AO
337922012-10-02 Alexandre Oliva <aoliva@redhat.com>
33793
33794 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33795 sys/sdt-config.h.
33796
408223d4
RM
337972012-10-02 Roland McGrath <roland@hack.frob.com>
33798
33799 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33800 Make 'mapoff' field ElfW(Off) rather than off_t.
33801
bb9510dc
DL
338022012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33803
fc997c6e
DL
33804 * nscd/Makefile: Remove nscd-cflags and all its users.
33805 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33806 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33807
bb9510dc
DL
33808 [BZ #10631]
33809 * malloc.c (malloc_printerr): Clarify error message.
33810
05699367
L
338112012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33812
33813 [BZ #14648]
33814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33815 Set bit_FMA_Usable if FMA is supported.
33816 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33817 macro.
33818 (bit_FMA4_Usable): Updated.
33819 (index_FMA_Usable): New macro.
33820 (CPUID_FMA): Likewise
33821 (HAS_FMA): Defined with bit_FMA_Usable.
33822
51367701
RM
338232012-10-01 Roland McGrath <roland@hack.frob.com>
33824
33825 * bits/types.h (__swblk_t): Type removed.
33826 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33827 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33829 (__SWBLK_T_TYPE): Likewise.
33830 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33831 (__SWBLK_T_TYPE): Likewise.
33832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33833 (__SWBLK_T_TYPE): Likewise.
33834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33835 (__SWBLK_T_TYPE): Likewise.
33836
4d57bf63 338372012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 33838 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
33839
33840 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33841 (xdr_mapname): Use YPMAXMAP as maxsize.
33842 (xdr_peername): Use YPMAXPEER as maxsize.
33843 (xdr_keydat): Use YPAXRECORD as maxsize.
33844 (xdr_valdat): Use YPMAXRECORD as maxsize.
33845
93c65d43
RM
338462012-10-01 Roland McGrath <roland@hack.frob.com>
33847
497a03d6
RM
33848 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33849
93c65d43
RM
33850 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33851 * csu/init-first.c: ... here.
33852 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33853 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33854 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33855 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33856 * sysdeps/i386/init-first.c: File removed.
33857 * sysdeps/sh/init-first.c: File removed.
33858
bec749fd
JM
338592012-10-01 Joseph Myers <joseph@codesourcery.com>
33860
33861 [BZ #14645]
33862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33863 if x * y might underflow to zero and z is zero.
33864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33865 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33866 * math/libm-test.inc (min_subnorm_value): New variable.
33867 (fma_test): Add more tests.
33868 (fma_test_towardzero): Likewise.
33869 (fma_test_downward): Likewise
33870 (fma_test_upward): Likewise.
33871 (initialize): Set min_subnorm_value.
33872
8ec5b013
JM
338732012-09-29 Joseph Myers <joseph@codesourcery.com>
33874
33875 [BZ #14638]
33876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33877 0 + 0.
33878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33879 mode for addition resulting in exact zero.
33880 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33882 exact 0 + 0.
33883 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33885 * math/libm-test.inc (fma_test): Add more tests.
33886 (fma_test_towardzero): New function.
33887 (fma_test_downward): Likewise.
33888 (fma_test_upward): Likewise.
33889 (main): Call the new functions.
33890
b1fa802e
DM
338912012-09-28 David S. Miller <davem@davemloft.net>
33892
33893 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33894
d3b9fd9e
RM
338952012-09-28 Roland McGrath <roland@hack.frob.com>
33896
ea4d37b3
RM
33897 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33898 instead of SIGALRM.
33899
ac51c949
RM
33900 * sysdeps/gnu/_G_config.h: Moved to ...
33901 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33902 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33903 * sysdeps/generic/_G_config.h: ... here.
33904
28c195f7
RM
33905 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33906
848917f9
RM
33907 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33908
6bacf05b
RM
33909 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33910 Conditionalize target on [libnss_test1.so-version].
33911
91363dbb
RM
33912 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33913
cc87f7d8
RM
33914 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33915 (elfobjdir): Move out of conditionals.
33916
b1c608fe
RM
33917 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33918 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33919 (__nss_lookup_function): Conditionalize label remove_from_tree on
33920 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33921
1d9a6d96
DM
339222012-09-28 David S. Miller <davem@davemloft.net>
33923
33924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33925 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33926 file.
33927 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33928 sysdep_routines.
33929 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33931 when HWCAP_SPARC_CRYPTO is present.
33932
72581615
PT
339332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33934
33935 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33936
715a900c
JL
339372012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33938
33939 [BZ #6530]
33940 * stdio-common/vfprintf.c (process_string_arg): Revert
33941 2000-07-22 change.
33942
339432011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33944
33945 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33946 for testcase.
33947 * stdio-common/tst-sprintf.c: Include <locale.h>
33948 (main): Test sprintf's handling of incomplete multibyte
33949 characters.
33950
9bac1d86
L
339512012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33952
33953 * elf/dl-runtime.c (VERSYMIDX): Removed.
33954 * elf/dl-version.c (VERSYMIDX): Likewise.
33955 * elf/do-rel.h (VERSYMIDX): Likewise.
33956 (VALIDX): Likewise.
33957 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33958 * elf/rtld.c (VALIDX): Likewise.
33959 (ADDRIDX): Likewise.
9bac1d86
L
33960 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33961 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33962 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33963 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33964 (VALIDX): Likewise.
33965 (ADDRIDX): Likewise.
9bac1d86 33966
b31606c0
PT
339672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33968
33969 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33970
11541177
JL
339712012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33972
33973 [BZ #11438]
33974 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33975 to global scope.
33976 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33977 addresses are in the same scope as 192.0.2/24.
33978 * posix/gai.conf: Document new scope table defaults.
33979
adb26fae
SP
339802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33981
33982 [BZ #5298]
33983 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33984 for ftell. Compute offsets from write pointers instead.
33985 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33986
4573c6b0
SP
339872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33988
33989 [BZ #14543]
33990 * libio/Makefile (tests): New test case tst-fseek.
33991 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33992 combination works in wide mode.
33993 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33994 state when the external buffer state changes.
33995
aa9bbfe6
DM
339962012-09-27 David S. Miller <davem@davemloft.net>
33997
33998 [BZ #14376]
33999 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34000 pass reloc->r_addend in as the 'high' argument to
34001 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34002
784421e7
DM
34003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34004
c39bc8b8
PT
340052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34006
34007 * rt/tst-aio2.c: Include <pthread.h>.
34008 * rt/tst-aio3.c: Likewise.
34009
1ccc2399
SE
340102012-09-27 Steve Ellcey <sellcey@mips.com>
34011
34012 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34013
31ed4153
L
340142012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34015
25f5f885
L
34016 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34017 contents on [SHARED].
31ed4153 34018
b7bfe116
MP
340192012-09-26 Marek Polacek <polacek@redhat.com>
34020
34021 [BZ #14530]
34022 [BZ #13741]
34023 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34024 for C++ and GCC <4.3 as well as for non GCC compilers.
34025
43c4edba
MT
340262012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34027
34028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34029
6a1bf82f
RM
340302012-09-25 Roland McGrath <roland@hack.frob.com>
34031
34032 * Makefile.in (all, install): Declare with .PHONY.
34033 Reported by Michael Hope <michael.hope@linaro.org>.
34034
8ad11b9a
TMQMF
340352012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34036
34037 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34038 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34039 system header.
34040 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34041 Likewise.
34042 (sydep_routines): Add the new and the internal functions.
34043 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34044 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34046 (GLIBC_2.17): Add the new function.
34047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34048 (GLIBC_2.17): Likewise.
34049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34050 (GLIBC_2.17): Likewise.
34051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34052 (GLIBC_2.17): Likewise.
34053 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34054
7e2fca8d
AM
340552012-09-25 Alan Modra <amodra@gmail.com>
34056
34057 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34058 Add release barrier before setting once_control to say
34059 initialisation is done. Add hints on lwarx. Use macro in
34060 place of isync.
34061 (clear_once_control): Add release barrier.
34062
b87c4b24
JM
340632012-09-25 Joseph Myers <joseph@codesourcery.com>
34064
d032e0d2
JM
34065 [BZ #13629]
34066 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34067 specially.
34068 * math/s_clog10.c (__clog10): Likewise.
34069 * math/s_clog10f.c (__clog10f): Likewise.
34070 * math/s_clog10l.c (__clog10l): Likewise.
34071 * math/s_clogf.c (__clogf): Likewise.
34072 * math/s_clogl.c (__clogl): Likewise.
34073 * math/Makefile (libm-calls): Add x2y2m1.
34074 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34075 (__x2y2m1): Likewise.
34076 (__x2y2m1l): Likewise.
34077 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34078 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34081 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34082 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34083 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34084 * sysdeps/i386/fpu/libm-test-ulps: Update.
34085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34086
b87c4b24
JM
34087 [BZ #14621]
34088 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34089 int as type of variable DEPTH.
34090 (glob): Use size_t instead of int as type of variables NEWCOUNT
34091 and OLD_PATHC.
34092
6d3bf199
LD
340932012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34094
22bf5c17
LD
34095 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34096 Add s_sincosf-sse2.
34097 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34098 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34099 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34100 macros for using routine as __sincosf_ia32.
34101 Use macro for function declaration and weak_alias.
34102 * sysdeps/i386/fpu/libm-test-ulps: Update.
34103
34104 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34106
34107 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34108 subnormal argument.
34109 * math/s_cexpf.c (__cexpf): Likewise.
34110 * math/s_csinf.c (__csinf): Likewise.
34111 * math/s_csinhf.c (__csinhf): Likewise.
34112 * math/s_ctanf.c (__ctanf): Likewise.
34113 * math/s_ctanhf.c (__ctanhf): Likewise.
34114 * math/s_ccosh.c (__ccoshf): Likewise.
34115 * math/s_cexp.c (__cexpl): Likewise.
34116 * math/s_csin.c (__csin): Likewise.
34117 * math/s_csinh.c (__csinh): Likewise.
34118 * math/s_ctan.c (__ctan): Likewise.
34119 * math/s_ctanh.c (ctanh): Likewise.
34120 * math/s_ccoshl.c (__ccoshl): Likewise.
34121 * math/s_cexpl.c (__cexpl): Likewise.
34122 * math/s_csinl.c (__csinl): Likewise.
34123 * math/s_csinhl.c (__csinhl): Likewise.
34124 * math/s_ctanl.c (__ctanl): Likewise.
34125 * math/s_ctanhl.c (__ctanhl): Likewise.
34126
203e5603
JM
341272012-09-25 Joseph Myers <joseph@codesourcery.com>
34128
34129 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34130 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34131 (_IO_off_t): Define to __off_t, not _G_off_t.
34132 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34133 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34134 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34135 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34136 type of __dummy and __dummy2 fields.
34137 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34138 (_G_ssize_t): Likewise.
34139 (_G_off_t): Likewise.
34140 (_G_pid_t): Likewise.
34141 (_G_uid_t): Likewise.
34142 (_G_wchar_t): Likewise.
34143 (_G_wint_t): Likewise.
34144 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34145 (_G_ssize_t): Likewise.
34146 (_G_off_t): Likewise.
34147 (_G_pid_t): Likewise.
34148 (_G_uid_t): Likewise.
34149 (_G_wchar_t): Likewise.
34150 (_G_wint_t): Likewise.
34151 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34152 (_G_ssize_t): Likewise.
34153 (_G_off_t): Likewise.
34154 (_G_pid_t): Likewise.
34155 (_G_uid_t): Likewise.
34156 (_G_wchar_t): Likewise.
34157 (_G_wint_t): Likewise.
34158
9fab36eb
SP
341592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34160
34161 * malloc/arena.c: Include malloc-sysdep.h.
34162 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34163 is sufficient to shrink the heap or an unmap is needed.
34164 * sysdeps/generic/malloc-sysdep.h: New file. Define
34165 new function check_may_shrink_heap.
34166 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34167 new function check_may_shrink_heap.
34168
2b4f00d1
SP
341692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34170
34171 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34172 comments.
34173
9a9028b1
DL
341742012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34175
57c69bef
DL
34176 * catgets/test-gencat.sh: Add "set -e".
34177 * elf/tst-pathopt.sh: Likewise.
34178 * grp/tst_fgetgrent.sh: Likewise.
34179 * iconvdata/run-iconv-test.sh: Likewise.
34180 * intl/tst-gettext.sh: Likewise.
34181 * intl/tst-gettext2.sh: Likewise.
34182 * intl/tst-gettext4.sh: Likewise.
34183 * intl/tst-gettext6.sh: Likewise.
34184 * intl/tst-translit.sh: Likewise.
34185 * io/ftwtest-sh: Likewise.
34186 * libio/test-freopen.sh: Likewise.
34187 * malloc/tst-mtrace.sh: Likewise.
34188 * posix/globtest.sh: Likewise.
34189 * posix/tst-getconf.sh: Likewise.
34190 * posix/wordexp-tst.sh: Likewise.
34191 * stdio-common/tst-printf.sh: Likewise.
34192 * stdio-common/tst-unbputc.sh: Likewise.
34193 * stdlib/tst-fmtmsg.sh: Likewise.
34194 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34195 * catgets/Makefile: Do not specify -e option when running
34196 testsuite shell scripts.
34197 * elf/Makefile: Likewise.
34198 * grp/Makefile: Likewise.
34199 * iconvdata/Makefile: Likewise.
34200 * intl/Makefile: Likewise.
34201 * io/Makefile: Likewise.
34202 * libio/Makefile: Likewise.
34203 * malloc/Makefile: Likewise.
34204 * posix/Makefile: Likewise.
34205 * stdio-common/Makefile: Likewise.
34206 * stdlib/Makefile: Likewise.
34207 * sysdeps/x86_64/Makefile: Likewise.
34208
9a9028b1
DL
34209 * io/ftwtest-sh: Add copyright header.
34210 * posix/globtest.sh: Likewise.
34211 * posix/tst-getconf.sh: Likewise.
34212 * posix/wordexp-tst.sh: Likewise.
34213 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34214
ced6f16e
L
342152012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34216
94b32c39
L
34217 [BZ #13679]
34218 * Makeconfig (+link): Defined as $(+link-static) if
34219 $(build-shared) isn't yes.
34220 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34221 isn't yes.
34222 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34223
189e935b
L
34224 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34225
ced6f16e
L
34226 [BZ #14562]
34227 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34228 new chunk size with MALLOC_ALIGN_MASK.
34229
a9f8e53a
JM
342302012-09-24 Joseph Myers <joseph@codesourcery.com>
34231
34232 [BZ #5044]
34233 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34234 <rounding-mode.h>.
34235 (__printf_fphex): Determine rounding using get_rounding_mode and
34236 round_away.
34237 * stdio-common/tst-printf-round.c (struct hex_test): New
34238 structure.
34239 (hex_tests): New variable.
34240 (test_hex_in_one_mode): New function.
34241 (do_test): Also run tests for hex float output.
34242
43153109
JM
342432012-09-21 Joseph Myers <joseph@codesourcery.com>
34244
34245 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34246 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34247 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34248 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34249 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34250 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34251 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34252 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34253
8a26625d
JM
342542012-09-20 Joseph Myers <joseph@codesourcery.com>
34255
34256 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34257 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34258 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34259 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34260
f3fd569c
DL
342612012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34262
34263 [BZ #14579]
34264 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34265 mode only.
34266 * elf/tst-rtld-load-self.sh: New test.
34267 * elf/Makefile: Run it.
34268
63bbedd4
JM
342692012-09-18 Joseph Myers <joseph@codesourcery.com>
34270
34271 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34272 (tst-writev-ENV): Remove.
34273 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34274
626f8b6a
CM
342752012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34276
34277 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34278
b7aaa4d6
JM
342792012-09-17 Joseph Myers <joseph@codesourcery.com>
34280
34281 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34282 unconditional.
34283 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34284 Likewise.
34285 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34286 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34287 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34288 Likewise.
34289
65513990
L
342902012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34291
34292 [BZ #14587]
34293 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34294 * config.make.in (have-cpp-asm-debuginfo): Removed.
34295 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34296 * configure: Regenerated.
34297
784761be
JM
342982012-09-14 Joseph Myers <joseph@codesourcery.com>
34299
34300 [BZ #5044]
34301 * stdio-common/printf_fp.c: Include <stdbool.h> and
34302 <rounding-mode.h>.
34303 (___printf_fp): Determine rounding using get_rounding_mode and
34304 round_away.
34305 * stdio-common/tst-printf-round.c: New file.
34306 * stdio-common/Makefile (tests): Add tst-printf-round.
34307 (link-libm): New variable.
34308 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34309
9503345f
L
343102012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34311
34312 [BZ #14576]
34313 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34314 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34315 Likewise.
34316 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34317 Likewise.
34318
ad35fc00
JM
343192012-09-13 Joseph Myers <joseph@codesourcery.com>
34320
34321 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34322 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34323 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34324 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34325
6c9b0f68
JM
343262012-09-12 Joseph Myers <joseph@codesourcery.com>
34327
34328 [BZ #14518]
34329 * include/rounding-mode.h: New file.
34330 * sysdeps/generic/get-rounding-mode.h: Likewise.
34331 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34332 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34333 (MAX_VALUE): New macro.
34334 (MIN_VALUE): Likewise.
34335 (overflow_value): New function.
34336 (underflow_value): Likewise.
34337 (round_and_return): Use overflow_value and underflow_value to
34338 determine return values in overflow and underflow cases. Use
34339 round_away to determine rounding depending on rounding mode.
34340 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34341 determine return values in overflow and underflow cases.
34342 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34343 (struct test_results): New structure.
34344 (struct test): Use struct test_results to store expected results
34345 for all rounding modes.
34346 (TEST): Include expected results for all rounding modes.
34347 (test_in_one_mode): New function.
34348 (do_test): Use test_in_one_mode to compute and check results.
34349 Check results for all rounding modes.
34350 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34351 $(link-libm).
34352
19fcedd5
AM
343532012-12-09 Allan McRae <allan@archlinux.org>
34354
1e9d84cd 34355 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34356
8bbfd2f1
JM
343572012-09-11 Joseph Myers <joseph@codesourcery.com>
34358
34359 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34360 (_G_int32_t): Likewise.
34361 (_G_uint16_t): Likewise.
34362 (_G_uint32_t): Likewise.
34363 (_G_HAVE_BOOL): Likewise.
34364 (_G_HAVE_ATEXIT): Likewise.
34365 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34366 (_G_HAVE_IO_FILE_OPEN): Likewise.
34367 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34368 (_G_int32_t): Likewise.
34369 (_G_uint16_t): Likewise.
34370 (_G_uint32_t): Likewise.
34371 (_G_HAVE_BOOL): Likewise.
34372 (_G_HAVE_ATEXIT): Likewise.
34373 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34374 (_G_HAVE_IO_FILE_OPEN): Likewise.
34375 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34376 (_G_int32_t): Likewise.
34377 (_G_uint16_t): Likewise.
34378 (_G_uint32_t): Likewise.
34379 (_G_HAVE_BOOL): Likewise.
34380 (_G_HAVE_ATEXIT): Likewise.
34381 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34382 (_G_HAVE_IO_FILE_OPEN): Likewise.
34383
b1dc5912
L
343842012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34385
34386 * csu/libc-tls.c: Update copyright years.
34387
0e886ef9
JM
343882012-09-10 Joseph Myers <joseph@codesourcery.com>
34389
28361c5e
JM
34390 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34391 [!_G_USING_THUNKS]: Remove conditional code.
34392 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34393 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34394
0e886ef9
JM
34395 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34396 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34397 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34398 (_G_VTABLE_LABEL_PREFIX): Likewise.
34399 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34400 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34401 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34402 (_G_VTABLE_LABEL_PREFIX): Likewise.
34403 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34404 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34405 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34406 (_G_VTABLE_LABEL_PREFIX): Likewise.
34407 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34408
bcba7aa2
L
344092012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34410
34411 * libio/Makefile: Include ../Makeconfig before tests.
34412 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34413 only if $(build-shared) is yes.
34414
06585ee8
L
34415 * iconv/gconv_db.c: Update copyright years.
34416
80ccd52c
LD
344172012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34418
34419 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34420 unwind info if defined PIC. Fix special cases description.
34421 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34422
34423 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34424 DP_HI_MASK entry.
34425 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34426
691bc9c1
L
344272012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34428
3d9b46b3
L
34429 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34430
de2139a9
L
34431 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34432 is NULL.
34433
5ca78dd0
L
34434 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34435 (LDLIBS-tst-chk4): This.
34436 (LDFLAGS-tst-chk5): Renamed to ...
34437 (LDLIBS-tst-chk5): This.
34438 (LDFLAGS-tst-chk6): Renamed to ...
34439 (LDLIBS-tst-chk6): This.
34440 (LDFLAGS-tst-lfschk4): Renamed to ...
34441 (LDLIBS-tst-lfschk4): This.
34442 (LDFLAGS-tst-lfschk5): Renamed to ...
34443 (LDLIBS-tst-lfschk5): This.
34444 (LDFLAGS-tst-lfschk6): Renamed to ...
34445 (LDLIBS-tst-lfschk6): This.
34446
691bc9c1
L
34447 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34448 on $(common-objpfx)soversions.mk.
34449
65cafb1c
JM
344502012-09-07 Joseph Myers <joseph@codesourcery.com>
34451
34452 [BZ #10014]
34453 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34454 example host name.
34455
c78ab094
SP
344562012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34457
34458 * malloc/arena.c (arena_get_retry): New function that gets
34459 another arena for the caller to try its request on.
34460 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34461 current arena cannot fulfill the request.
34462 (__libc_memalign): Likewise.
34463 (__libc_memalign): Likewise.
34464 (__libc_pvalloc): Likewise.
34465 (__libc_calloc): Likewise.
34466
01f49f59
JT
344672012-09-05 John Tobey <john.tobey@gmail.com>
34468
34469 [BZ #13542]
34470 * manual/arith.texi (Operations on Complex): Fix description
34471 of carg branch cut.
34472
4c23fed5
JM
344732012-09-06 Joseph Myers <joseph@codesourcery.com>
34474
1d3c8572
JM
34475 [BZ #10014]
34476 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34477 host name.
34478
4c23fed5
JM
34479 [BZ #10038]
34480 * manual/memory.texi (Memory): Make order of menu items match
34481 order of sections.
34482
04570aaa
L
344832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34484
34485 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34486 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34487 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34488
b80af2f4
L
344892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * csu/libc-tls.c (static_dtv): Renamed to ...
34492 (_dl_static_dtv): This. Make it global.
34493 (_dl_initial_dtv): Removed.
34494 (__libc_setup_tls): Updated.
34495 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34496 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34497 DL_INITIAL_DTV.
34498
2abe9f15
PM
344992012-09-06 Petr Machata <pmachata@redhat.com>
34500
34501 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34502 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34503 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34504 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34505
0948c3af
L
345062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 [BZ #14545]
34509 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34510 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34511 freeing dtv[-1].
34512
a5055ad1
L
345132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34514
34515 [BZ #14544]
34516 * Makeconfig (link-static-before-libc): Replace $(+prector)
34517 with $(+prectorT).
34518 (link-static-after-libc): Replace $(+postctor) with
34519 $(+postctorT).
34520 (link-bounded): Replace $(+prector)/$(+postctor) with
34521 $(+prectorT)/$(+postctorT).
34522 (+prectorT): New macro.
34523 (+postctorT): Likewise.
34524
ed8c2ecd
JM
345252012-09-06 Joseph Myers <joseph@codesourcery.com>
34526
34527 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34528 (round_str): Handle values above the maximum for IBM long double
34529 as inexact.
34530 * stdlib/tst-strtod-round.c (tests): Regenerated.
34531
14c996c8
AK
345322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34533
34534 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34535 assembler flag.
34536 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34537 zarch_nohighgprs around the zarch optimized routines.
34538 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34539 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34540 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34541 for zarch.
34542
430d6ce6
DM
345432012-09-05 David S. Miller <davem@davemloft.net>
34544
34545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34546
57f41c40
AS
34547 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34548 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34549 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34550 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34551 entries.
34552
24d4e01b
AO
345532012-09-05 Alexandre Oliva <aoliva@redhat.com>
34554
34555 * malloc/arena.c: Fold copyright years.
34556 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34557
61d58174
AO
345582012-09-05 Alexandre Oliva <aoliva@redhat.com>
34559
34560 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34561
20196a5e
AO
345622012-09-05 Alexandre Oliva <aoliva@redhat.com>
34563
34564 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34565
5c447383
AO
345662012-09-05 Alexandre Oliva <aoliva@redhat.com>
34567
34568 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34569 change internal state upon failure.
34570
fad64255
AO
345712012-09-05 Alexandre Oliva <aoliva@redhat.com>
34572
34573 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34574 * malloc/memusage.c (mmap): Likewise.
34575 (mmap64, mremap): Likewise. Adjust name in comment.
34576
1ffb8c90
SP
345772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34578
34579 * libio/fileops.c: Fix typos in comments.
34580 * libio/oldfileops.c: Likewise.
34581 * libio/wfileops.c: Likewise.
34582
6ef9cc37
SP
345832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34584
34585 [BZ #1349]
34586 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34587 (tst-malloc-usable-ENV): Set environment for test case.
34588 * malloc/hooks.c (malloc_check_get_size): New function to get
34589 requested size.
34590 * malloc/malloc.c (musable): Use malloc_check_get_size.
34591 * malloc/tst-malloc-usable.c: New test case.
34592
4d038ae3
AS
345932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34594
34595 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34596
c4e85184
AM
345972012-09-05 Allan McRae <allan@archlinux.org>
34598
b9dafc56 34599 [BZ #13966]
c4e85184
AM
34600 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34601 determine header location.
34602 * configure: Regenerated.
34603
e1343020
AS
346042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34605
34606 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34607 float format.
34608 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34609 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34610 format.
e1343020
AS
34611 (test): Regenerate.
34612
0a9f1987
DM
346132012-09-04 David S. Miller <davem@davemloft.net>
34614
34615 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34616 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34617 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34618
29237804
FW
346192012-09-04 Florian Weimer <fweimer@redhat.com>
34620
34621 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34622 failures.
34623
edb3cb88
FW
34624 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34625
60160d83
JM
346262012-09-04 Joseph Myers <joseph@codesourcery.com>
34627
34628 [BZ #9914]
34629 * libio/iogetdelim.c: Include <limits.h>.
34630 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34631 + len + 1 would overflow.
34632
bcd6c8dc
AJ
346332012-09-03 Andreas Jaeger <aj@suse.de>
34634
34635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34636 * sysdeps/i386/fpu/libm-test-ulps: Update.
34637
4ffffbd2
LD
346382012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34639
34640 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34641 Add s_sinf-sse2, s_conf-sse2.
34642
34643 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34644 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34645 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34646 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34647
34648 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34649 for using routine as __sinf_ia32.
34650 Use macro for function declaration and weak_alias.
34651 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34652 for using routine as __cosf_ia32.
34653 Use macro for function declaration and weak_alias.
34654
34655 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34656 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34657
34658 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34659 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34661
34662 * math/libm-test.inc (cos_test): Add more test cases.
34663 (sin_test): Likewise.
34664 (sincos_test): Likewise.
34665
511fa286
AK
346662012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34667
34668 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34669 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34670 hidden.
34671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34672
5f30cfec
L
346732012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34674
34675 [BZ #14538]
34676 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34677 first element of the GOT.
34678 (elf_machine_load_address): Return the difference between
34679 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34680
0786794f
AM
346812012-09-01 Allan McRae <allan@archlinux.org>
34682
5f30cfec
L
34683 [BZ #13412]
34684 * configure.in (AWK): Require gawk version 3.0 or later.
34685 * configure: Regenerated.
0786794f 34686
26889eac
JM
346872012-09-01 Joseph Myers <joseph@codesourcery.com>
34688
34689 * sysdeps/unix/sysv/linux/kernel-features.h
34690 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34691 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34692 [__NR_clock_getres]: Make code unconditional.
34693 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34694 (clock_getcpuclockid): Remove code left unreachable by removal of
34695 conditionals.
34696 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34697 code unconditional.
34698 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34699 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34700 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34701 Make code unconditional.
34702 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34703 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34704 * sysdeps/unix/sysv/linux/clock_settime.c
34705 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34706 conditional code.
34707 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34708 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34709
d22e28b0
L
347102012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34711
34712 [BZ #14476]
34713 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34714 scripts/test-installation.pl.
34715
34716 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34717 and $ld_so_version if it is set.
34718
050af9c4
SP
347192012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34720
34721 [BZ #14516]
34722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34723 failure if reading from procfs failed.
34724 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34725
ad845c0b
JM
347262012-08-27 Joseph Myers <joseph@codesourcery.com>
34727
34728 * sysdeps/unix/sysv/linux/kernel-features.h
34729 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34730 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34731 Remove conditional code.
34732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34733 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34734 Remove conditional code.
34735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34736 * sysdeps/unix/sysv/linux/i386/fxstat.c
34737 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34739 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34740 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34742 * sysdeps/unix/sysv/linux/i386/lxstat.c
34743 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34745 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34746 Remove conditional code.
34747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34748 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34749 Remove conditional code.
34750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34751 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34752 <kernel-features.h>.
34753 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34754 Remove.
34755 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34756 Remove conditional code.
34757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34758 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34759 Remove conditional.
34760
5dbf56af
MF
347612012-08-27 Mike Frysinger <vapier@gentoo.org>
34762
34763 [BZ #5400]
34764 * NEWS: Add fixed bug number.
34765
d6e70f43
JM
347662012-08-27 Joseph Myers <joseph@codesourcery.com>
34767
7efb4737
JM
34768 [BZ #14519]
34769 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34770 underflowing exponent in case of negative sign.
34771 * stdlib/tst-strtod-round-data: Add more tests.
34772 * stdlib/tst-strtod-round.c (tests): Regenerated.
34773
af92131a
JM
34774 [BZ #3479]
34775 * stdlib/strtod_l.c (NDIG): Remove.
34776 (HEXNDIG): Likewise.
34777 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34778 smallest representable value.
34779 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34780 lie within an exact representation of 1/2 ulp of the result.
34781 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34782 unconditionally.
34783 (TENS_P9_IDX): Define unconditionally.
34784 (TENS_P9_SIZE): Likewise.
34785 (TENS_P10_IDX): Likewise.
34786 (TENS_P10_SIZE): Likewise.
34787 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34788 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34789 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34790 entries for 10^2^13 and 10^2^14.
34791 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34792 (TENS_P13_IDX): Define.
34793 (TENS_P13_SIZE): Likewise.
34794 (TENS_P14_IDX): Likewise.
34795 (TENS_P14_SIZE): Likewise.
34796 (_fpioconst_pow10): Change array size to
34797 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34798 unconditional.
34799 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34800 1024]: Add entries for 10^2^13 and 10^2^14.
34801 [LAST_POW10 > _LAST_POW10]: Remove #error.
34802 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34803 (_fpioconst_pow10): Change array size to
34804 FPIOCONST_POW10_ARRAY_SIZE.
34805 * stdlib/gen-fpioconst.c: New file.
34806 * stdlib/gen-tst-strtod-round.c: Likewise.
34807 * stdlib/tst-strtod-round-data: Likewise.
34808 * stdlib/tst-strtod-round.c: Likewise.
34809 * stdlib/Makefile (tests): Add tst-strtod-round.
34810
d6e70f43
JM
34811 [BZ #14459]
34812 * stdlib/strtod_l.c: Include <stdint.h>.
34813 (NDEBUG): Do not define.
34814 (round_and_return): Change EXPONENT parameter to type intmax_t.
34815 Rearrange calculations to avoid internal overflow possibilities.
34816 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34817 Rearrange calculations to avoid internal overflow possibilities.
34818 Assert that number fits inside MPNSIZE limbs.
34819 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34820 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34821 calculations and add assertions to avoid internal overflow
34822 possibilities. Add casts to avoid signed/unsigned operations.
34823 * stdlib/tst-strtod-overflow.c: New file.
34824 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34825
1f529f7d
MP
348262012-08-25 Marek Polacek <polacek@redhat.com>
34827
34828 * time/time.h: Fix some typos in comments.
34829
59a629f1
RM
348302012-08-23 Roland McGrath <roland@hack.frob.com>
34831
34832 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34833 * posix/tst-rfc3484-2.c: Likewise.
34834 * posix/tst-rfc3484-3.c: Likewise.
34835
d3bafbc9
SM
348362012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34837
34838 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34839 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34840
4efcc022
JM
348412012-08-23 Joseph Myers <joseph@codesourcery.com>
34842
34843 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34844 #include of fxstatat64.c.
34845
3cc3ef96
RM
348462012-08-22 Roland McGrath <roland@hack.frob.com>
34847
f04e2132
RM
34848 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34849 * shadow/getspent_r.c: Likewise.
34850 * shadow/getspnam.c: Likewise.
34851 * shadow/getspnam_r.c: Likewise.
34852 * gshadow/getsgent.c: Likewise.
34853 * gshadow/getsgent_r.c: Likewise.
34854 * gshadow/getsgnam.c: Likewise.
34855 * gshadow/getsgnam_r.c: Likewise.
34856 * inet/getnetbyad.c: Likewise.
34857 * inet/getnetbyad_r.c: Likewise.
34858 * inet/getnetbynm.c: Likewise.
34859 * inet/getnetbynm_r.c: Likewise.
34860 * inet/getnetent.c: Likewise.
34861 * inet/getnetent_r.c: Likewise.
34862 * inet/getproto.c: Likewise.
34863 * inet/getproto_r.c: Likewise.
34864 * inet/getprtent.c: Likewise.
34865 * inet/getprtent_r.c: Likewise.
34866 * inet/getprtname.c: Likewise.
34867 * inet/getprtname_r.c: Likewise.
34868 * inet/getrpcbyname.c: Likewise.
34869 * inet/getrpcbyname_r.c: Likewise.
34870 * inet/getrpcbynumber.c: Likewise.
34871 * inet/getrpcbynumber_r.c: Likewise.
34872 * inet/getrpcent.c: Likewise.
34873 * inet/getrpcent_r.c: Likewise.
34874 * inet/getaliasent.c: Likewise.
34875 * inet/getaliasent_r.c: Likewise.
34876 * inet/getaliasname.c: Likewise.
34877 * inet/getaliasname_r.c: Likewise.
34878 * nscd/getgrgid_r.c: Likewise.
34879 * nscd/getgrnam_r.c: Likewise.
34880 * nscd/gethstbyad_r.c: Likewise.
34881 * nscd/gethstbynm3_r.c: Likewise.
34882 * nscd/getpwnam_r.c: Likewise.
34883 * nscd/getpwuid_r.c: Likewise.
34884 * nscd/getsrvbynm_r.c: Likewise.
34885 * nscd/getsrvbypt_r.c: Likewise.
34886 * nscd/gai.c: Likewise.
34887
c53d909c
RM
34888 * configure.in (build_nscd): New substituted variable, set
34889 by --disable-build-nscd and defaults to $use_nscd.
34890 * configure: Regenerated.
34891 * config.make.in (build-nscd): New substituted variable.
34892 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34893 Change conditional to require [$(build-nscd) = yes] as well.
34894 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34895
3cc3ef96
RM
34896 [BZ# 13696]
34897 * configure.in (use_nscd): New substituted variable, set by
34898 --disable-nscd. If enabled, define USE_NSCD.
34899 * configure: Regenerated.
34900 * config.h.in: Add USE_NSCD.
34901 * config.make.in (use-nscd): New substituted variable.
34902 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34903 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34904 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34905 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34906 (CFLAGS-getgrnam_r.c): Likewise.
34907 (CFLAGS-initgroups.c): Likewise.
34908 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34909 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34910 Variables removed.
34911 * inet/getnetgrent_r.c
34912 (nscd_setnetgrent): New function, broken out of ...
34913 (setnetgrent): ... here. Call it.
34914 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34915 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34916 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34917 * nscd/Makefile (routines, aux): Move definitions after include of
34918 Makeconfig. Conditionalize on [$(use-nscd) != no].
34919 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34920 Conditionalize on [USE_NSCD].
34921 (is_nscd, nscd_init_cb): Likewise.
34922 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34923 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34924 * nss/nss_db/db-init.c: Likewise.
34925 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34926 [USE_NSCD].
34927 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34928 (make_request): Use it.
34929 (cache_valid_p): New function.
34930 (__check_pf): Use it.
34931 * NEWS: Add item for --disable-nscd.
34932
07e51550
DL
349332012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34934
34935 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34936 to support sed >= 4.2.1-20-ga9bf076.
34937 * configure: Regenerated.
34938
35a5b08b
RM
349392012-08-22 Roland McGrath <roland@hack.frob.com>
34940
34941 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34942 Conditionalize whole body on [IREL].
34943
8479f23a
JL
349442012-08-22 Jeff Law <law@redhat.com>
34945
34946 [BZ #14505]
34947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34948 if the family is PF_UNSPEC.
34949
48da0b21
MF
349502012-08-22 Mike Frysinger <vapier@gentoo.org>
34951
34952 * Makerules (lib-version): Rename from V.
34953 (install-lib-nosubdir): Change V to lib-version.
34954
15d0da8c
WS
349552012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34956
34957 [BZ #14252]
34958 * powerpc32/power6/wcschr.c: New file.
34959 * powerpc32/power6/wcscpy.c: New file.
34960 * powerpc32/power6/wcsrchr.c: New file.
34961 * powerpc64/power6/wcschr.c: New file.
34962 * powerpc64/power6/wcscpy.c: New file.
34963 * powerpc64/power6/wcsrchr.c: New file.
34964
bcca0895
MK
349652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34966
34967 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34968 (two_way_short_needle): Use it.
5a4aaa33
RM
34969 * string/strstr.c (AVAILABLE1_USES_J): Define.
34970 * string/strcasestr.c: Likewise.
99677e57
MK
34971
34972 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34973 array references.
34974 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34975
400726de
MK
34976 [BZ #11607]
34977 * NEWS: Add an entry.
34978 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34979 define their defaults.
34980 (two_way_short_needle): Detect end-of-string on-the-fly.
34981 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34982 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34983 * string/bug-strcasestr1.c: New test.
34984 * string/Makefile: Run it.
34985
20a71f2c
MK
349862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34987
34988 [BZ #11607]
34989 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34990 the first character.
34991
21ad0558
RM
349922012-08-21 Roland McGrath <roland@hack.frob.com>
34993
34994 * csu/elf-init.c (__libc_csu_irel): Function removed.
34995 * csu/libc-start.c (apply_irel): New function.
34996 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34997
0e1d9911
JM
349982012-08-21 Joseph Myers <joseph@codesourcery.com>
34999
35000 * sysdeps/unix/sysv/linux/kernel-features.h
35001 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35002 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35003 <kernel-features.h>.
35004 [__NR_fadvise64_64]: Make code unconditional.
35005 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35006 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35007 !__NR_fadvise64_64)]: Likewise.
35008 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35009 !__NR_fadvise64_64))]: Likewise.
35010 [__NR_fadvise64]: Make code unconditional.
35011 [!__NR_fadvise64]: Remove conditional code.
35012 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35013 <kernel-features.h>.
35014 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35015 unconditional.
35016 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35017 conditional code.
35018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35019 not include <kernel-features.h>.
35020 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35021 unconditional.
35022 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35023 conditional code.
35024 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35025 include <kernel-features.h>.
35026 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35027 unconditional.
35028 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35029 conditional code.
35030
14a50c9d
WS
350312012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35032
35033 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35034 slight instruction rearrangements per scrollpipe analysis.
35035 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35036
c0f4faf0
RM
350372012-08-20 Roland McGrath <roland@hack.frob.com>
35038
696da859
RM
35039 * manual/syslog.texi (syslog; vsyslog, closelog):
35040 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35041 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35042
c0f4faf0
RM
35043 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35044 DSOCAPS to match condition on defining it.
35045
348363b2
JM
350462012-08-20 Joseph Myers <joseph@codesourcery.com>
35047
a35cbf28
JM
35048 * sysdeps/unix/sysv/linux/kernel-features.h
35049 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35051 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35052 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35054 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35055 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35057 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35058 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35059
445f7ecd
JM
35060 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35061 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35062
348363b2
JM
35063 * sysdeps/unix/sysv/linux/kernel-features.h
35064 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35065 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35066 unconditional.
35067 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35068 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35069 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35070 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35071 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35072 Make code unconditional.
35073 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35074 (__mmap64) [!__NR_mmap2]: Likewise.
35075 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35076 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35077 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35079 [__NR_mmap2]: Make code unconditional.
35080 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35081 (__mmap64) [!__NR_mmap2]: Likewise.
35082
bc5bc0e5
AK
350832012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35084
35085 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35086
88d506de
AJ
350872012-08-18 Andreas Jaeger <aj@suse.de>
35088
35089 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35090
493387d2
MF
350912012-08-18 Mike Frysinger <vapier@gentoo.org>
35092
35093 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35094 * include/unistd.h (__have_sock_cloexec): Likewise.
35095 (__have_pipe2): Likewise.
35096 (__have_dup3): Likewise.
35097
a277af22
MF
350982012-08-18 Mike Frysinger <vapier@gentoo.org>
35099
35100 [BZ #9685]
35101 * include/unistd.h (__have_pipe2): Change define into an extern int.
35102 (__have_dup3): Likewise.
35103 * socket/have_sock_cloexec.c: Include fcntl.h.
35104 (__have_pipe2): New variable.
35105 (__have_dup3): Likewise.
35106
fdab8fd3
MF
351072012-08-17 Mike Frysinger <vapier@gentoo.org>
35108
35109 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35110
31035e80
MP
351112012-08-17 Marek Polacek <polacek@redhat.com>
35112
35113 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35114 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35115
3bd9e993
RM
351162012-08-17 Roland McGrath <roland@hack.frob.com>
35117
c91c505f
RM
35118 * configure.in: Add AC_SUBST for sysheaders.
35119 * configure: Regenerated.
35120 * config.make.in (sysheaders): New substituted variable.
35121
7c6f9d53
RM
35122 * sysdeps/unix/mkfifo.c: Moved ...
35123 * sysdeps/posix/mkfifo.c: ... here.
35124 * sysdeps/unix/mkfifoat.c: Moved ...
35125 * sysdeps/posix/mkfifoat.c: ... here.
35126
35127 * sysdeps/unix/utime.c: Moved ...
35128 * sysdeps/posix/utime.c: ... here.
35129
35130 * sysdeps/unix/time.c: Moved ...
35131 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35132 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35133 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35134
35135 * sysdeps/unix/nice.c: Moved ...
35136 * sysdeps/posix/nice.c: ... here.
35137
35138 * sysdeps/unix/alarm.c: Moved ...
35139 * sysdeps/posix/alarm.c: ... here.
35140
3bd9e993
RM
35141 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35142
d1f09384
JL
351432012-08-17 Jeff Law <law@redhat.com>
35144
35145 * intl/Makefile (codeset_mo): New variable.
35146 ($(codeset_mo)): New target.
35147 (tst-codeset.out): Depend on that. Remove explicit rule.
35148 (tst-gettext3.out, tst-gettext5.out): Likewise.
35149 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35150 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35151 * intl/tst-codeset.sh: Remove.
35152 * intl/tst-gettext3.sh: Likewise.
35153 * intl/tst-gettext5.sh: Likewise.
35154
2ae1ae5c
RM
351552012-08-17 Roland McGrath <roland@hack.frob.com>
35156
c31fdb83
RM
35157 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35158 * sysdeps/unix/syscalls.list: ... here.
35159
a0844057
RM
35160 * sysdeps/posix/getaddrinfo.c
35161 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35162 (gaiconf_init, gaiconf_reload): Use them.
35163 [!_STATBUF_ST_NSEC]
35164 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35165 Define using time_t rather than struct timespec.
35166
750c1f2a
RM
35167 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35168 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35169 Macros removed.
35170 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35171 [!NO_THREADS].
35172 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35173 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35174 Likewise.
35175
2ae1ae5c
RM
35176 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35177 __libc_cleanup_push argument.
35178
e66a42f5
RM
35179 * bits/param.h: New file.
35180 * misc/sys/param.h: New file.
35181 * include/sys/param.h: New file.
35182 * misc/Makefile (headers): Add bits/param.h.
35183 * sysdeps/generic/sys/param.h: File removed.
35184 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35185 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35186 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35187 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35188
b7c08a66
RM
35189 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35190 last change.
35191
b2e1c562
RM
35192 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35193 [_IO_MTSAFE_IO].
35194 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35195 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35196 New macros.
35197
c75ccd4c
RM
35198 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35199 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35200 rather than -D_IO_MTSAFE_IO conditionally.
35201 * stdio-common/Makefile (CPPFLAGS): Likewise.
35202 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35203 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35204 Use $(libio-mtsafe).
35205 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35206 of -D_IO_MTSAFE_IO.
35207 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35208 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35209 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35210 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35211 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35212 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35213 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35214 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35215 (CFLAGS-fread_u_chk.c): Likewise.
35216 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35217 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35218 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35219 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35220 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35221 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35222 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35223 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35224 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35225
35226 * libio/Makefile: Test [$(libc-reentrant) = yes]
35227 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35228
35229 * Makeconfig
35230 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35231 * sysdeps/pthread/configure: File removed.
35232 * sysdeps/pthread/Makeconfig: New file.
35233 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35234 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35235
d9195db8
GB
352362012-08-16 Gary Benson <gbenson@redhat.com>
35237
35238 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35239 unmapping the first object in a namespace.
35240
86466cd9
RM
352412012-08-16 Roland McGrath <roland@hack.frob.com>
35242
35243 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35244 (__internal_setnetgrent): ... this. Add internal_function to
35245 definition. Add libc_hidden_def.
35246 (setnetgrent): Update caller.
35247 (internal_endnetgrent): Renamed to ...
35248 (__internal_endnetgrent): ... this. Add internal_function to
35249 definition. Add libc_hidden_def.
35250 (endnetgrent): Update caller.
35251 (internal_getnetgrent_r): Renamed to ...
35252 (__internal_getnetgrent_r): ... this. Add internal_function to
35253 definition. Add libc_hidden_def.
35254 (__getnetgrent_r): Update caller.
35255 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35256
c3c8283c
JM
352572012-08-16 Joseph Myers <joseph@codesourcery.com>
35258
35259 * stdlib/longlong.h: Update from GCC.
35260
db1ee0a8
RM
352612012-08-16 Roland McGrath <roland@hack.frob.com>
35262
35263 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35264 on _QL, which is set by umul_ppmm but never used.
35265 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35266 variables, which are set by GMP macros but never used.
35267 * stdio-common/_itowa.c (_itowa): Likewise.
35268 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35269 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35270
30f69637
CD
352712012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35272
35273 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35274 struct La_sh_regs is not constant.
35275 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35276 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35277 and struct La_sparc64_regs are not constant.
35278
93a78ac4
JM
352792012-08-16 Joseph Myers <joseph@codesourcery.com>
35280
35281 * sysdeps/unix/sysv/linux/kernel-features.h
35282 (__ASSUME_POSIX_TIMERS): Remove.
35283 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35284 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35285 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35286 Make code unconditional.
35287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35288 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35289 Make code unconditional.
35290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35291 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35292 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35294 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35295 Make code unconditional.
35296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35297 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35298 (__libc_missing_posix_timers): Remove.
35299
dd924cd7
RM
353002012-08-15 Roland McGrath <roland@hack.frob.com>
35301
4b4f2771
RM
35302 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35303 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35304
601c888b
RM
35305 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35306
176790a7
RM
35307 * elf/dl-sym.c: Include <stdlib.h>.
35308
329bc018
RM
35309 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35310 constants, which avoids warnings in 32-bit builds.
35311
e04e272d
RM
35312 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35313 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35314
952bf94a
RM
35315 * misc/lseek.c: File moved to ...
35316 * io/lseek.c: ... here.
35317
7c99b50a
RM
35318 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35319
dd924cd7
RM
35320 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35321 shifting LEN more than 31 bits at once.
35322
b3f479a8
LD
353232012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35324
35325 [BZ #14195]
8c4ae0d4
RM
35326 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35327 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35328 * string/test-strncasecmp.c (check1): Renamed to...
35329 (bz12205): ...this.
35330 (bz14195): Add new testcase for two empty input strings and N > 0.
35331 (test_main): Call new testcase, adapt for renamed function.
35332
9c55864e
AJ
353332012-08-15 Andreas Jaeger <aj@suse.de>
35334
35335 [BZ #14090]
35336 * crypt/md5test2.c: New test, based on test supplied by Serge
35337 Belyshev <belyshev@depni.sinp.msu.ru>.
35338 * crypt/Makefile (xtests): Add md5test-giant..
35339 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35340
02dcb6c5
PE
353412012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35342
35343 [BZ #14090]
35344 * crypt/md5.c (md5_process_block): Don't assume the buffer
35345 length is less than 2**32.
35346 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35347 length is less than 2**64.
35348
a3f95dcc
RM
353492012-08-15 Roland McGrath <roland@hack.frob.com>
35350
be75d758
RM
35351 * string/str-two-way.h: Include <sys/param.h>.
35352 (MAX): Macro removed.
35353
7312ca90
RM
35354 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35355 Move #define and #undef of memmove to just before and after
35356 including <string.h>.
35357
9a0a5486
RM
35358 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35359 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35360 and after including <string.h>. Move declarations of
35361 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35362 to before #include "string/memmove.c".
35363
67cc348d
RM
35364 * include/dirent.h: Declare __getdirentries.
35365
a3f95dcc
RM
35366 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35367 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35368
ca98e171
MF
353692012-08-14 Mike Frysinger <vapier@gentoo.org>
35370
35371 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35372 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35373 * sysdeps/i386/configure: Regenerated.
35374 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35375 STABS_CURRENT_FILE, and STABS_FUN.
35376 (END): Remove call to STABS_FUN_END.
35377 (STABS_CURRENT_FILE1): Delete.
35378 (STABS_CURRENT_FILE): Likewise.
35379 (STABS_FUN): Likewise.
35380 (STABS_FUN_END): Likewise.
35381 (STABS_FUN2): Likewise.
35382 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35383 * sysdeps/x86_64/configure: Regenerated.
35384
5908bf46
RM
353852012-08-14 Roland McGrath <roland@hack.frob.com>
35386
35387 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35388 * elf/dl-lookup.c: Likewise.
5908bf46 35389
f2c05b9e
JM
353902012-08-14 Joseph Myers <joseph@codesourcery.com>
35391
35392 * sysdeps/unix/sysv/linux/kernel-features.h
35393 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35394 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35395 unconditionally.
35396 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35397 unconditionally.
35398 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35399 condition on __ASSUME_CLONE_THREAD_FLAGS.
35400
e11f5155
AJ
354012012-08-14 Andreas Jaeger <aj@suse.de>
35402
35403 * sysdeps/i386/fpu/libm-test-ulps: Update.
35404
51a9ba86
MK
354052012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35406
2fdd4f78
AJ
35407 * include/atomic.h (atomic_exchange_and_add): Split into ...
35408 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35409 New atomic macros.
51a9ba86 35410
ba6cba9e
MT
354112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35412
35413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35414
42443a47
JL
354152012-08-13 Jeff Law <law@redhat.com>
35416
35417 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35418 null byte in the output string.
35419
121dce05
JM
354202012-08-10 Joseph Myers <joseph@codesourcery.com>
35421
35422 * sysdeps/unix/sysv/linux/kernel-features.h
35423 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35424 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35425 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35426 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35427 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35428 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35429 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35430
bf51f568
JL
354312012-08-09 Jeff Law <law@redhat.com>
35432
35433 [BZ #13939]
35434 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35435 When avoid_arena is set, don't retry in the that arena. Pick the
35436 next one, whatever it might be.
35437 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35438 (arena_lock): Pass in new parameter to arena_get2.
35439 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35440 arena_get2.
35441 (__libc_malloc): Unify retrying after main arena failure with
35442 __libc_memalign version.
35443 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35444
f85fa270
L
354452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35446
35447 [BZ #14166]
35448 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35449 to __redirect_strstr.
35450 (__strstr_sse42): Use typeof __redirect_strstr.
35451 (__strstr_ia32): Likewise.
35452 (__libc_strstr): New prototype.
35453 (strstr): Renamed to ...
35454 (__libc_strstr): This.
35455 (strstr): New strong alias of __libc_strstr.
35456 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35457 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35458 __redirect_time.
35459 Include <time.h>.
35460 (__libc_time): New prototype.
35461 (time_ifunc): Replace time with __libc_time.
35462 (time): New strong alias and hidden definition of __libc_time.
35463 (__GI_time): Remove strong alias.
35464 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35465 Include <stddef.h>.
35466 (memmove): Redefined to __redirect_memmove.
35467 (__memmove_sse2): Use typeof __redirect_memmove.
35468 (__memmove_ssse3): Likewise.
35469 (__memmove_ssse3_back): Likewise.
35470 (__libc_memmove): New prototype.
35471 (memmove): Renamed to ...
35472 (__libc_memmove): This.
35473 (memmove): New strong alias of __libc_memmove.
35474
33b4a91e
MS
354752012-08-08 Mark Salter <msalter@redhat.com>
35476
35477 * elf/elf.h
35478 (R_MN10300_TLS_GD): Define.
35479 (R_MN10300_TLS_LD): Likewise.
35480 (R_MN10300_TLS_LDO): Likewise.
35481 (R_MN10300_TLS_GOTIE): Likewise.
35482 (R_MN10300_TLS_IE): Likewise.
35483 (R_MN10300_TLS_LE): Likewise.
35484 (R_MN10300_TLS_DTPMOD): Likewise.
35485 (R_MN10300_TLS_DTPOFF): Likewise.
35486 (R_MN10300_TLS_TPOFF): Likewise.
35487 (R_MN10300_SYM_DIFF): Likewise.
35488 (R_MN10300_ALIGN): Likewise.
35489 (R_MN10300_NUM): Update.
35490
b36137f1
JM
354912012-08-08 Joseph Myers <joseph@codesourcery.com>
35492
35493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35494 Remove.
35495
cdd915fd
RM
354962012-08-08 Roland McGrath <roland@hack.frob.com>
35497
a2433aac
RM
35498 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35499
cdd915fd
RM
35500 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35501 sysdeps/unix -> sysdeps/posix move.
35502 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35503
bf9b740a
AM
355042012-08-07 Allan McRae <allan@archlinux.org>
35505
35506 [BZ #14303]
35507 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35508 (SUNOS_CPP): Likewise.
35509 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35510 not found.
35511 (open_input): Call CPP using execvp.
35512
93df14ee
JM
355132012-08-07 Joseph Myers <joseph@codesourcery.com>
35514
35515 * sysdeps/unix/sysv/linux/kernel-features.h
35516 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35517 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35518 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35519 (__ASSUME_WAITID_SYSCALL): Likewise.
35520 * sysdeps/unix/sysv/linux/dl-execstack.c
35521 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35522 code unconditional.
35523 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35524 conditional code.
35525 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35526 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35527 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35528 code.
35529 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35530 unconditional.
35531 [__ASSUME_WAITID_SYSCALL]: Likewise.
35532 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35533
d34689de
RM
355342012-08-07 Roland McGrath <roland@hack.frob.com>
35535
a281decc
RM
35536 * sysdeps/unix/closedir.c: Renamed to ...
35537 * sysdeps/posix/closedir.c: ... here.
35538 * sysdeps/unix/dirfd.c: Renamed to ...
35539 * sysdeps/posix/dirfd.c: ... here.
35540 * sysdeps/unix/dirstream.h: Renamed to ...
35541 * sysdeps/posix/dirstream.h: ... here.
35542 * sysdeps/unix/fdopendir.c: Renamed to ...
35543 * sysdeps/posix/fdopendir.c: ... here.
35544 * sysdeps/unix/opendir.c: Renamed to ...
35545 * sysdeps/posix/opendir.c: ... here.
35546 * sysdeps/unix/readdir.c: Renamed to ...
35547 * sysdeps/posix/readdir.c: ... here.
35548 * sysdeps/unix/readdir_r.c: Renamed to ...
35549 * sysdeps/posix/readdir_r.c: ... here.
35550 * sysdeps/unix/rewinddir.c: Renamed to ...
35551 * sysdeps/posix/rewinddir.c: ... here.
35552 * sysdeps/unix/seekdir.c: Renamed to ...
35553 * sysdeps/posix/seekdir.c: ... here.
35554 * sysdeps/unix/telldir.c: Renamed to ...
35555 * sysdeps/posix/telldir.c: ... here.
35556 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35557 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35558 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35559 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35560
22895b47
RM
35561 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35562 * bits/fcntl.h: ... here.
35563
707a53b6
RM
35564 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35565 not 0.
35566 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35567 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35568 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35569 (struct flock): Move l_start, l_len to the beginning.
35570 Use __pid_t for l_pid.
35571 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35572 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35573 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35574 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35575 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35576 [__USE_LARGEFILE64] (struct flock64): New type.
35577 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35578
f0bd3e25
RM
35579 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35580 * bits/dirent.h: ... here.
35581
d34689de
RM
35582 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35583 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35584
6dad2c06
JM
355852012-08-07 Joseph Myers <joseph@codesourcery.com>
35586
35587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35588 Change from 2.6.0 to 2.6.16.
35589 * sysdeps/unix/sysv/linux/configure: Regenerated.
35590 * sysdeps/unix/sysv/linux/kernel-features.h
35591 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35592 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35593 version.
35594 (__ASSUME_UTIMES): Likewise.
35595 (__ASSUME_CLONE_STOPPED): Remove.
35596 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35597 architectures, not kernel version.
35598 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35599 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35600 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35601 (__ASSUME_WAITID_SYSCALL): Likewise.
35602 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35603 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35604 * README: State 2.6.16 as minimum Linux kernel version. Do not
35605 refer to older versions.
35606
03af9520
RM
356072012-08-06 Roland McGrath <roland@hack.frob.com>
35608
8e49df1d
RM
35609 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35610 Define alphasort64 as an alias.
35611 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35612 Define versionsort64 as an alias.
35613 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35614 Define scandir64 as an alias.
35615 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35616 Define scandirat64 as an alias.
35617 * dirent/alphasort64.c (alphasort64):
35618 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35619 * dirent/versionsort64.c: Likewise.
35620 * dirent/scandir64.c: Likewise.
35621 * dirent/scandirat64.c: Likewise.
35622 * sysdeps/wordsize-64/alphasort.c: File removed.
35623 * sysdeps/wordsize-64/alphasort64.c: File removed.
35624 * sysdeps/wordsize-64/scandir.c: File removed.
35625 * sysdeps/wordsize-64/scandir64.c: File removed.
35626 * sysdeps/wordsize-64/scandirat.c: File removed.
35627 * sysdeps/wordsize-64/scandirat64.c: File removed.
35628 * sysdeps/wordsize-64/versionsort.c: File removed.
35629 * sysdeps/wordsize-64/versionsort64.c: File removed.
35630 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35631 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35632 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35633 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35634 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35635 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35636 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35637 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35638
35639 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35641 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35643 [defined __arch64__ || defined __sparcv9]
35644 (__INO_T_MATCHES_INO64_T): New macro.
35645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35646 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35647 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35648 * sysdeps/unix/sysv/linux/bits/dirent.h
35649 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35650 (_DIRENT_MATCHES_DIRENT64): New macro.
35651
03af9520
RM
35652 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35653 Define lockf64 as an alias.
35654 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35655 Define fseeko64 as an alias.
35656 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35657 Define ftello64 as an alias.
35658 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35659 Define _IO_fgetpos64 and fgetpos64 as aliases.
35660 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35661 Define _IO_fsetpos64 and fsetpos64 as aliases.
35662 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35663 Conditionalize body on this.
35664 * libio/fseeko64.c: Likewise.
35665 * libio/ftello64.c: Likewise.
35666 * libio/iofgetpos64.c: Likewise.
35667 * libio/iofsetpos64.c: Likewise.
35668 * sysdeps/wordsize-64/lockf.c: File removed.
35669 * sysdeps/wordsize-64/lockf64.c: File removed.
35670 * sysdeps/wordsize-64/fseeko.c: File removed.
35671 * sysdeps/wordsize-64/fseeko64.c: File removed.
35672 * sysdeps/wordsize-64/ftello.c: File removed.
35673 * sysdeps/wordsize-64/ftello64.c: File removed.
35674 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35675 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35676 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35677 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35678 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35680 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35681 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35682 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35683 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35684 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35685 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35686 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35687 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35688
35689 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35691 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35693 [defined __arch64__ || defined __sparcv9]
35694 (__OFF_T_MATCHES_OFF64_T): New macro.
35695 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35696 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35698 (__OFF_T_MATCHES_OFF64_T): New macro.
35699
c5757acd
L
357002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35701
35702 * stdlib/secure-getenv.c (__secure_getenv): Replace
35703 GLIBC_2_16 with GLIBC_2_17.
35704
3a31811e
L
357052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35706
35707 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35708 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35709
faa2bccb
DM
357102012-08-03 David S. Miller <davem@davemloft.net>
35711
35712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35713
85fe1997
JM
357142012-08-03 Joseph Myers <joseph@codesourcery.com>
35715
35716 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35717 Remove.
35718 (__ASSUME_CORRECT_SI_PID): Likewise.
35719 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35720 (__ASSUME_TMPFS_NAME): Likewise.
35721 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35722 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35723 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35724 (HAVE_AUX_SECURE): Make definition unconditional.
35725 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35726 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35727
4f75b7a0
RM
357282012-08-03 Roland McGrath <roland@hack.frob.com>
35729
35730 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35731 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35732 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35733 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35734 __eloop_threshold instead of SYMLOOP_MAX.
35735
35736 * sysdeps/generic/eloop-threshold.h: New file.
35737 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35738 of MAXSYMLINKS.
35739 * elf/chroot_canon.c (chroot_canon): Likewise.
35740
7aab07e4
JM
357412012-08-03 Joseph Myers <joseph@codesourcery.com>
35742
35743 [BZ #13717]
35744 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35745 Change to 2.6.0 everywhere.
35746 * sysdeps/unix/sysv/linux/configure: Regenerated.
35747 * sysdeps/unix/sysv/linux/kernel-features.h
35748 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35749 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35750 kernel versions.
35751 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35752 (__ASSUME_FUTEX_REQUEUE): Remove.
35753 (__ASSUME_STATFS64): Define unconditionally.
35754 (__ASSUME_AT_SECURE): Likewise.
35755 (__ASSUME_CORRECT_SI_PID): Likewise.
35756 (__ASSUME_TGKILL): Define without depending on kernel version for
35757 i386.
35758 (__ASSUME_UTIMES): Likewise.
35759 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35760 kernel version.
35761 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35762 (__ASSUME_TMPFS_NAME): Likewise.
35763 * README: Update reference to Linux kernel versions.
35764
b67e9372
MP
357652012-08-02 Marek Polacek <polacek@redhat.com>
35766
1f529f7d 35767 [BZ# 14150]
b67e9372
MP
35768 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35769 libc_cv_asm_type_prefix with %.
35770 * configure: Regenerated.
d2441631
RM
35771 * include/libc-symbols.h: Remove comment about
35772 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
35773 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35774 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35775 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35776 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35777 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35778 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35779 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35780 * elf/tst-unique2mod1.c: Likewise.
35781 * elf/tst-unique1mod2.c: Likewise.
35782 * elf/tst-unique1mod1.c: Likewise.
35783 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35784 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35785 Replace ASM_TYPE_DIRECTIVE with .type.
35786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35787 * sysdeps/i386/sysdep.h: Likewise.
35788 * sysdeps/x86_64/sysdep.h: Likewise.
35789 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
35790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35791 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 35792 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
35793 * sysdeps/powerpc/powerpc32/sysdep.h:
35794 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
35795 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35796 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35797 * sysdeps/i386/fpu/e_powf.S: Likewise.
35798 * sysdeps/i386/fpu/e_expl.S: Likewise.
35799 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35800 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35801 * sysdeps/i386/fpu/e_pow.S: Likewise.
35802 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35803 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35804 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35805 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35806 * sysdeps/i386/fpu/e_log2.S: Likewise.
35807 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35808 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35809 * sysdeps/i386/fpu/e_powl.S: Likewise.
35810 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35811 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35812 * sysdeps/i386/fpu/e_logl.S: Likewise.
35813 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35814 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35815 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35816 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35817 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35818 * sysdeps/i386/fpu/e_log.S: Likewise.
35819 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35820 * sysdeps/i386/fpu/e_logf.S: Likewise.
35821 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35822 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35823 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35824 * sysdeps/i386/fpu/e_log10.S: Likewise.
35825 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35826 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35827 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35828 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35829 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35830 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35831 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35832 * sysdeps/i386/i686/strtok.S: Likewise.
35833 * sysdeps/i386/i386-mcount.S: Likewise.
35834 * sysdeps/i386/strtok.S: Likewise.
35835 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35836 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35837 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35838 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35839 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35840 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35841 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35842 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35843 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35844 * sysdeps/x86_64/_mcount.S: Likewise.
35845 * sysdeps/x86_64/strtok.S: Likewise.
35846 * sysdeps/sh/_mcount.S: Likewise.
35847
2747bf9a
RM
358482012-08-01 Roland McGrath <roland@hack.frob.com>
35849
35850 * libio/iofopen.c: Include <fcntl.h>.
35851 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35852 (_IO_fopen64, fopen64): Define as aliases.
35853 * libio/iofopen64.c: Include <fcntl.h>.
35854 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35855 Conditionalize body on this.
35856 * sysdeps/wordsize-64/iofopen.c: File removed.
35857 * sysdeps/wordsize-64/iofopen64.c: File removed.
35858
3fb791b8
MP
358592012-08-01 Marek Polacek <polacek@redhat.com>
35860
35861 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35862 Use dlfcn directly instead of a variable.
35863 (binfmt-subdir): Do not define.
35864 (dlfcn): Likewise.
35865
a9f1039f
JM
358662012-08-01 Joseph Myers <joseph@codesourcery.com>
35867
23bddc06
JM
35868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35869 Remove all definitions.
35870 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35871 <kernel-features.h>.
35872 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35873 (miss_F_GETOWN_EX): Remove all definitions.
35874 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35875 macro definition.
35876 [!__ASSUME_FCNTL64]: Remove conditional code.
35877 [__ASSUME_FCNTL64]: Make code unconditional.
35878 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35879 <kernel-features.h>.
35880 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35881 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35882 (lockf64) [__NR_fcntl64]: Make code unconditional.
35883 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35884
a9f1039f
JM
35885 * sysdeps/unix/sysv/linux/kernel-features.h
35886 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35887 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35888 Make code unconditional.
35889 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35890 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35892 [__NR_vfork]: Make code unconditional.
35893 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35894 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35896 [__NR_vfork]: Make code unconditional.
35897 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35898 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35899
09c0ee5f
RM
359002012-08-01 Roland McGrath <roland@hack.frob.com>
35901
48aec5b9
RM
35902 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35903 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35904
cd97c966
RM
35905 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35906 Define mkstemp64 as an alias.
3f55550c
RM
35907 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35908 Define mkstemps64 as an alias.
cd97c966
RM
35909 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35910 Define mkostemp64 as an alias.
b8625cfc
RM
35911 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35912 Define mkostemps64 as an alias.
cd97c966
RM
35913 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35914 Conditionalize body on this.
35915 * misc/mkostemp64.c: Likewise.
b8625cfc 35916 * misc/mkostemps64.c: Likewise.
3f55550c 35917 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35918 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35919 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35920 * sysdeps/wordsize-64/mkostemp.c: File removed.
35921 * sysdeps/wordsize-64/mkstemp.c: File removed.
35922 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35923 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35924 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35926
09c0ee5f
RM
35927 [BZ #14138]
35928 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35929 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35930 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35931 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35932
35933 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35934 compat_symbol macros from <shlib-compat.h> rather than the underlying
35935 default_symbol_version and symbol_version macros, so that DEFAULT
35936 lines in shlib-versions are respected.
35937 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35938
7e66ee51
FW
359392012-08-01 Florian Weimer <fweimer@redhat.com>
35940
35941 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35942 Declare with warn_unused_result.
35943 (setgid, setregid, setegid, setresgid): Likewise.
35944 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35945 Likewise.
35946 * WUR-REPORT: Remove set*id functions.
35947
d2a54255
PT
359482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35949
35950 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35951
7ecdb005
RM
359522012-07-31 Roland McGrath <roland@hack.frob.com>
35953
b4180a5e 35954 [BZ #10191]
789bd351
RM
35955 * include/sys/socket.h (__libc_accept, __libc_accept4):
35956 Add attribute_hidden.
35957 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35958
40ce302d
RM
35959 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35960 use of PTR_MANGLE.
35961 * inet/getnetgrent_r.c (setup): Likewise.
35962
7ecdb005
RM
35963 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35964
e2eabb2c
DM
359652012-07-31 David S. Miller <davem@davemloft.net>
35966
35967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35968
d0419dbf
JM
359692012-07-31 Joseph Myers <joseph@codesourcery.com>
35970
35971 [BZ #13629]
35972 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35973 value between 1.0 and 2.0 and smaller part has absolute value less
35974 than 1.0.
35975 * math/s_clog10.c (__clog10): Likewise.
35976 * math/s_clog10f.c (__clog10f): Likewise.
35977 * math/s_clog10l.c (__clog10l): Likewise.
35978 * math/s_clogf.c (__clogf): Likewise.
35979 * math/s_clogl.c (__clogl): Likewise.
35980 * math/libm-test.inc (clog_test): Add more tests.
35981 (clog10_test): Likewise.
35982 * sysdeps/i386/fpu/libm-test-ulps: Update.
35983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35984
2bc13872
FW
359852012-07-31 Florian Weimer <fweimer@redhat.com>
35986
35987 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35988 Exit with zero in case no suitable GID is found, and write a
35989 message to standard error.
35990
bea9b193
RM
359912012-07-30 Roland McGrath <roland@hack.frob.com>
35992
35993 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35994 rather than to 1.
35995 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35996 (MAXPATHLEN): Removed.
35997 (NOGROUP, NODEV): New macros.
35998 (setbit, clrbit, isset, isclr): New macros.
35999 (howmany, roundup, powerof2): New macros.
36000 (DEV_BSIZE): New macro.
36001
36002 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36003 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36004
36005 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36006 definition on [!__NO_LONG_DOUBLE_MATH].
36007
36008 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36009 PTR_MANGLE and PTR_DEMANGLE.
36010
36011 * socket/accept4.c (accept4): Rename to __libc_accept4.
36012 Define accept4 as a weak alias.
36013
36014 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36015 on [_DIRENT_HAVE_D_TYPE].
36016 * io/ftw.c (ftw_dir): Likewise.
36017
36018 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36019
36020 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36021
36022 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36023 Use the BSD numbers rather than the arbitrary ones we had.
36024 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36025 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36026 (SIGXCPU, SIGXFSZ): New macros.
36027 (_NSIG): Now 32.
36028
36029 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36030 initializer on [_LIBC_REENTRANT].
36031
36032 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36033 definitions inside [_POSIX_MAPPED_FILES].
36034
36035 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36036
36037 * dirent/opendir.c: Include <fcntl.h>.
36038
36039 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36040 (__libc_getspecific): Likewise.
36041 (__libc_key_create): Likewise.
36042
36043 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36044 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36045 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36046 (tmpfile64): Define as alias.
36047 * sysdeps/wordsize-64/tmpfile.c: File removed.
36048 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36049 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36050 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36051
36052 * stdio-common/vfscanf.c: Include <stdbool.h>.
36053 * nss/makedb.c: Likewise.
36054 * stdio-common/_i18n_number.h: Likewise.
36055 * argp/argp-help.c: Likewise.
36056 * posix/wordexp.c: Likewise.
36057 * sysdeps/posix/spawni.c: Likewise.
36058 * nss/nss_files/files-initgroups.c: Likewise.
36059 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36060 * nss/nss_files/files-initgroups.c: Likewise.
36061 * nss/nss_db/db-netgrp.c: Likewise.
36062 * nss/nss_db/db-initgroups.c: Likewise.
36063 * io/fchmodat.c: Include <sys/stat.h>.
36064
36065 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36066 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36067
36068 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36069 [HAVE_MMAP].
36070
36071 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36072 Add multiple inclusion protection.
36073
e5abc686
DM
360742012-07-27 David S. Miller <davem@davemloft.net>
36075
36076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36077
815e6fa3
GB
360782012-07-27 Gary Benson <gbenson@redhat.com>
36079
36080 [BZ #14298]
36081 * elf/rtld.c: Include <stap-probe.h>.
36082 (dl_main): Added static probes "init_start" and "init_complete".
36083 * elf/dl-load.c: Include <stap-probe.h>.
36084 (lose): Take new parameter "nsid".
36085 Added static probe "map_failed".
36086 (_dl_map_object_from_fd): Pass namespace id to lose.
36087 Added static probe "map_start".
36088 (open_verify): Pass namespace id to lose.
36089 * elf/dl-open.c: Include <stap-probe.h>.
36090 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36091 and "reloc_complete".
36092 * elf/dl-close.c: Include <stap-probe.h>.
36093 (_dl_close_worker): Added static probes "unmap_start" and
36094 "unmap_complete".
36095 * elf/rtld-debugger-interface.txt: New file documenting the above.
36096
9f98c16c
RM
360972012-07-26 Roland McGrath <roland@hack.frob.com>
36098
36099 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36100 rather than a string variable.
36101 * sunrpc/rpc_main.c (h_output): Likewise.
36102 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36103
f3c22df3
PT
361042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36105
36106 * inet/check_native.c: New file.
36107
3129cfc6
JM
361082012-07-26 Joseph Myers <joseph@codesourcery.com>
36109
da865e95
JM
36110 [BZ #13629]
36111 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36112 if larger part has absolute value 1.0.
36113 * math/s_clog10.c (__clog10): Likewise.
36114 * math/s_clog10f.c (__clog10f): Likewise.
36115 * math/s_clog10l.c (__clog10l): Likewise.
36116 * math/s_clogf.c (__clogf): Likewise.
36117 * math/s_clogl.c (__clogl): Likewise.
36118 * math/libm-test.inc (clog_test): Add more tests.
36119 (clog10_test): Likewise.
36120 * sysdeps/i386/fpu/libm-test-ulps: Update.
36121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36122
3129cfc6
JM
36123 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36124 (pltexit): Likewise.
36125 (La_regs): Likewise.
36126 (La_retval): Likewise.
36127 (int_retval): Likewise.
36128 Update #error for removed macros to refer only to definitions in
36129 tst-audit.h.
36130 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36131 macro.
36132 (pltexit): Likewise.
36133 (La_regs): Likewise.
36134 (La_retval): Likewise.
36135 (int_retval): Likewise.
36136 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36137 macro.
36138 (pltexit): Likewise.
36139 (La_regs): Likewise.
36140 (La_retval): Likewise.
36141 (int_retval): Likewise.
36142 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36143 macro.
36144 (pltexit): Likewise.
36145 (La_regs): Likewise.
36146 (La_retval): Likewise.
36147 (int_retval): Likewise.
36148 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36149 macro.
36150 (pltexit): Likewise.
36151 (La_regs): Likewise.
36152 (La_retval): Likewise.
36153 (int_retval): Likewise.
36154 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36155 macro.
36156 (pltexit): Likewise.
36157 (La_regs): Likewise.
36158 (La_retval): Likewise.
36159 (int_retval): Likewise.
36160 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36161 macro.
36162 (pltexit): Likewise.
36163 (La_regs): Likewise.
36164 (La_retval): Likewise.
36165 (int_retval): Likewise.
36166 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36167 macro definitions in tst-audit.h.
36168 * sysdeps/i386/tst-audit.h: New file.
36169 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36170 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36171 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36172 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36173 * sysdeps/sh/tst-audit.h: Likewise.
36174 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36175 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36176 * sysdeps/x86_64/tst-audit.h: Likewise.
36177
bfc07087
AJ
361782012-07-26 Andreas Jaeger <aj@suse.de>
36179
b1b2aaf8
AJ
36180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36181 ptrace.
36182
36183 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36184 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36185 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36186 PTRACE_O_MASK.
36187 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36188 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36189 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36190
bfc07087
AJ
36191 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36192 value.
36193
36194 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36195 _sigsys.
36196 (si_call_addr, si_syscall, si_arch): Define new macro.
36197 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36198 _sigsys.
36199 (si_call_addr, si_syscall, si_arch): Define new marcro.
36200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36201 _sigsys.
36202 (si_call_addr, si_syscall, si_arch): Define new macro.
36203 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36204 _sigsys.
36205 (si_call_addr, si_syscall, si_arch): Define new macro.
36206
89b4b02f
JM
362072012-07-25 Joseph Myers <joseph@codesourcery.com>
36208
36209 [BZ #13717]
36210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36211 Change to 2.4.21 where previously 2.4.1.
36212 * sysdeps/unix/sysv/linux/configure: Regenerated.
36213 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36214 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36215 Linux kernel version.
36216 (__ASSUME_STD_AUXV): Remove.
36217 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36218 kernel version.
36219 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36220 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36221 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36222 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36223 (__ASSUME_NETLINK_SUPPORT): Likewise.
36224 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36225 (__no_netlink_support): Remove conditional definition.
36226 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36227 Remove.
36228 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36229 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36230 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36231 (if_nameindex_ioctl): Remove.
36232 (if_nameindex_netlink): Do not handle __no_netlink_support.
36233 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36234 code.
36235 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36236 Remove conditional code.
36237 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36238 code.
36239 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36240 unconditional.
36241 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36242 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36243 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36244 Remove.
36245 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36246 [!__ASSUME_STD_AUXV]: Remove conditional code.
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36248 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36249 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36251 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36252 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36253 code.
36254 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36256 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36257 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36258 conditional code.
36259 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36261 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36262 code.
36263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36264 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36265 conditional code.
36266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36267 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36268 code unconditional.
36269 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36270 conditional code.
36271 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36272 unconditional.
36273 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36274 conditional code.
36275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36276 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36277 unconditional.
36278 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36279 conditional code.
36280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36281 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36282 code unconditional.
36283 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36284 conditional code.
36285 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36286 unconditional.
36287 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36288 conditional code.
36289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36290 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36291 code unconditional.
36292 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36293 conditional code.
36294 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36295 unconditional.
36296 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36297 conditional code.
36298
842a39cd
AS
362992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36300
36301 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36302 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36303 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36304 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36305 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36306 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36307 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36308 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36309 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36310 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36311 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36312 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36313 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36314 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36315 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36316 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36317 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36319 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36321 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36322 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36324
84b3fd84
FW
363252012-07-25 Florian Weimer <fweimer@redhat.com>
36326
36327 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36328 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36329 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36330 Introduce __libc_secure_getenv.
0c7936d5
FW
36331 * stdlib/Versions (2.17): Add secure_getenv
36332 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36333 * stdlib/secure-getenv.c: Rename __secure_getenv to
36334 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36335 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36336 * stdlib/tst-secure-getenv.c: New.
36337 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36338 * manual/startup.texi (Environment Access): Document
36339 secure_getenv.
84b3fd84
FW
36340 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36341 __libc_secure_getenv.
36342 * inet/ruserpass.c (ruserpass): Likewise.
36343 * malloc/mtrace.c (mtrace): Likewise.
36344 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36345 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36346 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36347 * sysdeps/posix/tempname.c: Likewise. Evaluate
36348 HAVE_SECURE_GETENV.
36349 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36350 __secure_getenv to __libc_secure_getenv.
84b3fd84 36351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36353 Likewise.
36354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36355 Likewise.
36356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36363
56e49b71
JM
363642012-07-25 Joseph Myers <joseph@codesourcery.com>
36365
36366 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36367 (struct La_i86_retval): Likewise.
36368 (struct La_x86_64_regs): Likewise.
36369 (struct La_x86_64_retval): Likewise.
36370 (struct La_x32_regs): Likewise.
36371 (struct La_x32_retval): Likewise.
36372 (struct La_ppc32_regs): Likewise.
36373 (struct La_ppc32_retval): Likewise.
36374 (struct La_ppc64_regs): Likewise.
36375 (struct La_ppc64_retval): Likewise.
36376 (struct La_sh_regs): Likewise.
36377 (struct La_sh_retval): Likewise.
36378 (struct La_s390_32_regs): Likewise.
36379 (struct La_s390_32_retval): Likewise.
36380 (struct La_s390_64_regs): Likewise.
36381 (struct La_s390_64_retval): Likewise.
36382 (struct La_sparc32_regs): Likewise.
36383 (struct La_sparc32_retval): Likewise.
36384 (struct La_sparc64_regs): Likewise.
36385 (struct La_sparc64_retval): Likewise.
36386 (struct audit_ifaces): Remove architecture-specific pltenter and
36387 pltexit members.
36388 * sysdeps/i386/ldsodefs.h: New file.
36389 * sysdeps/powerpc/ldsodefs.h: Likewise.
36390 * sysdeps/s390/ldsodefs.h: Likewise.
36391 * sysdeps/sh/ldsodefs.h: Likewise.
36392 * sysdeps/sparc/ldsodefs.h: Likewise.
36393 * sysdeps/x86_64/ldsodefs.h: Likewise.
36394
354691b7
MP
363952012-07-25 Marek Polacek <polacek@redhat.com>
36396
36397 [BZ #6808]
36398 * math/libm-test.inc (yn_test): Add another test.
36399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36400 to ERANGE when the result is +-Inf.
36401 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36402 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36403 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36404 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36405
bf9e2071
JM
364062012-07-24 Joseph Myers <joseph@codesourcery.com>
36407
36408 * conform/data/time.h-data (NULL): Use macro-constant. Require
36409 equal to 0.
36410 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36411 clock_t.
36412 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36413
57633811
TS
364142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36415
36416 * configure.in <sysdeps resolving>: Correct printing
36417 Implies_before.
36418 * configure: Regenerate.
36419
c23c33b0
TS
364202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36421
36422 * math/w_ilogb.c: Include <limits.h>.
36423 * math/w_ilogbl.c: Likewise.
36424
b5982523
JM
364252012-07-20 Joseph Myers <joseph@codesourcery.com>
36426
36427 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36428 va_copy. Document allowing for unavailable va_copy only as
36429 pre-C99 compatibility.
36430 * manual/string.texi (Copying and Concatenation): Use va_copy
36431 instead of __va_copy in concat example.
36432
ac4ea442
PT
364332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36434
36435 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36436 (__sendto): Use create_address_port. Initialize APORT and deallocate
36437 it if not null.
36438
f98eafbd
PT
36439 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36440 with O_NOLINK passed to __file_name_lookup.
36441
898c7aab
PT
36442 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36443 with O_NOLINK passed to __file_name_lookup.
36444
0ced335a
PT
36445 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36446 negative N or less than NGIDS.
36447
b3404dbd
PT
36448 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36449 type to string_t. Set ERANGE as errno and return it if NAME is not big
36450 enough. Use memcpy instead of strncpy.
36451
0f48659e
JM
364522012-07-20 Joseph Myers <joseph@codesourcery.com>
36453
36454 * elf/Makefile (check-data): Remove.
36455 (localplt.data): New vpath directive.
36456 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36457 instead of $(check-data).
36458 * scripts/data/localplt-generic.data: Move to ...
36459 * sysdeps/generic/localplt.data: ... here.
36460 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36461 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36462 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36464 ... here.
36465 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36467 ... here.
36468 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36470 ... here.
36471 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36473 ... here.
36474 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36476 ... here.
36477 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36479 ... here.
36480
d37cbdaa
AZ
364812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36482
36483 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36484 PPC32 and PPC64 files.
36485 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36486 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36487
46f85fc2
AK
364882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36489
36490 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36491 __makecontext_ret to ...
36492 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36493 ... here and call exit if uc_link is NULL. New file.
36494 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36495 __makecontext_ret.S.
36496 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36497 __makecontext_ret to ...
36498 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36499 ... here and call exit if uc_link is NULL. New file.
36500 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36501 __makecontext_ret.S.
36502
08f43f9b
AK
365032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36504
36505 * elf/elf.h (R_390_IRELATIVE): New definition.
36506 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36507 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36508 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36509 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36510 (elf_machine_lazy_rel): Likewise.
36511 * sysdeps/s390/dl-irel.h: New file.
36512 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36513 * sysdeps/s390/s390-64/memset.S: New asm code.
36514 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36515 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36516 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36517 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36518 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36519 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36521 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36522 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36523 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36524 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36525 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36526 * sysdeps/s390/s390-32/memset.S: New asm code.
36527 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36528
3b05db33
MP
365292012-07-17 Marek Polacek <polacek@redhat.com>
36530
36531 [BZ #14349]
36532 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36533 * sysdeps/s390/s390-64/configure.in: Likewise.
36534 * sysdeps/sparc/configure.in: Likewise.
36535 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36536 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36537 * sysdeps/i386/configure.in: Likewise.
36538 * sysdeps/x86_64/configure.in: Likewise.
36539 * sysdeps/sh/configure.in: Likewise.
36540 * sysdeps/s390/s390-32/configure: Regenerated.
36541 * sysdeps/s390/s390-64/configure: Likewise.
36542 * sysdeps/x86_64/configure: Likewise.
36543 * sysdeps/sh/configure: Likewise.
36544 * sysdeps/powerpc/powerpc64/configure: Likewise.
36545 * sysdeps/powerpc/powerpc32/configure: Likewise.
36546 * sysdeps/sparc/configure: Likwise.
36547 * sysdeps/i386/configure: Likewise.
36548
a66877c6
MP
36549 * elf/dl-open.c: Comment fixes.
36550
cfc82fd8
JM
365512012-07-17 Joseph Myers <joseph@codesourcery.com>
36552
bd29910a
JM
36553 * Makefile [CXX] (check-data): Remove.
36554 [CXX] (c++-types.data): New vpath directive.
36555 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36556 vpath. Do not allow for C++ type data being missing.
36557 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36558 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36559 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36560 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36561 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36562 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36563 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36565 ... here.
36566 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36568 ... here.
36569 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36571 ... here.
36572 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36574 ... here.
36575 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36577 ... here.
36578 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36580 ... here.
36581 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36583 ... here.
36584 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36586
cfc82fd8
JM
36587 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36588 definitions to architecture-specific files.
36589 (TLS_IE): Likewise.
36590 (TLS_LD): Likewise.
36591 (TLS_GD): Likewise.
36592 * sysdeps/i386/tls-macros.h: New file.
36593 * sysdeps/powerpc/tls-macros.h: Likewise.
36594 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36595 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36596 * sysdeps/sh/tls-macros.h: Likewise.
36597 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36598 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36599 * sysdeps/x86_64/tls-macros.h: Likewise.
36600
f7db3170
TS
366012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36602
07cbfc23
TS
36603 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36604 zero value for regular exit case.
36605
f7db3170
TS
36606 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36607 (__start_context): Preserve zero value for regular exit case.
36608
dc97c227
TS
366092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36610 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36611
36612 * manual/setjmp.texi (setcontext): Clarify normal process
36613 termination when uc_link is the null pointer.
36614 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36615 exit call.
36616
d0cd7d02
AS
366172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36618
36619 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36620 preprocessor. Test for each exception mask separately.
36621
dd318934
AJ
366222012-07-16 Andreas Jaeger <aj@suse.de>
36623
36624 * po/ru.po: Update from translation team.
36625
8048311a
JM
366262012-07-15 Joseph Myers <joseph@codesourcery.com>
36627
36628 * conform/data/string.h-data (NULL): Use macro-constant. Require
36629 equal to 0.
36630 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36631 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36632 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36633 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36635
b637d46e
AJ
366362012-07-13 Andreas Jaeger <aj@suse.de>
36637
36638 * po/fr.po: Update from translation team.
36639
541428fe
MP
366402012-07-12 Marek Polacek <polacek@redhat.com>
36641
36642 [BZ #14173]
36643 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36644 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36645 loop condition.
36646
ec332e94
JM
366472012-07-12 Joseph Myers <joseph@codesourcery.com>
36648
36649 [BZ #13717]
36650 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36651 Change to 2.4.1 where previously 2.4.0.
36652 * sysdeps/unix/sysv/linux/configure: Regenerated.
36653 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36654 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36655 version.
36656 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36657 (__ASSUME_AT_CLKTCK): Remove.
36658 (__ASSUME_AT_PAGESIZE): Likewise.
36659 (__ASSUME_AT_XID): Likewise.
36660 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36661 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36662 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36663 unconditionally.
36664 (HAVE_AUX_PAGESIZE): Likewise.
36665 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36666 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36667 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36668
7b6e99be
JB
366692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36670
36671 [BZ #14307]
36672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36673 the temporary buffer used to invoke __gethostbyname2_r,
36674 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36675 host_data / struct gaih_addrtuple.
36676 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36677 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36678 header file nss/nsswitch.h.
36679 * nss/nsswitch.h (global scope): Add definition of implementation
36680 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36681 resolv/nss_dns/dns-host.c).
36682
608404eb
AJ
366832012-07-11 Andreas Jaeger <aj@suse.de>
36684
36685 * po/fr.po: Update from translation team.
36686
71220aca
AJ
36687 * po/sv.po: Update from translation team
36688 * po/fr.po: Another update from translation team.
36689
28cfe843
AZ
366902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36691
36692 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36693 for subnormals or multiply small sinh result by itself.
36694 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36696
6b90f981
DM
366972012-07-11 David S. Miller <davem@davemloft.net>
36698
36699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36700
c6825772
AS
367012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36702
36703 [BZ #14347]
36704 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36705 (INTERNAL_MARK): Shift it here.
36706
7b8e0d49
MP
367072012-07-10 Marek Polacek <polacek@redhat.com>
36708
36709 [BZ #14151]
36710 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36711 libc_cv_asm_global_directive with .globl.
36712 * configure: Regenerated.
36713 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36714 with .globl.
36715 * sysdeps/i386/configure: Regenerated.
36716 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36717 with .globl.
36718 * sysdeps/x86_64/configure: Regenerated.
36719 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36720 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36721 * elf/tst-unique2mod2.c: Likewise.
36722 * elf/tst-unique2mod1.c: Likewise.
36723 * elf/tst-unique1mod2.c: Likewise.
36724 * elf/tst-unique1mod1.c: Likewise.
36725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36726 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36728 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36729 * sysdeps/mach/sysdep.h: Likewise.
36730 * sysdeps/i386/sysdep.h: Likewise.
36731 * sysdeps/i386/i386-mcount.S: Likewise.
36732 * sysdeps/x86_64/_mcount.S: Likewise.
36733 * sysdeps/x86_64/sysdep.h: Likewise.
36734 * sysdeps/sh/_mcount.S: Likewise.
36735 * sysdeps/sh/sysdep.h: Likewise.
36736 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36737 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36738 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36739 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36740 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36741 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36742 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36743 * locale/localeinfo.h: Likewise.
36744 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36745 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36746
6c55cda3
RM
367472012-07-09 Roland McGrath <roland@hack.frob.com>
36748
36749 [BZ #14336]
36750 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36751 system".
36752 * manual/message.texi (The Uniforum approach): Likewise.
36753 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36754 (glibc iconv Implementation): Likewise.
36755
638a572e
JM
367562012-07-09 Joseph Myers <joseph@codesourcery.com>
36757
36758 [BZ #14337]
36759 * math/s_clog.c (__clog): Avoid scaling a value down where that
36760 could result in underflow.
36761 * math/s_clog10.c (__clog10): Likewise.
36762 * math/s_clog10f.c (__clog10f): Likewise.
36763 * math/s_clog10l.c (__clog10l): Likewise.
36764 * math/s_clogf.c (__clogf): Likewise.
36765 * math/s_clogl.c (__clogl): Likewise.
36766 * math/libm-test.inc (clog_test): Add more tests.
36767 (clog10_test): Likewise.
36768 * sysdeps/i386/fpu/libm-test-ulps: Update.
36769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36770
261f4859
AS
367712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36772
0abaf3e4
AS
36773 [BZ #14283]
36774 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36775 by 7 not 8 to examine high bit of fractional part.
36776
261f4859
AS
36777 [BZ #14042]
36778 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36779 for call to __mcount_internal.
36780 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36781 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36782 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36783
f17ac40d
JM
367842012-07-06 Joseph Myers <joseph@codesourcery.com>
36785
9ad63c23
JM
36786 [BZ #14154]
36787 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36788 approximation for values within 0x1p-13f of an odd multiple of
36789 pi/4.
36790 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36791 exception. Add more tests.
36792 * sysdeps/i386/fpu/libm-test-ulps: Update.
36793
f17ac40d
JM
36794 [BZ #6778]
36795 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36796 inputs and return -1 for them. Do not check for +Inf in case not
36797 reachable for +Inf.
36798 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36799 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36800 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36801 and return -1 for them. Do not check for +Inf in case not
36802 reachable for +Inf.
36803 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36804 define.
36805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36806 and return -1 for them. Do not check for +Inf in case not
36807 reachable for +Inf.
36808 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36809 spurious underflow.
36810 * sysdeps/i386/fpu/libm-test-ulps: Update.
36811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36812
fb21f89b
MF
368132012-07-06 Mike Frysinger <vapier@gentoo.org>
36814
36815 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36816
cdfe2c5e
JM
368172012-07-05 Joseph Myers <joseph@codesourcery.com>
36818
36819 [BZ #14157]
36820 [BZ #14331]
36821 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36822 could result in spurious underflow. Scale down values above
36823 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36824 * math/s_csqrtf.c (__csqrtf): Likewise.
36825 * math/s_csqrtl.c (__csqrtl): Likewise.
36826 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36827 spurious underflow.
36828 * sysdeps/i386/fpu/libm-test-ulps: Update.
36829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36830
70d35b67
AS
368312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36832
704bc459
AS
36833 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36834 xopen-msg.sed.
36835 * catgets/xopen-msg.awk: New file.
36836 * catgets/xopen-msg.sed: Removed.
36837
70d35b67
AS
36838 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36839 po2text.sed.
36840 * intl/po2test.awk: New file.
36841 * intl/po2test.sed: Removed.
36842
ca61cf32
JM
368432012-07-04 Joseph Myers <joseph@codesourcery.com>
36844
36845 [BZ #14328]
36846 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36847 or multiply small sinh result by itself.
36848 * math/s_ctanf.c (__ctanf): Likewise.
36849 * math/s_ctanh.c (__ctanh): Likewise.
36850 * math/s_ctanhf.c (__ctanhf): Likewise.
36851 * math/s_ctanhl.c (__ctanhl): Likewise.
36852 * math/s_ctanl.c (__ctanl): Likewise.
36853 * math/libm-test.inc (ctan_test_tonearest): New function.
36854 (ctan_test_towardzero): Likewise.
36855 (ctan_test_downward): Likewise.
36856 (ctan_test_upward): Likewise.
36857 (ctanh_test_tonearest): Likewise.
36858 (ctanh_test_towardzero): Likewise.
36859 (ctanh_test_downward): Likewise.
36860 (ctanh_test_upward): Likewise.
36861 (main): Call these new functions.
36862 * sysdeps/i386/fpu/libm-test-ulps: Update.
36863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36864
ca48a46a
MF
368652012-07-03 Mike Frysinger <vapier@gentoo.org>
36866
36867 * .gitignore: Delete /ports entry.
36868
9d63d37d
AJ
368692012-07-03 Andreas Jaeger <aj@suse.de>
36870
36871 * po/bg.po: Update from translation team.
36872 * po/cs.po: Likewise.
36873 * po/de.po: Likewise.
36874 * po/hr.po: Likewise.
36875 * po/nl.pl: Likewise.
36876 * po/pl.po: Likewise.
36877 * po/vi.po: Likewise.
36878
370ca3d2
JM
368792012-07-03 Joseph Myers <joseph@codesourcery.com>
36880
95f5a9a8
JM
36881 * Makeconfig [!+link] (+link-before-libc): New variable.
36882 [!+link] (+link-after-libc): Likewise.
36883 [!+link] (+link-tests): Likewise.
36884 [!+link] (+link): Define in terms of $(+link-before-libc) and
36885 $(+link-after-libc).
36886 [!+link-static] (+link-static-before-libc): New variable.
36887 [!+link-static] (+link-static-after-libc): Likewise.
36888 [!+link-static] (+link-static-tests): Likewise.
36889 [!+link-static] (+link-static): Define in terms of
36890 $(+link-static-before-libc) and $(+link-static-after-libc).
36891 [build-shared] (link-libc-before-gnulib): New variable.
36892 [build-shared] (link-libc-tests): Likewise.
36893 [build-shared] (link-libc): Define in terms of
36894 $(link-libc-before-gnulib).
36895 [!build-shared] (link-libc-tests): New variable.
36896 (link-libc-static-tests): New variable.
36897 [!gnulib] (gnulib-arch): New variable.
36898 [!gnulib] (gnulib-tests): Likewise.
36899 [!gnulib] (static-gnulib-arch): Likewise.
36900 [!gnulib] (static-gnulib-tests): Likewise.
36901 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36902 Define with "=" instead of ":=".
36903 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36904 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36905 * Rules (binaries-all-notests): New variable.
36906 (binaries-all-tests): Likewise.
36907 (binaries-static-notests): Likewise.
36908 (binaries-static-tests): Likewise.
36909 (binaries-all): Define using $(binaries-all-notests) and
36910 $(binaries-all-tests).
36911 (binaries-static): Define using $(binaries-static-notests) and
36912 $(binaries-static-tests).
36913 (binaries-shared-tests): New variable.
36914 (binaries-shared-notests): Likewise.
36915 (binaries-shared): Remove variable.
36916 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36917 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36918 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36919 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36920 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36921 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36922 * elf/Makefile (sln-modules): New variable.
36923 (extra-objs): Add $(sln-modules:=.o).
36924 (ldconfig-modules): Add static-stubs.
36925 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36926 * elf/static-stubs.c: New file.
36927
7a845b2c
JM
36928 [BZ #14283]
36929 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36930 by 7 not 8 to examine high bit of fractional part. Use volatile
36931 variables when splitting into final array of floats if
36932 __FLT_EVAL_METHOD__ != 0.
36933 * math/libm-test.inc (cos_test): Add another test.
36934 (sin_test): Likewise.
36935 * sysdeps/i386/fpu/libm-test-ulps: Update.
36936
e2283f38
JM
36937 [BZ #14273]
36938 * math/libm-test.inc (cosh_test): Add more tests.
36939
370ca3d2
JM
36940 * version.h (RELEASE): Set to "development".
36941 (VERSION): Set to "2.16.90".
36942
ee9247c3
CD
369432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36944
36945 * NEWS: Update copyright. Remove last-updated date.
36946 Mention math library bug fixes and timezone data changes.
36947 * README: Mention GNU/Hurd, x32, and HPPA support status.
36948
4648c381
TS
369492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36950
36951 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36952
aac78a43
AJ
369532012-06-27 Andreas Jaeger <aj@suse.de>
36954
36955 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36956
ed3dbfad
AJ
369572012-06-25 Andreas Jaeger <aj@suse.de>
36958
36959 * sysdeps/s390/fpu/libm-test-ulps: Update.
36960
4d0ee855
AS
369612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36962 Thomas Schwinge <thomas@codesourcery.com>
36963
36964 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36965 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36967 fanotify_mark.
36968
af1bce34
TS
369692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36970
a9fa33ba
TS
36971 * sysdeps/mach/start.c: Remove file.
36972 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36973 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36974 * sysdeps/sh/init-first.c: Likewise.
36975
58f902b8
TS
36976 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36977 registers for frame unwinding purposes, add CFI directives.
36978 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36979 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36980 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36981 Likewise.
36982
1518f58b
TS
36983 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36984 __fortify_fail returning.
36985 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36986
db9b5059
TS
36987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36988 sysdeps/sh/____longjmp_chk.S.
36989 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36990 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36991 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36992 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36993
967705fe
TS
36994 * sysdeps/sh/abort-instr.h: New file.
36995 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36996 process in case exit returns.
36997
a9def8c4
TS
36998 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36999 initialize the GOT register before use.
37000
2a649725
TS
37001 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37002 calculation of ARGC > 4.
37003
af1bce34
TS
37004 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37005 meaningful names to some local labels.
37006
d230f50a
KK
370072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37008 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37009
37010 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37011 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37012 (__arch_compare_and_exchange_val_16_acq): Likewise.
37013 (__arch_compare_and_exchange_val_32_acq): Likewise.
37014 (atomic_exchange_and_add): Fix gUSA sequence.
37015 (atomic_add): Likewise.
37016 (atomic_add_negative): Likewise.
37017 (atomic_add_zero): Likewise.
37018 (atomic_bit_test_set): Likewise.
37019
0479b305
AS
370202012-06-22 Andreas Schwab <schwab@redhat.com>
37021
37022 [BZ #13579]
37023 * include/link.h (struct link_map): Add l_free_initfini.
37024 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37025 l_initfini.
37026 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37027 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37028 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37029 set.
37030
0e3933b9
CD
370312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37032
37033 * configure.in: Use AC_LANG_SOURCE.
37034 * configure: Regenerate.
37035
4248b1b1
RM
370362012-06-22 Roland McGrath <roland@hack.frob.com>
37037
37038 * configure.in (libc_cv_localstatedir): New substituted variable.
37039 * configure: Regenerated.
37040 * config.make.in (localstatedir): New variable, substituted from
37041 libc_cv_localstatedir.
37042 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37043 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37044 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37045 * sysdeps/gnu/configure: Regenerated.
37046
006dd861
JL
370472012-06-21 Jeff Law <law@redhat.com>
37048
37049 [BZ #14277]
37050 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37051 free. Simplify list management for _LIBC case.
37052
79662d42
JM
370532012-06-21 Joseph Myers <joseph@codesourcery.com>
37054
b7abb4bf
JM
37055 [BZ #14273]
37056 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37057 Clear sign bit of 64-bit integer value before comparing against
37058 overflow value.
37059
79662d42
JM
37060 * sysdeps/mach/configure: Regenerated.
37061
1f150908
L
370622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37063
37064 [BZ #14278]
37065 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37066
28363bbf
JL
370672012-06-21 Jeff Law <law@redhat.com>
37068
37069 [BZ #13882]
37070 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37071 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37072 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37073 * elf/dl-open.c (dl_open_worker): Likewise.
37074
09615db4
CD
370752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37076
37077 * scripts/list-sources.sh: Scan PORTS for translations.
37078 * po/libc.pot: Regenerated.
37079
2174c6dd
AJ
370802012-06-21 Andreas Jaeger <aj@suse.de>
37081
37082 [BZ #12194]
37083 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37084 warning.
37085 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37086 * bits/byteswap-16.h (__bswap_16): Likewise.
37087 * bits/byteswap.h (__bswap_constant_16): Likewise.
37088
3ee947b1
L
370892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37090
37091 [BZ #14117]
a2f34833
L
37092 * sysdeps/i386/fpu_control.h: Removed.
37093 * sysdeps/x86_64/fpu_control.h: Moved to ...
37094 * sysdeps/x86/fpu_control.h: Here.
37095
3ee947b1
L
37096 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37097 (_FPU_SETCW): Likewise.
37098
ed1825f8
L
370992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37100
25f1282a
L
37101 [BZ #14117]
37102 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37103 * sysdeps/x86/fpu/bits/mathinline.h: This.
37104 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37105
ed1825f8
L
37106 [BZ #14050]
37107 [BZ #14117]
37108 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37109 functions if __x86_64__ is defined.
37110
36d54b74
CLT
371112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37112
37113 * string/endian.h: Add !__ASSEMBLER__ condition for including
37114 conversion interfaces.
37115
10285c21
JM
371162012-06-15 Joseph Myers <joseph@codesourcery.com>
37117
37118 [BZ #14241]
37119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37120 of ABS(x) in calculating zero to negative powers other than odd
37121 integers.
37122 * math/libm-test.inc (pow_test): Add more tests.
37123
06c5abbd
AJ
371242012-06-15 Andreas Jaeger <aj@suse.de>
37125
37126 * manual/contrib.texi (Contributors): Update entry of Liubov
37127 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37128 Machado Filho.
37129
a3aeac40
CH
371302012-06-15 Cyril Hrubis <metan@ucw.cz>
37131
37132 * string/string.h: Add __wur to GNU version of strerror_r.
37133
49bdf4c1
L
371342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37135
37136 [BZ #14229]
37137 * string/Makefile (tests): Add tst-strtok_r.
37138 * string/tst-strtok_r.c: New file.
37139 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37140 RAX_LP/RDX_LP on SAVE_PTR.
37141
834f9b8d
RM
371422012-06-14 Roland McGrath <roland@hack.frob.com>
37143
37144 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37145
75fa1921
JM
371462012-06-14 Joseph Myers <joseph@codesourcery.com>
37147
37148 * libm_test.inc (csqrt_test): Allow more spurious underflow
37149 exceptions.
37150 (j0_test): Likewise.
37151 (j1_test): Likewise.
37152 (y0_test): Likewise.
37153 (y1_test): Likewise.
37154
771766df
CD
371552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37156
37157 * po/Makefile (libc.pot): Use UTF-8 charset.
37158
ceb9e56b
PP
371592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37160
37161 [BZ #14210]
37162 Suppress sign-conversion warning from FD_SET.
37163 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37164 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37165 not unsigned long int.
37166 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37167
ddb28975
L
371682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37169
37170 [BZ #14050]
37171 [BZ #14117]
37172 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37173 __extern_always_inline instead of __extern_inline.
37174 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37175 (__signbit): Likewise.
37176 (__signbitl): Support C++ namespace.
37177 (lrintf): New inline function.
37178 (lrint): Likewise.
37179 (llrintf): Likewise.
37180 (llrint): Likewise.
37181 (fmaxf): Likewise.
37182 (fmax): Likewise.
37183 (fminf): Likewise.
37184 (fmin): Likewise.
37185 (rint): Likewise.
37186 (rintf): Likewise.
37187 (ceil): Likewise.
37188 (ceilf): Likewise.
37189 (floor): Likewise.
37190 (floorf): Likewise.
37191 (nearbyint): Likewise.
37192 (nearbyintf): Likewise.
37193
d7b4fb26
TS
371942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37195
37196 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37197 non-default versions.
37198
eb55f5c2
RM
371992012-06-11 Roland McGrath <roland@hack.frob.com>
37200
37201 [BZ #14218]
37202 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37203
366af02c
TS
372042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37205
99ff6e5c
TS
37206 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37207 (FE_UPWARD, FE_DOWNWARD): Don't define.
37208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37210
366af02c
TS
37211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37212 reading it.
37213 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37215
793ea851
KK
372162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37217
37218 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37220 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37221 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37222
a728a38f
L
372232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37224
37225 [BZ #14117]
c08010c7
L
37226 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37227 * sysdeps/i386/fpu/Implies: New file.
37228 * sysdeps/x86_64/fpu/Implies: Likewise.
37229 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37230 * sysdeps/x86/fpu/bits/fenv.h: This.
37231
a728a38f
L
37232 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37233 __SSE_MATH__.
37234
6e230d11
SP
372352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37236
37237 [BZ #14134]
37238 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37239 character 0xffff that matches the last element of the
37240 conversion table.
37241
1b671feb
AZ
372422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37243
37244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37245 fmodl commit.
37246
6043738b
AZ
372472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37248
37249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37250 values higher than 25.6283.
37251
34ae0b32
AZ
372522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37253
37254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37255 subnormal exponent extraction and add some __builtin_expect.
37256 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37257 Fix for subnormal mantissa calculation.
37258
1214ec8f
MF
372592012-06-04 Mike Frysinger <vapier@gentoo.org>
37260
37261 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37262 cpu2 is -1 and errno is not ENOSYS.
37263
f3d1f93c
L
372642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37265
37266 [BZ #14117]
0e4a3cd7
L
37267 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37268 * sysdeps/x86/bits/string.h: This.
37269 * sysdeps/x86_64/bits/string.h: Removed.
37270
6704c645
L
37271 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37272 if not compiling for x86-64, but compiling for >= i486.
37273
48495318
L
37274 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37275 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37276
14adcbfc
L
37277 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37278 New macro from Linux kernel 3.4.0.
37279 (FP_XSTATE_MAGIC2): Likewise.
37280 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37281 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37282 (struct _fpx_sw_bytes): New struct.
37283 (struct _xsave_hdr): Likewise.
37284 (struct _ymmh_state): Likewise.
37285 (struct _xstate): Likewise.
37286
68e408ab
L
37287 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37288 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37289 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37290 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37291 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37292 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37293
f3d1f93c
L
37294 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37295 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37296 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37297 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37298 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37299 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37300
d9dc34cd
TMQMF
373012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37302
37303 [BZ #13743]
37304 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37305 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37306 (sysdep_headers): Include sys/platform/ppc.h.
37307 * sysdeps/powerpc/test-gettimebase.c: Test for
37308 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37309 * manual/Makefile (appendices): Include platform.texi.
37310 * manual/contrib.texi (Contributors): Update @node pointers.
37311 * manual/maint.texi (Maintenance): Likewise.
37312 (Platform): New node.
37313 * manual/platform.texi: New file. Document the new features.
37314
4af3879c
SP
373152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37316 Jakub Jelinek <jakub@redhat.com>
37317
37318 [BZ #14188]
37319 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37320 where __builtin_expect is unavailable.
37321
2fd6ff13
DM
373222012-06-03 David S. Miller <davem@davemloft.net>
37323
37324 * stdlib/longlong.h: Updated from GCC.
37325
173f7220
AS
373262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37327
37328 [BZ #14042]
37329 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37330 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37331 __mcount_internal.
37332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37333 (GLIBC_2.16): Likewise.
37334
f34a1c6f
L
373352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37336
37337 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37338
88a4576f
JM
373392012-06-01 Joseph Myers <joseph@codesourcery.com>
37340
ea32bcdd
JM
37341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37342 (default-abi): New variable.
37343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37344 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37345 variable.
37346 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37347 Likewise.
37348 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37349 Likewise.
37350 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37351 Likewise.
37352
88a4576f
JM
37353 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37354 definition. Document in comment.
37355
402fe938
DM
373562012-06-01 David S. Miller <davem@davemloft.net>
37357
37358 * stdlib/longlong.h: Updated from GCC.
37359
3553723f
L
373602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37361
37362 [BZ #14117]
3bd872c4
L
37363 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37364 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37365 sys/debugreg.h sys/io.h here.
37366 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37367 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37368 sys/io.h.
37369 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37370 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37371 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37372 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37373 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37374 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37375
3553723f
L
37376 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37377 Define only if __x86_64__ is defined.
37378
4842e4fe
JM
373792012-06-01 Joseph Myers <joseph@codesourcery.com>
37380
c5bfe3d5
JM
37381 [BZ #14048]
37382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37383 Use int64_t for variable i.
37384 * math/libm-test.inc (fmod_test): Add more tests.
37385
4842e4fe
JM
37386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37387 z computation is not scheduled after fetestexcept.
37388 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37389 Use math_force_eval instead of asm to ensure calculation scheduled
37390 before exception test.
37391 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37392 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37393
efb73488
AJ
373942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37395
37396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37397 computation is not scheduled after fetestexcept.
37398
29bcce7c
L
373992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37400
37401 [BZ #14117]
37402 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37403 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37404
73a68f94
AZ
374052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37406
37407 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37408 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37409
67b6df78
L
374102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37411
edf2933a 37412 [BZ #14117]
ebc64a18
L
37413 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37414 <bits/wordsize.h>.
37415 (__WCHAR_MIN): Support __WORDSIZE == 64.
37416 (__WCHAR_MAX): Likewise.
37417
edf2933a
L
37418 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37419 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37420
57c6cf40
L
37421 [BZ #14183]
37422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37423 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37424
67b6df78 37425 [BZ #14117]
8eb6281e
L
37426 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37427 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37428
aac639f4
L
37429 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37430 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37431
67b6df78
L
37432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37433 Defined to 1 if __x86_64__ isn't defined.
37434 (_STAT_VER_LINUX_OLD): New.
37435 (st_atime): Remove duplicate.
37436 (st_mtime): Likewise.
37437 (st_ctime): Likewise.
37438
1c2cfe81
DM
374392012-05-31 David S. Miller <davem@davemloft.net>
37440
37441 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37442 entries.
37443
5be8418c
AS
374442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37445
e7725326
AS
37446 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37447 gen-libm-test.pl.
37448
5be8418c
AS
37449 [BZ #14132]
37450 * elf/dl-reloc.c: Include <_itoa.h>.
37451 (_dl_reloc_bad_type): Remove use of INTUSE.
37452 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37453 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37454 * stdio-common/psiginfo.c (psiginfo): Likewise.
37455 * stdio-common/psignal.c (psignal): Likewise.
37456 * string/strsignal.c (strsignal): Likewise.
37457 * include/signal.h (_sys_siglist): Declare hidden proto.
37458 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37459 INTVARDEF with libc_hidden_data_def.
37460 * stdio-common/itoa-udigits.c: Likewise.
37461 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37462 (_itoa_lower_digits_internal): Remove declaration.
37463 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37464 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37465 (_sys_sigabbrev_internal): Remove aliases.
37466 (_sys_siglist): Define hidden alias.
37467
507352f1
MT
374682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37469
37470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37471 bits/sysctl.h.
37472
42bbb1c3
L
374732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37474
37475 [BZ #14117]
6bd784b6
L
37476 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37477 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37478
8bca20f0
L
37479 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37480 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37481 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37482 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37484 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37485
f9e890a9
L
37486 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37487 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37488 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37489
471101a1
L
37490 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37491 with __addr.
37492 (insw): Likewise.
37493 (insl): Likewise.
37494 (outsb): Likewise.
37495 (outsw): Likewise.
37496 (outsl): Likewise.
37497
6451c862
L
37498 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37499 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37500 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37501
a254b8c9
L
37502 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37503 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37505 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37506 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37507 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37508
b8dfdd92
L
37509 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37510 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37511
578cd270
L
37512 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37513 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37514
de662f5f
L
37515 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37517 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37518
25653439
L
37519 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37520 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37521 to ...
37522 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37523
6bad24a0
L
37524 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37525 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37526 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37527
42bbb1c3
L
37528 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37529 for x86-64.
37530 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37531
2d10d547
JM
375322012-05-31 Joseph Myers <joseph@codesourcery.com>
37533
37534 * math/math.h (M_El): Use two more decimal places.
37535 (M_LOG2El): Likewise.
37536 (M_LOG10El): Likewise.
37537 (M_LN2l): Likewise.
37538 (M_LN10l): Likewise.
37539 (M_PIl): Likewise.
37540 (M_PI_2l): Likewise.
37541 (M_PI_4l): Likewise.
37542 (M_1_PIl): Likewise.
37543 (M_2_PIl): Likewise.
37544 (M_2_SQRTPIl): Likewise.
37545 (M_SQRT2l): Likewise.
37546 (M_SQRT1_2l): Likewise.
37547
f230c29b
DM
375482012-05-31 David S. Miller <davem@davemloft.net>
37549
37550 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37551 values between float registers.
37552 * sysdeps/sparc/sparc64/memset.S: Likewise.
37553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37554
fed806c3
MF
375552012-05-31 Mike Frysinger <vapier@gentoo.org>
37556
37557 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37558 -D_FORTIFY_SOURCE=1.
37559 (CPPFLAGS-tst-longjmp_chk.c): Define.
37560 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37561 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37562 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37563 CFLAGS-tst-wchar-h.c.
37564
30917259
MP
375652012-05-31 Marek Polacek <polacek@redhat.com>
37566
37567 [BZ #14132]
37568 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37569 __endmntent_internal): Remove declaration.
37570 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37571 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37572 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37573
1c58d5dc
DM
375742012-05-30 David S. Miller <davem@davemloft.net>
37575
37576 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37577 (___Q_simulate_exceptions): Use real FP ops rather than writing
37578 into the %fsr.
37579 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37580 Likewise.
37581
7dc00e0d
L
375822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37583
37584 [BZ #14117]
0bd53985
L
37585 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37586 * sysdeps/x86/bits/xtitypes.h: This.
37587
3a257e66
L
37588 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37589 * sysdeps/x86/bits/wordsize.h: This.
37590
62f62904
L
37591 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37592 * sysdeps/x86/bits/huge_vall.h: This.
37593
404fe9d9
L
37594 * sysdeps/i386/bits/select.h: Removed.
37595 * sysdeps/x86_64/bits/select.h: Renamed to ...
37596 * sysdeps/x86/bits/select.h: This.
37597
d48d0446
L
37598 * sysdeps/i386/bits/setjmp.h: Removed.
37599 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37600 * sysdeps/x86/bits/setjmp.h: This.
37601
7dc00e0d
L
37602 * sysdeps/i386/bits/mathdef.h: Removed.
37603 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37604 * sysdeps/x86/bits/mathdef.h: This.
37605
03277f8f
AS
376062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37607
37608 [BZ #14132]
37609 * include/sys/socket.h (__connect_internal)
37610 (__libc_sa_len_internal): Remove declaration.
37611 (__connect, __libc_sa_len): Declare hidden_proto.
37612 (SA_LEN): Remove use of INTUSE.
37613 * socket/connect.c: Add libc_hidden_def.
37614 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37615 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37616 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37617 alias.
37618 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37619 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37620 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37621 of adding _internal alias.
37622
13764867
L
376232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37624
37625 [BZ #14117]
6bd97696
L
37626 * sysdeps/i386/bits/link.h: Removed.
37627 * sysdeps/i386/bits/linkmap.h: Likewise.
37628 * sysdeps/x86_64/bits/link.h: Renamed to ...
37629 * sysdeps/x86/bits/link.h: This.
37630 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37631 * sysdeps/x86/bits/linkmap.h: This.
37632
f726f0bb
L
37633 * sysdeps/i386/bits/endian.h: Removed.
37634 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37635 * sysdeps/x86/bits/endian.h: This.
37636
13764867
L
37637 * sysdeps/i386/bits/byteswap.h: Removed.
37638 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37639 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37640 * sysdeps/x86/bits/byteswap.h: This.
37641 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37642 * sysdeps/x86/bits/byteswap-16.h: This.
37643 * sysdeps/i386/Implies: Add x86.
37644 * sysdeps/x86_64/Implies: Likewise.
37645
ae251b0b
DM
376462012-05-30 David S. Miller <davem@davemloft.net>
37647
37648 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37649 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37650 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37651 (FP_TRAPPING_EXCEPTIONS): Define.
37652 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37653 (FP_TRAPPING_EXCEPTIONS): Define.
37654 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37655 subnormals only when inexact has been signalled or underflow
37656 exceptions are enabled.
37657 (_FP_PACK_CANONICAL): Likewise.
37658
d5c90867
L
376592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37660
37661 [BZ #14183]
37662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37663 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37664
63f1549e
RH
376652012-05-30 Richard Henderson <rth@twiddle.net>
37666
8d8f2279
RH
37667 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37668 with #ifndef NOT_IN_libc.
37669
63f1549e
RH
37670 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37671 marked to avoid plt entry.
37672
0ab0291b
L
376732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37674
37675 [BZ #14112]
37676 * Makeconfig (default-abi): New macro.
37677 (abi-includes): Likewise.
37678 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37679 $(abi-$(default-abi)-lib-soname) for soname if defined.
37680 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37681 abi-variants.
37682 * Makefile (installed-stubs): Likewise.
37683 * include/stubs-biarch.h: Removed.
37684 * scripts/lib-names.awk: Only handle one library at a time.
37685 * scripts/soversions.awk: Remove WORDSIZE support.
37686 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37687 entries.
37688 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37689 Removed.
37690 (syscall-list-default-condition): Likewise.
37691 (syscall-list-default-condition): Likewise.
37692 (syscall-list-includes): Likewise.
37693 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37694 syscall-list-* with abi-*. Handle undefined abi-variants.
37695 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37696 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37697 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37698 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37699 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37700 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37701 Removed.
37702 (syscall-list-32-options): Likewise.
37703 (syscall-list-32-condition): Likewise.
37704 (syscall-list-64-options): Likewise.
37705 (syscall-list-64-condition): Likewise.
37706 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37707 macro.
37708 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37709 Renamed to ...
37710 (abi-*): This.
37711 (abi-64-ld-soname): New macro.
37712 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37713 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37714 Renamed to ...
37715 (abi-*): This.
37716 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37717 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37718
4da0431d
JM
377192012-05-30 Joseph Myers <joseph@codesourcery.com>
37720
3a85279c
JM
37721 * sysdeps/unix/sysv/linux/kernel-features.h
37722 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37723 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37724 include <kernel-features.h>.
37725 [!__NR_ftruncate64]: Remove conditional code.
37726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37727 [__NR_ftruncate64]: Make code unconditional.
37728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37729 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37730 include <kernel-features.h>.
37731 [!__NR_ftruncate64]: Remove conditional code.
37732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37733 [__NR_ftruncate64]: Make code unconditional.
37734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37736 include <kernel-features.h>.
37737 [!__NR_ftruncate64]: Remove conditional code.
37738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37739 [__NR_ftruncate64]: Make code unconditional.
37740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37742 include <kernel-features.h>.
37743 [!__NR_ftruncate64]: Remove conditional code.
37744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37745 [__NR_ftruncate64]: Make code unconditional.
37746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37747
4da0431d
JM
37748 * configure.in (libc_cv_fpie): Weaken to a compile test using
37749 LIBC_TRY_CC_OPTION.
37750 * configure: Regenerated.
37751
11ef492c
AK
377522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37753
37754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37758 Refreshed.
37759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37765 Refreshed.
37766
d66ef399
DM
377672012-05-27 David S. Miller <davem@davemloft.net>
37768
37769 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37770 (___Q_zero): New.
37771 (__Q_simulate_exceptions): Return void. Change to simulate
37772 exceptions by writing into the %fsr.
37773 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37774 (__Qp_handle_exceptions): Likewise.
37775 (numbers): Delete.
37776 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37777 __Qp_handle_exceptions.
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37779 __Qp_handle_exceptions.
37780 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37781 as unused and give dummy FP_RND_NEAREST initializer.
37782 (FP_INHIBIT_RESULTS): Define.
37783 (___Q_simulate_exceptions): Update declaration.
37784 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37785 formatting.
37786 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37787 as unused and give dummy FP_RND_NEAREST initializer.
37788 (__Qp_handle_exceptions): Update declaration.
37789 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37790 formatting.
37791
04fb54b5
TS
377922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37793
37794 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37795 the temporary FPU control word.
37796 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37797 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37798 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37799 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37800 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37801 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37802 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37803 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37804 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37805 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37806 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37807
3f99608f
KK
378082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37809
37810 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37811 fields.
37812
65a4de4e
CLT
378132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37814
37815 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37816 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37817 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37818 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37819 Likewise.
37820 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37821 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37822 Likewise.
37823
15749d40
UD
378242012-05-27 Ulrich Drepper <drepper@gmail.com>
37825
37826 * po/h.po: Update from translation team.
37827
25dbcb27
AS
378282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37829
3d3f8e55
AS
37830 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37831
25dbcb27
AS
37832 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37833 handling of denormals.
37834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37835 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37836 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37837 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37841 Likewise.
37842
7ad47a80 378432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
37844
37845 [BZ #14152]
37846 * math/libm-test.inc (fma_test): Don't always expect underflow
37847 exception.
37848
9c6ea9fa
SP
378492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37850
37851 [BZ #12416]
37852 * elf/tst-execstack.c: Include stackinfo.h.
37853 (do_test): Adjust test case to ensure that pthread_getattr_np
37854 behaviour remains the same after marking stack executable.
37855
a8239222
JM
378562012-05-25 Joseph Myers <joseph@codesourcery.com>
37857
37858 * sysdeps/unix/sysv/linux/kernel-features.h
37859 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37860 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37861 kernel-features.h.
37862 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37863 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37864 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37865 kernel-features.h.
37866 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37867 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37868
918b5606
L
378692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37870
37871 * configure.in: Define the default includes to being none.
37872 * configure: Regenerated.
37873
3a097cc7
RM
378742012-05-25 Roland McGrath <roland@hack.frob.com>
37875
8422c9a5
RM
37876 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37877 * sysdeps/x86_64/setjmp.S: Likewise.
37878 * sysdeps/i386/bsd-setjmp.S: Likewise.
37879 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37880 * sysdeps/i386/setjmp.S: Likewise.
37881 * sysdeps/i386/__longjmp.S: Likewise.
37882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37883 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37884
3a097cc7
RM
37885 * include/stap-probe.h: New file.
37886 * configure.in: Handle --enable-systemtap.
37887 * configure: Regenerated.
37888 * config.h.in (USE_STAP_PROBE): New #undef.
37889 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37890 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37891 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37892
21708942
JM
378932012-05-25 Joseph Myers <joseph@codesourcery.com>
37894
37895 [BZ #13717]
37896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37897 to 2.4.0 where earlier.
37898 * sysdeps/unix/sysv/linux/configure: Regenerated.
37899 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37900 <kernel-features.h>.
37901 [__ASSUME_32BITUIDS]: Make code unconditional.
37902 [!__ASSUME_32BITUIDS]: Remove conditional code.
37903 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37904 <kernel-features.h>.
37905 [__ASSUME_32BITUIDS]: Make code unconditional.
37906 [!__ASSUME_32BITUIDS]: Remove conditional code.
37907 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37908 [__ASSUME_32BITUIDS]: Make code unconditional.
37909 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37910 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37911 <kernel-features.h>.
37912 [__ASSUME_32BITUIDS]: Make code unconditional.
37913 [!__ASSUME_32BITUIDS]: Remove conditional code.
37914 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37915 <kernel-features.h>.
37916 [__ASSUME_32BITUIDS]: Make code unconditional.
37917 [!__ASSUME_32BITUIDS]: Remove conditional code.
37918 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37919 <kernel-features.h>.
37920 [__ASSUME_32BITUIDS]: Make code unconditional.
37921 [!__ASSUME_32BITUIDS]: Remove conditional code.
37922 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37923 <kernel-features.h>.
37924 [__ASSUME_32BITUIDS]: Make code unconditional.
37925 [!__ASSUME_32BITUIDS]: Remove conditional code.
37926 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37927 <kernel-features.h>.
37928 [__ASSUME_32BITUIDS]: Make code unconditional.
37929 [!__ASSUME_32BITUIDS]: Remove conditional code.
37930 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37931 <kernel-features.h>.
37932 [__ASSUME_32BITUIDS]: Make code unconditional.
37933 [!__ASSUME_32BITUIDS]: Remove conditional code.
37934 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37935 <kernel-features.h>.
37936 [__ASSUME_32BITUIDS]: Make code unconditional.
37937 [!__ASSUME_32BITUIDS]: Remove conditional code.
37938 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
37951 <kernel-features.h>.
37952 [__NR_setresgid] (__setresgid): Do not declare.
37953 [__ASSUME_32BITUIDS]: Make code unconditional.
37954 [!__ASSUME_32BITUIDS]: Remove conditional code.
37955 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37956 <kernel-features.h>.
37957 [__NR_setresuid] (__setresuid): Do not declare.
37958 [__ASSUME_32BITUIDS]: Make code unconditional.
37959 [!__ASSUME_32BITUIDS]: Remove conditional code.
37960 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37961 <kernel-features.h>.
37962 [__ASSUME_32BITUIDS]: Make code unconditional.
37963 [!__ASSUME_32BITUIDS]: Remove conditional code.
37964 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37965 <kernel-features.h>.
37966 [__ASSUME_32BITUIDS]: Make code unconditional.
37967 [!__ASSUME_32BITUIDS]: Remove conditional code.
37968 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37969 <kernel-features.h>.
37970 [__ASSUME_32BITUIDS]: Make code unconditional.
37971 [!__ASSUME_32BITUIDS]: Remove conditional code.
37972 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37973 <kernel-features.h>.
37974 [__ASSUME_32BITUIDS]: Make code unconditional.
37975 [!__ASSUME_32BITUIDS]: Remove conditional code.
37976 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37977 <kernel-features.h>.
37978 [__ASSUME_32BITUIDS]: Make code unconditional.
37979 [!__ASSUME_32BITUIDS]: Remove conditional code.
37980 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37981 <kernel-features.h>.
37982 [__ASSUME_32BITUIDS]: Make code unconditional.
37983 [!__ASSUME_32BITUIDS]: Remove conditional code.
37984 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37985 <kernel-features.h>.
37986 [__ASSUME_32BITUIDS]: Make code unconditional.
37987 [!__ASSUME_32BITUIDS]: Remove conditional code.
37988 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37989 <kernel-features.h>.
37990 [__ASSUME_32BITUIDS]: Make code unconditional.
37991 [!__ASSUME_32BITUIDS]: Remove conditional code.
37992 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37993 <kernel-features.h>.
37994 [__ASSUME_32BITUIDS]: Make code unconditional.
37995 [!__ASSUME_32BITUIDS]: Remove conditional code.
37996 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37997 <kernel-features.h>.
37998 [__ASSUME_32BITUIDS]: Make code unconditional.
37999 [!__ASSUME_32BITUIDS]: Remove conditional code.
38000 * sysdeps/unix/sysv/linux/kernel-features.h
38001 (__ASSUME_SETRESUID_SYSCALL): Remove.
38002 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38003 (__ASSUME_32BITUIDS): Likewise.
38004 (__ASSUME_LDT_WORKS): Likewise.
38005 (__ASSUME_O_DIRECTORY): Likewise.
38006 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38007 architecture but not kernel version.
38008 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38009 (__ASSUME_MMAP2_SYSCALL): Likewise.
38010 (__ASSUME_STAT64_SYSCALL): Likewise.
38011 (__ASSUME_IPC64): Likewise.
38012 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38013 <kernel-features.h>.
38014 [__ASSUME_32BITUIDS]: Make code unconditional.
38015 [!__ASSUME_32BITUIDS]: Remove conditional code.
38016 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38017 <kernel-features.h>.
38018 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38019 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38020 132096]: Remove conditional code.
38021 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38022 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
38027 <kernel-features.h>.
38028 [__ASSUME_32BITUIDS]: Make code unconditional.
38029 [!__ASSUME_32BITUIDS]: Remove conditional code.
38030 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38031 <kernel-features.h>.
38032 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38033 unconditional.
38034 (__setresgid): Do not declare.
38035 [__ASSUME_32BITUIDS]: Make code unconditional.
38036 [!__ASSUME_32BITUIDS]: Remove conditional code.
38037 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38038 <kernel-features.h>.
38039 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38040 unconditional.
38041 (__setresuid): Do not declare.
38042 [__ASSUME_32BITUIDS]: Make code unconditional.
38043 [!__ASSUME_32BITUIDS]: Remove conditional code.
38044 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38045 <kernel-features.h>.
38046 [__ASSUME_32BITUIDS]: Make code unconditional.
38047 [!__ASSUME_32BITUIDS]: Remove conditional code.
38048 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38049 <kernel-features.h>.
38050 [__ASSUME_32BITUIDS]: Make code unconditional.
38051 [!__ASSUME_32BITUIDS]: Remove conditional code.
38052
a386f1cc
RH
380532012-05-25 Richard Henderson <rth@twiddle.net>
38054
38055 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38056 dl_hwcap to ifunc resolver.
38057 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38058 elf_ifunc_invoke.
38059 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38060 dl_hwcap to ifunc resolver.
38061 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38062
b6550497
JM
380632012-05-24 Joseph Myers <joseph@codesourcery.com>
38064
38065 [BZ #14153]
38066 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38067 for |x| <= 2**-26, not 2**-57.
38068 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38069 exception.
38070
b0bc23a1
JL
380712012-05-24 Jeff Law <law@redhat.com>
38072
38073 * stdio-common/Makefile (tests): Add bug25.
38074 * stdio-common/bug25.c: New test.
38075
347c92e9
L
380762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38077
38078 [BZ #13576]
38079 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38080 multiple of MALLOC_ALIGNMENT in size.
38081 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38082
6bcc8b3f
JM
380832012-05-24 Joseph Myers <joseph@codesourcery.com>
38084
38085 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38086 Require >= 256.
38087 (FILENAME_MAX): Use macro-int-constant.
38088 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38089 (_IOFBF): Use macro-int-constant.
38090 (_IOLBF): Likewise.
38091 (_IONBF): Likewise.
38092 (SEEK_CUR): Likewise.
38093 (SEEK_END): Likewise.
38094 (SEEK_SET): Likewise.
38095 (TMP_MAX): Likewise.
38096 (EOF): Use macro-int-constant. Require < 0.
38097 (NULL): Use macro-constant. Require == 0.
38098 (stdin): Require type to be FILE *.
38099 (stdout): Likewise.
38100 (stderr): Likewise.
38101 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38102 macro-int-constant.
38103 (EXIT_SUCCESS): Likewise.
38104 (NULL): Use macro-constant. Require == 0.
38105 (RAND_MAX): Use macro-int-constant.
38106 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38107 [C99-based standards] (strtof): Require function.
38108 [C99-based standards] (strtold): Likewise.
38109 [C99-based standards] (strtoll): Likewise.
38110 [C99-based standards] (strtoull): Likewise.
38111 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38112 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38113 [ISO || ISO99 || ISO11] (math.h): Likewise.
38114 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38115 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38117
d18ea0c5
AS
381182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38119
38120 [BZ #14132]
56d25bb8
AS
38121 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38122 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38123 * intl/dgettext.c (DCGETTEXT): Likewise.
38124 * intl/gettext.c (DCGETTEXT): Likewise.
38125 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38126 * posix/regex_internal.h (gettext): Likewise.
38127 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38128 Remove declaration.
38129 * include/argz.h (__argz_count_internal)
38130 (__argz_stringify_internal): Remove declaration.
38131 (__argz_count, __argz_stringify): Declare hidden proto.
38132 * intl/dcgettext.c: Remove use of INTDEF.
38133 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38134 * string/argz-stringify.c: Likewise.
38135 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38136 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38137 Declare hidden proto.
d18ea0c5
AS
38138 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38139 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38140 Declare hidden proto.
38141 * include/stdio.h (__asprintf_internal): Don't declare.
38142 (__asprintf): Don't define as macro. Declare hidden proto.
38143 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38144 (__fsetlocking): Declare hidden proto.
38145 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38146 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38147 hidden proto.
38148 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38149 (_IO_setlinebuf): Remove use of INTUSE.
38150 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38151 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38152 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38153 Remove declaration.
38154 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38155 (_IO_do_flush): Remove use of INTUSE.
38156 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38157 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38158 (_IO_adjust_column, _IO_least_wmarker)
38159 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38160 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38161 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38162 (_IO_default_doallocate, _IO_wdefault_doallocate)
38163 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38164 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38165 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38166 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38167 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38168 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38169 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38170 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38171 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38172 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38173 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38174 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38175 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38176 proto.
38177 (_IO_flush_all_internal, _IO_adjust_column_internal)
38178 (_IO_default_uflow_internal, _IO_default_finish_internal)
38179 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38180 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38181 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38182 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38183 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38184 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38185 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38186 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38187 (_IO_file_close_internal, _IO_file_close_it_internal)
38188 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38189 (_IO_file_init_internal, _IO_file_attach_internal)
38190 (_IO_file_fopen_internal, _IO_file_read_internal)
38191 (_IO_file_sync_internal, _IO_file_seek_internal)
38192 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38193 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38194 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38195 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38196 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38197 (_IO_list_all_internal, _IO_link_in_internal)
38198 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38199 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38200 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38201 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38202 (_IO_do_write_internal, _IO_padn_internal)
38203 (_IO_getline_info_internal, _IO_getline_internal)
38204 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38205 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38206 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38207 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38208 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38209 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38210 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38211 with libc_hidden_ver, remove use of INTUSE.
38212 * libio/genops.c: Likewise.
38213 * libio/freopen.c: Likewise.
38214 * libio/freopen64.c: Likewise.
38215 * libio/iofclose.c: Likewise.
38216 * libio/iofdopen.c: Likewise.
38217 * libio/iofflush.c: Likewise.
38218 * libio/iofflush_u.c: Likewise.
38219 * libio/iofgets.c: Likewise.
38220 * libio/iofgets_u.c: Likewise.
38221 * libio/iofopen.c: Likewise.
38222 * libio/iofopncook.c: Likewise.
38223 * libio/iofread.c: Likewise.
38224 * libio/iofread_u.c: Likewise.
38225 * libio/ioftell.c: Likewise.
38226 * libio/iofwrite.c: Likewise.
38227 * libio/iogetline.c: Likewise.
38228 * libio/iogets.c: Likewise.
38229 * libio/iogetwline.c: Likewise.
38230 * libio/iopadn.c: Likewise.
38231 * libio/iopopen.c: Likewise.
38232 * libio/ioseekoff.c: Likewise.
38233 * libio/ioseekpos.c: Likewise.
38234 * libio/iosetbuffer.c: Likewise.
38235 * libio/iosetvbuf.c: Likewise.
38236 * libio/ioungetc.c: Likewise.
38237 * libio/ioungetwc.c: Likewise.
38238 * libio/iovdprintf.c: Likewise.
38239 * libio/iovsprintf.c: Likewise.
38240 * libio/iovsscanf.c: Likewise.
38241 * libio/memstream.c: Likewise.
38242 * libio/obprintf.c: Likewise.
38243 * libio/oldfileops.c: Likewise.
38244 * libio/oldiofclose.c: Likewise.
38245 * libio/oldiofdopen.c: Likewise.
38246 * libio/oldiofopen.c: Likewise.
38247 * libio/oldiopopen.c: Likewise.
38248 * libio/oldstdfiles.c: Likewise.
38249 * libio/putc.c: Likewise.
38250 * libio/setbuf.c: Likewise.
38251 * libio/setlinebuf.c: Likewise.
38252 * libio/stdfiles.c: Likewise.
38253 * libio/strops.c: Likewise.
38254 * libio/vasprintf.c: Likewise.
38255 * libio/vscanf.c: Likewise.
38256 * libio/vsnprintf.c: Likewise.
38257 * libio/vswprintf.c: Likewise.
38258 * libio/wfiledoalloc.c: Likewise.
38259 * libio/wfileops.c: Likewise.
38260 * libio/wgenops.c: Likewise.
38261 * libio/wmemstream.c: Likewise.
38262 * libio/wstrops.c: Likewise.
38263 * libio/__fpurge.c: Likewise.
38264 * libio/__fsetlocking.c: Likewise.
38265 * assert/assert.c: Likewise.
38266 * debug/fgets_chk.c: Likewise.
38267 * debug/fgets_u_chk.c: Likewise.
38268 * debug/fread_chk.c: Likewise.
38269 * debug/fread_u_chk.c: Likewise.
38270 * debug/gets_chk.c: Likewise.
38271 * debug/obprintf_chk.c: Likewise.
38272 * debug/vasprintf_chk.c: Likewise.
38273 * debug/vdprintf_chk.c: Likewise.
38274 * debug/vsnprintf_chk.c: Likewise.
38275 * debug/vsprintf_chk.c: Likewise.
38276 * malloc/mtrace.c: Likewise.
38277 * misc/error.c: Likewise.
38278 * misc/syslog.c: Likewise.
38279 * stdio-common/asprintf.c: Likewise.
38280 * stdio-common/fxprintf.c: Likewise.
38281 * stdio-common/getw.c: Likewise.
38282 * stdio-common/isoc99_fscanf.c: Likewise.
38283 * stdio-common/isoc99_scanf.c: Likewise.
38284 * stdio-common/isoc99_vfscanf.c: Likewise.
38285 * stdio-common/isoc99_vscanf.c: Likewise.
38286 * stdio-common/isoc99_vsscanf.c: Likewise.
38287 * stdio-common/printf-prs.c: Likewise.
38288 * stdio-common/printf_fp.c: Likewise.
38289 * stdio-common/printf_fphex.c: Likewise.
38290 * stdio-common/printf_size.c: Likewise.
38291 * stdio-common/putw.c: Likewise.
38292 * stdio-common/scanf.c: Likewise.
38293 * stdio-common/sprintf.c: Likewise.
38294 * stdio-common/tmpfile.c: Likewise.
38295 * stdio-common/vfprintf.c: Likewise.
38296 * stdio-common/vfscanf.c: Likewise.
38297 * stdlib/strfmon_l.c: Likewise.
38298 * sunrpc/openchild.c: Likewise.
38299 * sunrpc/xdr_stdio.c: Likewise.
38300 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38301 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38302
d6c33fda
RM
383032012-05-24 Roland McGrath <roland@hack.frob.com>
38304
c1487492
RM
38305 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38306
38307 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38308 in the third column, to generate for the shared library an IFUNC
38309 that uses _dl_vdso_vsym.
38310 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38311 * Makeconfig (object-suffixes-noshared): New variable.
38312
38313 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38314 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38315 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38316 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38317
d6c33fda
RM
38318 [BZ #14132]
38319 * include/sys/time.h (__gettimeofday): Remove macro.
38320 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38321 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38322 Remove INTDEF.
38323 (__gettimeofday): Add libc_hidden_def.
38324 (gettimeofday): Add libc_hidden_weak.
38325 * sysdeps/mach/gettimeofday.c: Likewise.
38326 * sysdeps/posix/gettimeofday.c: Likewise.
38327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38328 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38330 (__gettimeofday_internal): Remove strong_alias.
38331 (__gettimeofday): Add libc_hidden_def.
38332 (gettimeofday): Add libc_hidden_weak.
38333 * sysdeps/unix/syscalls.list (gettimeofday):
38334 Remove __gettimeofday_internal alias.
38335
b5a2bbe6
L
383362012-05-24 Daniel Jacobowitz <drow@false.org>
38337 H.J. Lu <hongjiu.lu@intel.com>
38338
38339 [BZ #12495]
38340 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38341 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38342 (largebin_index_32_big): New.
38343 (largebin_index): Use it for 16-byte alignment.
38344 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38345 correction with front_misalign.
38346
cfba4fda
L
383472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38348
7f907421
L
38349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38351 Likewise.
38352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38353 Likewise.
38354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38355 Likewise.
38356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38357 Likewise.
38358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38359 Likewise.
38360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38361 Likewise.
38362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38363 Likewise.
38364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38365 Likewise.
38366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38367 Likewise.
38368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38369 Likewise.
38370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38371 Likewise.
38372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38373 Likewise.
38374
cfba4fda
L
38375 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38376 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38377
80bad0cc
JM
383782012-05-24 Joseph Myers <joseph@codesourcery.com>
38379
7a25eb06
JM
38380 [BZ #10846]
38381 [BZ #14036]
38382 * math/libm-test.inc (exp_test): Add test from bug 14036.
38383 (pow_test): Add test from bug 10846.
38384
795405f9
JM
38385 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38386 and other flags.
38387 (special_function): Do not include flags in test name.
38388 (parse_args): Likewise.
38389 * sysdeps/i386/fpu/libm-test-ulps: Update.
38390 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38391 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38394
80bad0cc
JM
38395 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38396 exceptions.
38397 * math/libm-test.inc ("Philosophy"): Update comment about
38398 exception testing.
38399 (UNDERFLOW_EXCEPTION): New macro.
38400 (UNDERFLOW_EXCEPTION_OK): Likewise.
38401 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38402 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38403 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38404 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38405 (INVALID_EXCEPTION_OK): Update value.
38406 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38407 (OVERFLOW_EXCEPTION_OK): Likewise.
38408 (IGNORE_ZERO_INF_SIGN): Likewise.
38409 (test_exceptions): Handle underflow exceptions.
38410 (acos_test): Update for underflow exception expectations.
38411 (cexp_test): Likewise.
38412 (clog_test): Likewise.
38413 (clog10_test): Likewise.
38414 (csqrt_test): Likewise.
38415 (ctan_test): Likewise.
38416 (ctanh_test): Likewise.
38417 (exp_test): Likewise.
38418 (exp10_test): Likewise.
38419 (exp2_test): Likewise.
38420 (expm1_test): Likewise.
38421 (fma_test): Likewise.
38422 (j0_test): Likewise.
38423 (jn_test): Likewise.
38424 (nexttoward_test): Likewise.
38425 (pow_test): Likewise.
38426 (scalbn_test): Likewise.
38427 (scalbln_test): Likewise.
38428 (tan_test): Likewise.
38429 (y1_test): Likewise.
38430 * sysdeps/i386/fpu/libm-test-ulps: Update.
38431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38432
9e0e3d0b
DM
384332012-05-23 David S. Miller <davem@davemloft.net>
38434
38435 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38436 (__libc_sigaction): Remove unused local variables.
38437
ccd0a08f
L
384382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38439
38440 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38441
62bdf9a6
PE
384422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38443
f8591f80
PE
38444 mktime: avoid signed integer overflow
38445 * time/mktime.c (__mktime_internal): Do not mishandle the case
38446 where diff == INT_MIN.
38447
94c7d826
PE
38448 mktime: simplify computation of average
38449 * time/mktime.c (ranged_convert): Use new time_t_avg function
38450 instead of rolling our own (probably-slower) code.
38451
ce73d683
PE
38452 mktime: do not assume signed right shift propagates sign bit
38453 * time/mktime.c (isdst_differ): New static function.
38454 (__mktime_internal): No need to normalize tm_isdst now.
38455 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38456 tm_isdst values.
38457
72a22e59
PE
38458 mktime: merge another wrapv change from gnulib
38459 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38460 from some compilers.
38461
68605433
PE
38462 mktime: remove incorrect attempt at unusual arithmetics
38463 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38464 The code didn't really work on such machines anyway.
38465 (TYPE_MINIMUM): Assume two's complement.
38466 (twos_complement_arithmetic): Verify that long_int and time_t
38467 are two's complement (or unsigned, in the latter case).
38468
03cf7fe3
PE
38469 mktime: check signed shifts on long_int and time_t, too
38470 * time/mktime.c (SHR): Check that shifts work as desired
38471 on the types long_int and time_t too, as SHR is used on
38472 such types.
38473
f04dfbc2
PE
38474 mktime: do not assume 'long' is wide enough
38475 * time/mktime.c (verify): Move decl up.
38476 (long_int): New type.
38477 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38478 to remove assumption in the code that 'long' is wide enough to
38479 store year values. This assumption is not true on x32 and on
38480 some non-glibc platforms.
38481
62bdf9a6
PE
38482 mktime: merge wrapv change from gnulib
38483 * time/mktime.c (WRAPV): New macro.
38484 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38485 (guess_time_tm, __mktime_internal): Do not assume that signed
38486 integer overflow wraps around; modern compilers generate code
38487 where this assumption is no longer valid.
38488
5e292e4f
L
384892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38490
38491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38492 Replace "jmp L(pseudo_end)" with "ret".
38493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38494 Likewise.
38495
8caf8c87
AJ
384962012-05-23 Andreas Jaeger <aj@suse.de>
38497
38498 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38499 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38500
1a09dc56
AJ
385012012-05-23 Andreas Jaeger <aj@suse.de>
38502 Maximilian Attems <max@stro.at>
38503
38504 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38505 New macros.
38506
1c87aba0
L
385072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38508
38509 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38510 code so that pseudo_end is just ret and the stack pointer is
38511 correct also for static library in error case.
38512
40e45bd5
JM
385132012-05-23 Joseph Myers <joseph@codesourcery.com>
38514
c2670533
JM
38515 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38516 move to syscalls.list.
38517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38521
40e45bd5
JM
38522 * manual/install.texi (Running make install): Do not mention Linux
38523 kernel version for which pt_chown is not needed.
38524 (Linux): Do not mention problems with nscd with 2.0 kernels.
38525 * INSTALL: Regenerated.
38526
be08eda5
AJ
385272012-05-23 Andreas Jaeger <aj@suse.de>
38528
38529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38530 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38531 macro.
38532 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38533 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38534 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38536 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38540 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38542 * sysdeps/unix/sysv/linux/bits/in.h
38543 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38544
a6a056bb
RM
385452012-05-22 Roland McGrath <roland@hack.frob.com>
38546
38547 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38548 (PREPARE_VERSION): Just use assert instead, it will be elided
38549 under [NDEBUG] anyway.
38550
c9009328
L
385512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38552
38553 * sysdeps/unix/sysv/linux/Makefile: Include
38554 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38555 (sysdep_routines): Remove sysctl.
c9009328
L
38556 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38557 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38558 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38559 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38560 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38561
73338355
AJ
385622012-05-22 Andreas Jaeger <aj@suse.de>
38563
38564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38565 that pseudo_end is just ret and the stack pointer is correct also
38566 for static library in error case.
38567
d44638b0
PP
385682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38569
38570 [BZ #14122]
38571 * nss/nsswitch.c (defconfig_entries): New variable.
38572 (__nss_database_lookup): Don't leak defconfig entries.
38573 (nss_parse_service_list): Don't leak on error paths.
38574 (free_database_entries): New function.
38575 (free_defconfig): New function.
38576 (free_mem): Move common code to free_database_entries.
38577
31a39bd8
L
385782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38579
da0331a8
L
38580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38581 Add arch_prctl.
38582 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38583
31a39bd8
L
38584 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38585 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38587 New macro.
38588 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38589 (INTERNAL_SYSCALL_TYPES): Likewise.
38590 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38591 (LOAD_REGS_TYPES_[1-6]): Likewise.
38592 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38593 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38594
45470df3
AZ
385952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38596
38597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38598 copysignl for GLIBC_2_0.
38599 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38600 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38602 logbl for GLIBC_2_0.
38603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38604 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38605
98a61bcb
L
386062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38607
a4f6e481
L
38608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38609 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38610
f63d5db6
L
38611 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38612 Use "neg %eax".
38613
98a61bcb
L
38614 * time/mktime.c: Update copyright years.
38615
95770f14
PE
386162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38617
6226efbd
PE
38618 mktime: merge comment-quoting-style change from gnulib
38619 * time/mktime.c: Quote 'like this' in comments.
38620 The GNU coding standards suggest that we no longer quote `like this',
38621 as "`" and "'" are typically rendered asymmetrically nowadays.
38622 The typical gnulib style is to quote 'like this' when quoting
38623 code, and "like this" when quoting English.
38624
b99e4f78
PE
38625 * time/mktime.c (compile-command): Add "-I.".
38626
643e01e6
PE
38627 mktime: merge mktime-internal.h change from gnulib
38628 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38629
2554247d
PE
38630 mktime: merge time_r change from gnulib
38631 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38632
826dd0ab
PE
38633 mktime: merge DEBUG change from gnulib
38634 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38635 case system <time.h> has a #define.
38636
bd83aabe
PE
38637 mktime: merge <sys/types.h> change from gnulib
38638 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38639 since <time.t> is now guaranteed to define time_t.
38640
95770f14
PE
38641 mktime: merge HAVE_CONFIG_H change from gnulib
38642 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38643
5e1a27a9
L
386442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38645
0e44a77e
L
38646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38647 Use "neg %eax".
38648
5e1a27a9
L
38649 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38650 __rlim_t cast.
38651 (struct rusage): Use anonymous union to pad each field to
38652 __syscall_slong_t.
38653
46259bec
DM
386542012-05-21 David S. Miller <davem@davemloft.net>
38655
38656 * Makefules (o-iterator): Remove .s cases.
38657 (compile-command.s): Delete.
38658 (COMPILE.s): Delete.
38659 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38660
59f0c22e
JM
386612012-05-21 Joseph Myers <joseph@codesourcery.com>
38662
38663 * configure.in (libc_cv_predef_stack_protector): Only consider
38664 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38665 * configure: Regenerated.
38666
20c07380
L
386672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38668
bbb3154b
L
38669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38670 New macro. Use R*LP on int and pointer.
38671 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38672 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38673 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38674 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38675
20c07380
L
38676 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38677 [__WORDSIZE_TIME64_COMPAT32] instead of
38678 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38679 (struct utmp): Likewise.
38680 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38681 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38682 Renamed to ...
38683 (__WORDSIZE_TIME64_COMPAT32): This.
38684 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38685 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38686 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38687 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38688 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38689 (__WORDSIZE_TIME64_COMPAT32): New macro.
38690
d8d1017e
AJ
386912012-05-21 Andreas Jaeger <aj@suse.de>
38692
38693 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38694 only if [SHARED]. Add prototype for __wcschr_ia32.
38695
6c7fb145
RM
386962012-05-21 Roland McGrath <roland@hack.frob.com>
38697
38698 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38699 of %rbp unmolested in the jmp_buf while mangling the low bits.
38700 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38701 unmolested high bits of %rbp while demangling the low bits.
38702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38703
66274218
AJ
387042012-05-21 Andreas Jaeger <aj@suse.de>
38705
07c58f8f
AJ
38706 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38707 * sunrpc/svc_simple.c: Use it for registerrpc.
38708 * sunrpc/xcrypt.c: Use it for passwd2des.
38709
66274218
AJ
38710 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38711
61f65140
L
387122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38713
38714 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38715 Don't define if [__SYSCALL_WORDSIZE != 32].
38716 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38717 New macro.
38718
5fefb436
AJ
387192012-05-21 Bruno Haible <bruno@clisp.org>
38720 Andreas Jaeger <aj@suse.de>
38721
38722 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38723 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38724 inptr and inend for must_buffer_ch.
38725 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38726 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38727 * stdio-common/Makefile (tests): Remove bug15.
38728 (bug15-ENV): Remove macro.
38729 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38730 anymore.
38731
d8e272ab
AJ
387322012-05-19 Andreas Jaeger <aj@suse.de>
38733 Roland McGrath <roland@hack.frob.com>
38734
38735 * manual/contrib.texi: Completely rewritten. It contains now an
38736 alphabetical list of contributors and their contributions.
38737
4a56a162
RH
387382012-05-21 Richard Henderson <rth@twiddle.net>
38739
38740 * misc/getauxval.c (__getauxval): Use unsigned long int.
38741 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38742 (getauxval): Use unsigned long int.
38743
d024d23c
L
387442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38745
38746 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38747
cbc00a03
RM
387482012-05-21 Roland McGrath <roland@hack.frob.com>
38749
38750 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38751 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38752 __alignof__ (long double).
38753
478143fa
AZ
387542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38755
38756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38757
c7683a6d
RH
387582012-05-20 Richard Henderson <rth@twiddle.net>
38759
38760 * misc/getauxval.c: New file.
38761 * misc/sys/auxv.h: New file.
38762 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38763 (routines): Add getauxval.
38764 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38765 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38766 * elf/dl-sysdep.c (_dl_auxv): Remove.
38767 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38768 * elf/dl-support.c (_dl_auxv): New variable.
38769 (_dl_aux_init): Initialize it.
38770 * manual/startup.texi (Auxiliary Vector): New node.
38771 * sysdeps/generic/bits/hwcap.h: New file.
38772 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38773 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38774 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38775 * sysdeps/sparc/sysdep.h: ... here. Include it.
38776 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
38778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38779 Update.
c7683a6d
RH
38780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38788
a6f1845d
AZ
387892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38790
38791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38792
cbcbe830
DM
387932012-05-19 David S. Miller <davem@davemloft.net>
38794
38795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38796
e0b16cc2
JM
387972012-05-19 Joseph Myers <joseph@codesourcery.com>
38798
38799 [BZ #14123]
38800 * math/s_ccosh.c: Include <float.h>
38801 (__ccosh): Avoid internal overflow calculating sinh and cosh
38802 values before multiplying by sin and cos values.
38803 * math/s_ccoshf.c: Likewise.
38804 * math/s_ccoshl.c: Likewise.
38805 * math/s_csin.c: Likewise.
38806 * math/s_csinf.c: Likewise.
38807 * math/s_csinl.c: Likewise.
38808 * math/s_csinh.c: Likewise.
38809 * math/s_csinhf.c: Likewise.
38810 * math/s_csinhl.c: Likewise.
38811 * math/libm-test.inc (ccos_test): Add more tests.
38812 (ccosh_test): Likewise.
38813 (csin_test): Likewise.
38814 (csinh_test): Likewise.
38815 * sysdeps/i386/fpu/libm-test-ulps: Update.
38816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38817
6ad13e08
L
388182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38819
f66f0ce8
L
38820 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38821 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38822
6ad13e08
L
38823 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38824
b1d072a7
JM
388252012-05-19 Joseph Myers <joseph@codesourcery.com>
38826
38827 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38828 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38829 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38830 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38831 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38832 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38833 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38834 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38835 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38836 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38837 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38838 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38839 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38840 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38841 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38842 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38843 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38844 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38845 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38846 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38847 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38848 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38849 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38850 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38851 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38852 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38853 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38854 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38855 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38856 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38857 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38858
9eae47cb
AJ
388592012-05-18 Andreas Jaeger <aj@suse.de>
38860
38861 * csu/.gitignore: Delete.
38862
bb07f69f
L
388632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38864
38865 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38866 (timex): Use __syscall_slong_t.
38867
e6bdb741
AJ
388682012-05-18 Andreas Jaeger <aj@suse.de>
38869 Carlos O'Donell <carlos_odonell@mentor.com>
38870
38871 * manual/install.texi (Configuring and compiling): Update
38872 description about files modified in the source directory.
d6c33fda 38873 * INSTALL: Regenerated.
e6bdb741 38874
1b74487e
L
388752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38876
38877 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38878 value. Use "or" to set return value to -1.
38879 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38880 negate return value.
38881
a88b64b9
TMQMF
388822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38883
57f41c40
AS
38884 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38885 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
38886 failure if the compiler has Graphite support disabled.
38887 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38888 Likewise.
57f41c40
AS
38889 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38890 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
38891 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38892 Likewise.
38893
3707636e
L
388942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38895
610b8622
L
38896 * sysdeps/x86_64/x32/_itoa.h: New file.
38897
7cd195df
L
38898 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38899 getdents system call only if kernel and user dirents have the
38900 same d_ino and d_off.
38901
94b07d20
L
38902 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38903 LLONG_MAX != LONG_MAX.
38904 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38905 (_fitoa_word): Likewise.
38906
18298070
L
38907 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38908 years.
38909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38910 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38911 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38912
553c7ea4
L
38913 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38914 include <bits/wordsize.h>. Check __x86_64__ instead of
38915 __WORDSIZE.
38916 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38917 if __x86_64__ is defined. Use anonymous union on fpstate.
38918
3707636e
L
38919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38920 anonymous union.
38921
b53ef01a
AS
389222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38923
37fb1dc0
AS
38924 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38925 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38926 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38927 Refer to _rtld_local_ro instead of _rtld_global_ro.
38928 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38929 Likewise.
38930 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38931 Likewise.
38932 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38933 Likewise.
38934 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38935 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38936 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38937
b53ef01a
AS
38938 * sysdeps/powerpc/powerpc32/dl-machine.c
38939 (__elf_machine_runtime_setup) [PROF]: Don't reference
38940 _dl_prof_resolve.
38941
7a185db2
AJ
389422012-05-18 Andreas Jaeger <aj@suse.de>
38943
38944 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38945 function only available for GCCs before 3.4 since GCC 3.4
38946 introduced a builtin.
38947 (lrint): Likewise.
38948 (llrintf): Likewise.
38949 (llrint): Likewise.
38950 (fmaxf): Likewise.
38951 (fmax): Likewise.
38952 (fminf): Likewise.
38953 (fmin): Likewise.
38954 (rint): Likewise.
38955 (rintf): Likewise.
38956 (nearbyint): Likewise.
38957 (nearbyintf): Likewise.
38958 (ceil): Likewise.
38959 (ceilf): Likewise.
38960 (floor): Likewise.
38961 (floorf): Likewise.
38962
3e5aef87
L
389632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38964
428bd707
L
38965 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38966 on both fields and cast pointer to __syscall_ulong_t.
38967
3e5aef87
L
38968 * bits/types.h (__fsword_t): New type.
38969 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38970 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38972 (__FSWORD_T_TYPE): Likewise.
38973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38974 (__FSWORD_T_TYPE): Likewise.
38975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38976 (__FSWORD_T_TYPE): Likewise.
38977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38978 (__FSWORD_T_TYPE): Likewise.
38979 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38980 __SWORD_TYPE with __fsword_t.
38981 (statfs64): Likewise.
38982
1ba7c3dc
DM
389832012-05-17 David S. Miller <davem@davemloft.net>
38984
38985 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38986
59910343
AJ
389872012-05-17 Andreas Jaeger <aj@suse.de>
38988
38989 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38990 warning.
38991
2e4c1e9e
L
389922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38993
38994 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38995
de7f5ce7
AJ
389962012-05-17 Andreas Jaeger <aj@suse.de>
38997
38998 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38999 when it is used.
39000
286abc3d
CM
390012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39002
39003 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39004
477cc68e
L
390052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39006
39007 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39008 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39009
1a0994f5
CD
390102012-05-17 Andreas Jaeger <aj@suse.de>
39011 Carlos O'Donell <carlos_odonell@mentor.com>
39012
39013 [BZ #14059]
39014 * sysdeps/x86_64/multiarch/init-arch.h
39015 (bit_YMM_Usable): Rename to...
39016 (bit_AVX_Usable): ... this.
39017 (bit_FMA4_Usable): New macro.
39018 (bit_XMM_state): New macro.
39019 (bit_YMM_state): New macro.
39020 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39021 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39022 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39023 (CPUID_OSXSAVE): New macro.
39024 (CPUID_AVX): New macro.
39025 (CPUID_FMA4): New macro.
39026 (index_YMM_Usable): Rename to...
39027 (index_AVX_Usable): ... this.
39028 (HAS_AVX): Use HAS_ARCH_FEATURE.
39029 (HAS_FMA4): Likewise.
39030 (HAS_YMM_USABLE): Remove.
39031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39032 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39033 are present.
39034 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39035 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39036 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39037 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39038 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39039
0af797de
CM
390402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39041
39042 * math/libm-test.c: Support platforms without multiple rounding modes.
39043 * math/bug-nextafter.c: Support platforms without FP exceptions.
39044 * math/bug-nexttoward.c: Likewise.
39045 * math/test-fenv.c: Likewise.
39046 * math/test-misc.c: Likewise.
39047 * stdlib/bug-getcontext.c: Likewise.
39048
e39745ff
AJ
390492012-05-17 Andreas Jaeger <aj@suse.de>
39050
39051 * manual/examples/search.c (critter_cmp): Change signature to
39052 avoid warnings.
39053 * manual/string.texi (Collation Functions): Likewise.
39054
48970aba
L
390552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39056
39057 * bits/types.h: Fold copyright years.
39058 * bits/typesizes.h: Likewise.
39059 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39063 * time/time.h: Likewise.
39064
bedee953
PP
390652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39066
39067 [BZ #208]
39068 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39069 in instead of returning them. Return void.
39070 (__libc_mallinfo): Accumulate over all arenas.
39071 (__malloc_stats): Adjust for change in int_mallinfo interface.
39072
61653dfb
RM
390732012-05-16 Roland McGrath <roland@hack.frob.com>
39074
30b99d79
RM
39075 [BZ #10375]
39076 * configure.in (NM): Add AC_CHECK_TOOL for it.
39077 (libc_extra_cflags): New substituted variable.
39078 Check for -fstack-protector being used implicitly.
39079 * configure: Regenerated.
39080 * config.make.in (config-extra-cflags): New variable,
39081 gets @libc_extra_cflags@.
39082 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39083
61653dfb
RM
39084 [BZ #10375]
39085 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39086 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39087 * configure: Regenerated.
39088 * config.make.in (CPPUNDEFS): New substituted variable.
39089 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39090 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39091 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39092
661768bb
L
390932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39094
39095 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39096 (mq_attr): Use __syscall_slong_t.
39097
d4261567
L
390982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39099
39100 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39101 Check __x86_64__ instead of __WORDSIZE.
39102 (_STAT_VER_LINUX): Likewise.
39103 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39104 __syscall_ulong_t and __syscall_slong_t.
39105 (stat64): Likewise.
39106
cf3ff365
L
391072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39108
39109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39110
76cf3e4d
L
391112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39112
39113 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39114
a637753a
L
391152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39116
39117 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39118 __syscall_ulong_t.
39119
d5e05119
L
39120 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39121 include <bits/wordsize.h>. Check __x86_64__ instead of
39122 __WORDSIZE.
39123 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39124 defined.
39125 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39126
f62ee380
L
39127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39128 include <bits/wordsize.h>. Check __x86_64__ instead of
39129 __WORDSIZE.
39130 (user_regs_struct): Use "__extension__ unsigned long long"
39131 instead of "unsigned long" if __x86_64__ is defined.
39132 (user): Likewise. Pad after pointer field if __ILP32__ is
39133 defined.
39134
4e124ced
JM
391352012-05-16 Joseph Myers <joseph@codesourcery.com>
39136
6a3951a0
JM
39137 * configure.in (makeinfo): Require version 4.5 or later. Allow
39138 versions 5 to 9.
39139 * configure: Regenerated.
39140 * manual/install.texi (texinfo): Increase version requirement to
39141 4.5 or later.
39142 * INSTALL: Regenerated.
39143
4e124ced
JM
39144 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39145
953ca31a
L
391462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39147
39148 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39149
617aca05
L
39150 * sysdeps/x86_64/x32/ffs.c: New file.
39151
5762f7ae
L
39152 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39153 __syscall_ulong_t.
39154 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39155 defined. Use __syscall_ulong_t.
39156 (shminfo): Use __syscall_ulong_t.
39157 (shm_info): Likewise.
39158
a26b6856
L
39159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39160 __syscall_ulong_t.
39161
cb2b9ef7
L
39162 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39163 <bits/wordsize.h>.
39164 (msgqnum_t): Use __syscall_ulong_t.
39165 (msglen_t): Likewise.
39166 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39167 __syscall_ulong_t.
39168
34683bb0
L
39169 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39171
84a68786
L
39172 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39173
48baa5f1
L
39174 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39175 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39176
180be88b
L
39177 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39178 __syscall_slong_t.
39179
5e90c8ad
L
39180 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39181 include <bits/wordsize.h>. Check __x86_64__ instead of
39182 __WORDSIZE.
39183
23dfb58b
L
39184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39185 "unsigned long long int" if __x86_64__ is defined.
39186 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39187
ce5d54b0
L
39188 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39189 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39190 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39191
13dc9eac
L
39192 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39193 <stdint.h>.
39194 (GET_PC): Cast to uintptr_t first.
39195 (GET_FRAME): Likewise.
39196 (GET_STACK): Likewise.
39197
a7895d15
L
39198 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39200 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39202 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39204 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39205 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39206 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39207 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39209 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39210 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39211 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39212 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39213 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39214 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39215 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39216 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39217 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39218 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39219 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39220 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39221 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39222 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39224 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39225 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39226 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39227
656416c9
AS
392282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39229
5bd66283
AS
39230 * Makerules (+depfiles): Also collect depfiles from .oS in
39231 $(extra-objs).
39232 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39233 .oS, $(libnldbl-routines)).
39234
656416c9
AS
39235 * Makerules (native-compile-mkdep-flags): Define.
39236 * sunrpc/Makefile (extra-objs): Add $(addprefix
39237 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39238 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39239 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39240 calling $(make-target-directory).
39241
a46f2169
L
392422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39243
39244 * bits/types.h (__snseconds_t): Removed.
39245 * time/time.h (struct timespec): Replace __snseconds_t with
39246 __syscall_slong_t.
39247 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39248 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39249 Likewise.
39250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39251 (__SNSECONDS_T_TYPE): Likewise.
39252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39253 (__SNSECONDS_T_TYPE): Likewise.
39254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39255 (__SNSECONDS_T_TYPE): Likewise.
39256
6af6528b
L
392572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39258
39259 * sysdeps/mach/hurd/bits/typesizes.h
39260 (__SYSCALL_SLONG_TYPE): New macro.
39261 (__SYSCALL_ULONG_TYPE): Likewise.
39262
de986b56
L
392632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39264
39265 * bits/types.h (__syscall_slong_t): New type.
39266 (__syscall_ulong_t): Likewise.
39267
39268 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39269 (__SYSCALL_ULONG_TYPE): Likewise.
39270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39271 (__SYSCALL_SLONG_TYPE): Likewise.
39272 (__SYSCALL_ULONG_TYPE): Likewise.
39273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39274 (__SYSCALL_SLONG_TYPE): Likewise.
39275 (__SYSCALL_ULONG_TYPE): Likewise.
39276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39277 (__SYSCALL_SLONG_TYPE): Likewise.
39278 (__SYSCALL_ULONG_TYPE): Likewise.
39279
85736dc7
L
392802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39281
39282 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39283 Add sigaltstack-offsets.sym.
39284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39285 <sigaltstack-offsets.h>.
39286 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39287 longjmp_msg pointer.
39288 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39289 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39290 signal stack.
39291 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39292
cc03b296
JM
392932012-05-15 Joseph Myers <joseph@codesourcery.com>
39294
a9538892
JM
39295 * elf/stackguard-macros.h: Remove file.
39296 * sysdeps/generic/stackguard-macros.h: New file.
39297 * sysdeps/i386/stackguard-macros.h: Likewise.
39298 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39299 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39300 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39301 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39302 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39303 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39304 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39305 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39306 <elf/stackguard-macros.h>.
39307
cc03b296
JM
39308 [BZ #14109]
39309 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39310 __aligned__ in attribute.
39311 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39312 (gregset_t): Likewise.
39313
93171016
L
393142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39315
39316 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39317 * sysdeps/x86_64/64/Implies-after: Here. New file.
39318 * sysdeps/x86_64/x32/Implies-after: New file.
39319
d86813a0
L
393202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39321
39322 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39323 and access return value for _dl_profile_fixup. Use R10_LP to
39324 load frame size.
39325
2953ec75
L
393262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39327
39328 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39329
3b550e9e
L
393302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39331
39332 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39333 * sysdeps/x86_64/x32/sysdep.h: New file.
39334
eda41706
L
393352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39336
39337 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39338 * sysdeps/x86_64/setjmp.S: Likewise.
39339
9ea01d93
AZ
393402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39341
39342 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39343 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39344 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39345 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39346 remove unused global constant.
39347
02a91938
CM
393482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39349
39350 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39351 include of <not-cancel.h>.
39352
6540185f
RM
393532012-05-15 Roland McGrath <roland@hack.frob.com>
39354
39355 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39356
509072a0
AJ
393572012-05-15 Jeff Law <law@redhat.com>
39358 Andreas Jaeger <aj@suse.de>
39359
39360 [BZ #13594]
39361 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39362 out from...
39363 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39364 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39366 code changing __hst_map_handle.map.
39367
ba75122d
RM
393682012-05-15 Roland McGrath <roland@hack.frob.com>
39369
39370 * configure.in (sysnames): Look for Implies-before and Implies-after
39371 files.
39372 * configure: Regenerated.
39373
890d8bd8
L
393742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39375
39376 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39377 8-byte data alignment with LP_SIZE alignment.
39378
f6ee6623
L
393792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39380
39381 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39382 into R10_LP.
39383
ea2626f6
L
393842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39385
39386 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39387
085f715e
L
393882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39389
39390 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39391 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39393 Likewise.
39394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39395
be8498fc
L
393962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39397
39398 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39399 (stackinfo_sub_sp): Likewise.
39400
70bc83b9
L
394012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39402
39403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39404 RAX_LP.
39405
9bc0b730
L
394062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39407
39408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39409 into R*_LP.
39410
6d2850e7
L
394112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39412
39413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39414 sizes into R*_LP.
39415
3cb84561
L
394162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39417
39418 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39419
54e2ed81
L
394202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39421
39422 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39423 into R11_LP and load __x86_64_shared_cache_size_half into
39424 R8_LP.
39425
8a17f349
L
394262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39427
39428 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39429 R8_LP.
39430
777b1eea
AZ
394312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39432
39433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39434 logb for POWER7.
39435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39436 logbf for POWER7.
39437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39438 logbl for POWER7.
39439 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39440 powerpc32/power7/fpu/s_logb.c via #include.
39441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39442 powerpc32/power7/fpu/s_logbf.c via #include.
39443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39444 powerpc32/power7/fpu/s_logbl.c via #include.
39445
d20d4ac2
JM
394462012-05-15 Joseph Myers <joseph@codesourcery.com>
39447
39448 * README.libm: Remove file.
39449
6cdef1ab
L
394502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39451
39452 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39453 count for x32. Use R*_LP and omit operand-size suffix.
39454
0b254d8f
L
394552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39456
39457 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39458 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39459 * sysdeps/x86_64/x32/shlib-versions: New file.
39460
ceb809dc
RM
394612012-05-14 Roland McGrath <roland@hack.frob.com>
39462
39463 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39464 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39465 Use _dl_fatal_printf instead.
39466
37f1abd4
JM
394672012-05-14 Joseph Myers <joseph@codesourcery.com>
39468
39469 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39470 set if not set by the user. Do not allow for being unset.
39471 * sysdeps/unix/sysv/linux/configure: Regenerated.
39472
11de3a33
L
394732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39474
39475 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39476 the `q' suffix from lea and replace .quad with ASM_ADDR.
39477
e02f153a
L
394782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39479
39480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39481 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39482 instead of $17.
39483 (PTR_DEMANGLE): Likewise.
39484
520ae0fd
L
394852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39486
39487 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39488 (LP_OP): Likewise.
39489 (ASM_ADDR): Likewise.
39490 (RAX_LP): Likewise.
39491 (RBP_LP): Likewise.
39492 (RBX_LP): Likewise.
39493 (RCX_LP): Likewise.
39494 (RDI_LP): Likewise.
39495 (RSI_LP): Likewise.
39496 (RSP_LP): Likewise.
39497 (R8_LP): Likewise.
39498 (R9_LP): Likewise.
39499 (R10_LP): Likewise.
39500 (R10_LP): Likewise.
39501 (R11_LP): Likewise.
39502 (R12_LP): Likewise.
39503 (R13_LP): Likewise.
39504 (R14_LP): Likewise.
39505 (R15_LP): Likewise.
39506
b985be81
L
395072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39508
39509 * sysdeps/x86_64/x32/dl-machine.h: New file.
39510
6a4888ff
AJ
395112012-05-14 Andreas Jaeger <aj@suse.de>
39512
39513 * manual/Makefile (subdir): Remove export of subdir.
39514 (all): Remove target.
39515 (.PHONY): Remove all from list.
39516 (mkinstalldirs): Remove.
39517 (.PHONY): Remove installdirs from list.
39518 ($(inst_infodir)/libc.info): Use make-target-directory.
39519 (installdirs): Remove.
39520 (subdir_%): Remove.
39521 (glibc-targets): Remove.
39522 (lib): Remove.
39523 (stubs): Remove.
39524 ($(objpfx)stubs ../po/manual.pot): Remove.
39525 ($(objpfx)stamp%): Remove.
39526 (make-target-directory): Remove.
39527 (subdir_install): Remove.
39528 (routines): Remove.
39529 (aux): Remove.
39530 (sources): Remove.
39531 (objects): Remove.
39532 (headers): Remove.
39533
39534 [BZ #13750]
39535 * manual/.gitignore: Remove, it's not needed anymore.
39536 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39537 all files in it.
39538 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39539 directory.
39540 (texis): Renamed to $(objpfx)texis.
39541 (texis-path): New, contains path to generated files.
39542 (chapters.%): Use texis-path for complete path, add extra argument
39543 libc-texinfo.sh.
39544 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39545 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39546 (summary,texi, stamp-summary): Use complete path of
39547 files. Generate files in build dir.
39548 (dir-add.texi): Build in build dir.
39549 (libm-err.texi,stamp-libm-err): Likewise.
39550 (version.texi, stamp-version): Likewise.
39551 (.%c.texi): Likewise.
39552 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39553 (mostlyclean): Remove target.
39554 (realclean): Remove target.
39555 (generated): Add new variable with contents from mostlyclean and
39556 realclean, remove entries duplicated in common-mostlyclean, add
39557 stamp-libm-err and stamp-version.
39558 (generated-dirs): Add libc directory.
39559 ($(inst_infodir)/libc.info): Install files from build dir.
39560
39561 * manual/install.texi (Configuring and compiling): Adjust since
39562 the info files are not part of the tar ball anymore.
39563
7ac77294
AJ
395642012-05-14 Andreas Jaeger <aj@suse.de>
39565
39566 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39567 variable.
39568
ffb7875d
JM
395692012-05-14 Joseph Myers <joseph@codesourcery.com>
39570
39571 [BZ #13717]
39572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39573 to 2.2.0 where earlier.
39574 * sysdeps/unix/sysv/linux/configure: Regenerated.
39575 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39576 Remove conditional code.
39577 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39578 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39579 Remove conditional code.
39580 [!__NR_lchown]: Likewise.
39581 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39582 [__NR_lchown]: Likewise.
39583 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39584 comment referencing __ASSUME_LCHOWN_SYSCALL.
39585 * sysdeps/unix/sysv/linux/i386/sigaction.c
39586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39588 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39589 Remove conditional code.
39590 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39591 (__protocol_available): Remove #if 0 code.
39592 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39593 conditional code.
39594 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39595 * sysdeps/unix/sysv/linux/kernel-features.h
39596 (__ASSUME_GETCWD_SYSCALL): Don't define.
39597 (__ASSUME_REALTIME_SIGNALS): Likewise.
39598 (__ASSUME_PREAD_SYSCALL): Likewise.
39599 (__ASSUME_PWRITE_SYSCALL): Likewise.
39600 (__ASSUME_POLL_SYSCALL): Likewise.
39601 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39602 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39603 non-SPARC.
39604 (__ASSUME_SIOCGIFNAME): Don't define.
39605 (__ASSUME_MSG_NOSIGNAL): Likewise.
39606 (__ASSUME_SENDFILE): Define unconditionally.
39607 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39608 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39609 conditional code.
39610 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39611 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39612 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39613 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39614 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39615 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39616 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39618 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39624 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39630 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39636 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39641 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39642 Remove conditional code.
39643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39644 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39645 Remove conditional code.
39646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39647 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39648 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39649 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39650 Remove conditional code.
39651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39652 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39653 Remove conditional code.
39654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39655 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39656 Remove conditional code.
39657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39658 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39659 Remove conditional code.
39660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39661 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39662 Remove conditional code.
39663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39664 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39667 * sysdeps/unix/sysv/linux/sigaction.c
39668 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39669 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39670 * sysdeps/unix/sysv/linux/sigpending.c
39671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39673 * sysdeps/unix/sysv/linux/sigprocmask.c
39674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39676 * sysdeps/unix/sysv/linux/sigsuspend.c
39677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39679 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39680 (__libc_missing_rt_sigs): Remove.
39681 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39682 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39683 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39684 Remove conditional code.
39685 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39686 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39687 return 1.
39688 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39689 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39690 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39691 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39692
1bfb7291
AJ
396932012-05-14 Andreas Jaeger <aj@suse.de>
39694
caae5a81
AJ
39695 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39696 it's not used in glibc.
39697 (__coshm1): Likewise.
39698 (__acosh1p): Likewise.
39699 (__sgn): Likewise.
39700
1bfb7291
AJ
39701 * manual/string.texi (Copying and Concatenation): Add missing
39702 variable in concat example.
39703 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39704
c044d724
L
397052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39706
144c5467 39707 [BZ #14103]
c044d724
L
39708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39709 __builtin_clzl with __builtin_clzll.
39710
2523c62b
L
397112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39712
39713 [BZ #14104]
39714 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39715 libc_freeres_ptr.
39716
d7bb4c42
LD
397172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39718
39719 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39720 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39721 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39723
9dc4e1fb
MF
397242012-05-14 Mike Frysinger <vapier@gentoo.org>
39725
39726 * NEWS: Update ia64 info.
39727
c7df0112
AS
397282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39729
39730 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39731 used as bcopy.
39732
dc70356c
TS
397332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39734
39735 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39736 * sysdeps/unix/syscalls.list (dup3): Likewise.
39737 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39738 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39739
9fb1a21f
L
397402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39741
39742 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39743 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39744
4822a2a5
L
397452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39746
39747 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39748 thread pointer.
39749 (TLS_IE): Use mov/add instead of movq/addq to load thread
39750 pointer.
39751 (TLS_GD_PREFIX): New.
39752 (TLS_GD): Use it.
39753
842b81d6
DM
397542012-05-11 David S. Miller <davem@davemloft.net>
39755
39756 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39757 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39758 (_FPU_SETCW): Likewise.
39759
1cf463cd
L
397602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39761
39762 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39763 is 32-byte aligned.
39764
60cc4a18
AS
397652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39766
39767 [BZ #11837]
39768 * iconvdata/gb18030.c: Update tables.
39769 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39770 characters specially.
39771 (BODY for TO_LOOP): Add encoding of missing ranges.
39772
febb44a4
TS
397732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39774
39775 [BZ #13673]
39776 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39777 * sysdeps/mach/hurd/dup3.c: Likewise.
39778 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39779 * sysdeps/powerpc/memmove.c:: Likewise.
39780
0a10fb9e
L
397812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39782
39783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39784 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39785
df8a552f
L
397862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39787
39788 * elf/elf.h (R_X86_64_RELATIVE64): New.
39789 (R_X86_64_NUM): Updated.
39790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39791 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39792 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39793 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39794 tst-quad1pie tst-quad2pie
39795 (modules-names): Add tst-quadmod1 tst-quadmod2.
39796 ($(objpfx)tst-quad1): New dependency.
39797 ($(objpfx)tst-quad2): Likewise.
39798 ($(objpfx)tst-quad1pie): Likewise.
39799 ($(objpfx)tst-quad2pie): Likewise.
39800 * sysdeps/x86_64/tst-quad1.c: New file.
39801 * sysdeps/x86_64/tst-quad1pie.c: New file.
39802 * sysdeps/x86_64/tst-quad2.c: Likewise.
39803 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39804 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39805 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39806 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39807 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39808
f34d6f84
ST
398092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39810
f42d41d1
ST
39811 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39812 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39813 * streams/stropts.h (t_scalar_t): Define type.
39814
3c3571fc
ST
39815 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39816 (_PATH_PRESERVE): Set to "/var/lib".
39817 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39818
61f06bd3
ST
39819 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39820 instead of int.
39821
918d4d71
ST
39822 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39823 if __dir_mkfile succeeded.
39824
f34d6f84
ST
39825 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39826 checking for _hurd_dtablesize. Unlock it right after having
39827 finished _hurd_dtable allocation.
39828
10589b4a
TS
398292012-05-10 Thomas Schwinge <thomas@schwinge.name>
39830
674cdbc7
TS
39831 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39832 * sysdeps/mach/hurd/configure: Regenerated.
39833 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39834 special-casing to...
39835 * sysdeps/gnu/configure.in: ... this new file.
39836 * sysdeps/unix/sysv/linux/configure: Regenerated.
39837 * sysdeps/gnu/configure: New generated file.
39838
8e41b99f
TS
39839 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39840 for Linux: use nsec instead of usec, as well as:
39841 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39842 members of type struct timespec.
39843 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39844 New macros.
39845 (struct stat64): Likewise.
39846 (_STATBUF_ST_NSEC): New macro.
39847 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39848
10589b4a
TS
39849 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39850 __strtoul_internal rather than strtoul.
39851
63643c85
PT
398522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39853
39854 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39855 and reject them.
39856
3faebe6a
ST
398572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39858
39859 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39860 which preserves existing values.
39861 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39862
c6474b07
PT
398632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39864
39865 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39866 TIMEOUT values. Return EINVAL for NFDS values either negative or
39867 greater than FD_SETSIZE.
39868
1043890b
ST
398692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39870
39871 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39872 allocated, call __vm_protect to finish enabling the existing space, and
39873 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39874 allocate the remainder.
39875
37ed8b9b
PT
398762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39877
39878 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39879 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39880
db653660
ST
398812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39882
37ed8b9b
PT
39883 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39884 sysdeps/mach/hurd/readlink.c.
b29d4053 39885
db653660
ST
39886 * posix/tst-sysconf.c (posix_options): Only use
39887 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39888 _POSIX_SYNCHRONIZED_IO when they are defined
39889 * sysdeps/mach/hurd/bits/posix_opt.h:
39890 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39891 (_XOPEN_REALTIME): Undefine macro.
39892 (_XOPEN_REALTIME_THREADS): Undefine macro.
39893 (_XOPEN_SHM): Undefine macro.
39894 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39895 macro to -1.
39896 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39897 macro to -1.
39898 (_POSIX_ASYNC_IO): Undefine macro.
39899 (_POSIX_PRIORITIZED_IO): Undefine macro.
39900 (_POSIX_SPIN_LOCKS): Define macro to -1.
39901
ee16e894
ST
39902 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39903 SA_NODEFER, SA_RESETHAND.
39904 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39905 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39906 F_DUPFD_CLOEXEC.
39907
6103ae3b
TS
399082012-05-10 Thomas Schwinge <thomas@schwinge.name>
39909
39910 * elf/Makefile (pldd-modules): Define unconditionally.
39911
80b4e5f3
TS
399122012-05-10 Thomas Schwinge <thomas@schwinge.name>
39913
39914 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39915
edadcbd6
ST
399162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39917
39918 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39919 Return ENOENT when name is empty.
39920 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39921
80694780
TS
399222012-05-10 Thomas Schwinge <thomas@schwinge.name>
39923
1792c087
TS
39924 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39925
80694780
TS
39926 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39927
6b645f0d
ST
399282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39929
80694780
TS
39930 Fix mlock in all cases except non-readable pages.
39931 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39932 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39933
6b645f0d
ST
39934 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39935 (__mkdir): When path is `/', just fail with EEXIST.
39936 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39937
e468f8a3
TS
399382012-05-10 Thomas Schwinge <thomas@schwinge.name>
39939
39940 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39941 <sys/uio.h> (for writev).
39942 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39943 and <sys/param.h> (for MIN).
39944
a4186cff
PT
399452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39946
39947 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39948 REQUESTED_TIME. Properly set the remaining time and return EINTR
39949 if interrupted.
39950
510bbf14
TS
399512012-05-10 Thomas Schwinge <thomas@schwinge.name>
39952
39953 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39954 Depend on against $(link-rpcuserlibs).
39955
5d5722e8
ST
399562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39957
a4186cff
PT
39958 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39959 (__libc_stack_end): Do not use attribute_relro.
39960 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39961 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39962 to libthread-provided value.
a4186cff
PT
39963 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39964 attribute_relro.
5d5722e8 39965
37233df9
TS
399662012-05-10 Thomas Schwinge <thomas@schwinge.name>
39967
be971a2b
TS
39968 [BZ #3748]
39969 * bits/libc-lock.h (__libc_once_get): New macro.
39970 * sysdeps/mach/bits/libc-lock.h: Likewise.
39971 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39972 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39973 instead of using implementation details.
39974
37233df9
TS
39975 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39976 * libio/freopen.c: Likewise.
39977 * libio/freopen64.c: Likewise.
39978 * misc/syslog.c: Likewise.
39979 * nscd/connections.c: Likewise.
39980 * nscd/netgroupcache.c: Likewise.
39981 * sysdeps/posix/getcwd.c: Likewise.
39982
38de94a5
RM
399832012-05-10 Roland McGrath <roland@hack.frob.com>
39984
39985 * math/w_ilogbf.c: Add #include <limits.h>.
39986
67530489
ST
399872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39988
a4186cff 39989 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39990 path instead of returning without unlocking.
39991
67530489
ST
39992 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39993 immediate-write ioctls.
39994 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39995
5aa3a74a
TS
399962012-05-10 Thomas Schwinge <thomas@schwinge.name>
39997
18bad2ae
TS
39998 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39999 __builtin_frame_address instead of making assumptions about the
40000 location of the return address relative to DATA. Force early load of
40001 the return address.
40002 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40003 __builtin_frame_address.
40004
5aa3a74a
TS
40005 dup3 for GNU Hurd.
40006 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40007 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40008 implement dup3 and do some further code clean-ups.
40009 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40010 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40011
ecd0de9a
ST
400122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40013
cd9fa985
ST
40014 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40015
a4186cff
PT
40016 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40017 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40018 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40019 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40020 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40021 d->port.lock.
802ca5a5 40022
a4186cff
PT
40023 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40024 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40025 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40026
bcf55240
TS
400272012-05-10 Thomas Schwinge <thomas@schwinge.name>
40028
6960eb42
TS
40029 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40030 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40031 definitions.
40032
eb43375f
TS
40033 accept4 for GNU Hurd.
40034 * include/sys/socket.h (__libc_accept4): New prototype.
40035 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40036 to implement __libc_accept4.
40037 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40038 __libc_accept4.
40039 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40040
bcf55240
TS
40041 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40042 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40043 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40044 signal-defines.sym.
40045
6178c55b
ST
400462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40047
a4186cff 40048 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40049
6f080c2f
TS
400502012-05-10 Thomas Schwinge <thomas@schwinge.name>
40051
40052 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40053 assertion on O_CLOEXEC flag.
40054 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40055 * hurd/intern-fd.c: Likewise.
40056 * hurd/port2fd.c: Likewise.
40057
bcfe3a54
ST
400582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40059
40060 [BZ #3906]
40061 * bits/in.h (IPV6_PKTINFO): Define new macro.
40062 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40063
89c9aa49
AZ
400642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40065
40066 [BZ #13954]
40067 [BZ #13955]
40068 [BZ #13956]
40069 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40071 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40072 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40074 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40075 * math/libm-test.inc (logb_test) : Additional logb tests.
40076
021db4be
AJ
400772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40078 Andreas Jaeger <aj@suse.de>
40079
40080 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40081 * configure: Regenerated.
40082 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40083 * config.make.in (link-obsolete-rpc): New substituted variable.
40084 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40085 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40086 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40087 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40088 so that libc.a contains the symbols.
40089 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40090 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40091 * sunrpc/auth_none.c: Likewise.
40092 * sunrpc/auth_unix.c: Likewise.
40093 * sunrpc/authdes_prot.c: Likewise.
40094 * sunrpc/authuxprot.c: Likewise.
40095 * sunrpc/clnt_gen.c: Likewise.
40096 * sunrpc/clnt_perr.c: Likewise.
40097 * sunrpc/clnt_raw.c: Likewise.
40098 * sunrpc/clnt_simp.c: Likewise.
40099 * sunrpc/clnt_tcp.c: Likewise.
40100 * sunrpc/clnt_udp.c: Likewise.
40101 * sunrpc/clnt_unix.c: Likewise.
40102 * sunrpc/des_crypt.c: Likewise.
40103 * sunrpc/des_soft.c: Likewise.
40104 * sunrpc/get_myaddr.c: Likewise.
40105 * sunrpc/key_call.c: Likewise.
40106 * sunrpc/key_prot.c: Likewise.
40107 * sunrpc/netname.c: Likewise.
40108 * sunrpc/pm_getmaps.c: Likewise.
40109 * sunrpc/pm_getport.c: Likewise.
40110 * sunrpc/pmap_clnt.c: Likewise.
40111 * sunrpc/pmap_prot.c: Likewise.
40112 * sunrpc/pmap_prot2.c: Likewise.
40113 * sunrpc/pmap_rmt.c: Likewise.
40114 * sunrpc/publickey.c: Likewise.
40115 * sunrpc/rpc_cmsg.c: Likewise.
40116 * sunrpc/rpc_common.c: Likewise.
40117 * sunrpc/rpc_dtable.c: Likewise.
40118 * sunrpc/rpc_prot.c: Likewise.
40119 * sunrpc/rpc_thread.c: Likewise.
40120 * sunrpc/rtime.c: Likewise.
40121 * sunrpc/svc.c: Likewise.
40122 * sunrpc/svc_auth.c: Likewise.
40123 * sunrpc/svc_raw.c: Likewise.
40124 * sunrpc/svc_run.c: Likewise.
40125 * sunrpc/svc_tcp.c: Likewise.
40126 * sunrpc/svc_udp.c: Likewise.
40127 * sunrpc/svc_unix.c: Likewise.
40128 * sunrpc/svcauth_des.c: Likewise.
40129 * sunrpc/xcrypt.c: Likewise.
40130 * sunrpc/xdr.c: Likewise.
40131 * sunrpc/xdr_array.c: Likewise.
40132 * sunrpc/xdr_float.c: Likewise.
40133 * sunrpc/xdr_intXX_t.c: Likewise.
40134 * sunrpc/xdr_mem.c: Likewise.
40135 * sunrpc/xdr_rec.c: Likewise.
40136 * sunrpc/xdr_ref.c: Likewise.
40137 * sunrpc/xdr_sizeof.c: Likewise.
40138 * sunrpc/xdr_stdio.c: Likewise.
40139
b5c086a2
RM
401402012-05-10 Roland McGrath <roland@hack.frob.com>
40141
40142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40143 change. Update copyright years.
40144
6d74dd09
JM
401452012-05-10 Joseph Myers <joseph@codesourcery.com>
40146
40147 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40148
28e72501
MK
401492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40150 Joseph Myers <joseph@codesourcery.com>
40151 Paul Pluzhnikov <ppluzhnikov@google.com>
40152
40153 [BZ #14012]
40154 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40155 requiring rpcgen.
40156 [cross-compiling] (extra-libs): Likewise.
40157 [cross-compiling] (extra-libs-others): Likewise.
40158 [cross-compiling] (librpcsvc-routines): Likewise.
40159 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40160 [cross-compiling] (omit-deps): Likewise.
40161 (sunrpc-CPPFLAGS): New variable.
40162 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40163 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40164 (cross-rpcgen-objs): New variable.
40165 (extra-objs): Append $(cross-rpcgen-objs).
40166 ($(cross-rpcgen-objs)): New rule.
40167 ($(objpfx)cross-rpcgen): Likewise.
40168 (rpcgen-cmd): Define to use $(built-program-file). Expand
40169 comment.
40170 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40171 ($(objpfx)x%.stmp): Likewise.
40172 * sunrpc/proto.h [IS_IN_build] (_): Define.
40173 [IS_IN_build] (_libc_intl_domainname): Likewise.
40174
c8c59454
L
401752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40176
40177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40178 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40179 and R_X86_64_TPOFF64.
40180
6f27cd16
JM
401812012-05-10 Joseph Myers <joseph@codesourcery.com>
40182
40183 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40184 sysdeps/unix/sysv/syscalls.list.
40185 (stime): Likewise.
40186 (utime): Likewise.
40187 * sysdeps/unix/sysv/syscalls.list: Remove file.
40188
02467e1c
PE
401892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40190
40191 [BZ #3440]
40192 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40193 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40194 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40195 (__LC_IDENTIFICATION): Make these macros useful in #if
40196 expressions, as required by C99.
40197
da392631
AS
401982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40199
40200 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40201 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40202 after this.
40203
8115f29b
L
402042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40205
40206 * stdlib/longlong.h: Updated from GCC.
40207
bdd74070
AJ
402082012-05-09 Andreas Jaeger <aj@suse.de>
40209
edfe0dbe
AJ
40210 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40211 default is first entry.
40212 (run_mode): Set type.
40213 (main): Remove informal message about syslog.
40214 (options): Fix typo.
40215
bcfe3a54
ST
40216 [BZ #14053]
40217 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40218 to asm.
bcfe3a54
ST
40219 (lrint): Likewise.
40220 (llrintf): Likewise.
40221 (llrint): Likewise.
40222 (rint): Likewise.
40223 (rintf): Likewise.
40224 (nearbyint): Likewise.
40225 (nearbyintf): Likewise.
bdd74070 40226
91d8d69e
AJ
402272012-05-09 Andreas Jaeger <aj@suse.de>
40228 Pedro Alves <palves@redhat.com>
40229
40230 * nscd/nscd.c (run_mode): Use enum.
40231 (main): Cleanup coding style issue.
40232
bb90b80b
AJ
402332012-05-09 Alexandre Oliva <aoliva@redhat.com>
40234 Andreas Jaeger <aj@suse.de>
40235
bcfe3a54
ST
40236 * nscd/nscd.c (go_background): Replaced with...
40237 (run_mode): ... this.
bb90b80b 40238 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40239 (options): Add -F --foreground.
40240 (main): Implement it.
40241 (parse_opt): Parse it.
bb90b80b 40242
1a4b75a1
AJ
402432012-05-09 Andreas Jaeger <aj@suse.de>
40244
40245 [BZ #14083]
40246 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40247 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40248 -Wconversion warning.
40249 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40250 Likewise.
40251
b1cc2472
JM
402522012-05-09 Joseph Myers <joseph@codesourcery.com>
40253
40254 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40255 == 0.
40256 (LC_ALL): Use macro-int-constant.
40257 (LC_COLLATE): Likewise.
40258 (LC_CTYPE): Likewise.
40259 (LC_MESSAGES): Likewise.
40260 (LC_MONETARY): Likewise.
40261 (LC_NUMERIC): Likewise.
40262 (LC_TIME): Likewise.
40263 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40264 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40266 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40267 Specify type.
40268 [C99-based standards] (float_t): Expect type.
40269 [C99-based standards] (double_t): Expect type.
40270 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40271 type.
40272 [C99-based standards] (HUGE_VALL): Likewise.
40273 [C99-based standards] (INFINITY): Likewise.
40274 [C99-based standards] (NAN): Likewise.
40275 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40276 [C99-based standards] (FP_NAN): Likewise.
40277 [C99-based standards] (FP_NORMAL): Likewise.
40278 [C99-based standards] (FP_SUBNORMAL): Likewise.
40279 [C99-based standards] (FP_ZERO): Likewise.
40280 [C99-based standards] (FP_FAST_FMA): Use
40281 optional-macro-int-constant. Specify type. Require == 1.
40282 [C99-based standards] (FP_FAST_FMAF): Likewise.
40283 [C99-based standards] (FP_FAST_FMAL): Likewise.
40284 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40285 [C99-based standards] (FP_ILOGBNAN): Likewise.
40286 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40287 Specify type.
40288 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40289 [C99-based standards] (math_errhandling): Specify type.
40290 [ISO99 || ISO11] (signgam): Do not allow.
40291 [non-C99-based standards] (copysignf): Do not allow.
40292 [non-C99-based standards] (exp2f): Likewise.
40293 [non-C99-based standards] (log2f): Likewise.
40294 [non-C99-based standards] (modff): Allow.
40295 [non-C99-based standards] (erff): Do not allow.
40296 [non-C99-based standards] (erfcf): Likewise.
40297 [non-C99-based standards] (gammaf): Likewise.
40298 [non-C99-based standards] (hypotf): Likewise.
40299 [non-C99-based standards] (j0f): Likewise.
40300 [non-C99-based standards] (j1f): Likewise.
40301 [non-C99-based standards] (jnf): Likewise.
40302 [non-C99-based standards] (lgammaf): Likewise.
40303 [non-C99-based standards] (tgammaf): Likewise.
40304 [non-C99-based standards] (y0f): Likewise.
40305 [non-C99-based standards] (y1f): Likewise.
40306 [non-C99-based standards] (ynf): Likewise.
40307 [non-C99-based standards] (isnanf): Likewise.
40308 [non-C99-based standards] (acoshf): Likewise.
40309 [non-C99-based standards] (asinhf): Likewise.
40310 [non-C99-based standards] (atanhf): Likewise.
40311 [non-C99-based standards] (cbrtf): Likewise.
40312 [non-C99-based standards] (expm1f): Likewise.
40313 [non-C99-based standards] (ilogbf): Likewise.
40314 [non-C99-based standards] (log1pf): Likewise.
40315 [non-C99-based standards] (logbf): Likewise.
40316 [non-C99-based standards] (nextafterf): Likewise.
40317 [non-C99-based standards] (remainderf): Likewise.
40318 [non-C99-based standards] (rintf): Likewise.
40319 [non-C99-based standards] (scalbf): Likewise.
40320 [non-C99-based standards] (copysignl): Likewise.
40321 [non-C99-based standards] (exp2l): Likewise.
40322 [non-C99-based standards] (log2l): Likewise.
40323 [non-C99-based standards] (modfl): Allow.
40324 [non-C99-based standards] (erfl): Do not allow.
40325 [non-C99-based standards] (erfcl): Likewise.
40326 [non-C99-based standards] (gammal): Likewise.
40327 [non-C99-based standards] (hypotl): Likewise.
40328 [non-C99-based standards] (j0l): Likewise.
40329 [non-C99-based standards] (j1l): Likewise.
40330 [non-C99-based standards] (jnl): Likewise.
40331 [non-C99-based standards] (lgammal): Likewise.
40332 [non-C99-based standards] (tgammal): Likewise.
40333 [non-C99-based standards] (y0l): Likewise.
40334 [non-C99-based standards] (y1l): Likewise.
40335 [non-C99-based standards] (ynl): Likewise.
40336 [non-C99-based standards] (isnanl): Likewise.
40337 [non-C99-based standards] (acoshl): Likewise.
40338 [non-C99-based standards] (asinhl): Likewise.
40339 [non-C99-based standards] (atanhl): Likewise.
40340 [non-C99-based standards] (cbrtl): Likewise.
40341 [non-C99-based standards] (expm1l): Likewise.
40342 [non-C99-based standards] (ilogbl): Likewise.
40343 [non-C99-based standards] (log1pl): Likewise.
40344 [non-C99-based standards] (logbl): Likewise.
40345 [non-C99-based standards] (nextafterl): Likewise.
40346 [non-C99-based standards] (remainderl): Likewise.
40347 [non-C99-based standards] (rintl): Likewise.
40348 [non-C99-based standards] (scalbl): Likewise.
40349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40350 [non-C99-based standards] (FP_*): Do not allow.
40351 [C99-based standards] (FP_*): Change to
40352 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40353 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40354 allow.
40355 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40356 (SIG_ERR): Likewise.
40357 [X/Open-based standards] (SIG_HOLD): Likewise.
40358 (SIG_IGN): Likewise.
40359 (SIGABRT): Use macro-int-constant. Specify type. Require
40360 positive value.
40361 (SIGFPE): Likewise.
40362 (SIGILL): Likewise.
40363 (SIGINT): Likewise.
40364 (SIGSEGV): Likewise.
40365 (SIGTER): Likewise.
40366 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40367 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40368 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40369 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40370 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40371 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40372 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40373 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40374 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40375 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40376 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40377 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40378 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40379 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40380 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40381 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40382 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40383 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40384 [X/Open-based standards] (SIGTRAP): Likewise.
40385 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40386 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40387 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40388 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40389 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40390 allow.
40391
b9f1922d
IW
403922012-05-08 Ian Wienand <ianw@vmware.com>
40393
40394 [BZ #14080]
40395 * time/tzset.c (__tzset_parse_tz): Update default rules for
40396 daylight time changes in the Energy Policy Act of 2005.
40397
1db86e88
AJ
403982012-05-09 Andreas Jaeger <aj@suse.de>
40399
40400 [BZ #13983]
40401 * elf/ldconfig.c (parse_conf): Change string to make clear that
40402 ldconfig only issued a warning if ld.so.conf does not exist.
40403
dee4a4e3
DM
404042012-05-08 David S. Miller <davem@davemloft.net>
40405
ee0db190
DM
40406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40407 movxtod instead of popping the value on the stack.
40408
dee4a4e3
DM
40409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40410
6a43ec98
CD
404112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40412
40413 * config.h.in: Add HAVE_ARM_PCS_VFP.
40414
05c2c961
RMG
404152012-05-08 Roland Mc Grath <roland@hack.frob.com>
40416
bcfe3a54
ST
40417 [BZ #13979]
40418 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40419 checking but the checks are disabled for any reason.
05c2c961 40420
4b30f61a
L
404212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40422
40423 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40424 and ELF64_R_TYPE with ELFW(R_TYPE).
40425
eee2bc67
JM
404262012-05-08 Joseph Myers <joseph@codesourcery.com>
40427
7ea5391a
JM
40428 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40429 (ulimit): Likewise.
40430
eee2bc67
JM
40431 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40432 (settimeofday): Likewise.
40433
abb66a67
MF
404342012-05-08 Mike Frysinger <vapier@gentoo.org>
40435
40436 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40437 a struct th_u2 inside the union, and move tu_block/tu_code into
40438 a new th_u3 union of tu_block/tu_code inside of that. Move
40439 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40440 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40441 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40442 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40443 (th_stuff): Change to th_u1.tu_stuff.
40444 (th_data): Define.
40445 (th_msg): Change to th_u1.th_u2.tu_data.
40446
7f18b530
DM
404472012-05-07 David S. Miller <davem@davemloft.net>
40448
05760585
DM
40449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40450
7f18b530
DM
40451 [BZ #14074]
40452 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40453 (SETUP_PIC_REG): Use it.
40454 (SETUP_PIC_REG_LEAF): Use it.
40455
495fd99f
JM
404562012-05-07 Joseph Myers <joseph@codesourcery.com>
40457
40458 [BZ #13885]
40459 [BZ #13923]
40460 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40461 USE_AS_EXPM1L.
40462 (EXPL_FINITE): Likewise.
40463 (FLDLOG): Likewise.
40464 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40465 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40466 e_expl.S.
40467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40468 USE_AS_EXPM1L.
40469 (EXPL_FINITE): Likewise.
40470 (FLDLOG): Likewise.
40471 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40472 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40473 e_expl.S.
40474 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40475 test of -max_value argument for long double.
40476 * sysdeps/i386/fpu/libm-test-ulps: Update.
40477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40478
6693d694
DM
404792012-05-06 David S. Miller <davem@davemloft.net>
40480
40481 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40482 quad soft-float symbols whose references which are compiler
40483 generated.
40484 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40485
6c23e11c
JM
404862012-05-06 Joseph Myers <joseph@codesourcery.com>
40487
d8b82cad
JM
40488 [BZ #13884]
40489 [BZ #13914]
40490 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40491 USE_AS_EXP10L.
40492 (EXPL_FINITE): Likewise.
40493 (FLDLOG): Likewise.
40494 (c0): Likewise.
40495 (c1): Likewise.
40496 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40497 Adjust comments for base varying.
40498 (__expl_finite): Change alias to EXPL_FINITE.
40499 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40500 e_expl.S.
40501 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40502 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40503 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40504 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40505 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40506 USE_AS_EXP10L.
40507 (EXPL_FINITE): Likewise.
40508 (FLDLOG): Likewise.
40509 (c0): Likewise.
40510 (c1): Likewise.
40511 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40512 Adjust comments for base varying.
40513 (__expl_finite): Change alias to EXPL_FINITE.
40514 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40515 tests for bugs.
40516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40517
6c23e11c
JM
40518 [BZ #14064]
40519 * math/libm-test.inc (check_float_internal): Correct ulp
40520 calculation for subnormal expected results.
40521
29ba805c
AJ
405222012-05-06 Andreas Jaeger <aj@suse.de>
40523
40524 * Makeconfig (+math-flags): New, set to -frounding-math.
40525 (+cflags): Add +math-flags so that all of glibc gets compiled with
40526 it.
40527
40528 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40529
7b17aeda
JM
405302012-05-05 Joseph Myers <joseph@codesourcery.com>
40531
5779f134
JM
40532 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40533 Disable one test.
40534
41498f4d
JM
40535 [BZ #13787]
40536 [BZ #13922]
40537 [BZ #14036]
40538 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40539 (__ieee754_expl): Allow for and saturate large arguments.
40540 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40541 (u_threshold): Likewise.
40542 (__exp): Call __ieee754_exp before checking for overflow and
40543 underflow.
40544 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40545 (u_threshold): Likewise.
40546 (__expf): Call __ieee754_expf before checking for overflow and
40547 underflow.
40548 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40549 (u_threshold): Likewise.
40550 (__expl): Call __ieee754_expl before checking for overflow and
40551 underflow.
40552 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40553 (__ieee754_expl): Allow for and saturate large arguments.
40554 * math/libm-test.inc (exp_test): Add another test. Do not allow
40555 missing overflow exception on overflow.
40556 (expm1_test): Do not allow missing overflow exception on overflow.
40557
6698b8bf
JM
40558 * sysdeps/i386/fpu/e_expl.c: Move to ...
40559 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40560 rather than using inline asm.
40561 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40562 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40563 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40564
7b17aeda
JM
40565 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40566 (nice): Likewise.
40567 (poll): Likewise.
40568 (signal): Likewise.
40569 (time): Likewise.
40570 (times): Likewise.
40571
f7c85819
JM
405722012-05-04 Joseph Myers <joseph@codesourcery.com>
40573
40574 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40575 sysdeps/unix/common/syscalls.list.
40576 (fchmod): Likewise.
40577 (fchown): Likewise.
40578 (ftruncate): Likewise.
40579 (getrusage): Likewise.
40580 (gettimeofday): Likewise.
40581 (setpgid): Likewise.
40582 (setregid): Likewise.
40583 (setreuid): Likewise.
40584 (sigaction): Likewise.
40585 (truncate): Likewise.
40586 (vhangup): Likewise.
40587 * sysdeps/unix/common/syscalls.list: Remove file.
40588 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40589 * sysdeps/unix/sysv/linux/Implies: Likewise.
40590
336270d0
L
405912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40592
40593 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40595 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40596 Moved to ...
40597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40598 Here.
40599 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40600 to ...
40601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40602 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40603 to ...
40604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40605 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40606 to ...
40607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40608 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40609 to ...
40610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40611 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40612 to ...
40613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40614 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40615 to ...
40616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40617 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40618 to ...
40619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40620 Here.
40621 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40622 to ...
40623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40624 Here.
40625 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40626 to ...
40627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40628 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40629 Moved to ...
40630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40631 Here.
40632 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40633 to ...
40634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40635
d128e450
JM
406362012-05-04 Joseph Myers <joseph@codesourcery.com>
40637
fa8ee516
JM
40638 * sysdeps/unix/common/bits/dirent.h: Remove file.
40639 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40640
d128e450
JM
40641 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40642 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40643 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40644 * sysdeps/unix/bsd/isatty.c: Likewise.
40645 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40646 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40647 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40648
ff8faaf0 406492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40650
62881be4 40651 [BZ #13563]
31dc8730
AZ
40652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40653 long double comparison inaccuracies.
40654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40656
6fef930c
AS
406572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40658
40659 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40661
8f203e6c
JM
406622012-05-04 Joseph Myers <joseph@codesourcery.com>
40663
40664 [BZ #14049]
40665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40666 nonzero digits before rounding a hex value.
40667 * stdlib/tst-strtod.c (tests): Add another test.
40668
5197d9c2
AK
406692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40670
40671 * sysdeps/s390/fpu/libm-test-ulps: Update.
40672
f0c1dedf
AJ
406732012-05-03 Andreas Jaeger <aj@suse.de>
40674
40675 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40676 does not get optimized out.
40677 (malloc_opt_barrier): New.
40678
a65ef2ae 406792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40680 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40681
2b942cb7 40682 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40683 intermediate file deletion.
2b942cb7 40684 (generated): Add .symlist files.
a65ef2ae 40685
54b71e02
JM
406862012-05-03 Joseph Myers <joseph@codesourcery.com>
40687
40688 [BZ #13775]
40689 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40690 Redirect under this condition.
40691 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40692 [__USE_GNU] (__dprintf_chk): Not under this condition.
40693 [__USE_GNU] (__vdprintf_chk): Likewise.
40694 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40695 under this condition.
40696 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40697 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40698 [__USE_XOPEN2K8] (vdprintf): Likewise.
40699 [__USE_GNU] (__dprintf_chk): Not under this condition.
40700 [__USE_GNU] (__vdprintf_chk): Likewise.
40701 [__USE_GNU] (dprintf): Likewise.
40702 [__USE_GNU] (vdprintf): Likewise.
40703
d3dfcc41
RM
407042012-05-03 Roland McGrath <roland@hack.frob.com>
40705
40706 * elf/Makefile (common-generated): Set this instead of generated for
40707 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40708 $(all-built-dso)-derived lists.
40709
7ac30cc5
AJ
407102012-05-03 Andreas Jaeger <aj@suse.de>
40711
0c51e550
AJ
40712 * sysdeps/i386/fpu/libm-test-ulps: Update.
40713
7ac30cc5
AJ
40714 * FAQ: Removed.
40715 * FAQ.in: Likewise.
40716 * scripts/gen-FAQ.pl: Likewise.
40717 * manual/install.texi (Installation): Point to online location of
40718 FAQ.
40719 * Makefile (files-for-dist): Remove FAQ.
40720 (FAQ): Remove.
40721
d4c2917f
AM
407222012-05-02 Allan McRae <allan@archlinux.org>
40723
40724 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40725 (LDFLAGS-reldepmod5.so): Likewise.
40726 (LDFLAGS-reldep6mod1.so): Likewise.
40727 (LDFLAGS-reldep6mod4.so): Likewise.
40728 (LDFLAGS-reldep8mod3.so): Likewise.
40729 (LDFLAGS-unload4mod1.so): Likewise.
40730 (LDFLAGS-unload4mod2.so): Likewise.
40731 (LDFLAGS-tst-initorder): Likewise.
40732 (LDFLAGS-tst-initordera2.so): Likewise.
40733 (LDFLAGS-tst-initordera3.so): Likewise.
40734 (LDFLAGS-tst-initordera4.so): Likewise.
40735 (LDFLAGS-tst-initorderb2.so): Likewise.
40736 (LDFLAGS-noload): Likewise.
40737 (LDFLAGS-next): Likewise.
40738 (LDFLAGS-order2mod1.so): Likewise.
40739 (LDFLAGS-order2mod2.so): Likewise.
40740 (LDFLAGS-tst-initorder2): Likewise.
40741 (LDFLAGS-tst-initorder2a.so): Likewise.
40742 (LDFLAGS-tst-initorder2b.so): Likewise.
40743 (LDFLAGS-tst-initorder2c.so): Likewise.
40744 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40745
d77f993f
DM
407462012-05-02 David S. Miller <davem@davemloft.net>
40747
40748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40749
171a70b4
PP
407502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40751
40752 [BZ #14055]
40753 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40754
0be196ad
AJ
407552012-05-02 Andreas Jaeger <aj@suse.de>
40756
40757 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40758 since we manipulate rounding mode.
40759 (CPPFLAGS-test-idouble.c): Likewise.
40760 (CPPFLAGS-test-ifloat.c): Likewise.
40761 (CFLAGS-test-ldouble.c): Likewise.
40762 (CFLAGS-test-double.c): Likewise.
40763 (CFLAGS-test-float.c): Likewise.
40764 (CFLAGS-test-misc.c): Likewise.
40765 (CFLAGS-test-test-fenv.c): Likewise.
40766
4f9d04aa
AZ
407672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40768
2b942cb7
RM
40769 [BZ #2550]
40770 [BZ #2570]
40771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40772 comparisons to determine direction to adjust input.
4f9d04aa 40773
82a79e7d
RM
407742012-05-01 Roland McGrath <roland@hack.frob.com>
40775
f5a01ca9
RM
40776 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40777 output to the target.
40778
90fe4186
RM
40779 * scripts/localplt.awk: New file.
40780 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40781 (check-localplt-CFLAGS): Variable removed.
40782 ($(all-built-dso:=.jmprel)): New static pattern rule.
40783 (generated): Add those targets.
40784 (localplt-built-dso): New variable.
40785 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40786
40787 * elf/check-localplt.c: File removed.
40788
82397ed6
RM
40789 * scripts/check-execstack.awk: New file.
40790 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40791 (check-execstack-CFLAGS): Variable removed.
40792 ($(objpfx)check-execstack.h): Target removed.
40793 ($(objpfx)execstack-default): New target.
40794 (generated): Add that instead of check-execstack.h.
40795 ($(all-built-dso:=.phdr)): New static pattern rule.
40796 (generated): Add those targets.
40797 * elf/check-execstack.c: File removed.
40798
82a79e7d
RM
40799 * scripts/check-textrel.awk: New file.
40800 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40801 (check-textrel-CFLAGS): Variable removed.
40802 (all-built-dso): Use := to define.o
40803 ($(all-built-dso:=.dyn)): New static pattern rule.
40804 (generated): Add those targets.
40805 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40806 * config.make.in (READELF): New substituted variable.
40807 * elf/check-textrel.c: File removed.
40808
62fde54f 408092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 40810
615605c9
JM
40811 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40812 allow.
40813 * conform/data/ctype.h-data [C99-based standards] (isblank):
40814 Expect function.
40815 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40816 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40818 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40819 Specify type. Require positive value.
40820 (EILSEQ): Likewise.
40821 (ERANGE): Likewise.
40822 [ISO || POSIX] (EILSEQ): Do not expect.
40823 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40824 Specify type. Require positive value.
40825 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40826 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40827 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40828 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40829 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40830 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40831 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40832 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40833 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40834 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40835 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40836 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40837 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40838 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40839 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40840 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40841 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40842 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40843 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40844 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40845 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40846 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40847 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40848 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40849 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40850 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40851 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40852 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40853 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40854 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40855 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40856 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40857 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40858 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40859 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40860 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40861 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40862 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40863 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40864 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40865 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40866 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40867 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40868 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40869 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40870 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40871 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40872 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40873 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40874 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40875 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40876 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40877 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40878 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40879 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40880 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40881 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40882 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40883 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40884 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40885 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40886 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40887 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40888 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40889 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40890 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40891 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40892 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40893 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40894 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40895 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40896 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40897 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40898 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40899 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40900 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40901 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40902 Require >= 2.
40903 (FLT_ROUNDS): Expect as macro, not constant.
40904 (FLT_MANT_DIG): Use macro-int-constant.
40905 (DBL_MANT_DIG): Likewise.
40906 (LDBL_MANT_DIG): Likewise.
40907 (FLT_DIG): Likewise.
40908 (DBL_DIG): Likewise.
40909 (LDBL_DIG): Likewise.
40910 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40911 (DBL_MIN_EXP): Likewise.
40912 (LDBL_MIN_EXP): Likewise.
40913 (FLT_MAX_EXP): Use macro-int-constant.
40914 (DBL_MAX_EXP): Likewise.
40915 (LDBL_MAX_EXP): Likewise.
40916 (FLT_MAX_10_EXP): Likewise.
40917 (DBL_MAX_10_EXP): Likewise.
40918 (LDBL_MAX_10_EXP): Likewise.
40919 (FLT_MAX): Use macro-constant.
40920 (DBL_MAX): Likewise.
40921 (LDBL_MAX): Likewise.
40922 (FLT_EPSILON): Use macro-constant. Give upper bound.
40923 (DBL_EPSILON): Likewise.
40924 (LDBL_EPSILON): Likewise.
40925 (FLT_MIN): Likewise.
40926 (DBL_MIN): Likewise.
40927 (LDBL_MIN): Likewise.
40928 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40929 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40930 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40931 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40932 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40933 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40934 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40935 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40936 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40937 [ISO11] (FLT_TRUE_MIN): Likewise.
40938 [ISO11] (LDBL_TRUE_MIN): Likewise.
40939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40940 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40941 (SCHAR_MIN): Use macro-int-constant. Specify type.
40942 (SCHAR_MAX): Likewise.
40943 (UCHAR_MAX): Likewise.
40944 (CHAR_MIN): Likewise.
40945 (CHAR_MAX): Likewise.
40946 (MB_LEN_MAX): Use macro-int-constant.
40947 (SHRT_MIN): Use macro-int-constant. Specify type.
40948 (SHRT_MAX): Likewise.
40949 (USHRT_MAX): Likewise.
40950 (INT_MAX): Likewise.
40951 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40952 bound negative.
40953 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40954 bound with "U".
40955 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40956 bound with "L".
40957 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40958 bound negative. Suffix upper bound with "L".
40959 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40960 bound with "UL".
40961 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40962 Specify type.
40963 [C99-based standards] (LLONG_MAX): Likewise.
40964 [C99-based standards] (ULLONG_MAX): Likewise.
40965 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40966 == 0.
40967 [ISO11] (max_align_t): Require type.
40968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40969
c9140a62
JM
40970 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40971 from $CFLAGS, without defining away __attribute__ calls.
40972 (checknamespace): Use $CFLAGS_namespace.
40973
9af0bf29
JM
40974 * conform/conformtest.pl (@keywords): Only include C99 keywords
40975 for standards based on C99 or C11.
40976
343222a2
JM
40977 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40978 Disable tests.
40979 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40980 UNIX98]: Likewise.
40981
661f8cf0
JM
40982 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40983 usability of symbols in #if.
40984
ee74b9cb
JM
40985 * conform/conformtest.pl: If macro or constant types start
40986 "promoted:", expect the symbol to be of the following type
40987 promoted by the integer promotions.
62fde54f 40988
aafc49b3
JM
40989 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40990 in one place. Also handle "macro-constant".
40991
fefdf574
JM
40992 * conform/conformtest.pl: Only accept expected macro values with
40993 "==". Parse all "macro" lines in one place.
40994 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40995
f2d922fe
JM
40996 * conform/conformtest.pl: Handle braced types on "constant" lines
40997 instead of handling "typed-constant".
40998 * conform/data/signal.h-data: Use "constant" instead of
40999 "typed-constant".
41000
d22956c9
JM
41001 * conform/conformtest.pl: Handle "optional-" at start of lines in
41002 one place rather than duplicating several cases. Handle each
41003 format of "macro" line with initial "optional-".
41004
028e2e38
JM
41005 * conform/conformtest.pl: Only accept expected constant or
41006 optional-constant values with "==". Parse all "constant" lines in
41007 one place. Parse all "optional-constant" lines in one place.
41008 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41009 * conform/data/fmtmsg.h-data: Likewise.
41010 * conform/data/netinet/in.h-data: Likewise.
41011 * conform/data/tar.h-data: Likewise.
41012 * conform/data/limits.h-data: Use "==" form on "constant" and
41013 "optional-constant" lines.
41014
1b8f2850
JM
41015 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41016 Use -std=c99 for XOPEN2K.
41017 (@knownproblems): Remove.
41018 (newtoken): Don't check %isknown.
41019
a05a144b
JM
41020 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41021 Do not expect macro.
41022 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41024 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41025 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41026 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41027 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41028 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41029 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41030 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41031 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41032 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41033 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41034 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41035 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41036 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41037 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41038 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41039 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41040 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41041 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41042 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41043 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41044 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41046 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41047 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41048 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41049 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41050 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41051 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41052 [XPG3] (acosh): Likewise.
41053 [XPG3] (asinh): Likewise.
41054 [XPG3] (atanh): Likewise.
41055 [XPG3] (cbrt): Likewise.
41056 [XPG3] (expm1): Likewise.
41057 [XPG3] (ilogb): Likewise.
41058 [XPG3] (log1p): Likewise.
41059 [XPG3] (logb): Likewise.
41060 [XPG3] (nextafter): Likewise.
41061 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41062 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41063 [XPG3] (remainder): Likewise.
41064 [XPG3] (rint): Likewise.
41065 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41066 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41067 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41068 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41069 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41070 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41071 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41072 [UNIX98 || XOPEN2K] (scalb): Expect.
41073 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41074 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41075 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41076 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41077 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41081 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41082 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41083 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41084 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41085 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41086 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41087 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41088 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41089 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41090 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41091 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41094 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41095 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41099 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41100 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41101 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41102 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41103 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41104 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41105 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41106 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41107 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41108 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41109 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41110 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41111 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41112 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41113 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41114 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41115 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41116 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41117 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41118 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41119 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41120 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41121 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41122 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41123 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41124 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41125 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41126 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41127 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41128 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41129 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41130 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41131 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41132 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41133 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41134 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41135 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41136 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41137 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41138 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41139 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41140 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41141 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41142 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41143 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41144 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41145 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41146 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41147 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41148 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41149 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41150 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41151 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41152 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41153 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41154 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41155 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41156 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41157 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41158 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41159 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41160 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41161 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41162 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41163 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41164 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41165 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41166 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41167 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41168 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41169 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41170 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41171 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41172 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41173 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41174 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41175 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41176 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41177 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41178 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41179 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41185 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41186 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41188 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41189 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41190 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41191 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41192 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41193 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41194 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41195 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41196 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41197 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41198 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41199 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41200 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41201 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41202 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41203 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41204 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41205 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41206 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41207 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41208 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41209 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41210
73c5ebe3
JM
41211 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41212 _XOPEN_SOURCE_EXTENDED for XPG4.
41213
39c33b6c
JM
41214 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41215
62fde54f
JM
41216 * Makeconfig (localtime): Remove variable.
41217 (inst_localtime-file): Likewise.
41218
0741d64c
AS
412192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41220
41221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41222 Update.
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41224 Update.
41225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41226 Update.
41227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41228 Update.
41229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41230 Update.
41231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41232 Update.
41233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41234 Update.
41235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41236 Update.
41237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41238 Update.
41239
7cb029ee
JM
412402012-05-01 Joseph Myers <joseph@codesourcery.com>
41241
41242 [BZ #2550]
41243 [BZ #2570]
41244 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41245 comparisons to determine direction to adjust input.
41246 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41247 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41249 Likewise.
41250 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41251 Likewise.
41252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41253 Likewise.
41254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41256 Likewise.
41257 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41258 Likewise.
41259 * math/libm-test.inc (nexttoward_test): Add more tests.
41260
412bd966
AS
412612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41262
41263 [BZ #14040]
41264 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41265 in version GLIBC_2.1, not GLIBC_2.0.
41266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41267 Likewise.
41268
9568c0c2
JM
412692012-04-30 Joseph Myers <joseph@codesourcery.com>
41270
adfbc8ac
JM
41271 [BZ #13942]
41272 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41273 (1 - x) * (1 + x).
41274 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41275 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41276 * math/libm-test.inc (acos_test): Add more tests.
41277 (asin_test): Likewise.
41278 * sysdeps/i386/fpu/libm-test-ulps: Update.
41279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41280
5ba3cc69
JM
41281 [BZ #14034]
41282 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41283 of square root.
41284 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41285 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41286 * math/libm-test.inc (acos_test_tonearest): New function.
41287 (acos_test_towardzero): Likewise.
41288 (acos_test_downward): Likewise.
41289 (acos_test_upward): Likewise.
41290 (asin_test_tonearest): Likewise.
41291 (asin_test_towardzero): Likewise.
41292 (asin_test_downward): Likewise.
41293 (asin_test_upward): Likewise.
41294 (main): Call the new functions.
41295 * sysdeps/i386/fpu/libm-test-ulps: Update.
41296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41297
9568c0c2
JM
41298 [BZ #13884]
41299 [BZ #13924]
41300 * math/e_exp10.c: Include <float.h>.
41301 (__ieee754_exp10): Handle underflow here rather than multiplying
41302 large negative argument by M_LN10.
41303 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41304 of __ieee754_expf.
41305 * math/e_exp10l.c: Include <float.h>.
41306 (__ieee754_exp10l): Handle underflow here rather than multiplying
41307 large negative argument by M_LN10l.
41308 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41309 spurious overflow exception on underflow.
41310
5ac3ea17
MP
413112012-04-29 Marek Polacek <polacek@redhat.com>
41312
41313 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41314 (__fortify_function): New macro.
41315 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41316 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41317 __extern_always_inline.
41318 * libio/bits/stdio2.h: Likewise.
41319 * libio/bits/stdio.h: Likewise.
41320 * string/string.h: Likewise.
41321 * string/bits/string3.h: Likewise.
41322 * include/stdio.h: Likewise.
41323 * stdlib/bits/stdlib.h: Likewise.
41324 * stdlib/stdlib.h: Likewise.
41325 * rt/bits/mqueue2.h: Likewise.
41326 * rt/mqueue.h: Likewise.
41327 * posix/bits/unistd.h: Likewise.
41328 * posix/unistd.h: Likewise.
41329 * io/bits/poll2.h: Likewise.
41330 * io/bits/fcntl2.h: Likewise.
41331 * io/fcntl.h: Likewise.
41332 * io/sys/poll.h: Likewise.
41333 * misc/bits/syslog.h: Likewise.
41334 * misc/bits/syslog-ldbl.h: Likewise.
41335 * misc/sys/syslog.h: Likewise.
41336 * socket/bits/socket2.h: Likewise.
41337 * socket/sys/socket.h: Likewise.
41338 * debug/tst-chk1.c: Likewise.
41339 * wcsmbs/bits/wchar2.h: Likewise.
41340 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41341 * wcsmbs/wchar.h: Likewise.
41342
ecf0ebfb
AJ
413432012-04-29 Andreas Jaeger <aj@suse.de>
41344
41345 * Makerules (tests): Remove enable-check-abi protection.
41346 (check-abi-warn): Remove.
41347 (check-abi-%): Remove check-abi-warn usage.
41348
41349 * configure.in: Remove check-abi configure option.
41350 * configure: Regenerated.
41351 * config.make.in (enable-check-abi): Remove.
41352
6d5c57fa
AS
413532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41354
24c5d07e 41355 [BZ #14033]
ded5180a
AS
41356 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41357 double functions to double *_finite functions.
41358
7e0d315d
AS
41359 [BZ #13941]
41360 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41361 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41362 LDBL_MIN_EXP.
41363 * stdio-common/Makefile (tests): Add tst-sprintf3.
41364 * stdio-common/tst-sprintf3.c: New file.
41365
6d5c57fa
AS
41366 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41367 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41368
0749ff8b
JM
413692012-04-28 Joseph Myers <joseph@codesourcery.com>
41370
41371 * conform/conformtest.pl: Remove duplicate typed-constant
41372 handling.
41373
8dbd5d7b
DM
413742012-04-28 David S. Miller <davem@davemloft.net>
41375
41376 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41377 (check-abi-%): Remove AWK script prerequisite and explicit
41378 abilist directory.
41379 (check-abi): Rewrite to just diff the symlist with the abilist.
41380 (config-tls, config-abi-config): Delete, no longer used.
41381 (update-abi-%): Remove AWK script and explicit abilist directory.
41382 (update-abi): Rewrite to simply compare and conditionally copy the
41383 symlist and the sysdep abilist file. Remove update-abi-config
41384 checks.
41385 * abilist/ld.abilist: Remove.
41386 * abilist/libBrokenLocale.abilist: Remove.
41387 * abilist/libanl.abilist: Remove.
41388 * abilist/libcrypt.abilist: Remove.
41389 * abilist/libdl.abilist: Remove.
41390 * abilist/librt.abilist: Remove.
41391 * abilist/libthread_db.abilist: Remove.
41392 * abilist/libutil.abilist: Remove.
41393 * scripts/extract-abilist.awk: Remove.
41394 * scripts/merge-abilist.awk: Remove.
41395 * sysdeps/generic/libcidn.abilist: New file.
41396 * sysdeps/generic/libnss_compat.abilist: New file.
41397 * sysdeps/generic/libnss_db.abilist: New file.
41398 * sysdeps/generic/libnss_dns.abilist: New file.
41399 * sysdeps/generic/libnss_files.abilist: New file.
41400 * sysdeps/generic/libnss_hesiod.abilist: New file.
41401 * sysdeps/generic/libnss_nis.abilist: New file.
41402 * sysdeps/generic/libnss_nisplus.abilist: New file.
41403 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41404 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41405 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41406 file.
41407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41408 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41409 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41410 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41411 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41412 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41413 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41414 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41415 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41416 file.
41417 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41418 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41419 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41420 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41421 file.
41422 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41423 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41424 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41425 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41426 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41427 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41428 file.
41429 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41430 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41431 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41432 file.
41433 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41435 New file.
41436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41437 New file.
41438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41439 New file.
41440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41441 New file.
41442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41443 New file.
41444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41445 New file.
41446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41447 New file.
41448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41449 New file.
41450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41451 New file.
41452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41453 New file.
41454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41455 New file.
41456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41457 New file.
41458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41459 New file.
41460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41461 file.
41462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41463 New file.
41464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41465 New file.
41466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41467 file.
41468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41469 New file.
41470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41471 New file.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41473 file.
41474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41475 New file.
41476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41477 New file.
41478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41479 New file.
41480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41481 New file.
41482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41483 New file.
41484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41485 New file.
41486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41488 file.
41489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41490 New file.
41491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41492 file.
41493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41494 file.
41495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41496 file.
41497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41498 file.
41499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41500 file.
41501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41502 New file.
41503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41504 file.
41505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41506 file.
41507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41508 New file.
41509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41510 file.
41511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41513 file.
41514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41515 New file.
41516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41517 file.
41518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41519 file.
41520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41521 file.
41522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41523 file.
41524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41525 file.
41526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41527 New file.
41528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41529 file.
41530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41531 file.
41532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41533 New file.
41534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41535 file.
41536 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41537 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41538 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41539 file.
41540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41541 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41542 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41543 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41544 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41545 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41546 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41547 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41548 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41549 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41552 file.
41553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41554 New file.
41555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41556 file.
41557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41558 file.
41559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41560 file.
41561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41562 file.
41563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41564 file.
41565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41566 New file.
41567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41568 New file.
41569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41570 file.
41571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41572 New file.
41573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41574 file.
41575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41577 file.
41578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41579 New file.
41580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41581 file.
41582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41583 file.
41584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41585 file.
41586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41587 file.
41588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41589 file.
41590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41591 New file.
41592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41593 New file.
41594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41595 file.
41596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41597 New file.
41598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41599 file.
41600
41d73a1b
JM
416012012-04-28 Joseph Myers <joseph@codesourcery.com>
41602
41603 * conform/conformtest.pl: Fix typo in handling typed-constant from
41604 allow-header.
41605
28aeeda4
JM
416062012-04-27 Joseph Myers <joseph@codesourcery.com>
41607
adae8f5e
JM
41608 * README: Cut down references to pre-2.6 Linux kernels and
41609 Linuxthreads. Update lists of configurations in libc and ports
41610 and sort alphabetically. Say "or newer" with Linux kernel version
41611 requirements.
41612
28aeeda4
JM
41613 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41614
a462cb63
RA
416152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41616
41617 [BZ #887]
41618 * math/libm-test.inc (logb_test_downward): New test to expose
41619 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41620 rounding mode.
41621
6ad3493e
JM
416222012-04-27 Joseph Myers <joseph@codesourcery.com>
41623
41624 [BZ #14027]
41625 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41626 to be done.
41627 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41628 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41629
2ce4f015
JM
416302012-04-26 Joseph Myers <joseph@codesourcery.com>
41631
5aeb141a
JM
41632 * sysdeps/unix/i386/brk.S: Remove file.
41633 * sysdeps/unix/i386/dl-brk.S: Likewise.
41634 * sysdeps/unix/i386/pipe.S: Likewise.
41635 * sysdeps/unix/i386/sigreturn.S: Likewise.
41636 * sysdeps/unix/i386/syscall.S: Likewise.
41637 * sysdeps/unix/i386/vfork.S: Likewise.
41638 * sysdeps/unix/i386/wait.S: Likewise.
41639
7143acae
JM
41640 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41641 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41642
2ce4f015
JM
41643 * configure.in (arm*-none*): Do not allow without
41644 --enable-hacker-mode.
41645 (netbsd*): Remove case setting base_os.
41646 (386bsd*): Likewise.
41647 (freebsd*): Likewise.
41648 (bsdi*): Likewise.
41649 (osf*): Likewise.
41650 (sunos*): Likewise.
41651 (ultrix*): Likewise.
41652 (newsos*): Likewise.
41653 (dynix*): Likewise.
41654 (*bsd*): Likewise.
41655 (sysv*): Likewise.
41656 (isc*): Likewise.
41657 (esix*): Likewise.
41658 (sco*): Likewise.
41659 (minix*): Likewise.
41660 (irix4*): Likewise.
41661 (irix6*): Likewise.
41662 (solaris[2-9]*): Likewise.
41663 (none): Likewise.
41664 * configure: Regenerated.
41665
0ac229c8
AZ
416662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41667
41668 [BZ #11521]
41669 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41670 overflow or cancellation in calculating denominator.
41671 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41673 down expression to avoid unexpected rounding in newer GCCs.
41674 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41675
33f244f4
DM
416762012-04-26 David S. Miller <davem@davemloft.net>
41677
41678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41679 long-double compat symbols.
41680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41693
cfa1f3e8
DM
416942012-04-25 David S. Miller <davem@davemloft.net>
41695
41696 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41697 HWCAP_* values only after the memory barriers have been defined.
41698 (atomic_full_barrier): Define.
41699 (atomic_read_barrier): Define.
41700 (atomic_write_barrier): Define.
41701
6e236b92
SP
417022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41703
41704 * shlib-versions: Add libgcc_s version information.
41705 * sysdeps/generic/libgcc_s.h: Remove.
41706 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41707 libgcc_s.h.
41708 * sysdeps/gnu/unwind-resume.c: Likewise.
41709 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41710
aab39a09
DM
417112012-04-25 David S. Miller <davem@davemloft.net>
41712
41713 * sysdeps/unix/sparc/brk.S: Delete.
41714 * sysdeps/unix/sparc/dl-brk.S: Delete.
41715 * sysdeps/unix/sparc/pipe.S: Delete.
41716 * sysdeps/unix/sparc/sysdep.S: Delete.
41717 * sysdeps/unix/sparc/sysdep.h: Delete.
41718 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41719 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41720 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41722 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41723 (JUMPTARGET): Remove.
41724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41725 sysdeps/unix/sparc/sysdep.h
41726 (ENTRY, END): Remove.
41727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41728
a3cc4f48
JM
417292012-04-25 Joseph Myers <joseph@codesourcery.com>
41730
2ed8cda2
JM
41731 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41732 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41733 -DIS_IN_build.
41734
35d76d59
JM
41735 * timezone/README: Update upstream location and email address for
41736 tzcode and tzdata.
41737 * timezone/zdump.c: Update from tzcode 2012b.
41738 * timezone/zic.c: Likewise.
41739
a3cc4f48
JM
41740 * configure.in (libc_cv_as_needed): Remove test.
41741 * configure: Regenerated.
41742 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41743 conditional definition.
41744 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41745 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41746 * config.make.in (have-as-needed): Remove variable.
41747
ceab42c3
SP
417482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41749 Paul Pluzhnikov <ppluzhnikov@google.com>
41750
41751 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41752 strings correctly.
41753
3ce2865f
CLT
417542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41755
41756 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41757 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41758 * sysdeps/sh/strlen.S: Likewise.
41759
f37e0d68
JM
417602012-04-24 Joseph Myers <joseph@codesourcery.com>
41761
ae186e9a
JM
41762 * sysdeps/unix/fork.S: Remove file.
41763 * sysdeps/unix/i386/fork.S: Likewise.
41764 * sysdeps/unix/sparc/fork.S: Likewise.
41765
b96914af
JM
41766 * sysdeps/unix/system.c: Remove file.
41767 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41768
f37e0d68
JM
41769 * sysdeps/unix/getegid.S: Remove file.
41770 * sysdeps/unix/geteuid.S: Likewise.
41771
87ef29ca
RM
417722012-04-24 Roland McGrath <roland@hack.frob.com>
41773
83bcd236
RM
41774 * scripts/check-localplt.awk: New file.
41775 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41776 of diff.
41777 * scripts/data/localplt-generic.data: Add a comment.
41778
87ef29ca
RM
41779 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41780 NODE when __dir_mkfile failed.
41781 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41782 Reported by Ludovic Courtès <ludo@gnu.org>.
41783
e5a6e567
AJ
417842012-04-24 Andreas Jaeger <aj@suse.de>
41785
41786 * Makerules (common-clean): Also remove gen-as-const-headers
41787 files.
41788
c1820385
JM
417892012-04-24 Joseph Myers <joseph@codesourcery.com>
41790
41791 * Makerules (native-compile): Do not change working directory for
41792 build. Use $(OUTPUT_OPTION) in command.
41793 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41794
94e02fc4
AZ
417952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41796
41797 [BZ #13886]
41798 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41799 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41800 * math/libm-test.inc (floor_test): Add more tests.
41801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41802
3a533ca3
JM
418032012-04-24 Joseph Myers <joseph@codesourcery.com>
41804
940ab4b3
JM
41805 * sysdeps/unix/getdents.c: Remove file.
41806 * sysdeps/unix/sysv/getdents.c: Likewise.
41807 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41808
90e037bd
JM
41809 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41810 sysdeps/unix/mman/syscalls.list.
41811 (mmap): Likewise.
41812 (mprotect): Likewise.
41813 (msync): Likewise.
41814 (munmap): Likewise.
41815 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41816 * sysdeps/unix/mman/syscalls.list: Remove.
41817 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41818
3a533ca3
JM
41819 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41820 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41821 * configure: Regenerated.
41822 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41823 $(libgcc_s_suffix).
41824 * config.make.in (libgcc_s_suffix): Remove variable.
41825
1ad743de
JM
418262012-04-23 Joseph Myers <joseph@codesourcery.com>
41827
4ad451e2
JM
41828 * sysdeps/unix/sysv/gethostname.c: Move to ...
41829 * sysdeps/posix/gethostname.c: ... here.
41830
5e37ce39
JM
41831 * sysdeps/unix/execve.S: Remove file.
41832
1ad743de
JM
41833 * sysdeps/unix/_exit.S: Remove file.
41834
4e681b5b
AJ
418352012-04-23 Andreas Jaeger <aj@suse.de>
41836
41837 [BZ #13739]
41838 * manual/Makefile: Remove make dist support, there's no
41839 need for a stand-alone documentation tar ball.
41840 (TEXI2DVI): Define always, it's not in Makeconfig.
41841 (dist): Removed.
41842 (tar-it): Removed.
41843 (edition): Removed.
41844 (glibc-doc-$(edition).tar): Removed
41845 (%.Z): Removed.
41846 (%.gz): Removed.
41847 (%.uu): Removed.
41848 (ETAGS): Remove, it's in Makeconfig.
41849 (move-if-change): Remove, it's in Makeconfig.
41850
38686a03 418512012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
41852
41853 [BZ #13970]
41854 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41855 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41856 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41857 (strtod_l, strtof_l, strtold_l): Remove __wur.
41858 It is not necessarily an error to ignore strtol's return value.
41859 One can reliably look at the stored endptr to decide whether
41860 the number had valid syntax.
41861
7c0616fa
AJ
418622012-04-21 Andreas Jaeger <aj@suse.de>
41863
803cb6b7 41864 [BZ #13739]
7c0616fa
AJ
41865 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41866
b0fe253f
JM
418672012-04-21 Joseph Myers <joseph@codesourcery.com>
41868
41869 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41870 * sysdeps/unix/sysv/Versions: Remove file.
41871
8280f22d
MT
418722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41873
41874 [BZ #13927]
41875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41876
75ce411f 418772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
41878
41879 [BZ #7064]
41880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41881 version from __vm86.
41882
097d59fa
JM
418832012-04-20 Joseph Myers <joseph@codesourcery.com>
41884
a90f3bcb
JM
41885 * sysdeps/unix/common/lxstat.c: Remove file.
41886 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41887
edc7ea78
JM
41888 * sysdeps/unix/sysv/Makefile: Remove file.
41889
cb78c221
JM
41890 * sysdeps/unix/sysv/direct.h: Remove file.
41891
efa6a45f
JM
41892 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41893 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41894 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41895 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41896 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41897 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41898 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41899
9c9f2d0c
JM
41900 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41901
4541c83b
JM
41902 * sysdeps/unix/xmknod.c: Remove file.
41903 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41904
f5d153a0
JM
41905 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41906
aa746595
JM
41907 * sysdeps/unix/sysv/i386/time.S: Remove file.
41908
cce5905e
JM
41909 * sysdeps/unix/fxstat.c: Remove file.
41910 * sysdeps/unix/xstat.c: Likewise.
41911 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41912
37fa3841
JM
41913 * sysdeps/unix/sysv/sigaction.c: Remove file.
41914
ff1962a3
JM
41915 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41916 (sysdep_headers): Remove variable.
41917 [termio.h not in sysdep_headers] (generated): Likewise.
41918 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41919 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41920 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41921 * sysdeps/unix/sysv/tcflow.c: Likewise.
41922 * sysdeps/unix/sysv/tcflush.c: Likewise.
41923 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41924 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41925 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41926 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41927 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41928
e7740d31
JM
41929 * sysdeps/unix/siglist.c: Remove file.
41930
ee06f18b
JM
41931 * sysdeps/unix/getppid.S: Remove file.
41932
097d59fa
JM
41933 * sysdeps/unix/mkdir.c: Remove file.
41934 * sysdeps/unix/rmdir.c: Likewise.
41935
ff3d51ec
AS
419362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41937
41938 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41939 ERR_MAX value.
41940 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41941 errlist-compat value.
41942
50f81fd7
DM
419432012-04-18 David S. Miller <davem@davemloft.net>
41944
41945 * sysdeps/generic/memcopy.h (reg_char): Delete.
41946 * debug/strcat_chk.c: Use char, not reg_char.
41947 * debug/strcpy_chk.c: Likewise.
41948 * debug/strncat_chk.c: Likewise.
41949 * debug/strncpy_chk.c: Likewise.
41950 * string/memchr.c: Likewise.
41951 * string/memrchr.c: Likewise.
41952 * string/rawmemchr.c: Likewise.
41953 * string/strcat.c: Likewise.
41954 * string/strchr.c: Likewise.
41955 * string/strchrnul.c: Likewise.
41956 * string/strcmp.c: Likewise.
41957 * string/strcpy.c: Likewise.
41958 * string/strncat.c: Likewise.
41959 * string/strncmp.c: Likewise.
41960 * string/strncpy.c: Likewise.
41961
8ff41c46
WS
419622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41963
41964 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41965 __builtin_memcopy is called when src and dest ranges are known to not
41966 overlap.
41967
6b652f46
WS
419682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41969
41970 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41971 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41972 fwd_align_merge macro call.
41973 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41974 bwd_align_merge macro call.
41975 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41976
b282631e
WS
419772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41978
41979 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41980 bwd_align_merge macros.
41981 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41982 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41983 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41984
95aa737c
DM
419852012-04-18 David S. Miller <davem@davemloft.net>
41986
41987 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41988
7a99a614
AJ
419892012-04-18 Andreas Jaeger <aj@suse.de>
41990
41991 [BZ# 6794]
41992 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41993 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41994 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41995
41996 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41997 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41998 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41999
42000 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42001 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42002 Adjust for changed ldbl-128 files.
42003
42004 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42005 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42007
e5270c23
DM
420082012-04-17 David S. Miller <davem@davemloft.net>
42009
42010 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42011
fb5e92c9
AS
420122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42013
42014 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42015 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42016 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42017 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42018 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42019 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42020
76da7265
AZ
420212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42022
42023 [BZ #6794]
42024 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42025 * math/libm-test.inc: Add ilogb errno and exception tests.
42026 * math/w_ilogb.c: New file: ilogb wrapper.
42027 * math/w_ilogbf.c: New file: ilogbf wrapper.
42028 * math/w_ilogbl.c: New file: ilogbl wrapper.
42029 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42030 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42031 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42032 exception being thrown with 0.0 as argument.
42033 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42034 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42035 exception being thrown with 0.0 as argument.
42036 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42037 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42038 exception being thrown with 0.0 as argument.
42039 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42040 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42041 exception being thrown with 0.0 as argument.
42042 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42043 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42044 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42045 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42046 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42047 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42048 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42049 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42050 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42051
0396e69d
PB
420522012-04-17 Petr Baudis <pasky@ucw.cz>
42053
42054 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42055 with altivec.
42056
750b5926
MP
420572012-04-16 Marek Polacek <polacek@redhat.com>
42058
42059 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42060
751728a1
MP
420612012-04-16 Marek Polacek <polacek@redhat.com>
42062
42063 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42064 operands of fdivp instruction.
42065
34a27407
L
420662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42067
42068 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42069 * elf/tst-auditmod3b.c: Likewise.
42070 * elf/tst-auditmod4b.c: Likewise.
42071 * elf/tst-auditmod5b.c: Likewise.
42072 * elf/tst-auditmod6b.c: Likewise.
42073 * elf/tst-auditmod6c.c: Likewise.
42074 * elf/tst-auditmod7b.c: Likewise.
42075 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42076 * sysdeps/x86_64/preconfigure.in: Likewise.
42077 * sysdeps/x86_64/preconfigure: Regenerated.
42078
7e73e17d
L
420792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42080
42081 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42082 __ILP32__.
42083
c7a6ab72
AB
420842012-04-13 Antoine Balestrat <merkil33@gmail.com>
42085
42086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42087 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42088
a9e8e0e0
CL
420892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42090
42091 [BZ #13973]
42092 * locale/iso-639.def: Fix gl language name. Spotted by
42093 Yaron Shahrabani.
42094
ec98af7d
RM
420952012-04-12 Roland McGrath <roland@hack.frob.com>
42096
42097 [BZ #2074]
42098 * libio/libio.h (__io_write_fn): Update comment.
42099
247c3ede
PB
421002012-04-12 Petr Baudis <pasky@ucw.cz>
42101
42102 [BZ #2074]
42103 * stdio.texi (Hook Functions): The user provided writer function
42104 is not allowed to return -1.
42105
55939d6d
DM
421062012-04-11 David S. Miller <davem@davemloft.net>
42107
42108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42109
90020f5a
MF
421102012-04-11 Mike Frysinger <vapier@gentoo.org>
42111
42112 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42113 Add a leading slash to rtkaio.
42114
288f9098
JM
421152012-04-11 Jim Meyering <meyering@redhat.com>
42116
90020f5a
MF
42117 [BZ #11959]
42118 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42119 It is not necessarily an error to ignore fwrite's return
42120 value. One can reliably use ferror to test for errors after
42121 the fact.
288f9098 42122
4be2b570
L
421232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42124
42125 * bits/types.h (__snseconds_t): New type.
42126 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42127
42128 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42130 (__SNSECONDS_T_TYPE): Likewise.
42131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42132 (__SNSECONDS_T_TYPE): Likewise.
42133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42134 (__SNSECONDS_T_TYPE): Likewise.
42135
288f9098 421362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42137
42138 [BZ #2636]
42139 * manual/time.texi (Processor Time): Return type of times is
42140 elapsed real time since an arbitrary point in the past.
42141 (CPU Time): Move CLK_TCK from here...
42142 (Processor Time): ...to here. Correct description.
42143 * manual/conf.texi (Constants for Sysconf): Correct description of
42144 _SC_CLK_TCK.
42145
d7dd4413
DM
421462012-04-10 David S. Miller <davem@davemloft.net>
42147
42148 [BZ #13967]
42149 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42150 where the is a gap between DT_REL(A) and DT_JMPREL.
42151
b46068fc
L
421522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42153
42154 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42155 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42156 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42157
73d65cc3
SP
421582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42159
42160 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42161 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42162 (dl_main): Handle --inhibit-cache.
42163 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42164 _dl_inhibit_cache.
42165 * elf/dl-load.c (_dl_map_object): Use it.
42166 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42167
bcc8d661
JM
421682012-04-09 Joseph Myers <joseph@codesourcery.com>
42169
8f9a2fae
JM
42170 [BZ #13872]
42171 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42172 (__ieee754_powl): Saturate large exponents rather than testing for
42173 overflow of y*log2(x).
42174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42175 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42176 exceptions.
42177
bcc8d661
JM
42178 [BZ #11521]
42179 * math/s_ctan.c: Include <float.h>.
42180 (__ctan): Avoid internal overflow or cancellation in calculating
42181 denominator.
42182 * math/s_ctanf.c: Likewise.
42183 * math/s_ctanl.c: Likewise.
42184 * math/s_ctanh.c: Likewise.
42185 * math/s_ctanhf.c: Likewise.
42186 * math/s_ctanhl.c: Likewise.
42187 * math/libm-test.inc (ctan_test): Add more tests.
42188 (ctanh_test): Likewise.
42189 * sysdeps/i386/fpu/libm-test-ulps: Update.
42190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42191
823fbbb4
AJ
421922012-04-09 Andreas Jaeger <aj@suse.de>
42193
03879793
AJ
42194 [BZ #6894]
42195 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42196 is an optional BSD extension.
42197
823fbbb4
AJ
42198 [BZ #10254]
42199 * manual/stdio.texi (Opening Streams): Document additional fopen
42200 parameters.
42201
8de131cb
RM
422022012-04-09 Roland McGrath <roland@hack.frob.com>
42203
42204 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42205 %eax without telling the compiler.
42206
c0ed9d7d
CD
422072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42208
42209 [BZ # 13963]
42210 * manual/install.texi: Use sourceware.org.
42211
c483f6b4
JM
422122012-04-09 Joseph Myers <joseph@codesourcery.com>
42213
d7dd9453
JM
42214 [BZ #13873]
42215 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42216 (__ieee754_pow): Generate overflow and underflow using huge*huge
42217 and tiny*tiny rather than just returning constant infinity or zero
42218 for large exponents.
42219 * math/libm-test.inc (pow_test): Require overflow exceptions for
42220 applicable cases of large exponents.
42221
c483f6b4
JM
42222 [BZ #706]
42223 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42224 (__ieee754_pow): Use iterative multiplication algorithm only for
42225 integer exponents with absolute value below 1024. Check for odd
42226 integer exponents when using algorithm for real exponents.
42227 * math/libm-test.inc (pow_test): Add more tests.
42228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42229
d2de7579
JM
422302012-04-08 Joseph Myers <joseph@codesourcery.com>
42231
42232 [BZ #13705]
42233 * math/libm-test.inc (exp_test): Do not allow overflow exception
42234 on underflow test.
42235
f77f1232
AJ
422362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42237
42238 [BZ #13705]
42239 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42240 instead of __kernel_standard_f.
42241
3884932b
MF
422422012-04-08 Mike Frysinger <vapier@gentoo.org>
42243
42244 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42245 * sysdeps/x86_64/memset_chk.S: Likewise.
42246
54472e9c
AJ
422472012-04-08 Andreas Jaeger <aj@suse.de>
42248
6ab0fbfc
AJ
42249 [BZ #10153]
42250 * manual/startup.texi (Environment Access): Describe return value
42251 for putenv and setenv.
42252
61efba8c
AJ
42253 [BZ #6895]
42254 * manual/filesys.texi (Directory Entries): Add description for
42255 DT_LNK.
42256
95c3f29a
AJ
42257 [BZ #6890]
42258 * manual/filesys.texi (Directory Entries): Clarify that it's file
42259 system not operating system in the description of DT_UNKNOWN.
42260
54472e9c
AJ
42261 [BZ #6578]
42262 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42263
624254b1
SC
422642012-04-08 Stephen Compall <s11@member.fsf.org>
42265
42266 [BZ #6649]
42267 * manual/llio.texi (Opening and Closing Files): Add cross
42268 reference to explain mode argument.
42269
1e4920e0
MF
422702012-04-07 Mike Frysinger <vapier@gentoo.org>
42271
42272 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42273 * sysdeps/x86_64/memset_chk.S: Likewise.
42274
5ed848f3
DM
422752012-04-07 David S. Miller <davem@davemloft.net>
42276
42277 * elf/elf.h (R_SPARC_WDISP10): Define.
42278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42279 R_SPARC_SIZE32.
42280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42281 R_SPARC_SIZE64 and R_SPARC_H34.
42282
96154cd8
CD
422832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42284
42285 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42286 conditions and remove no longer applicable assertion.
42287
9904dc47
L
422882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42289
42290 * bits/byteswap.h: Include <features.h>.
42291 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42292 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42293
f8887d0a
L
422942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42295
42296 * bits/byteswap.h (__bswap_16): Removed.
42297 Include <bits/byteswap-16.h> to get __bswap_16.
42298 * sysdeps/i386/bits/byteswap.h: Likewise.
42299 * sysdeps/s390/bits/byteswap.h: Likewise.
42300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42301 * bits/byteswap-16.h: New file.
42302 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42303 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42304 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42305 * string/Makefile (headers): Add bits/byteswap-16.h.
42306
62470f60
PP
423072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42308
42309 [BZ #13895]
42310 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42311 extra indirection.
42312 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42313 * nss/tst-nss-static.c: New.
42314
4dad7bab
RM
423152012-04-06 Robert Millan <rmh@gnu.org>
42316
42317 [BZ #6486]
42318 * manual/llio.texi (File Position Primitive): lseek
42319 refers to WHENCE when it really means OFFSET.
42320
e9142a17
AJ
423212012-04-06 Andreas Jaeger <aj@suse.de>
42322
2c040eff
AJ
42323 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42324 strncmp declarations.
42325
e9142a17
AJ
42326 * abilist/libc.abilist: Add __poll and __ppoll.
42327
ff9f1c5f
DM
423282012-04-05 David S. Miller <davem@davemloft.net>
42329
dcd2ae90
DM
42330 * scripts/check-local-headers.sh: Accept a host triplet in the
42331 path matched by the exclude regexp.
42332
993eb054
DM
42333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42334 definition.
42335 * sysdeps/powerpc/powerpc32/dl-machine.h
42336 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42337 * sysdeps/s390/s390-32/dl-machine.h
42338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42339 * sysdeps/sparc/sparc32/dl-machine.h
42340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42341 * sysdeps/sparc/sparc64/dl-machine.h
42342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42343
ff9f1c5f
DM
42344 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42345 lazy binding.
48e2e132 42346 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42347 undefined symbol errors.
42348
48e2e132 42349 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42350 DT_NEEDED entries.
42351
e80d6f94
MM
423522012-04-05 Michael Matz <matz@suse.de>
42353
42354 [BZ #13592]
42355 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42356
349fa79f
AJ
423572012-04-05 Andreas Jaeger <aj@suse.de>
42358
42359 [BZ #13908]
42360 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42361 comment.
42362
f402708f
KK
423632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42364
42365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42366 which ROUND is no valid rounding mode.
42367
2ecccfc9
KK
423682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42369
42370 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42371 read again.
42372 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42373
8a53f50f
KK
423742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42375
42376 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42377 an exception using FPU order intentionally.
42378
423792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42380
42381 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42382 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42383 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42384 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42385
d653abb7
SJ
423862012-04-05 Simon Josefsson <simon@josefsson.org>
42387
42388 [BZ #12340]
42389 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42390 EINVAL when BUFLEN is too smal.
42391
c3b1bf7d
TS
423922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42393
42394 [BZ #13553]
42395 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42396 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42397
b1aa60f3
AJ
423982012-04-03 Andreas Jaeger <aj@suse.de>
42399
c3b1bf7d 42400 [BZ #13938]
67f60a26
AJ
42401 * manual/setjmp.texi (System V contexts): Fix sentence.
42402
b1aa60f3
AJ
42403 [BZ #13926]
42404 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42405 New macro for this case.
42406 [!__GNUC__] (__bswap_64): New inline function for this case.
42407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42408 * bits/byteswap.h: Likewise.
42409 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42410 ull, guard with __GLIBC_HAVE_LONG_LONG.
42411
42412 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42413 __GLIBC_HAVE_LONG_LONG.
42414
42415 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42416 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42417
39c59c35
TMQMF
424182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42419
42420 [BZ #13691]
42421 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42422 inptr and inend, rather than using last_ch.
42423
135ffda8
DM
424242012-04-02 David S. Miller <davem@davemloft.net>
42425
42426 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42427 * stdio-common/printf-parse.h (read_int): Change return type to
42428 'int', return -1 on INT_MAX overflow.
42429 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42430 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42431 overflows INT_MAX. Check for overflow of in-format-string precision
42432 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42433 SIZE_MAX not INT_MAX for integer overflow test.
42434 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42435 skip the construct in the format string but do not record anything.
42436 * stdio-common/bug22.c: Adjust to test both width/prevision
42437 INT_MAX overflow as well as total length INT_MAX overflow. Check
42438 explicitly for proper errno values.
42439
228c019e
TS
424402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42441
302cadd3
TS
42442 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42443 CHAR_MAX.
42444 * string/test-strcmp.c [! WIDE]: Likewise.
42445 * time/tst-mktime2.c: Likewise for INT_MAX.
42446 * string/test-string.h: #include <sys/param.h> for MIN.
42447
228c019e
TS
42448 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42449 * sysdeps/i386/init-first.c (init): Likewise.
42450 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42451 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42452 * sysdeps/sh/init-first.c (init): Likewise.
42453
cfa633f5
UD
424542012-04-01 Ulrich Drepper <drepper@gmail.com>
42455
42456 * po/ru.po: Update from translation team.
d1635ef8 42457 * po/vi.po: Likewise.
cfa633f5 42458
6cd0a5ea
SP
424592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42460
42461 * resolv/nss_dns/dns-host.c: Merge copyright years.
42462
4b43400f
LD
424632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42464
42465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42466 Optimize memcpy with prefetch if
42467 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42468 src, dst pointers have unequal 16 byte alignments.
42469
48c41d04
SP
424702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42471
42472 [BZ #13928]
42473 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42474 from a CNAME entry and return the minimum ttl for the query.
42475 (gaih_getanswer_slice): Likewise.
42476
b8dc394d
JL
424772012-03-30 Jeff Law <law@redhat.com>
42478
42479 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42480 due to long keys.
42481 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42482 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42483
2f5a5ed0
JL
42484 * resolv/nss_dns/dns-host.c: Update copyright year.
42485
1d39e359
UD
424862012-03-30 Ulrich Drepper <drepper@gmail.com>
42487
c030f70c 42488 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42489 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42490
1d39e359
UD
42491 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42492 comments for sendmmsg.
42493
424942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42495
42496 [BZ #13691]
42497 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42498 with only 1 character between 0x0041 and 0x01b0.
42499 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42500 * wcsmbs/tst-mbsnrtowcs.c: New file.
42501
20fde227
DM
425022012-03-29 David S. Miller <davem@davemloft.net>
42503
42504 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42505 small copies by hand.
42506
984a4237
JL
425072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42508
42509 [BZ #13761]
57f41c40
AS
42510 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42511 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42512 group memberships.
984a4237 42513
18c9d62b
DM
425142012-03-28 David S. Miller <davem@davemloft.net>
42515
88d85d4f
DM
42516 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42517 that branches into memcpy.
42518 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42520 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42521 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42523 bits.
42524 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42525 implementation too.
42526 * sysdeps/sparc/mempcpy.S: New file.
42527
e5aa83e1
DM
42528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42529 the IFUNC routine in the libc case.
42530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42531
88570753
DM
42532 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42533 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42534 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42535 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42536 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42537 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42538 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42539 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42540
249d7567
DM
42541 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42542 loop to 256 bytes instead of 64 bytes and fix test signedness.
42543
18c9d62b
DM
42544 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42545 * sysdeps/sparc/sparc32/Makefile: rather than here...
42546 * sysdeps/sparc/sparc64/Makefile: and here.
42547
05f3d1f6
UD
425482012-03-28 Ulrich Drepper <drepper@gmail.com>
42549
42550 * malloc/mallocbug.c: Avoid warnings about unused variables.
42551
86ae07a8
JL
425522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42553
42554 [BZ #13760]
42555 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42556 in the right place. Discard and retry query if response is
42557 larger than input buffer size.
42558
41bf21a1
JM
425592012-03-28 Joseph Myers <joseph@codesourcery.com>
42560
d6270972
JM
42561 [BZ #369]
42562 [BZ #2678]
42563 [BZ #3866]
42564 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42565 x for large integer exponent.
42566 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42567 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42568 sign of result as needed afterwards.
42569 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42570 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42571 result for underflowing pow the same as for overflow.
42572 (__kernel_standard_l): Handle powl overflow and underflow here
42573 rather than calling __kernel_standard.
42574 * math/libm-test.inc (pow_test): Add more tests.
42575
414fca03 42576 [BZ #3868]
41bf21a1
JM
42577 [BZ #13879]
42578 [BZ #13910]
42579 [BZ #13911]
42580 [BZ #13912]
42581 [BZ #13913]
42582 [BZ #13915]
42583 [BZ #13916]
42584 [BZ #13917]
42585 [BZ #13918]
42586 [BZ #13919]
42587 [BZ #13920]
42588 [BZ #13921]
42589 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42590 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42591 (__kernel_standard_l): New function.
42592 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42593 __kernel_standard.
42594 * math/w_acosl.c (__acosl): Likewise.
42595 * math/w_asinl.c (__asinl): Likewise.
42596 * math/w_atan2l.c (__atan2l): Likewise.
42597 * math/w_atanhl.c (__atanhl): Likewise.
42598 * math/w_coshl.c (__coshl): Likewise.
42599 * math/w_exp10l.c (__exp10l): Likewise.
42600 * math/w_exp2l.c (__exp2l): Likewise.
42601 * math/w_fmodl.c (__fmodl): Likewise.
42602 * math/w_hypotl.c (__hypotl): Likewise.
42603 * math/w_j0l.c (__j0l, __y0l): Likewise.
42604 * math/w_j1l.c (__j1l, __y1l): Likewise.
42605 * math/w_jnl.c (__jnl, __ynl): Likewise.
42606 * math/w_lgammal.c (__lgammal): Likewise.
42607 * math/w_log10l.c (__log10l): Likewise.
42608 * math/w_log2l.c (__log2l): Likewise.
42609 * math/w_logl.c (__logl): Likewise.
42610 * math/w_powl.c (__powl): Likewise.
42611 * math/w_remainderl.c (__remainderl): Likewise.
42612 * math/w_scalbl.c (sysv_scalbl): Likewise.
42613 * math/w_sinhl.c (__sinhl): Likewise.
42614 * math/w_sqrtl.c (__sqrtl): Likewise.
42615 * math/w_tgammal.c (__tgammal): Likewise.
42616 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42617 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42618 * math/libm-test.inc (acos_test): Add more tests.
42619 (acosh_test): Likewise.
42620 (asin_test): Likewise.
42621 (atanh_test): Likewise.
42622 (exp_test): Likewise.
42623 (exp10_test): Likewise.
42624 (exp2_test): Likewise.
42625 (expm1_test): Likewise.
42626 (lgamma_test): Likewise.
42627 (log_test): Likewise.
42628 (log10_test): Likewise.
42629 (log1p_test): Likewise.
42630 (log2_test): Likewise.
42631 (pow_test): Do not allow some spurious overflow exceptions.
42632 (sqrt_test): Add more tests.
42633 (tgamma_test): Likewise.
42634 (y0_test): Likewise.
42635 (y1_test): Likewise.
42636 (yn_test): Likewise.
42637
dd62fda6
AB
426382012-03-27 Anton Blanchard <anton@samba.org>
42639
42640 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42641 MAP_HUGETLB.
42642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42643 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42645
1e3cdfda
AJ
426462012-03-27 David S. Miller <davem@davemloft.net>
42647
b855ab85
DM
42648 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42649
1e3cdfda
AJ
42650 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42651 have-as-vis3 check.
42652
426532012-03-27 Andreas Jaeger <aj@suse.de>
42654
42655 * sysdeps/x86_64/elf/configure.in: Moved to ...
42656 * sysdeps/x86_64/configure.in: ... here.
42657 * sysdeps/x86_64/elf/start.S: Moved to ...
42658 * sysdeps/x86_64/start.S: ... here.
42659 * sysdeps/x86_64/elf/configure: Delete.
42660
42661 * sysdeps/x86_64/configure.in: Merge contents from
42662 sysdeps/i386/configure.in (without i686 check).
42663
42664 * sysdeps/i386/elf/Versions: Merge into ...
42665 * sysdeps/i386/Versions: ... this.
42666 * sysdeps/i386/elf/Versions: Delete file.
42667 * sysdeps/i386/elf/start.S: Moved to ...
42668 * sysdeps/i386/start.S: ...here.
42669 * sysdeps/i386/elf/configure.in: Merge into...
42670 * sysdeps/i386/configure.in: ...here.
42671 * sysdeps/i386/elf/configure.in: Delete file.
42672 * sysdeps/i386/elf/configure: Delete file.
42673
42674 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42675 * debug/backtracesyms.c: ... here.
42676 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42677 * debug/backtracesymsfd.c: ... here.
42678 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42679 * sysdeps/generic/ifunc-sel.h: ... here.
42680
42681 * sysdeps/unix/i386/start.c: Delete file.
42682 * sysdeps/unix/sparc/start.c: Delete file.
42683 * sysdeps/unix/start.c: Delete file.
42684
42685 * sysdeps/sh/elf/configure.in: Moved to ...
42686 * sysdeps/sh/configure.in: ... here.
42687 * sysdeps/sh/elf/start.S: Moved to ...
42688 * sysdeps/sh/start.S: ... here.
42689 * sysdeps/sh/elf/configure: Delete file.
42690
42691 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42692 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42693 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42694 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42695 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42696 * sysdeps/powerpc/powerpc64/start.S: here.
42697 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42698 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42699 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42700 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42701 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42702
42703 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42704 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42705 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42706 * sysdeps/powerpc/powerpc32/start.S: ... here.
42707 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42708 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42709 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42710
42711 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42712 * sysdeps/powerpc/ifunc-sel.h: ... here.
42713 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42714 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42715
42716 * sysdeps/sparc/elf/configure.in: Moved to ...
42717 * sysdeps/sparc/configure.in: ... here.
42718 * sysdeps/sparc/elf/configure: Delete file.
42719 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42720 * sysdeps/sparc/sparc32/start.S: ... here.
42721 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42722 * sysdeps/sparc/sparc64/start.S: ... here.
42723 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42724 * sysdeps/sparc/sparc32/Makefile: ... this.
42725 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42726 * sysdeps/sparc/sparc64/Makefile: ... this.
42727
42728 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42729 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42730 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42731 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42732 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42733 * sysdeps/s390/s390-32/setjmp.S: ... here.
42734 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42735 * sysdeps/s390/s390-32/configure.in: ... here.
42736 * sysdeps/s390/s390-32/elf/configure: Delete file.
42737 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42738 * sysdeps/s390/s390-32/start.S: ... here.
42739
42740 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42741 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42742 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42743 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42744 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42745 * sysdeps/s390/s390-64/setjmp.S: ... here.
42746 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42747 * sysdeps/s390/s390-64/configure.in: ... here
42748 * sysdeps/s390/s390-64/elf/configure: Delete file.
42749 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42750 * sysdeps/s390/s390-64/start.S: ... here.
42751 * sysdeps/s390/s390-64/elf/configure: Delete.
42752
42753 * configure.in: Remove support for elf directories in sysdeps.
42754
42755 * configure: Regenerated.
42756 * sysdeps/i386/configure: Regenerated.
42757 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42758 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42759 * sysdeps/s390/s390-32/configure: Regenerated.
42760 * sysdeps/s390/s390-64/configure: Regenerated.
42761 * sysdeps/sh/configure: Regenerated.
42762 * sysdeps/sparc/configure: Regenerated.
42763 * sysdeps/x86_64/configure: Regenerated.
42764
a3f61311
AS
427652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42766
c876e002
AS
42767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42768
a3f61311
AS
42769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42770 denormal result into account.
42771
ac4c54f0
RM
427722012-03-25 Roland McGrath <roland@hack.frob.com>
42773
42774 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42775 Reported by Allan McRae <allan@archlinux.org>.
42776
6a9b9c02
JL
427772012-03-23 Jeff Law <law@redhat.com>
42778
42779 * nss/getnssent.c (__nss_getent): Fix typo.
42780
4c42a0c1
DM
427812012-03-23 David S. Miller <davem@davemloft.net>
42782
42783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42784
1532c7ac
L
427852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42786
42787 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42788 to pad to uint64_t for each field.
42789 (dl_tls_index): Replace unsigned long with uint64_t.
42790
3ff42526
PP
427912012-03-23 Daniel Jacobowitz <dmj@google.com>
42792 Paul Pluzhnikov <ppluzhnikov@google.com>
42793
42794 [BZ #6528]
42795 * grp/Makefile (otherlibs): Don't set it.
42796 * inet/Makefile (otherlibs): Likewise.
42797 * login/Makefile (otherlibs): Likewise.
42798 * nscd/Makefile (otherlibs): Likewise.
42799 * posix/Makefile (otherlibs): Likewise.
42800 * pwd/Makefile (otherlibs): Likewise.
42801 * rt/Makefile (otherlibs): Likewise.
42802 * sunrpc/Makefile (otherlibs): Likewise.
42803 * nss/Makefile (otherlibs): Likewise.
42804 Add libnss_files to routines and static-only-routines.
42805 ($(objpfx)getent): Remove rule.
42806 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42807 static-only-routines.
42808
7c69cd14
JM
428092012-03-22 Joseph Myers <joseph@codesourcery.com>
42810
42811 [BZ #13892]
42812 * math/s_cexp.c: Include <float.h>.
42813 (__cexp): Handle exp result overflowing not necessarily
42814 overflowing both real and imaginary parts of result.
42815 * math/s_cexpf.c: Likewise.
42816 * math/s_cexpl.c: Likewise.
42817 * math/libm-test.inc (cexp_test): Add more tests.
42818 * sysdeps/i386/fpu/libm-test-ulps: Update.
42819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42820
81b035fe
L
428212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42822
42823 * include/link.h (ELFW): New macro.
42824 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42825 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42826
1da7940c
L
428272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42828
42829 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42830 with uint64_t.
42831
b749dbb9
L
428322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42833
42834 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42835 declaration.
42836 (struct La_x32_retval): Likewise.
42837
2ff87f3f
L
428382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42839
42840 * sysdeps/x86_64/preconfigure.in: New file.
42841 * sysdeps/x86_64/preconfigure: New generated file.
42842
c0df8e69
JM
428432012-03-22 Joseph Myers <joseph@codesourcery.com>
42844
48e44791
JM
42845 [BZ #13824]
42846 * math/e_exp2l.c: Include <float.h>.
42847 (__ieee754_exp2l): Handle overflow and underflow cases
42848 separately. Only pass fractional part of argument to
42849 __ieee754_expl.
42850 * math/libm-test.inc (exp2_test): Add more tests.
42851
c0df8e69
JM
42852 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42853 negating x to take absolute value.
42854 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42855 Likewise.
42856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42858 Likewise.
42859 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42860 computing low part if x was negated.
42861 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42862
c8e43ba7
L
428632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42864
42865 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42866 la_x32_gnu_pltexit.
42867 (pltexit): Cast int_retval to ptrdiff_t.
42868 * elf/tst-auditmod3b.c: Likewise.
42869 * elf/tst-auditmod4b.c: Likewise.
42870 * elf/tst-auditmod5b.c: Likewise.
42871 * elf/tst-auditmod6b.c: Likewise.
42872 * elf/tst-auditmod6c.c: Likewise.
42873 * elf/tst-auditmod7b.c: Likewise.
42874
42875 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42876 and x32_gnu_pltexit.
42877
42878 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42879 __ELF_NATIVE_CLASS.
42880 (La_x32_regs): New macro.
42881 (La_x32_retval): Likewise.
42882 (la_x32_gnu_pltenter): New function prototype.
42883 (la_x32_gnu_pltexit): Likewise.
42884
7998fa78
AS
428852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42886
dcb33988
AS
42887 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42888 exponent.
42889
233fc563
AS
42890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42891
7998fa78
AS
42892 * configure.in (libc_cv_cc_nofma): Check for option to disable
42893 generation of FMA instructions.
42894 * configure: Regenerate.
42895 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42896 * sysdeps/ieee754/dbl-64/Makefile: New file.
42897 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42898 Remove brandred-fma4.
42899 (CFLAGS-brandred-fma4.c): Remove.
42900 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42902 define.
42903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42904 define.
42905
8e95c99a
L
429062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42907
42908 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42909 LLONG_MAX != LONG_MAX.
42910 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42911 (_fitoa_word): Likewise.
42912 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42913 LLONG_MAX != LONG_MAX.
42914 * stdio-common/_itowa.h: Include <_itoa.h>.
42915 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42916 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42917 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42918 only if not defined.
42919 (_ITOA_WORD_TYPE): Likewise.
42920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42921 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42922
6f4db457
DM
429232012-03-21 David S. Miller <davem@davemloft.net>
42924
42925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42926
7785fe5a
L
429272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42928
42929 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42930 of x86_64 when setting libc_cv_slibdir, libdir and
42931 libc_cv_localedir.
42932 * sysdeps/unix/sysv/linux/configure: Regenerated.
42933
4535cd55
JM
429342012-03-21 Joseph Myers <joseph@codesourcery.com>
42935
42936 * manual/lang.texi (Old Varargs): Remove section.
42937 (How Variadic): Update menu.
42938 (va_start): Do not mention varargs.h.
42939
17228132
TS
429402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42941 Joseph Myers <joseph@codesourcery.com>
42942
42943 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42944 link test.
42945 * configure: Regenerated.
42946
8149f976
TS
429472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42948
05f3d1f6
UD
42949 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42950 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42951 conformtest.pl
8149f976 42952
1a4ac776
JM
429532012-03-21 Joseph Myers <joseph@codesourcery.com>
42954
be22ce65
JM
42955 * NOTES: Remove.
42956 * Makefile (files-for-dist): Remove NOTES.
42957 (NOTES): Remove rule.
42958 * README: Don't refer to NOTES.
42959 * manual/creature.texi: Don't include macros.texi.
42960 * manual/intro.texi (creature.texi): Remove comment referring to
42961 NOTES.
42962
40b601fb
JM
42963 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42964 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42965 * configure: Regenerated.
42966 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42967 LIBC_TRY_CC_OPTION.
42968 (libc_cv_as_i686): Likewise.
42969 (libc_cv_cc_avx): Likewise.
42970 (libc_cv_cc_sse2avx): Likewise.
42971 (libc_cv_cc_fma4): Likewise.
42972 (libc_cv_cc_novzeroupper): Likewise.
42973 * sysdeps/i386/configure: Regenerated.
42974
1a4ac776
JM
42975 [BZ #13883]
42976 * sysdeps/i386/fpu/s_cexp.S: Remove.
42977 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42978 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42979 * math/libm-test.inc (cexp_test): Add more tests.
42980 * sysdeps/i386/fpu/libm-test-ulps: Update.
42981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42982
a458e7fe
AM
429832012-03-21 Allan McRae <allan@archlinux.org>
42984
42985 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42986
0cb7efc5
JM
429872012-03-21 Joseph Myers <joseph@codesourcery.com>
42988
42989 [BZ #13871]
42990 * math/w_exp2.c: Do not include <float.h>.
42991 (o_threshold, u_threshold): Remove.
42992 (__exp2): Calculate result before checking finiteness and calling
42993 __kernel_standard.
42994 * math/w_exp2f.c: Likewise.
42995 * math/w_exp2l.c: Likewise.
42996 * math/libm-test.inc (exp2_test): Require overflow exception for
42997 1e6 input.
2460d3aa
JM
42998
42999 [BZ #3866]
43000 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43001 range of signed 64-bit integers before using fistpll. Remove
43002 checks for whether integers fit in mantissa bits.
43003 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43004 the range of signed 32-bit integers before using fistpl. Remove
43005 checks for whether integers fit in mantissa bits.
43006 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43007 (__ieee754_powl): Test for y outside the range of signed 64-bit
43008 integers before using fistpll. Reduce 64-bit values to 63-bit
43009 ones as needed.
43010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43011 divide-by-zero is raised for zero to large negative powers.
43012 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43013 (__ieee754_powl): Test for y outside the range of signed 64-bit
43014 integers before using fistpll. Reduce 64-bit values to 63-bit
43015 ones as needed.
43016 * math/libm-test.inc (pow_test): Add more tests.
43017
eb96ffb0
L
430182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43019
43020 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43021 <stdio-common/_itoa.h>.
43022 * debug/segfault.c: Likewise.
43023 * elf/dl-cache.c: Likewise.
43024 * elf/dl-minimal.c: Likewise.
43025 * elf/dl-misc.c: Likewise.
43026 * elf/dl-sysdep.c: Likewise.
43027 * elf/dl-version.c: Likewise.
43028 * elf/rtld.c: Likewise.
43029 * hurd/hurdsock.c: Likewise.
43030 * hurd/lookup-retry.c: Likewise.
43031 * malloc/malloc.c: Likewise.
43032 * malloc/mtrace.c: Likewise.
43033 * nscd/nscd_getgr_r.c: Likewise.
43034 * nscd/nscd_getpw_r.c: Likewise.
43035 * nscd/nscd_getserv_r.c: Likewise.
43036 * posix/getopt_init.c: Likewise.
43037 * posix/wordexp.c: Likewise.
43038 * stdio-common/_itoa.c: Likewise.
43039 * stdio-common/printf_fphex.c: Likewise.
43040 * stdio-common/vfprintf.c: Likewise.
43041 * string/_strerror.c: Likewise.
43042 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43043 * sysdeps/i386/i686/hp-timing.h: Likewise.
43044 * sysdeps/mach/_strerror.c: Likewise.
43045 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43046 * sysdeps/mach/hurd/sethostid.c: Likewise.
43047 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43048 * sysdeps/mach/xpg-strerror.c: Likewise.
43049 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43050 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43051 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43052 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43053 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43054 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43055 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43056 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43057 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43058 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43059 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43060 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43061 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43062 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43063 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43064 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43065 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43066 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43067 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43068 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43069 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43070
43071 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43072
43073 * stdio-common/_itoa.h: Moved to ...
43074 * sysdeps/generic/_itoa.h: Here.
43075
43076 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43077
43078 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43079 instead of "_itoa.h" and "_itowa.h".
43080 * stdio-common/vfprintf.: Likewise.
43081
d1af992d
L
430822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43083
43084 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43085 <bits/wordsize.h>.
43086 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43087 (__signbit): Likwise.
43088 (llrintf): Likwise.
43089 (llrint): Likwise.
43090
114883e0
L
430912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43092
43093 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43094 __WORDSIZE != 64.
43095
c135cc1b
JM
430962012-03-20 Joseph Myers <joseph@codesourcery.com>
43097
43098 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43099 OVERFLOW_EXCEPTION_OK.
43100 * math/libm-test.inc ("Philosophy"): Update comment about
43101 exception testing.
43102 (OVERFLOW_EXCEPTION): Define.
43103 (OVERFLOW_EXCEPTION_OK): Likewise.
43104 (INVALID_EXCEPTION_OK): Renumber.
43105 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43106 (IGNORE_ZERO_INF_SIGN): Likewise.
43107 (test_exceptions): Handle FE_OVERFLOW.
43108 (exp10_test): Expect overflow exceptions.
43109 (exp2_test): Likewise.
43110 (expm1_test): Likewise.
43111 (nextafter_test): Likewise.
43112 (pow_test): Likewise.
43113 (scalbn_test): Likewise.
43114 (scalbln_test): Likewise.
43115
95443d88
L
431162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43117
43118 * sysdeps/x86_64/bits/atomic.h
43119 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43120 64bit integer.
43121 (atomic_exchange_acq): Likewise.
43122 (__arch_exchange_and_add_body): Likewise.
43123 (__arch_add_body): Likewise.
43124 (atomic_add_negative): Likewise.
43125 (atomic_add_zero): Likewise.
43126
490df6c4
L
431272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43128
c2722551 43129 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43130 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43131
5e52b189
L
431322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43133
43134 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43135 Check __x86_64__ instead of __WORDSIZE.
43136
a9879d4c
L
431372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43138
43139 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43140
5df98260
DM
431412012-03-19 David S. Miller <davem@davemloft.net>
43142
e1497744
DM
43143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43144
5df98260
DM
43145 * sysdeps/sparc/fpu/fenv_private.h: New file.
43146 * sysdeps/sparc/fpu/math_private.h: Use it.
43147 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43148 Remove.
57f41c40 43149 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43150 (libc_feholdexcept_setroundl): Remove.
43151 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43152 Remove.
43153 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43154 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43155
b4c35121
L
431562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43157
43158 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43159 int64_t instead of long int.
43160 (INSERT_WORDS64): Likwise.
43161
56965fd7
L
431622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43163
43164 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43165 _Unwind_GetCFA return to _Unwind_Ptr first.
43166
83d1aec8
JM
431672012-03-19 Joseph Myers <joseph@codesourcery.com>
43168
1897ad44
JM
43169 [BZ #13629]
43170 * math/s_clog.c: Include <float.h>.
43171 (__clog): Scale large or subnormal inputs.
43172 * math/s_clogf.c: Likewise.
43173 * math/s_clogl.c: Likewise.
43174 * math/s_clog10.c: Include <float.h>.
43175 (M_LOG10_2): Define.
43176 (__clog10): Scale large or subnormal inputs.
43177 * math/s_clog10f.c: Likewise.
43178 * math/s_clog10l.c: Likewise.
43179 * math/libm-test.inc (clog_test): Add more tests.
43180 (clog10_test): Likewise.
43181 * sysdeps/i386/fpu/libm-test-ulps: Update.
43182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43183
7726d6a9
JM
43184 [BZ #11451]
43185 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43186 x and y.
43187 * math/libm-test.inc (atan2_test): Add another test.
43188
83d1aec8
JM
43189 * Makerules (common-objdir-compile): Remove.
43190 * sysdeps/unix/Makefile (config-generated): Do not add
43191 $(unix-generated) to variable.
43192 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43193 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43194 Remove rule.
43195 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43196 Likewise.
43197 [generic bits/local_lim.h] (before-compile): Do not append to
43198 variable.
43199 [generic bits/local_lim.h] (common-generated): Likewise.
43200 [generic sys/param.h] (before-compile): Do not append to variable.
43201 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43202 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43203 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43204 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43205 include.
43206 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43207 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43208 [generic sys/param.h] ($(addprefix
43209 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43210 [generic sys/param.h] (common-generated): Do not append to
43211 variable.
43212 [generic sys/param.h] (sysdep_headers): Likewise.
43213 [generic bits/errno.h] (before-compile): Do not append to
43214 variable.
43215 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43216 rule.
43217 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43218 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43219 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43220 [generic bits/errno.h] (common-generated): Do not append to
43221 variable.
43222 [generic bits/ioctls.h] (before-compile): Do not append to
43223 variable.
43224 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43225 rule.
43226 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43227 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43229 rule.
43230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43231 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43232 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43233 [generic bits/ioctls.h] (common-generated): Do not append to
43234 variable.
43235 [generic sys/syscall.h] (syscall.h): Remove variable.
43236 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43237 rule.
43238 [generic sys/syscall.h] (before-compile): Do not append to
43239 variable.
43240 [generic sys/syscall.h] (common-generated): Likewise.
43241 * sysdeps/unix/errnos-tmpl.c: Remove file.
43242 * sysdeps/unix/errnos.awk: Likewise.
43243 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43244 * sysdeps/unix/ioctls.awk: Likewise.
43245 * sysdeps/unix/mk-local_lim.c: Likewise.
43246 * sysdeps/unix/snarf-ioctls: Likewise.
43247
4851a949
RH
432482012-03-19 Richard Henderson <rth@twiddle.net>
43249
bd37f2ee
RH
43250 * sysdeps/i386/fpu/fenv_private.h: New file.
43251 * sysdeps/i386/fpu/math_private.h: Use it.
43252 (math_opt_barrier, math_force_eval): Remove.
43253 (libc_feholdexcept_setround_53bit): Remove.
43254 (libc_feupdateenv_53bit): Remove.
43255 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43256 (math_opt_barrier, math_force_eval): Remove.
43257 (libc_feholdexcept): Remove.
43258 (libc_feholdexcept_setround): Remove.
43259 (libc_fetestexcept, libc_fesetenv): Remove.
43260 (libc_feupdateenv_test): Remove.
43261 (libc_feupdateenv, libc_feholdsetround): Remove.
43262 (libc_feresetround): Remove.
43263
d0adc922
RH
43264 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43265 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43266
0fe0f1f8
RH
43267 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43268 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43269 (libc_feupdateenv_testl): New.
43270 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43271 (libc_feupdateenv_testf): New.
43272 (libc_feupdateenv): Use libc_feupdateenv_test.
43273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43274 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43275
eb92c487
RH
43276 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43277 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43278 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43279 (libc_feresetround_noex): New.
43280 (libc_feresetround_noexf): New.
43281 (libc_feresetround_noexl): New.
43282 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43283 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43284 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43285 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43286 SET_RESTORE_ROUND.
43287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43289 (__cos): Likewise.
43290 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43291 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43292 SET_RESTORE_ROUND_NOEX.
43293 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43294 SET_RESTORE_ROUND_NOEXF.
43295 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43296 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43297 (libc_feholdsetroundf): New.
43298 (libc_feresetround, libc_feresetroundf): New.
43299
7d2e8012
RH
43300 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43301 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43302 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43303
b4dabbb4
RH
43304 * sysdeps/generic/math_private.h: Include <fenv.h>.
43305 (default_libc_feholdexcept): New.
43306 (default_libc_feholdexcept_setround): New.
43307 (default_libc_fesetenv, default_libc_feupdateenv): New.
43308 (libc_feholdexcept): Only define if undefined.
43309 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43310 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43311 (libc_feholdexcept_setroundl): Likewise.
43312 (libc_feholdexcept_setround_53bit): Likewise.
43313 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43314 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43315 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43316 (libc_feupdateenv_53bit): Likewise.
43317 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43318 (libc_feholdexcept): Convert from macro to inline function.
43319 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43320 (libc_fesetenv, libc_feupdateenv): Likewise.
43321
4851a949
RH
43322 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43323 not previously defined.
43324 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43325 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43326 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43327 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43328 * sysdeps/ieee754/flt-32/math_private.h: New file.
43329 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43330 math_private.h below SET_FLOAT_WORD.
43331 (__isnan, __isinf_ns, __finite): Remove.
43332 (__isnanf, __isinf_nsf, __finitef): Remove.
43333
e79d442e
AS
433342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43335
43336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43337
90b80344
DM
433382012-03-17 David S. Miller <davem@davemloft.net>
43339
43340 [BZ #6471]
43341 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43342 for 2.16.
43343
edc21804
DM
433442012-03-16 David S. Miller <davem@davemloft.net>
43345
77e927af
DM
43346 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43347 warnings.
43348
374976dd
DM
43349 [BZ #6471]
43350 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43351 properly.
43352 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43353 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43354 sysdep_routines when subdir is sysvipc.
43355 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43356 __getshmlba helper.
43357
edc21804
DM
43358 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43359
473c3ef3
L
433602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43361
43362 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43363 [__LP64__].
43364
eb0f39b6
L
433652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43366
43367 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43368 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43369 (__lround): Renamed to ...
43370 (__llround): This. Replace long int with long long int.
43371 Define lround functions as aliases of llround functions.
43372 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43373
6b6cd74b
L
433742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43375
43376 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43377 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43378 adresses to uintptr_t. Replace "long int" and "unsigned long
43379 int" with "greg_t" on va_arg.
43380
f1a77b01
L
433812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43382
43383 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43384 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43385
43386 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43387 Move e_machine check before EI_CLASS check. Handle x32
43388 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43389 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43390 SKIP_EM_IA_64 and include
43391 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43392
43393 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43394 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43395 (add_system_dir): New macro.
43396
43397 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43398 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43399
11b90b9f
JM
434002012-03-16 Joseph Myers <joseph@codesourcery.com>
43401
c36e1d23
JM
43402 [BZ #2551]
43403 [BZ #2552]
43404 [BZ #2553]
43405 [BZ #2554]
43406 [BZ #2562]
43407 [BZ #2563]
43408 [BZ #2565]
43409 [BZ #2566]
43410 [BZ #2576]
43411 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43412 (y0): Likewise.
43413 * math/w_j0f.c (j0f): Likewise.
43414 (y0f): Likewise.
43415 * math/w_j0l.c (__j0l): Likewise.
43416 (__y0l): Likewise.
43417 * math/w_j1.c (j1): Likewise.
43418 (y1): Likewise.
43419 * math/w_j1f.c (j1f): Likewise.
43420 (y1f): Likewise.
43421 * math/w_j1l.c (__j1l): Likewise.
43422 (__y1l): Likewise.
43423 * math/w_jn.c (jn): Likewise.
43424 (yn): Likewise.
43425 * math/w_jnf.c (jnf): Likewise.
43426 (ynf): Likewise.
43427 * math/w_jnl.c (__jnl): Likewise.
43428 (__ynl): Likewise.
43429 * math/libm-test.inc (j0_test): Add more tests.
43430 (j1_test): Likewise.
43431 (jn_test): Likewise. Add trailing semicolon to existing test.
43432 (y0_test): Likewise.
43433 (y1_test): Likewise.
43434 * sysdeps/i386/fpu/libm-test-ulps: Update.
43435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43436
11b90b9f
JM
43437 [BZ #13851]
43438 [BZ #13854]
43439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43440 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43441 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43443 (__tanl): Set errno for infinite argument.
43444 * sysdeps/i386/fpu/mptan.c: Remove.
43445 * sysdeps/i386/fpu/s_tan.S: Likewise.
43446 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43447 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43448 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43449 * math/libm-test.inc (tan_test): Add more tests and enable more
43450 tests for double and long double.
43451 * sysdeps/i386/fpu/libm-test-ulps: Update.
43452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43453
6a1bd2a1
JK
434542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43455
43456 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43457 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43458
10a803e0
RM
434592012-03-16 Roland McGrath <roland@hack.frob.com>
43460
43461 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43462 * configure.in: Use it for both main tree and add-ons.
43463 * configure: Regenerated.
43464
f196c7f7
L
434652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43466
43467 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43468
8848d99d
JM
434692012-03-16 Joseph Myers <joseph@codesourcery.com>
43470
96cbe7f4
JM
43471 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43472 in comment.
43473
8848d99d
JM
43474 [BZ #13851]
43475 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43476 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43478 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43480 infinite argument.
43481 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43483 != 0 for prec == 2.
43484 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43485 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43486 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43487 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43488 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43489 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43490 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43491 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43492 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43493 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43494 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43495 * math/libm-test.inc (cos_test): Add more tests and enable more
43496 tests for long double.
43497 (sin_test): Likewise.
43498 (sincos_test): Likewise.
43499 * sysdeps/i386/fpu/libm-test-ulps: Update.
43500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43501
dd7f4703
DM
435022012-03-16 David S. Miller <davem@davemloft.net>
43503
43504 * sysdeps/sparc/fpu/math_private.h: New file.
43505
006f1daa
DM
435062012-03-15 David S. Miller <davem@davemloft.net>
43507
c0c83bc8
DM
43508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43509 file.
e6a62e18 43510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43512 file.
e6a62e18
DM
43513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43519 sysdep routines.
43520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43521
88cb87d9
DM
43522 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43523 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43524
006f1daa 43525 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43527 sparc-ifunc.h
006f1daa 43528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43530 Likewise.
43531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43532 Likewise.
006f1daa
DM
43533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43537 Likewise.
006f1daa
DM
43538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43543 Likewise.
43544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43545 Likewise.
006f1daa
DM
43546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43570
11e0098e
AS
435712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43572
43573 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43574 scaling.
43575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43576
e85b09d0
AJ
435772012-03-15 Andreas Jaeger <aj@suse.de>
43578
43579 [BZ #13852]
43580 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43581 ieee754/flt-32 implementation for sin, cos and sincos.
43582 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43583 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43584 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43585 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43586 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43587 ieee754/flt-32 implementation for tan.
43588
43589 * math/libm-test.inc (cos_test): Enable some large input tests for
43590 float as well
43591 (sin_test): Likewise.
43592 (sincos_test): Likewise.
43593 (tan_test): Add tests for large input.
43594
43595 * sysdeps/i386/fpu/libm-test-ulps: Update.
43596
81c64153
AJ
435972012-03-15 Andreas Jaeger <aj@suse.de>
43598
43599 [BZ #13658]
43600 * math/libm-test.inc (cos_test): Add more test cases.
43601 (sin_test): Likewise.
43602 (sincos_test): Likewise.
43603
7bbfa5c6
AJ
436042012-03-15 Andreas Jaeger <aj@suse.de>
43605
43606 [BZ #13837]
43607 * math/libm-test.inc (cos_test): Add a test case for large input
43608 value.
43609 (sin_test): Likewise.
43610 (sincos_test): Likewise.
43611
57f41c40
AS
436122012-03-15 Andreas Jaeger <aj@suse.de>
43613 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43614
43615 [BZ #13658]
0671f479 43616 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43617 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43618 * sysdeps/i386/fpu/branred.c: Likewise.
43619 * sysdeps/i386/fpu/dosincos.c: Likewise.
43620 * sysdeps/i386/fpu/mpa.c: Likewise.
43621 * sysdeps/i386/fpu/s_cos.S: Likewise.
43622 * sysdeps/i386/fpu/s_sin.S: Likewise.
43623 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43624 * sysdeps/i386/fpu/sincos32.c: Likewise.
43625
43626 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43627 Define.
43628 (libc_feupdateenv_53bit): Define.
43629 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43630 Define.
43631 (libc_feupdateenv_53bit): Define.
43632
43633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43634 53 bit (without extend i386 double precision).
43635
43636 * math/libm-test.inc (sincos_test): Add tests for large input.
43637 (sin): Likewise.
43638 (cos): Likewise.
43639
43640 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43641
9cad04ea
AS
436422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43643
43644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43645
f7062b9a
DM
436462012-03-15 David S. Miller <davem@davemloft.net>
43647
43648 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43649 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43650 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43651 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43664 file.
f7062b9a 43665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43667 file.
f7062b9a 43668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43670 file.
f7062b9a 43671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43673 file.
f7062b9a
DM
43674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43676 fmin/fmax sysdep routines.
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43678
7bd951ff
DM
436792012-03-14 David S. Miller <davem@davemloft.net>
43680
559398ab
DM
43681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43710 routines.
43711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43712 file.
559398ab 43713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43715 file.
559398ab 43716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43718 file.
559398ab 43719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43721 file.
559398ab 43722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43724 file.
559398ab 43725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43727 file.
43728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43729 file.
43730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43731 file.
43732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43733 file.
43734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43735 New file.
43736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43737 file.
43738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43739 file.
559398ab 43740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43742 file.
559398ab 43743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43745 file.
559398ab 43746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43748 file.
559398ab 43749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
43750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43751 VIS3 routines.
559398ab
DM
43752
43753 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43754 New file.
43755
5a1c1e32
DM
43756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43757
eae47a36
DM
43758 * sysdeps/sparc/configure.in: New file.
43759 * sysdeps/sparc/configure: Generate.
43760 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43761 * configure: Regenerate.
43762 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43763 * config.make.in (have-as-vis3): New.
43764 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43765 available use -Av9d instead of -Av9a.
43766 * sysdeps/sparc/sparc64/Makefile: Likewise.
43767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
43768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43769 New file.
43770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43771 file.
43772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43773 New file.
43774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43775 file.
eae47a36
DM
43776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43781
c0c83bc8
DM
43782 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43783 fzeros/fnegs to load 0x80000000 into a float register instead of
43784 using the stack.
7bd951ff
DM
43785 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43786
bd951ccb
JM
437872012-03-14 Joseph Myers <joseph@codesourcery.com>
43788
43789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43790 bits/syscall.h.
43791 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43792 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43793 ($(inst_includedir)/bits/syscall.h): Remove rule.
43794 ($(objpfx)bits/syscall.d): Include instead of
43795 $(objpfx)syscall-list.d.
43796 (generated): Change syscall-list.h and syscall-list.d to
43797 bits/syscall.h and bits/syscall.d.
43798
bb4e6db2
RM
437992012-03-14 Roland McGrath <roland@hack.frob.com>
43800
43801 [BZ #13846]
43802 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43803
aa4a2ae1
JM
438042012-03-14 Joseph Myers <joseph@codesourcery.com>
43805
e456826d
JM
43806 [BZ #13841]
43807 * math/s_csqrt.c: Include <float.h>.
43808 (__csqrt): Scale large or subnormal inputs.
43809 * math/s_csqrtf.c: Likewise.
43810 * math/s_csqrtl.c: Likewise.
43811 * math/libm-test.inc (csqrt_test): Add more tests.
43812 * sysdeps/i386/fpu/libm-test-ulps: Update.
43813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43814
aa4a2ae1
JM
43815 [BZ #13840]
43816 * math/libm-test.inc (hypot_test): Add more tests.
43817
7c10fd35
DM
438182012-03-13 David S. Miller <davem@davemloft.net>
43819
43820 [BZ #13840]
43821 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43822 double-precision for the calculation instead of scaling.
43823
f453b98b
JM
438242012-03-13 Joseph Myers <joseph@codesourcery.com>
43825
43826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43827 manipulate bits before adding and subtracting TWO52[sx].
43828 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43829 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43830 Likewise.
43831 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43832
09a3453f
DM
438332012-03-13 David S. Miller <davem@davemloft.net>
43834
8e59da90
DM
43835 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43836 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43838 rtld-global-offsets.h
43839 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43840
2a8ab7f2
DM
43841 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43842 large parameters.
43843
10f62770
DM
43844 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43845
5f0bdb18
DM
43846 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43847 'err' in the ifdef scope in which it is actually used.
43848
09a3453f
DM
43849 * nss/nss_db/db-init.c: Include string.h
43850
b4b2eb5e
DM
438512012-03-12 David S. Miller <davem@davemloft.net>
43852
98bb2f1c
DM
43853 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43854 masking out of the most significant byte of random value used.
43855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43856 Fix coding style in previous change.
43857
b4b2eb5e
DM
43858 * sysdeps/unix/sysv/linux/kernel-features.h
43859 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43860 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43861 expression.
43862 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43863 later.
43864
6e226b09
DM
438652012-03-11 David S. Miller <davem@davemloft.net>
43866
a1bcbd40
DM
43867 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43868 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43870 for 'resultvar' otherwise things get truncated on 64-bit.
43871
cb9d6174
DM
43872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43873 Fix masking out of the most significant byte of random value used.
43874
6e226b09
DM
43875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43876
058c132d
AS
438772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43878
43879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43880
2d2cd515
DM
438812012-03-09 David S. Miller <davem@davemloft.net>
43882
43883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43884 variables with appropriate CPP guards.
57f41c40
AS
43885 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43886 from the frame pointer, not the stack pointer. Correct layout
43887 comments. Fix test on resulting framesize and the management of
43888 the outregs buffer for pltexit. Preserve floating point return
43889 values across _dl_call_pltexit call.
2d2cd515
DM
43890 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43891 framesize and the management of the outregs buffer for pltexit.
43892 Preserve floating point return values across _dl_call_pltexit
43893 call.
57f41c40
AS
43894 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43895 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43896 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
43897 (print_exit): Fix format string for return register value.
43898
9a07f9d0
JM
438992012-03-10 Joseph Myers <joseph@codesourcery.com>
43900
43901 * sunrpc/Makefile (others): Add rpcgen.
43902 ($(objpfx)rpcgen): Remove special build rule and dependency on
43903 libc.
43904 * sunrpc/rpcgen.c: New file.
43905
547b5e30
PE
439062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43907
c524201a
PE
43908 [BZ #13673]
43909 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43910 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43911 * sysdeps/i386/crti.S: Likewise.
43912 * sysdeps/i386/crtn.S: Likewise.
43913 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43914 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43915 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43916 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43917 * sysdeps/sh/crti.S: Likewise.
43918 * sysdeps/sh/crtn.S: Likewise.
43919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43920
7b6235f2
PE
43921 [BZ #13673]
43922 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43923 with URL.
43924 * locale/programs/locfile-kw.gperf: Likewise.
43925 * locale/programs/charmap-kw.h: Regenerated.
43926 * locale/programs/locfile-kw.h: Likewise.
43927
547b5e30
PE
43928 [BZ #13673]
43929 * intl/plural.y: Replace FSF snail mail address with URL.
43930 * intl/plural.c: Regenerated.
43931
5f0a5dae
RH
439322012-03-09 Richard Henderson <rth@twiddle.net>
43933
43934 * include/math_private.h: Remove file.
43935 * math/math_private.h: Move file ...
43936 * sysdeps/generic/math_private.h: ... here.
43937
b8c03620
RH
43938 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43939 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43941
4e234f5d 43942 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43943 and <math_private.h>.
43944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43949 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43966 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43995 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43998 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44003 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44058 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44066 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44067 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44071 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44074 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44077 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44078 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44079 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44082 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44084 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44085 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44087 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44088 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44092 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44093 * sysdeps/ieee754/k_standard.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44115 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44191 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44202 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44227 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44230 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44233 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44234 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44236 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44243 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44248 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44249 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44253 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44254 * sysdeps/ieee754/s_lib_version.c: Likewise.
44255 * sysdeps/ieee754/s_matherr.c: Likewise.
44256 * sysdeps/ieee754/s_signgam.c: Likewise.
44257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44259 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44260 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44261 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44262 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44263 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44264 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44265 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44268 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44271 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44278
1991fa03
JM
442792012-03-09 Joseph Myers <joseph@codesourcery.com>
44280
44281 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44282 * sunrpc/rpc_main.c: Likewise.
44283 * sunrpc/rpc_svcout.c: Likewise.
44284
60d6f5a6
DM
442852012-03-09 David S. Miller <davem@davemloft.net>
44286
44287 * include/math_private.h: New file.
44288
4962050e
JM
442892012-03-09 Joseph Myers <joseph@codesourcery.com>
44290
02a6f887
JM
44291 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44292 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44293 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44294 from <bits/socket_type.h>.
44295 (enum __socket_type): Don't define here.
44296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44298 bits/socket_type.h.
44299
c6e013c1
JM
44300 [BZ #13566]
44301 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44302 checking __USE_GNU.
44303
4962050e
JM
44304 * Makerules ($(inst_includedir)/%.h): New rule.
44305 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44306 (install-others): Remove variable setting.
44307 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44308
38842f45
RH
443092012-03-08 Richard Henderson <rth@twiddle.net>
44310
67bb6da6
RH
44311 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44312 from macro to inline function; merge with the
44313 !__LIBC_INTERNAL_MATH_INLINES version.
44314 (__ieee754_sqrtf): Likewise.
44315
15194b4b
RH
44316 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44317 to inline function.
44318 (__rintf, __floor, __floorf): Likewise.
44319
64e21ede
RH
44320 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44321 macro to inline function.
44322 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44323
38842f45
RH
44324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44325 not <math/math_private.h>.
44326
c64bf5fe
DM
443272012-03-08 David S. Miller <davem@davemloft.net>
44328
44329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44330 copyright year.
44331 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44332
82d86f28
TS
443332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44334
44335 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44336 normalization.
44337 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44339
aea5d727
UD
443402012-03-08 Ulrich Drepper <drepper@gmail.com>
44341
44342 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44343 be defined individually, they must be defined as a block. Define
44344 S for printing a string instead of hidint the different by using a
44345 macro for adding the 'l'.
44346 * stdio-common/tst-fphex-wide.c: Adjust.
44347
70bca0a3
MP
443482012-03-07 Marek Polacek <polacek@redhat.com>
44349
44350 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44351
65b81130
MP
443522012-03-08 Marek Polacek <polacek@redhat.com>
44353
44354 [BZ #13806]
44355 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44356 * stdio-common/tst-fphex.c: Define a few macros to make the
44357 test reusable. Use them.
44358 * stdio-common/tst-fphex-wide.c: New file.
44359
07037eeb
JM
443602012-03-08 Joseph Myers <joseph@codesourcery.com>
44361
a7a93d50
JM
44362 [BZ #6911]
44363 * manual/macros.texi (gnusystems): New macro.
44364 (nongnusystems): Likewise.
44365 (gnulinuxhurdsystems): Likewise.
44366 (gnuhurdsystems): Likewise..
44367 (gnulinuxsystems): Likewise.
44368 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44369 variants of the GNU system, not "GNU system".
44370 * manual/conf.texi: Likewise.
44371 * manual/errno.texi: Likewise. Update example of errno macro
44372 expansion.
44373 * manual/filesys.texi: Likewise.
44374 (getumask): Document as specific to GNU/Hurd.
44375 * manual/install.texi: Likewise. Reword some references to
44376 GNU/Linux.
44377 * manual/intro.texi: Likewise.
44378 * manual/io.texi: Likewise.
44379 (File Name Portability): Detail which constraints are inapplicable
44380 to all GNU systems and which are only inapplicable to GNU/Hurd.
44381 * manual/job.texi: Likewise.
44382 * manual/llio.texi: Likewise.
44383 (O_NOCTTY): Document as present on GNU/Linux.
44384 * manual/maint.texi: Likewise.
44385 * manual/memory.texi: Likewise.
44386 * manual/pattern.texi: Likewise.
44387 * manual/pipe.texi: Likewise.
44388 * manual/process.texi: Likewise.
44389 * manual/resource.texi: Likewise.
44390 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44391 child on GNU/Hurd.
44392 * manual/setjmp.texi: Likewise.
44393 * manual/signal.texi: Likewise.
44394 * manual/startup.texi: Likewise.
44395 * manual/stdio.texi: Likewise.
44396 * manual/terminal.texi: Likewise.
44397 (ONLCR): Document as POSIX.
44398 (OXTABS): Document availability on GNU/Linux as XTABS.
44399 (ONOEOT): Document availability separately from other bits.
44400 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44401 * manual/time.texi: Likewise.
44402 * manual/users.texi: Likewise.
44403 * INSTALL: Regenerated.
44404 * sysdeps/gnu/errlist.c: Regenerated.
44405
07037eeb
JM
44406 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44407 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44408 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44409 puts.
44410 * configure: Regenerated.
44411
d1d3431a
JM
444122012-03-07 Joseph Myers <joseph@codesourcery.com>
44413
af6a1e37
JM
44414 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44415 default includes instead of AC_HEADER_CHECK.
44416 * sysdeps/i386/configure: Regenerated.
44417
d1d3431a
JM
44418 [BZ #10716]
44419 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44420 * math/s_cacoshf.c (__cacoshf): Likewise.
44421 * math/s_cacoshl.c (__cacoshl): Likewise.
44422 * math/s_casinh.c (__casinh): Set signs of result from argument.
44423 * math/s_casinhf.c (__casinhf): Likewise.
44424 * math/s_casinhl.c (__casinhl): Likewise.
44425 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44426 (casinh_test): Add more tests.
44427 * sysdeps/i386/fpu/libm-test-ulps: Update.
44428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44429
482ff4da
UD
444302012-03-07 Ulrich Drepper <drepper@gmail.com>
44431
872fda05
UD
44432 * po/zh_TW.po: Update from translation team.
44433
a4300c7a
UD
44434 * login/Makefile (distribute): Remove variable.
44435 * catgets/Makefile: Likewise.
44436 * mach/Makefile: Likewise.
44437 * malloc/Makefile: Likewise.
44438 * misc/Makefile: Likewise.
44439 * iconv/Makefile: Likewise.
44440 * nscd/Makefile: Likewise.
44441 * hurd/Makefile: Likewise.
44442 * manual/Makefile: Likewise.
44443 * locale/Makefile: Likewise.
44444 * intl/Makefile: Likewise.
44445 * conform/Makefile: Likewise.
44446 * nss/Makefile: Likewise.
44447 * time/Makefile: Likewise.
44448 * soft-fp/Makefile: Likewise.
44449 * dirent/Makefile: Likewise.
44450 * gmon/Makefile: Likewise.
44451 * po/Makefile: Likewise.
44452 * rt/Makefile: Likewise.
44453 * socket/Makefile: Likewise.
44454 * math/Makefile: Likewise.
44455 * signal/Makefile: Likewise.
44456 * debug/Makefile: Likewise.
44457 * elf/Makefile: Likewise.
44458 * timezone/Makefile: Likewise.
44459 * stdlib/Makefile: Likewise.
44460 * iconvdata/Makefile: Likewise.
44461 * sunrpc/Makefile: Likewise.
44462 * io/Makefile: Likewise.
44463 * argp/Makefile: Likewise.
44464 * inet/Makefile: Likewise.
44465 * hesiod/Makefile: Likewise.
44466 * grp/Makefile: Likewise.
44467 * csu/Makefile: Likewise.
44468 * wctype/Makefile: Likewise.
44469 * crypt/Makefile: Likewise.
44470 * libio/Makefile: Likewise.
44471 * string/Makefile: Likewise.
44472 * nis/Makefile: Likewise.
44473 * resolv/Makefile: Likewise.
44474 * stdio-common/Makefile: Likewise.
44475 * wcsmbs/Makefile: Likewise.
44476 * dlfcn/Makefile: Likewise.
44477 * posix/Makefile: Likewise.
44478
3b7c4e74 44479 [BZ #6959]
482ff4da
UD
44480 * timezone/Makefile: Don't install timezone files, just the programs
44481 and scripts.
44482
f72ed77d
UD
444832012-03-06 Ulrich Drepper <drepper@gmail.com>
44484
a000466f
UD
44485 * nss/databases.def: Add missing gshadow entry.
44486
f72ed77d
UD
44487 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44488
a53b7a4e
MP
444892012-03-06 Marek Polacek <polacek@redhat.com>
44490
44491 [BZ #13726]
44492 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44493 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44494 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44495 * stdio-common/tst-long-dbl-fphex.c: New file.
44496
e9258400
DM
444972012-03-06 David S. Miller <davem@davemloft.net>
44498
44499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44500 (set_obp_int): New function.
44501 (get_obp_int): New function.
44502 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44504 Avoid unused variable warnings on 'val' and use builtin_expect.
44505 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44506 __builtin_expect.
e9258400
DM
44507 (INLINE_CLONE_SYSCALL): Likewise.
44508
3bd2c723
DM
445092012-03-05 David S. Miller <davem@davemloft.net>
44510
44511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44512
bbb78d03
AS
445132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44514
884c5db4
AS
44515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44516
bbb78d03
AS
44517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44518 only for |x| >= 40.
44519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44520
1c9f702a 445212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44522
44523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44524 Replace gettimeofday with __vdso_gettimeofday.
44525
7be16f82
RM
44526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44527 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44528 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44529
44530 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44531 time with __vdso_time.
44532
ed58a00f
JM
445332012-03-05 Joseph Myers <joseph@codesourcery.com>
44534
44535 * manual/lang.texi (size_t): Note types to which size_t may be
44536 equivalent with the GNU C Library, but do not describe when
44537 differences between them are significant.
44538
30ee4ced
AJ
445392012-03-05 Andreas Jaeger <aj@suse.de>
44540
44541 * sysdeps/i386/fpu/libm-test-ulps: Update.
44542
b7cd39e8
JM
445432012-03-05 Joseph Myers <joseph@codesourcery.com>
44544
44545 [BZ #3976]
44546 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44547 (__ieee754_pow): Save and restore rounding mode and use
44548 round-to-nearest for main computations.
44549 * math/libm-test.inc (pow_test_tonearest): New function.
44550 (pow_test_towardzero): Likewise.
44551 (pow_test_downward): Likewise.
44552 (pow_test_upward): Likewise.
44553 (main): Call the new functions.
44554 * sysdeps/i386/fpu/libm-test-ulps: Update.
44555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44556
44557 [BZ #3976]
44558 * math/libm-test.inc (cosh_test_tonearest): New function.
44559 (cosh_test_towardzero): Likewise.
44560 (cosh_test_downward): Likewise.
44561 (cosh_test_upward): Likewise.
44562 (sinh_test_tonearest): Likewise.
44563 (sinh_test_towardzero): Likewise.
44564 (sinh_test_downward): Likewise.
44565 (sinh_test_upward): Likewise.
44566 (main): Call the new functions.
44567 * sysdeps/i386/fpu/libm-test-ulps: Update.
44568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44569
6c6a98c9
TV
445702012-03-05 Tom de Vries <tom@codesourcery.com>
44571
44572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44573 default stack guard is set in last bytes.
44574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44575
21bb2d2e 445762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44577
21bb2d2e 44578 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44579
21bb2d2e
AJ
44580 [BZ #13656]
44581 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44582 possibly allocate from heap instead of stack.
44583 * stdio-common/bug-vfprintf-nargs.c: New file.
44584 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44585
c6922934
AS
445862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44587
44588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44589
bc957d53
MP
445902012-03-03 Marek Polacek <polacek@redhat.com>
44591
44592 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44593 * math/math_private.h: Likewise.
44594 * stdlib/tst-strtod.c: Likewise.
44595 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44596 * sysdeps/x86_64/bits/atomic.h: Likewise.
44597
6358490d
DM
445982012-03-02 David S. Miller <davem@davemloft.net>
44599
44600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44604 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44605 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44606 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44607 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44608
01ae168d
RM
446092012-03-02 Roland McGrath <roland@hack.frob.com>
44610
d9a17c07
RM
44611 [BZ #13792]
44612 * manual/examples/README: New file, says the example source files
44613 can be used under GPL>=2.
44614 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44615 line containing just "*/".
44616 * manual/examples/add.c: Add copyright header (GPL>=2).
44617 * manual/examples/argp-ex1.c: Likewise.
44618 * manual/examples/argp-ex2.c: Likewise.
44619 * manual/examples/argp-ex3.c: Likewise.
44620 * manual/examples/argp-ex4.c: Likewise.
44621 * manual/examples/atexit.c: Likewise.
44622 * manual/examples/db.c: Likewise.
44623 * manual/examples/dir.c: Likewise.
44624 * manual/examples/dir2.c: Likewise.
44625 * manual/examples/execinfo.c: Likewise.
44626 * manual/examples/filecli.c: Likewise.
44627 * manual/examples/filesrv.c: Likewise.
44628 * manual/examples/fmtmsgexpl.c: Likewise.
44629 * manual/examples/genpass.c: Likewise.
44630 * manual/examples/inetcli.c: Likewise.
44631 * manual/examples/inetsrv.c: Likewise.
44632 * manual/examples/isockad.c: Likewise.
44633 * manual/examples/longopt.c: Likewise.
44634 * manual/examples/memopen.c: Likewise.
44635 * manual/examples/memstrm.c: Likewise.
44636 * manual/examples/mkfsock.c: Likewise.
44637 * manual/examples/mkisock.c: Likewise.
44638 * manual/examples/mygetpass.c: Likewise.
44639 * manual/examples/pipe.c: Likewise.
44640 * manual/examples/popen.c: Likewise.
44641 * manual/examples/rprintf.c: Likewise.
44642 * manual/examples/search.c: Likewise.
44643 * manual/examples/select.c: Likewise.
44644 * manual/examples/setjmp.c: Likewise.
44645 * manual/examples/sigh1.c: Likewise.
44646 * manual/examples/sigusr.c: Likewise.
44647 * manual/examples/stpcpy.c: Likewise.
44648 * manual/examples/strdupa.c: Likewise.
44649 * manual/examples/strftim.c: Likewise.
44650 * manual/examples/strncat.c: Likewise.
44651 * manual/examples/subopt.c: Likewise.
44652 * manual/examples/swapcontext.c: Likewise.
44653 * manual/examples/termios.c: Likewise.
44654 * manual/examples/testopt.c: Likewise.
44655 * manual/examples/testpass.c: Likewise.
44656 * manual/examples/timeval_subtract.c: Likewise.
44657
01ae168d
RM
44658 [BZ #13792]
44659 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44660 function to ...
44661 * manual/timeval_subtract.c.texi: ... here, new file.
44662
49efa33d
DM
446632012-03-02 David S. Miller <davem@davemloft.net>
44664
44665 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44666
28afd92d
JM
446672012-03-02 Joseph Myers <joseph@codesourcery.com>
44668
804360ed
JM
44669 [BZ #3976]
44670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44671 (__sin): Save and restore rounding mode and use round-to-nearest
44672 for all computations.
44673 (__cos): Save and restore rounding mode and use round-to-nearest
44674 for all computations.
44675 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44676 <fenv.h>.
44677 (tan): Save and restore rounding mode and use round-to-nearest for
44678 all computations.
44679 * math/libm-test.inc (cos_test_tonearest): New function.
44680 (cos_test_towardzero): Likewise.
44681 (cos_test_downward): Likewise.
44682 (cos_test_upward): Likewise.
44683 (sin_test_tonearest): Likewise.
44684 (sin_test_towardzero): Likewise.
44685 (sin_test_downward): Likewise.
44686 (sin_test_upward): Likewise.
44687 (tan_test_tonearest): Likewise.
44688 (tan_test_towardzero): Likewise.
44689 (tan_test_downward): Likewise.
44690 (tan_test_upward): Likewise.
44691 (main): Call the new functions.
44692 * sysdeps/i386/fpu/libm-test-ulps: Update.
44693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44694
a6d06d7b
JM
44695 [BZ #10135]
44696 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44697 small n, then large n, before computing and testing k+n.
44698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44700 Likewise.
44701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44702 Likewise.
44703 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44704 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44711 * math/libm-test.inc (scalbn_test): Add more tests.
44712 (scalbln_test): Likewise.
44713
07e12bb3
JM
44714 * manual/filesys.texi (mode_t): Describe constraints on size and
44715 signedness, not exact equivalence to a particular type.
44716 (ino_t): Likewise.
44717 (ino64_t): Likewise.
44718 (dev_t): Likewise.
44719 (nlink_t): Likewise.
44720 (blkcnt_t): Likewise.
44721 (blkcnt64_t): Likewise.
44722 * manual/llio.texi (off_t): Likewise.
44723
28afd92d
JM
44724 [BZ #3976]
44725 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44726 (__ieee754_exp): Save and restore rounding mode and use
44727 round-to-nearest for all computations.
44728 * math/libm-test.inc (exp_test_tonearest): New function.
44729 (exp_test_towardzero): Likewise.
44730 (exp_test_downward): Likewise.
44731 (exp_test_upward): Likewise.
44732 (main): Call the new functions.
44733 * sysdeps/i386/fpu/libm-test-ulps: Update.
44734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44735
b1eeb65d
CD
447362012-03-01 Chris Demetriou <cgd@google.com>
44737
44738 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44739 have predictable order.
44740
53362a4b
DM
447412012-03-01 David S. Miller <davem@davemloft.net>
44742
3c969083
DM
44743 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44744
759707de
DM
44745 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44746 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44747 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44748 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44749
dfdb8ff2
DM
44750 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44751 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44752 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44754 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44755 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44756 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44757 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44758 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44759
ead89f96
DM
44760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44761
7f66bd07
DM
44762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44763 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44765
53362a4b
DM
44766 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44769 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44770 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44782 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44783 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44784 * sysdeps/sparc/elf/configure: Regenerated.
44785
7b1902cb
JM
447862012-03-01 Joseph Myers <joseph@codesourcery.com>
44787
bec039bc
JM
44788 * configure.in (AS, LD): Require binutils 2.20 or later.
44789 * configure: Regenerated.
44790 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44791 as required minimum version.
44792 * INSTALL: Regenerated.
44793
7b1902cb
JM
44794 [BZ #2541]
44795 [BZ #4108]
44796 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44797 before squaring exponent.
44798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44799 bottom long double and 27 bits of top long double before squaring
44800 exponent.
44801 * math/libm-test.inc (erfc_test): Add more tests.
44802 * sysdeps/i386/fpu/libm-test-ulps: Update.
44803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44805
f775c276
KT
448062012-03-01 Kai Tietz <ktietz@redhat.com>
44807
44808 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44809 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44810 containing bit-fields.
44811 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44812 * soft-fp/single.h (_FP_UNION_S): Likewise.
44813 * soft-fp/double.h (_FP_UNION_D): Likewise.
44814
5b8a4d4a
JM
448152012-02-29 Joseph Myers <joseph@codesourcery.com>
44816
0bab47b6
JM
44817 [BZ #13786]
44818 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44819 not include ../strcmp.S.
44820 [USE_AS_STRNCASECMP_L]: Likewise.
44821 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44822 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44823 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44824 (__strncasecmp_l_ia32): Define as alias to
44825 __strncasecmp_l_nonascii.
44826
0fcad3e2
JM
44827 [BZ #5794]
44828 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44829 * sysdeps/i386/fpu/libm-test-ulps: Update.
44830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44831
5b8a4d4a
JM
44832 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44834
8fdceb2e
JL
448352012-02-29 Jeff Law <law@redhat.com>
44836
44837 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44838 out of bounds read.
44839
1f393a11
MP
448402012-02-29 Marek Polacek <polacek@redhat.com>
44841
44842 [BZ #13706]
44843 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44844 * elf/Makefile: Add rules to run tst-unused-dep.out.
44845
8847f037
DM
448462012-02-28 David S. Miller <davem@davemloft.net>
44847
44848 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44849 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44854
169d7f11
JM
448552012-02-29 Joseph Myers <joseph@codesourcery.com>
44856
44857 * math/libm-test.inc (llround_test): Move one test from
44858 lround_test. Use TEST_f_L in moved test.
44859 (lround_test): Move misplaced test to llround_test. Add testcase
44860 from bug 2561.
44861
39adf059
UD
448622012-02-28 Ulrich Drepper <drepper@gmail.com>
44863
44864 * sysdeps/x86_64/fpu/e_expf.S: New file.
44865 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44866
71b5d1c5
SB
448672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44868
44869 [BZ #13637]
44870 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44871 of remain_len that may cause incomplete multi-byte character and
44872 false match.
44873 * posix/bug-regex33.c: New file.
44874 * posix/Makefile (tests): Add bug-regex33.
44875
1f77f049
JM
448762012-02-28 Joseph Myers <joseph@codesourcery.com>
44877
44878 * manual/macros.texi: New file.
44879 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44880 * manual/libc.texinfo: Include macros.texi.
44881 * manual/creatute.texi: Likewise.
44882 * manual/install.texi: Likewise.
44883 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44884 @glibcadj{} in references to the GNU C Library.
44885 * manual/charset.texi: Likewise.
44886 * manual/conf.texi: Likewise.
44887 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44888 when not using those macros.
44889 * manual/creature.texi: Likewise.
44890 * manual/crypt.texi: Likewise.
44891 * manual/errno.texi: Likewise.
44892 * manual/filesys.texi: Likewise.
44893 * manual/header.texi: Likewise.
44894 * manual/install.texi: Likewise.
44895 * manual/intro.texi: Likewise.
44896 * manual/io.texi: Likewise.
44897 * manual/job.texi: Likewise.
44898 * manual/lang.texi: Likewise.
44899 * manual/libc.texiinfo: Likewise.
44900 * manual/llio.texi: Likewise.
44901 * manual/locale.texi: Likewise.
44902 * manual/maint.texi: Likewise.
44903 * manual/math.texi: Likewise.
44904 * manual/memory.texi: Likewise.
44905 * manual/message.texi: Likewise.
44906 * manual/nss.texi: Likewise.
44907 * manual/pattern.texi: Likewise.
44908 * manual/process.texi: Likewise.
44909 * manual/resource.texi: Likewise.
44910 * manual/search.texi: Likewise.
44911 * manual/setjmp.texi: Likewise.
44912 * manual/signal.texi: Likewise.
44913 * manual/socket.texi: Likewise.
44914 * manual/startup.texi: Likewise.
44915 * manual/stdio.texi: Likewise.
44916 * manual/string.texi: Likewise.
44917 * manual/sysinfo.texi: Likewise.
44918 * manual/syslog.texi: Likewise.
44919 * manual/terminal.texi: Likewise.
44920 * manual/time.texi: Likewise.
44921 * manual/users.texi: Likewise.
44922 * INSTALL: Regenerated.
44923 * NOTES: Regenerated.
d40c5d54 44924 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44925
450bf206
AS
449262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44927
44928 * include/dirent.h: Include <dirstream.h> before
44929 <dirent/dirent.h>.
44930
741a235b
DM
449312012-02-28 David S. Miller <davem@davemloft.net>
44932
44933 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44934 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44937
d6b5aa58
DM
449382012-02-27 David S. Miller <davem@davemloft.net>
44939
1aff59a3
DM
44940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44942 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44943 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44944
d6b5aa58
DM
44945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44946 frame pointer instead of stack pointer relative arg slot.
44947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44950
433f48bf
CD
449512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44952
44953 [BZ #3992]
44954 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44955
d674b76d
DM
449562012-02-27 David S. Miller <davem@davemloft.net>
44957
44958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44964 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44966
0e7727f7
JM
449672012-02-27 Joseph Myers <joseph@codesourcery.com>
44968
44969 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44970 later. Allow versions 5-9.
43be4ca2 44971 * configure: Regenerated.
0e7727f7
JM
44972 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44973 required minimum version and 4.6 as recommended version. Do not
44974 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44975 * INSTALL: Regenerated.
0e7727f7 44976
a78bc654
DM
449772012-02-27 David S. Miller <davem@davemloft.net>
44978
428d5830
DM
44979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44985 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44987
a78bc654
DM
44988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44989 manipulate bits before adding and subtracting TWO112[sx].
44990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44991
4579f81c
RM
449922012-02-27 Roland McGrath <roland@hack.frob.com>
44993
36c8acb4
RM
44994 [BZ #13775]
44995 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44996 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44997 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44998 being in POSIX, because they are in 1003.1-2008.
44999
84ad622b
RM
45000 * rt/tst-aio.c: Include <fcntl.h>.
45001 * rt/tst-aio7.c: Likewise.
45002 * rt/tst-aio64.c: Likewise.
45003
4579f81c
RM
45004 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45005
abd923db
JM
450062012-02-27 Joseph Myers <joseph@codesourcery.com>
45007
45008 * manual/install.texi (--with-headers): Describe headers as
45009 interface headers, not private headers.
45010 (Specific advice for GNU/Linux systems): Describe use of headers
45011 from "make headers_install", not private headers from older
45012 kernels.
43be4ca2 45013 * INSTALL: Regenerated.
abd923db
JM
45014 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45015 Change to 2.6.19.
45016 * sysdeps/unix/sysv/linux/configure: Regenerated.
45017
6664049b
JM
45018 * manual/llio.texi (fclean): Remove documentation.
45019
bb8b6697
JM
45020 * manual/Makefile (libc-texi-generated): New variable. Include
45021 version.texi.
45022 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45023 $(libc-texi-generated), not duplicated list of files.
45024 (version.texi, stamp-version): New rules.
45025 (realclean): Remove $(libc-texi-generated), not individual files
45026 from that list. Do not remove dir-add.texinfo.
45027 * manual/libc.texinfo: Comment out uses of edition numbers and
45028 references to printed manual. Remove last-updated dates.
45029 (EDITION): Comment out.
45030 (ISBN): Likewise.
45031 (VERSION, UPDATED): Remove.
45032 (version.texi): Include.
45033
12e5c3b9
AS
450342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45035
45036 * sysdeps/posix/spawni.c: Include <signal.h>.
45037 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45038 * sysdeps/pthread/aio_fsync.c: Likewise.
45039
4efeffc1 450402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45041
ba63ba08
UD
45042 * conform/Makefile (tests): Run only when not cross-compiling and
45043 when fast-check is not defined.
45044
d94a4670
UD
45045 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45046 * conform/data/limits.h-data: Fixes for POSIX2008.
45047 * conform/run-conformtest.sh: Run all tests.
45048 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45049 headers.
45050 * include/bits/dlfcn.h: Likewise.
45051 * include/langinfo.h: Likewise.
45052 * include/monetary.h: Likewise.
45053 * include/sys/poll.h: Likewise.
45054
45055 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45056 for __USE_GNU.
45057 * posix/spawn.h: Define __need_sigset_t.
45058 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45059 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45060 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45061 to get sigevent_t only.
45062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45063 only for __USE_GNU.
45064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45066 process_vm_writev only for __USE_GNU.
45067 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45068
45069 * conform/Makefile: For now ignore errors from run-conformtest.
45070 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45071 POSIX to avoid namespace pollution. Don't prepend headers.
45072 * conform/data/aio.h-data: Fixes for POSIX testing.
45073 * conform/data/fcntl.h-data: Likewise.
45074 * conform/data/glob.h-data: Likewise.
45075 * conform/data/grp.h-data: Likewise.
45076 * conform/data/pthread.h-data: Likewise.
45077 * conform/data/pwd.h-data: Likewise.
45078 * conform/data/signal.h-data: Likewise.
45079 * conform/data/spawn.h-data: Likewise.
45080 * conform/data/stdio.h-data: Likewise.
45081 * conform/data/stdlib.h-data: Likewise.
45082 * conform/data/stropts.h-data: Likewise.
45083 * conform/data/sys/mman.h-data: Likewise.
45084 * conform/data/sys/stat.h-data: Likewise.
45085 * conform/data/sys/types.h-data: Likewise.
45086 * conform/data/sys/wait.h-data: Likewise.
45087 * conform/data/time.h-data: Likewise.
45088 * conform/data/unistd.h-data: Likewise.
45089 * conform/data/utime.h-data: Likewise.
45090
45091 * io/sys/stat.h: fchmod was always in POSIX.
45092 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45093 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45094 * rt/aio.h: Define __need_timespec before including <time.h>.
45095 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45096 struct. Add forward declaration of pthread_attr_t and use it in
45097 sigevent.
45098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45100 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45101 always remove CLK_TCK definition.
45102
c20105c3
AS
451032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45104
45105 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45106
7a270350
UD
451072012-02-25 Ulrich Drepper <drepper@gmail.com>
45108
31341567
UD
45109 * conform/run-conformtest.sh: New file.
45110 * conform/Makefile: Run run-conformtest for tests.
45111 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45112 support.
45113
45114 * conform/data/uchar.h-data: New file.
45115 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45116 * conform/data/arpa/inet.h-data: Likewise.
45117 * conform/data/assert.h-data: Likewise.
45118 * conform/data/complex.h-data: Likewise.
45119 * conform/data/cpio.h-data: Likewise.
45120 * conform/data/ctype.h-data: Likewise.
45121 * conform/data/dirent.h-data: Likewise.
45122 * conform/data/dlfcn.h-data: Likewise.
45123 * conform/data/errno.h-data: Likewise.
45124 * conform/data/fcntl.h-data: Likewise.
45125 * conform/data/float.h-data: Likewise.
45126 * conform/data/fmtmsg.h-data: Likewise.
45127 * conform/data/fnmatch.h-data: Likewise.
45128 * conform/data/ftw.h-data: Likewise.
45129 * conform/data/glob.h-data: Likewise.
45130 * conform/data/grp.h-data: Likewise.
45131 * conform/data/iconv.h-data: Likewise.
45132 * conform/data/inttypes.h-data: Likewise.
45133 * conform/data/langinfo.h-data: Likewise.
45134 * conform/data/libgen.h-data: Likewise.
45135 * conform/data/limits.h-data: Likewise.
45136 * conform/data/locale.h-data: Likewise.
45137 * conform/data/math.h-data: Likewise.
45138 * conform/data/monetary.h-data: Likewise.
45139 * conform/data/mqueue.h-data: Likewise.
45140 * conform/data/ndbm.h-data: Likewise.
45141 * conform/data/net/if.h-data: Likewise.
45142 * conform/data/netdb.h-data: Likewise.
45143 * conform/data/netinet/in.h-data: Likewise.
45144 * conform/data/nl_types.h-data: Likewise.
45145 * conform/data/poll.h-data: Likewise.
45146 * conform/data/pthread.h-data: Likewise.
45147 * conform/data/pwd.h-data: Likewise.
45148 * conform/data/regex.h-data: Likewise.
45149 * conform/data/sched.h-data: Likewise.
45150 * conform/data/search.h-data: Likewise.
45151 * conform/data/semaphore.h-data: Likewise.
45152 * conform/data/setjmp.h-data: Likewise.
45153 * conform/data/signal.h-data: Likewise.
45154 * conform/data/spawn.h-data: Likewise.
45155 * conform/data/stdarg.h-data: Likewise.
45156 * conform/data/stdio.h-data: Likewise.
45157 * conform/data/stdlib.h-data: Likewise.
45158 * conform/data/string.h-data: Likewise.
45159 * conform/data/strings.h-data: Likewise.
45160 * conform/data/stropts.h-data: Likewise.
45161 * conform/data/sys/ipc.h-data: Likewise.
45162 * conform/data/sys/mman.h-data: Likewise.
45163 * conform/data/sys/msg.h-data: Likewise.
45164 * conform/data/sys/resource.h-data: Likewise.
45165 * conform/data/sys/select.h-data: Likewise.
45166 * conform/data/sys/sem.h-data: Likewise.
45167 * conform/data/sys/shm.h-data: Likewise.
45168 * conform/data/sys/socket.h-data: Likewise.
45169 * conform/data/sys/stat.h-data: Likewise.
45170 * conform/data/sys/statvfs.h-data: Likewise.
45171 * conform/data/sys/time.h-data: Likewise.
45172 * conform/data/sys/timeb.h-data: Likewise.
45173 * conform/data/sys/times.h-data: Likewise.
45174 * conform/data/sys/types.h-data: Likewise.
45175 * conform/data/sys/uio.h-data: Likewise.
45176 * conform/data/sys/un.h-data: Likewise.
45177 * conform/data/sys/utsname.h-data: Likewise.
45178 * conform/data/sys/wait.h-data: Likewise.
45179 * conform/data/syslog.h-data: Likewise.
45180 * conform/data/tar.h-data: Likewise.
45181 * conform/data/termios.h-data: Likewise.
45182 * conform/data/utime.h-data: Likewise.
45183 * conform/data/utmpx.h-data: Likewise.
45184 * conform/data/varargs.h-data: Likewise.
45185 * conform/data/wchar.h-data: Likewise.
45186 * conform/data/wctype.h-data: Likewise.
45187 * conform/data/wordexp.h-data: Likewise.
45188
45189 * include/stropts.h: New file.
45190 * include/uchar.h: New file.
45191 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45192 * include/assert.h: Likewise.
45193 * include/ctype.h: Likewise.
45194 * include/dirent.h: Likewise.
45195 * include/dlfcn.h: Likewise.
45196 * include/fcntl.h: Likewise.
45197 * include/fnmatch.h: Likewise.
45198 * include/glob.h: Likewise.
45199 * include/grp.h: Likewise.
45200 * include/libio.h: Likewise.
45201 * include/locale.h: Likewise.
45202 * include/math.h: Likewise.
45203 * include/net/if.h: Likewise.
45204 * include/netdb.h: Likewise.
45205 * include/netinet/in.h: Likewise.
45206 * include/pthread.h: Likewise.
45207 * include/pwd.h: Likewise.
45208 * include/regex.h: Likewise.
45209 * include/sched.h: Likewise.
45210 * include/search.h: Likewise.
45211 * include/setjmp.h: Likewise.
45212 * include/signal.h: Likewise.
45213 * include/stdio.h: Likewise.
45214 * include/stdlib.h: Likewise.
45215 * include/string.h: Likewise.
45216 * include/sys/cdefs.h: Likewise.
45217 * include/sys/mman.h: Likewise.
45218 * include/sys/msg.h: Likewise.
45219 * include/sys/resource.h: Likewise.
45220 * include/sys/select.h: Likewise.
45221 * include/sys/socket.h: Likewise.
45222 * include/sys/stat.h: Likewise.
45223 * include/sys/statvfs.h: Likewise.
45224 * include/sys/time.h: Likewise.
45225 * include/sys/times.h: Likewise.
45226 * include/sys/uio.h: Likewise.
45227 * include/sys/utsname.h: Likewise.
45228 * include/sys/wait.h: Likewise.
45229 * include/termios.h: Likewise.
45230 * include/time.h: Likewise.
45231 * include/ulimit.h: Likewise.
45232 * include/unistd.h: Likewise.
45233 * include/utime.h: Likewise.
45234 * include/wchar.h: Likewise.
45235 * include/wctype.h: Likewise.
45236 * include/wordexp.h: Likewise.
45237
45238 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45239
7a270350
UD
45240 * time/time.h: TIME_UTC must be a macro.
45241 Make timespec_get available for ISO C11 only as well.
45242
7724defc
UD
452432012-02-24 Ulrich Drepper <drepper@gmail.com>
45244
45245 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45246 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45247
6b1d1d46
JM
452482012-02-24 Joseph Myers <joseph@codesourcery.com>
45249
45250 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45251
0f8bbd69
JM
452522012-02-24 Joseph Myers <joseph@codesourcery.com>
45253
45254 * manual/texinfo.tex: Update to version 2012-01-19.16.
45255
66ab80bc
JM
452562012-02-24 Joseph Myers <joseph@codesourcery.com>
45257
45258 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45259
74981cc5
RM
452602012-02-24 Roland McGrath <roland@hack.frob.com>
45261
ee968201
RM
45262 [BZ #13738]
45263 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45264 * manual/fdl-1.3.texi: New file.
45265 * manual/fdl-1.1.texi: File removed.
45266
74981cc5
RM
45267 [BZ #13738]
45268 * manual/libc.texinfo (FDL_VERSION): New @set.
45269 Use it for mention of FDL in cover text.
45270 (Documentation License): Use it in @include file name.
45271
7bb764bc
JM
452722012-02-22 Joseph Myers <joseph@codesourcery.com>
45273 Roland McGrath <roland@hack.frob.com>
45274
45275 [BZ #5461]
57f41c40
AS
45276 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45277 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45278 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45279 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45280 name.
45281 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45282
6cbeae47
JM
452832012-02-22 Joseph Myers <joseph@codesourcery.com>
45284
45285 [BZ #2547]
45286 [BZ #11365]
45287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45288 manipulate bits before adding and subtracting TWO23[sx].
45289 * math/libm-test.inc (nearbyint_test): Add more tests.
45290
fe45ce09
JM
452912012-02-22 Joseph Myers <joseph@codesourcery.com>
45292
45293 [BZ #2548]
45294 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45295 bits before adding and subtracting TWO23[sx].
45296 * math/libm-test.inc (rint_test): Add more tests.
45297 (rint_test_tonearest): Likewise.
45298 (rint_test_towardzero): Likewise.
45299 (rint_test_downward): Likewise.
45300 (rint_test_upward: Likewise.
45301
ff3b3d82
JM
453022012-02-22 Joseph Myers <joseph@codesourcery.com>
45303
45304 [BZ #10110]
45305 * include/stdc-predef.h: New file. Extracted from features.h.
45306 * include/features.h: Include stdc-predef.h.
45307 * Makefile (headers): Add stdc-predef.h.
45308 * CONFORMANCE (Compiler limitations): Update.
45309
ef0aab35
JM
453102012-02-22 Joseph Myers <joseph@codesourcery.com>
45311
45312 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45313
58639409
DM
453142012-02-21 David S. Miller <davem@davemloft.net>
45315
45316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45318
c0e70b25
DM
453192012-02-20 David S. Miller <davem@davemloft.net>
45320
45321 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45322 using a normal save/restore sequence, rather than allocating a
45323 dummy stack frame just to store a frame pointer and restore.
45324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45325
fb06851d
JM
453262012-02-21 Joseph Myers <joseph@codesourcery.com>
45327
45328 * manual/install.texi: Fix stray word in line-wrapped comment.
45329
7a8b71c3
DM
453302012-02-20 David S. Miller <davem@davemloft.net>
45331
d510c123
DM
45332 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45333 both binutils and gcc support GOTDATA.
45334
0722d7c2
DM
45335 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45336 "rd %pc" in the PIC register setup sequences.
45337
3d2b3019
DM
45338 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45339 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45341 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45347 (SYSCALL_ERROR_HANDLER): Likewise.
45348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45351 (SYSCALL_ERROR_HANDLER): Likewise.
45352
c80098a9
DM
45353 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45354 (HAVE_GCC_GOTDATA): New.
45355 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45356 relocation support in both binutils and gcc.
45357 * sysdeps/sparc/elf/configure: Regenerate.
45358
3a2545a0
DM
45359 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45360 * sysdeps/sparc/sparc32/elf/configure: Delete.
45361 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45362 * sysdeps/sparc/sparc64/elf/configure: Delete.
45363 * sysdeps/sparc/elf/configure.in: New file.
45364 * sysdeps/sparc/elf/configure: Generate.
45365
7a8b71c3
DM
45366 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45367 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45368 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45369 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45370 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45371
f1e86fca
JM
453722012-02-21 Joseph Myers <joseph@codesourcery.com>
45373
45374 * manual/install.texi: Do not mention specific glibc version
45375 numbers.
45376 * manual/libc.texinfo (VERSION, UPDATED): Update.
45377 (@copying): Use @copyright{} and range of years.
45378
0e7dfaef
JM
453792012-02-21 Joseph Myers <joseph@codesourcery.com>
45380
45381 [BZ #13695]
45382 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45383 [crti.S not in sysdirs] (generated): Do not append.
45384 [crti.S not in sysdirs] (omit-deps): Likewise.
45385 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45386 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45387 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45388 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45389 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45390 Likewise.
45391 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45392 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45393 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45394 * csu/defs.awk: Remove file.
45395 * sysdeps/generic/initfini.c: Likewise.
45396 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45397 variable.
45398 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45399 Likewise.
45400
599af3ca
JM
454012012-02-20 Joseph Myers <joseph@codesourcery.com>
45402
45403 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45404 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45408 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45409 <bits/epoll.h>.
45410 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45411 (__EPOLL_PACKED): Define to empty if not defined by
45412 <bits/epoll.h>.
45413 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45415 bits/epoll.h.
45416
0e499750
JM
454172012-02-20 Joseph Myers <joseph@codesourcery.com>
45418
45419 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45420 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45423 <bits/timerfd.h>.
45424 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45426 bits/timerfd.h.
45427
5ad91f6e
JM
454282012-02-20 Joseph Myers <joseph@codesourcery.com>
45429
45430 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45431 in C locale.
45432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45436
06b99b02
AJ
454372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45438
45439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45441
7638c0fd
AS
454422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45443
45444 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45445 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45446 defined.
45447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45448 Likewise.
45449 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45450 entry for 2.16.
45451
92221550
AJ
454522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45453
45454 * math/w_acos.c: Use non-signaling floating-point comparisons.
45455 * math/w_acosf.c: Likewise.
45456 * math/w_acosh.c: Likewise.
45457 * math/w_acoshf.c: Likewise.
45458 * math/w_acoshl.c: Likewise.
45459 * math/w_acosl.c: Likewise.
45460 * math/w_asin.c: Likewise.
45461 * math/w_asinf.c: Likewise.
45462 * math/w_asinl.c: Likewise.
45463 * math/w_atanh.c: Likewise.
45464 * math/w_atanhf.c: Likewise.
45465 * math/w_atanhl.c: Likewise.
45466 * math/w_exp2.c: Likewise.
45467 * math/w_exp2f.c: Likewise.
45468 * math/w_exp2l.c: Likewise.
45469 * math/w_j0.c: Likewise.
45470 * math/w_j0f.c: Likewise.
45471 * math/w_j0l.c: Likewise.
45472 * math/w_j1.c: Likewise.
45473 * math/w_j1f.c: Likewise.
45474 * math/w_j1l.c: Likewise.
45475 * math/w_jn.c: Likewise.
45476 * math/w_jnf.c: Likewise.
45477 * math/w_log.c: Likewise.
45478 * math/w_log10.c: Likewise.
45479 * math/w_log10f.c: Likewise.
45480 * math/w_log10l.c: Likewise.
45481 * math/w_log2.c: Likewise.
45482 * math/w_log2f.c: Likewise.
45483 * math/w_log2l.c: Likewise.
45484 * math/w_logf.c: Likewise.
45485 * math/w_logl.c: Likewise.
45486 * math/w_sqrt.c: Likewise.
45487 * math/w_sqrtf.c: Likewise.
45488 * math/w_sqrtl.c: Likewise.
45489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45490 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45494
ebaf36eb
JM
454952012-02-19 Joseph Myers <joseph@codesourcery.com>
45496
45497 [BZ #9739]
45498 * manual/string.texi (strnlen): Use correct parameter name in
45499 equivalent expression.
45500
71c254a6
JM
455012012-02-19 Joseph Myers <joseph@codesourcery.com>
45502
45503 [BZ #11174]
45504 * manual/users.texi (seteuid): Consistently use neweuid for
45505 argument name.
45506
16d2c631
JM
455072012-02-19 Joseph Myers <joseph@codesourcery.com>
45508
45509 [BZ #13704]
45510 * manual/nss.texi (Services in the NSS configuration): Correct
45511 list of services in example configuration file.
45512
cd837b09
NB
455132012-02-19 Nick Bowler <nbowler@draconx.ca>
45514
45515 [BZ #11322]
45516 * manual/arith.texi: Remove statements about negative zero
45517 behaving identically to zero.
45518
02c4bbad
JM
455192012-02-18 Joseph Myers <joseph@codesourcery.com>
45520
45521 [BZ #5993]
45522 * manual/install.texi: Do not document upgrading from libc5.
45523
366842e7
JM
455242012-02-18 Joseph Myers <joseph@codesourcery.com>
45525
45526 [BZ #4596]
45527 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45528
dd54084d
DM
455292012-02-18 David S. Miller <davem@davemloft.net>
45530
45531 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45532 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45533 %o7 across the call.
45534 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45535 instead.
45536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45537 SETUP_PIC_REG_LEAF.
45538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45539 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45540 * sysdeps/sparc/crtn.S: Likewise.
45541
2bcc53a3
UD
455422012-02-17 Ulrich Drepper <drepper@gmail.com>
45543
45544 * aout/Makefile: Remove.
45545
09c093b5
RK
455462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45547
45548 [BZ #13058]
45549 * manual/examples/argp-ex1.c (main): Format definition in GNU
45550 style.
45551 * manual/examples/argp-ex2.c (main): Likewise.
45552 * manual/examples/argp-ex3.c (main): Likewise.
45553 * manual/examples/argp-ex4.c (main): Likewise.
45554 * manual/examples/longopt.c (main): Use new-style prototype
45555 definition.
45556 * manual/examples/strncat.c (main): Specify return type and use
45557 (void) for arguments.
45558 * manual/examples/subopt.c (main): Use char **argv argument.
45559
2ee633a2
JM
455602012-02-17 Joseph Myers <joseph@codesourcery.com>
45561
45562 [BZ #5077]
45563 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45564 rounding modes.
45565
0520adde
FB
455662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45567
45568 [BZ #6907]
45569 * manual/string.texi (strchr): Change when strchrnul is
45570 recommended.
45571
3f4081cd
DGM
455722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45573
45574 [BZ #174]
45575 * manual/locale.texi (setlocale): Document LOCPATH.
45576
d1b10e78
JM
455772012-02-17 Joseph Myers <joseph@codesourcery.com>
45578
45579 [BZ #10210]
45580 * manual/process.texi (execle): Move @dots{} before last argument.
45581
79c6869c
PB
455822012-02-17 Paul Bolle <pebolle@tiscali.nl>
45583
45584 [BZ #12047]
45585 * manual/charset.texi (Generic Charset Conversion): Fix typo
45586 (LC_TYPE -> LC_CTYPE).
45587
cc6e48bc
NB
455882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45589
45590 [BZ #5805]
45591 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45592 (scalbnf): Likewise.
45593 (scalbnl): Likewise.
45594 (scalbln): Likewise.
45595 (scalblnf): Likewise.
45596 (scalblnl): Likewise.
45597 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45598 (vwarnx): Likewise.
45599 (verr): Likewise.
45600 (verrx): Likewise.
45601 * manual/filesys.texi (telldir): Use braces around return type.
45602 * manual/llio.texi (mmap): Add space after comma.
45603 (mmap64): Likewise.
45604 * manual/math.texi (jn): Use @var{} on parameter names.
45605 (jnf): Likewise.
45606 (jnl): Likewise.
45607 (yn): Likewise.
45608 (ynf): Likewise.
45609 (ynl): Likewise.
45610 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45611 line.
45612 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45613 "...".
45614 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45615 (sched_get_priority_max): Likewise.
45616 * manual/signal.texi (sigvec): Add space after comma.
45617 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45618 names.
45619 (if_indextoname): Likewise.
45620 (if_freenameindex): Likewise.
45621 (sendto): Use ',' instead of '.' in prototype.
45622 * manual/startup.texi (syscall): Use @dots{} instead of literal
45623 "...".
45624 * manual/stdio.texi (__fpending): Separate initial words of
45625 paragraph from @deftypefun line.
45626 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45627 "...".
45628 (vsyslog): Use @var{} on parameter names.
45629 * manual/terminal.texi (stty): Use @var{} on parameter names.
45630 * manual/users.texi (getutmp): Use @var{} on parameter names.
45631 (getutmpx): Likewise.
45632
5b23062f
JM
456332012-02-17 Joseph Myers <joseph@codesourcery.com>
45634
45635 [BZ #6884]
45636 * manual/stdio.texi (fopen): Fix typos in description of
45637 ",ccs=STRING".
45638
8dee4833
AJ
456392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45640
45641 [BZ #4026]
45642 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45643 get clock_id definition.
45644
9078ce93
TS
456452012-02-17 Thomas Schwinge <thomas@schwinge.name>
45646
45647 [BZ #4822]
45648 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45649 (madvise): Cast every argument to void on its own.
45650
3835c55f
JM
456512012-02-17 Joseph Myers <joseph@codesourcery.com>
45652
45653 [BZ #9902]
45654 * manual/startup.texi (Exit Status): Fix typo.
45655
35c47e37
JM
456562012-02-17 Joseph Myers <joseph@codesourcery.com>
45657
45658 [BZ #10140]
45659 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45660 * manual/examples/argp-ex2.c: Likewise.
45661 * manual/examples/argp-ex3.c: Likewise.
45662
e3b69ca7
RH
456632012-02-16 Richard Henderson <rth@redhat.com>
45664
45665 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45666 * sysdeps/s390/s390-32/initfini.c: Remove.
45667 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45668 * sysdeps/s390/s390-64/initfini.c: Remove.
45669
df83af67
KK
456702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45671
45672 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45673 compiler output for sysdeps/generic/initfini.c.
45674 * sysdeps/sh/elf/initfini.c: Remove file.
45675
f63f3380
DM
456762012-02-16 David S. Miller <davem@davemloft.net>
45677
fb59b3a4
DM
45678 [BZ #11494]
45679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45680
f63f3380
DM
45681 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45682 * sysdeps/sparc/crti.S: New file.
45683 * sysdeps/sparc/crtn.S: New file.
45684 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45685 * sysdeps/sparc/sparc64/Makefile: Likewise.
45686
df6a4a4a
MF
456872012-02-15 Mike Frysinger <vapier@gentoo.org>
45688
6dd8f3dc 45689 [BZ #3335]
df6a4a4a
MF
45690 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45691
1cac7236
RM
456922012-02-15 Roland McGrath <roland@hack.frob.com>
45693
d2c736f8
RM
45694 [BZ #4822]
45695 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45696
1cac7236
RM
45697 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45698 (write, read, close): Likewise.
45699 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45700
8e475601
JM
457012012-02-15 Joseph Myers <joseph@codesourcery.com>
45702
45703 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45704 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45705 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45706 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45707 <bits/signalfd.h>.
45708 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45710 bits/signalfd.h.
45711
ed656b40
MP
457122012-02-14 Marek Polacek <polacek@redhat.com>
45713
45714 * sysdeps/x86_64/crti.S: New file.
45715 * sysdeps/x86_64/crtn.S: New file.
45716 * sysdeps/x86_64/elf/initfini.c: Remove file.
45717
2a979d3a
JM
457182012-02-13 Joseph Myers <joseph@codesourcery.com>
45719
45720 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45721 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45722 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45723 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45724 <bits/inotify.h>.
45725 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45727 bits/inotify.h.
45728
2a418ac3
JM
457292012-02-13 Joseph Myers <joseph@codesourcery.com>
45730
45731 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45732 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45733 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45735 <bits/eventfd.h>.
45736 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45738 bits/eventfd.h.
45739
fb779be7
TS
457402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45741
e19e83c5
RM
45742 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45743 __feraiseexcept instead of feraiseexcept.
7c35ffed 45744
fb779be7
TS
45745 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45746 nanosleep invocations.
45747 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45748 strings, and add error checking for a nanosleep invocations.
45749
59ba27a6
PE
457502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45751
45752 Replace FSF snail mail address with URLs, as per GNU coding standards.
45753 Most of the snail mail addresses were wrong anyway, and omitting
45754 them makes the source code easier to maintain. Almost all of the
45755 changes are to license notices and to locale LC_IDENTIFICATION
45756 addresses, except for this one:
45757 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45758 not its snail mail address.
45759
57b957eb
RH
457602012-02-09 Richard Henderson <rth@twiddle.net>
45761
af850b1c
RH
45762 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45763 of kernel-features.h.
45764
57b957eb
RH
45765 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45766
6b73181a
MP
457672012-02-08 Marek Polacek <polacek@redhat.com>
45768
45769 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45770 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45771 * sysdeps/gnu/_G_config.h: Likewise.
45772 * sysdeps/generic/_G_config.h: Likewise.
45773
26ecc33a
AS
457742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45775
6c6dbc63
AS
45776 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45777 tests.
45778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45779
e216c012
AS
45780 * sysdeps/powerpc/powerpc32/crti.S: New file.
45781 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45782 * sysdeps/powerpc/powerpc64/crti.S: New file.
45783 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45784
26ecc33a
AS
45785 * Makeconfig (have-initfini): Don't set.
45786 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45787 * configure.in (nopic_initfini): Don't substitute.
45788 * config.h.in (HAVE_INITFINI): Don't #undef.
45789 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45790 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45791
3add8e13
JM
457922012-02-08 Joseph Myers <joseph@codesourcery.com>
45793
45794 Support crti.S and crtn.S provided directly by architectures.
45795 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45796 [crti.S in sysdirs] (omit-deps): Likewise.
45797 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45798 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45799 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45800 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45801 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45802 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45803 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45804 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45805 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45806 compiler output for sysdeps/generic/initfini.c.
45807 * sysdeps/i386/elf/Makefile: Remove file.
45808 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45809
a22f12b4
MP
458102012-02-07 Marek Polacek <polacek@redhat.com>
45811
45812 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45813 * sysdeps/gnu/_G_config.h: Likewise.
45814 * sysdeps/mach/hurd/_G_config.h: Likewise.
45815
148cf100
MP
458162012-02-07 Marek Polacek <polacek@redhat.com>
45817
45818 * math/Makefile (tests): Add tst-CMPLX2.
45819 * math/tst-CMPLX2.c: New file.
45820
cfdc0dd7
AS
458212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45822
84ba42c4
AS
45823 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45824
cfdc0dd7
AS
45825 * math/libm-test.inc (jn_test): Add missing L suffix.
45826
622c86f4
MP
458272012-02-06 Marek Polacek <polacek@redhat.com>
45828
45829 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45830 * sysdeps/i386/fpu/e_powf.S: Likewise.
45831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45834 * sysdeps/i386/fpu/e_pow.S: Likewise.
45835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45839 * sysdeps/i386/fpu/e_log2.S: Likewise.
45840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45842 * sysdeps/i386/fpu/e_powl.S: Likewise.
45843 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45846 * sysdeps/i386/fpu/e_logl.S: Likewise.
45847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45848 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45849 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45850 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45853 * sysdeps/i386/fpu/e_log.S: Likewise.
45854 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45855 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45856 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45857 * sysdeps/i386/fpu/e_logf.S: Likewise.
45858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45860 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45863 * sysdeps/i386/fpu/e_log10.S: Likewise.
45864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45870 * sysdeps/i386/asm-syntax.h: Likewise.
45871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45874 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45875 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45877 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45878 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45880 * sysdeps/powerpc/sysdep.h: Likewise.
45881 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45883
d4a54ac6
JM
458842012-02-06 Joseph Myers <joseph@codesourcery.com>
45885
45886 [BZ #411]
45887 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45888
314054ea
JM
458892012-02-06 Joseph Myers <joseph@codesourcery.com>
45890
45891 * sysdeps/i386/sysdep.h: Include <features.h>.
45892 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45893 version.
45894
d8e0ca50
JM
458952012-02-05 Joseph Myers <joseph@codesourcery.com>
45896
45897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45898 Define.
45899 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45900 LOAD_PIC_REG_STR.
45901
b1da7dd9
JM
459022012-02-03 Joseph Myers <joseph@codesourcery.com>
45903
45904 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45905 (SETUP_PIC_REG): Use GET_PC_THUNK.
45906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45907 macro.
45908
9a1d9254
JM
459092012-02-03 Joseph Myers <joseph@codesourcery.com>
45910
45911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45912 for non-PIC compilation.
45913 (SETUP_PIC_REG): Add .p2align directive.
45914 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45915 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45920 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45929 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45930 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45931 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45932 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45933 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45937 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45944 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45955
65dc3b75
JM
459562012-02-03 Joseph Myers <joseph@codesourcery.com>
45957
45958 * math/tst-CMPLX.c: Include <stdio.h>.
45959
d55bf177
JM
459602012-01-31 Joseph Myers <joseph@codesourcery.com>
45961
45962 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45963 float.
45964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45965 * sysdeps/sparc/bits/mathdef.h: Likewise.
45966
69db4f8f
MP
459672012-01-31 Marek Polacek <polacek@redhat.com>
45968
45969 * libio/libio.h: Don't define _PARAMS.
45970 * locale/programs/config.h: Don't define PARAMS.
45971 * stdlib/strtol_l.c: Likewise.
45972 (__strtol_l): Remove PARAMS from the prototype.
45973
41b81892
UD
459742012-01-31 Ulrich Drepper <drepper@gmail.com>
45975
3b49edc0
UD
45976 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45977 names. Just use the correct names. Remove unnecessary wrapper
45978 functions.
45979 * malloc/arena.c: Likewise.
45980 * malloc/hooks.c: Likewise.
45981
41b81892
UD
45982 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45983 ARENA_TEST says not to. Simplify test for creation of a new arena.
45984 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45985
27a25b6e
UD
459862012-01-30 Ulrich Drepper <drepper@gmail.com>
45987
45988 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45989 into tail calls.
45990 (update_get_addr): New function.
45991 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45992 GET_ADDR_MODULE parameter.
45993
c8a89e7d
JM
459942012-01-30 Joseph Myers <joseph@codesourcery.com>
45995
45996 * crypt/cert.c: Remove __STDC__ conditionals.
45997 * crypt/crypt-entry.c: Likewise.
45998 * crypt/crypt_util.c: Likewise.
45999 * libio/filedoalloc.c: Likewise.
46000 * libio/fileops.c: Likewise.
46001 * libio/genops.c: Likewise.
46002 * libio/iofclose.c: Likewise.
46003 * libio/iofdopen.c: Likewise.
46004 * libio/iofopen.c: Likewise.
46005 * libio/iofopen64.c: Likewise.
46006 * libio/iogetdelim.c: Likewise.
46007 * libio/iopopen.c: Likewise.
46008 * libio/obprintf.c: Likewise.
46009 * libio/oldfileops.c: Likewise.
46010 * libio/oldiofclose.c: Likewise.
46011 * libio/oldiofdopen.c: Likewise.
46012 * libio/oldiofopen.c: Likewise.
46013 * libio/oldiopopen.c: Likewise.
46014 * libio/wfiledoalloc.c: Likewise.
46015 * libio/wgenops.c: Likewise.
46016 * locale/programs/xmalloc.c: Likewise.
46017 * misc/syslog.c: Likewise.
46018 * stdio-common/xbug.c: Likewise.
46019 * string/memchr.c: Likewise.
46020 * string/memcmp.c: Likewise.
46021 * string/memrchr.c: Likewise.
46022 * string/rawmemchr.c: Likewise.
46023 * sysdeps/posix/getcwd.c: Likewise.
46024 * time/strftime_l.c: Likewise.
46025
3b100462
JM
460262012-01-30 Joseph Myers <joseph@codesourcery.com>
46027
46028 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46029 * config.make.in (config-cflags-sse2avx): Define.
46030 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46031 Fix typo.
46032
607998af
CM
460332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46034
46035 * scripts/config.guess: Update from upstream config git repository.
46036 * scripts/config.sub: Likewise.
46037
3601428f
CM
460382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46039
3ac8b282
CM
46040 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46041 (EM_NUM): Update.
46042 (R_TILEPRO_*, R_TILEGX_*): New macros.
46043
e034841e
CM
46044 * scripts/firstversions.awk: Fix bug in version range handling.
46045
540d7568
CM
46046 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46047
3601428f
CM
46048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46049
463de862
CM
46050 * include/sys/epoll.h: New file.
46051 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46052 libc_hidden_def.
46053
73139a76
UD
460542012-01-28 Ulrich Drepper <drepper@gmail.com>
46055
96bc5b45
UD
46056 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46057 Avoid unnecessary __WORDSIZE == 64 test.
46058 (fmaxf): Use VEX format if possible.
46059 (fmax): Likewise.
46060 (fminf): Likewise.
46061 (fmin): Likewise.
46062
56f6f6a2
UD
46063 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46064 * math/math_private.h: Remove libc_fegetround* and
46065 libc_fesetround*.
46066 * sysdeps/i386/configure.in: Check for -msse2avx.
46067 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46068 also if SSE2AVX is defined.
46069 Remove libc_fegetround* and libc_fesetround*.
46070 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46071 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46073 of HAS_YMM_USABLE.
46074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46079
73139a76
UD
46080 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46081
d73f93a4
AZ
460822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46083
46084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46085 size is not set.
46086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46087
6ee65ed6
UD
460882012-01-27 Ulrich Drepper <drepper@gmail.com>
46089
46090 [BZ #13618]
46091 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46092 relocation.
46093 * Makeconfig (libm): Define.
46094 * elf/Makefile: Add rules to build and run tst-relsort1.
46095 * elf/tst-relsort1.c: New file.
46096 * elf/tst-relsort1mod1.c: New file.
46097 * elf/tst-relsort1mod2.c: New file.
46098
8db21882
JM
460992012-01-27 Joseph Myers <joseph@codesourcery.com>
46100
46101 * math/s_ldexp.c: Remove __STDC__ conditionals.
46102 * math/s_ldexpf.c: Likewise.
46103 * math/s_ldexpl.c: Likewise.
46104 * math/s_nextafter.c: Likewise.
46105 * math/s_nexttowardf.c: Likewise.
46106 * math/s_significand.c: Likewise.
46107 * math/s_significandf.c: Likewise.
46108 * math/s_significandl.c: Likewise.
46109 * math/w_jnl.c: Likewise.
46110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46116 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46136 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46150 * sysdeps/ieee754/k_standard.c: Likewise.
46151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46158 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46160 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46167 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46176 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46184 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46186 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46200 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46201 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46230 * sysdeps/ieee754/s_matherr.c: Likewise.
46231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46235
965a54a4
JM
462362012-01-26 Joseph Myers <joseph@codesourcery.com>
46237
46238 * crypt/md5.h: Remove __STDC__ conditionals.
46239 * libio/libioP.h: Likewise.
46240 * locale/programs/config.h: Likewise.
46241 * sysdeps/generic/sysdep.h: Likewise.
46242 * sysdeps/i386/asm-syntax.h: Likewise.
46243 * sysdeps/s390/asm-syntax.h: Likewise.
46244 * sysdeps/unix/sysdep.h: Likewise.
46245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46247
7071ad79
JM
462482012-01-26 Joseph Myers <joseph@codesourcery.com>
46249
46250 * libio/libio.h: Remove __STDC__ conditionals.
46251 * malloc/obstack.h: Likewise.
46252 * math/complex.h: Likewise.
46253 * math/math.h: Likewise.
46254 * sysdeps/generic/_G_config.h: Likewise.
46255 * sysdeps/gnu/_G_config.h: Likewise.
46256 * sysdeps/mach/hurd/_G_config.h: Likewise.
46257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46258 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46259 * sysdeps/sparc/bits/mathdef.h: Likewise.
46260
afc5ed09
UD
462612012-01-26 Ulrich Drepper <drepper@gmail.com>
46262
46263 [BZ #13583]
46264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46265 Clean up HAS_* macros.
afc5ed09 46266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46267 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46268 possible.
46269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46270 HAS_AVX.
46271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46276
bdb6de1d
JM
462772012-01-25 Joseph Myers <joseph@codesourcery.com>
46278
46279 * elf/tst-unique3.cc (gets): Remove declaration.
46280 * elf/tst-unique3lib.cc (gets): Likewise.
46281 * elf/tst-unique3lib2.cc (gets): Likewise.
46282 * elf/tst-unique4.cc (gets): Likewise.
46283
b15549e6
UD
462842012-01-24 Ulrich Drepper <drepper@gmail.com>
46285
46286 * include/stdio.h: Add C++ protection. Add gets declarations and
46287 definitions.
46288 * debug/tst-chk1.c: Don't declare gets here.
46289 * stdio-common/tst-gets.c: Likewise.
46290
a037381f
JM
462912012-01-24 Joseph Myers <joseph@codesourcery.com>
46292
46293 * posix/glob: Remove directory.
46294
f1d4aa75
JM
462952012-01-24 Joseph Myers <joseph@codesourcery.com>
46296
46297 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46298
81c0c964
PT
462992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46300
46301 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46302 of the non-standard EPFNOSUPPORT.
46303
0ea698ae
ST
463042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46305
46306 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46307 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46308 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46309
d220b117
UD
463102012-01-21 Ulrich Drepper <drepper@gmail.com>
46311
46312 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46313
3e1aa84e
UD
463142012-01-20 Ulrich Drepper <drepper@gmail.com>
46315
46316 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46317 transient errors.
46318 * nscd/grpcache.c (cache_addgr): Likewise.
46319 * nscd/hstcache.c (cache_addhst): Likewise.
46320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46321 * nscd/pwdcache.c (cache_addpw): Likewise.
46322 * nscd/servicescache.c (cache_addserv): Likewise.
46323
400aa020
UD
463242012-01-16 Ulrich Drepper <drepper@gmail.com>
46325
d77e7869
UD
46326 * malloc/malloc.c: Various cleanups.
46327 * malloc/hooks.c: Likewise.
46328
400aa020
UD
46329 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46330 * stdlib/bug-fmtmsg1.c: New file.
46331
46332 * stdlib/fmtmsg.c (init): Add missing unlock.
46333 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46334
e0a309cf
MP
463352012-01-12 Marek Polacek <polacek@redhat.com>
46336
46337 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46338 and _GNU_SOURCE.
46339
929d11c7
WS
463402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46341
46342 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46344 macro to ensure uniqueness of label name.
46345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46347
41d0e869
UD
463482012-01-11 Ulrich Drepper <drepper@gmail.com>
46349
0cc5ed3b
UD
46350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46351
41d0e869
UD
46352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46356
a47a831a
UD
463572012-01-10 Ulrich Drepper <drepper@gmail.com>
46358
daa891c0
UD
46359 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46360
46361 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46364
e58ef0f2
UD
46365 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46366
a47a831a 46367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46371
46372 * math/bits/math-finite.h: Add ldexp support.
46373
a0bfc9c7
MP
463742012-01-10 Marek Polacek <polacek@redhat.com>
46375
46376 * locale/programs/localedef.h (show_archive_content): Add noreturn
46377 attribute.
46378
d6e97a1d
UD
463792012-01-09 Ulrich Drepper <drepper@gmail.com>
46380
46381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46382
d5835c26
UD
463832012-01-08 Ulrich Drepper <drepper@gmail.com>
46384
e5f484c6
UD
46385 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46386
d5835c26
UD
46387 * io/Makefile (headers): Add bits/poll2.h.
46388
d1f741e9
WS
463892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46390
46391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46392 typo #include statement.
46393
ec09c1c4
UD
463942012-01-08 Ulrich Drepper <drepper@gmail.com>
46395
46396 * include/sys/cdefs.h: Define __attribute_alloc_size.
46397 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46398 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46399 * elf/pldd.c: Likewise.
46400 * iconv/iconv_charmap.c: Likewise.
46401 * iconv/iconvconfig.c: Likewise.
46402 * iconv/strtab.c: Likewise.
46403 * locale/programs/locale.c: Likewise.
46404 * locale/programs/localedef.h: Likewise.
46405 * locale/programs/simple-hash.c: Likewise.
46406 * nscd/nscd.h: Likewise.
46407 * nss/makedb.c: Likewise.
46408 * sysdeps/generic/ldconfig.h: Likewise.
46409 * locale/programs/localedef.c: Remove xmalloc prototype.
46410 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46411
20b38e03
PP
464122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46413
46414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46415 appropriate.
46416
a0da5fe1
UD
464172012-01-08 Ulrich Drepper <drepper@gmail.com>
46418
1d5a644a 46419 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46420 * math/tst-CMPLX.c: New file.
1d5a644a 46421
8784a6db
UD
46422 * math/complex.h (CMPLXL): Fix typo.
46423
d9a216c0
UD
46424 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46425 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46426 GLIBC_2.16.
46427 * debug/tst-chk1.c: Add poll and ppoll tests.
46428 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46429 * include/sys/poll.h: Add hidden proto for ppoll.
46430 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46431 * sysdeps/mach/hurd/ppoll.c: Likewise.
46432 * io/ppoll.c: Likewise.
46433 * debug/poll_chk.c: New file.
46434 * debug/ppoll_chk.c: New file.
46435 * include/bits/poll2.h: New file.
46436 * io/bits/poll2.h: New file.
46437
ac097f5c
UD
46438 [BZ #1350]
46439 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46440
2119dcfa
UD
46441 * configure.in: static is always set to yes. Remove.
46442 * config.make.in: Don't set build-static.
46443 * Makeconfig: Remove use of build-static.
46444 * dlfcn/Makefile: Likewise.
46445 * elf/Makefile: Likewise.
46446 * math/Makefile: Likewise.
46447 * misc/Makefile: Likewise.
46448 * nptl/Makefile: Likewise.
46449 * sysdeps/mach/hurd/Makefile: Likewise.
46450
121766a9
UD
46451 * configure.in: PWD_P is not used anymore.
46452 * config.make.in: Remove PWD_P entry.
46453
51a1d39c 46454 * configure.in: Remove last remnants of RANLIB.
8720d066 46455 No need to check for signed size_t anymore.
215f4bdc
UD
46456 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46457 and IA-64.
3857022a 46458 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46459 * aclocal.m4: Likewise.
46460
d3ed7225
UD
46461 * wcsmbs/mbrtoc16.c: Implement using towc function.
46462 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46463 * wcsmbs/wcsmbsload.c: Likewise.
46464 * iconv/gconv_simple.c: Likewise.
46465 * iconv/gconv_int.h: Likewise.
46466 * iconv/gconv_builtin.h: Likewise.
46467 * iconv/iconv_prog.c: Remove CHAR16 handling.
46468
46469 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46470
46471 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46472
a0da5fe1
UD
46473 * configure.in: Remove --with-elf and --enable-bounded options.
46474 Dont set base_machine for ia64. More non-ELF conditions removed.
46475 Remove testing and setting of leading underscore information.
46476 * config.make.in (build-bounded): Set to no.
46477 * config.h.in: Remove NO_UNDERSCORES entry.
46478 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46479 them.
46480 * csu/start.c: Remove !NO_UNDERSCORE code.
46481 * locale/localeinfo.h: Likewise.
46482 * sysdeps/generic/machine-gmon.h: Likewise.
46483 * sysdeps/generic/sysdep.h: Likewise.
46484 * sysdeps/i386/sysdep.h: Likewise.
46485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46486 * sysdeps/mach/sysdep.h: Likewise.
46487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46489 * sysdeps/sh/sysdep.h: Likewise.
46490 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46491 * sysdeps/unix/i386/sysdep.S: Likewise.
46492 * sysdeps/unix/sparc/start.c: Likewise.
46493 * sysdeps/unix/sparc/sysdep.S: Likewise.
46494 * sysdeps/unix/sparc/sysdep.h: Likewise.
46495 * sysdeps/unix/start.c: Likewise.
46496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46497 * sysdeps/x86_64/sysdep.h: Likewise.
46498
df78418a
UD
464992012-01-07 Ulrich Drepper <drepper@gmail.com>
46500
a784e502
UD
46501 [BZ #13553]
46502 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46503 for non-gcc.
46504 * argp/argp-fmtstream.h: Use const instead __const.
46505 * argp/argp.h: Likewise.
46506 * assert/assert.h: Likewise.
46507 * bits/fenv.h: Likewise.
46508 * bits/sched.h: Likewise.
46509 * bits/sigset.h: Likewise.
46510 * bits/sigthread.h: Likewise.
46511 * catgets/nl_types.h: Likewise.
46512 * conform/data/pthread.h-data: Likewise.
46513 * crypt/crypt-private.h: Likewise.
46514 * crypt/crypt.h: Likewise.
46515 * crypt/crypt_util.c: Likewise.
46516 * ctype/ctype.h: Likewise.
46517 * debug/execinfo.h: Likewise.
46518 * debug/mbsnrtowcs_chk.c: Likewise.
46519 * debug/mbsrtowcs_chk.c: Likewise.
46520 * debug/wcsnrtombs_chk.c: Likewise.
46521 * debug/wcsrtombs_chk.c: Likewise.
46522 * debug/wcstombs_chk.c: Likewise.
46523 * dirent/dirent.h: Likewise.
46524 * dlfcn/dlfcn.h: Likewise.
46525 * elf/neededtest4.c: Likewise.
46526 * grp/grp.h: Likewise.
46527 * gshadow/gshadow.h: Likewise.
46528 * iconv/gconv.h: Likewise.
46529 * iconv/gconv_int.h: Likewise.
46530 * iconv/gconv_simple.c: Likewise.
46531 * iconv/iconv.h: Likewise.
46532 * iconv/loop.c: Likewise.
46533 * iconv/skeleton.c: Likewise.
46534 * include/aio.h: Likewise.
46535 * include/aliases.h: Likewise.
46536 * include/argz.h: Likewise.
46537 * include/arpa/inet.h: Likewise.
46538 * include/assert.h: Likewise.
46539 * include/dirent.h: Likewise.
46540 * include/dlfcn.h: Likewise.
46541 * include/execinfo.h: Likewise.
46542 * include/fcntl.h: Likewise.
46543 * include/fenv.h: Likewise.
46544 * include/glob.h: Likewise.
46545 * include/grp.h: Likewise.
46546 * include/libintl.h: Likewise.
46547 * include/mntent.h: Likewise.
46548 * include/netdb.h: Likewise.
46549 * include/pwd.h: Likewise.
46550 * include/rpc/netdb.h: Likewise.
46551 * include/sched.h: Likewise.
46552 * include/search.h: Likewise.
46553 * include/shadow.h: Likewise.
46554 * include/signal.h: Likewise.
46555 * include/stdio.h: Likewise.
46556 * include/stdlib.h: Likewise.
46557 * include/string.h: Likewise.
46558 * include/sys/socket.h: Likewise.
46559 * include/sys/stat.h: Likewise.
46560 * include/sys/statfs.h: Likewise.
46561 * include/sys/statvfs.h: Likewise.
46562 * include/sys/syslog.h: Likewise.
46563 * include/sys/time.h: Likewise.
46564 * include/sys/uio.h: Likewise.
46565 * include/time.h: Likewise.
46566 * include/unistd.h: Likewise.
46567 * include/utmp.h: Likewise.
46568 * include/wchar.h: Likewise.
46569 * include/wctype.h: Likewise.
46570 * inet/aliases.h: Likewise.
46571 * inet/arpa/inet.h: Likewise.
46572 * inet/netinet/ether.h: Likewise.
46573 * inet/netinet/in.h: Likewise.
46574 * intl/libintl.h: Likewise.
46575 * io/bits/fcntl2.h: Likewise.
46576 * io/fcntl.h: Likewise.
46577 * io/ftw.h: Likewise.
46578 * io/sys/poll.h: Likewise.
46579 * io/sys/stat.h: Likewise.
46580 * io/sys/statfs.h: Likewise.
46581 * io/sys/statvfs.h: Likewise.
46582 * io/utime.h: Likewise.
46583 * libio/bits/stdio.h: Likewise.
46584 * libio/bits/stdio2.h: Likewise.
46585 * libio/libio.h: Likewise.
46586 * libio/libioP.h: Likewise.
46587 * libio/stdio.h: Likewise.
46588 * locale/lc-ctype.c: Likewise.
46589 * locale/locale.h: Likewise.
46590 * login/utmp.h: Likewise.
46591 * malloc/arena.c: Likewise.
46592 * malloc/malloc.c: Likewise.
46593 * malloc/malloc.h: Likewise.
46594 * malloc/mcheck.c: Likewise.
46595 * malloc/mtrace.c: Likewise.
46596 * math/bits/mathcalls.h: Likewise.
46597 * math/fenv.h: Likewise.
46598 * math/math_private.h: Likewise.
46599 * misc/bits/error.h: Likewise.
46600 * misc/bits/syslog.h: Likewise.
46601 * misc/err.h: Likewise.
46602 * misc/error.h: Likewise.
46603 * misc/fstab.h: Likewise.
46604 * misc/mntent.h: Likewise.
46605 * misc/regexp.h: Likewise.
46606 * misc/search.h: Likewise.
46607 * misc/sgtty.h: Likewise.
46608 * misc/sys/mman.h: Likewise.
46609 * misc/sys/syslog.h: Likewise.
46610 * misc/sys/uio.h: Likewise.
46611 * misc/sys/xattr.h: Likewise.
46612 * misc/ttyent.h: Likewise.
46613 * nis/rpcsvc/ypclnt.h: Likewise.
46614 * nss/nss.h: Likewise.
46615 * posix/bits/unistd.h: Likewise.
46616 * posix/fnmatch.h: Likewise.
46617 * posix/glob.h: Likewise.
46618 * posix/sched.h: Likewise.
46619 * posix/spawn.h: Likewise.
46620 * posix/sys/wait.h: Likewise.
46621 * posix/unistd.h: Likewise.
46622 * posix/wordexp.h: Likewise.
46623 * pwd/pwd.h: Likewise.
46624 * resolv/netdb.h: Likewise.
46625 * resource/sys/resource.h: Likewise.
46626 * rt/aio.h: Likewise.
46627 * rt/bits/mqueue2.h: Likewise.
46628 * rt/mqueue.h: Likewise.
46629 * shadow/shadow.h: Likewise.
46630 * signal/signal.h: Likewise.
46631 * socket/send.c: Likewise.
46632 * socket/sendto.c: Likewise.
46633 * socket/sys/socket.h: Likewise.
46634 * stdio-common/printf.h: Likewise.
46635 * stdlib/bits/stdlib.h: Likewise.
46636 * stdlib/fmtmsg.h: Likewise.
46637 * stdlib/monetary.h: Likewise.
46638 * stdlib/stdlib.h: Likewise.
46639 * stdlib/ucontext.h: Likewise.
46640 * streams/stropts.h: Likewise.
46641 * string/argz.h: Likewise.
46642 * string/bits/string2.h: Likewise.
46643 * string/string.h: Likewise.
46644 * string/strings.h: Likewise.
46645 * sunrpc/rpc/auth.h: Likewise.
46646 * sunrpc/rpc/auth_des.h: Likewise.
46647 * sunrpc/rpc/clnt.h: Likewise.
46648 * sunrpc/rpc/netdb.h: Likewise.
46649 * sunrpc/rpc/pmap_clnt.h: Likewise.
46650 * sunrpc/rpc/xdr.h: Likewise.
46651 * sysdeps/generic/inttypes.h: Likewise.
46652 * sysdeps/generic/net/if.h: Likewise.
46653 * sysdeps/generic/sys/swap.h: Likewise.
46654 * sysdeps/gnu/net/if.h: Likewise.
46655 * sysdeps/gnu/utmpx.h: Likewise.
46656 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46657 * sysdeps/i386/i486/bits/string.h: Likewise.
46658 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46659 * sysdeps/s390/bits/string.h: Likewise.
46660 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46661 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46662 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46663 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46664 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46665 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46666 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46667 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46668 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46671 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46672 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46673 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46674 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46682 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46683 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46684 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46685 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46688 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46690 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46691 * sysvipc/sys/ipc.h: Likewise.
46692 * sysvipc/sys/msg.h: Likewise.
46693 * sysvipc/sys/sem.h: Likewise.
46694 * sysvipc/sys/shm.h: Likewise.
46695 * termios/termios.h: Likewise.
46696 * time/sys/time.h: Likewise.
46697 * time/time.h: Likewise.
46698 * wcsmbs/bits/wchar2.h: Likewise.
46699 * wcsmbs/uchar.h: Likewise.
46700 * wcsmbs/wchar.h: Likewise.
46701 * wctype/wctype.h: Likewise.
46702
0269750c
UD
46703 [BZ #13551]
46704 * Makeconfig: Remove all but ELF support including AIX support.
46705 * Makerules: Likewise.
46706 * config.h.in: Likewise.
46707 * config.make.in: Likewise.
46708 * configure: Likewise.
46709 * configure.in: Likewise.
46710 * csu/Makefile: Likewise.
46711 * csu/version.c: Likewise.
46712 * debug/Makefile: Likewise.
46713 * dlfcn/Makefile: Likewise.
46714 * elf/Makefile: Likewise.
46715 * extra-lib.mk: Likewise.
46716 * iconv/Makefile: Likewise.
46717 * include/libc-symbols.h: Likewise.
46718 * include/shlib-compat.h: Likewise.
46719 * resolv/Makefile: Likewise.
46720 * resolv/res_libc.c: Likewise.
46721 * rt/Makefile: Likewise.
46722 * sysdeps/i386/asm-syntax.h: Likewise.
46723 * sysdeps/i386/sysdep.h: Likewise.
46724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46725 * sysdeps/mach/sysdep.h: Likewise.
46726 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46727 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46728 * sysdeps/s390/asm-syntax.h: Likewise.
46729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46731 * sysdeps/sh/sysdep.h: Likewise.
46732 * sysdeps/unix/sparc/sysdep.h: Likewise.
46733 * sysdeps/wordsize-32/divdi3.c: Likewise.
46734 * sysdeps/x86_64/sysdep.h: Likewise.
46735
00bbd29b
UD
46736 * argp/Versions: Remove _argp_unlock_xxx.
46737
46738 [BZ #13559]
46739 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46740 * abilist/libBrokenLocale.abilist: Likewise.
46741 * abilist/libanl.abilist: Likewise.
46742 * abilist/libc.abilist: Likewise.
46743 * abilist/libcrypt.abilist: Likewise.
46744 * abilist/libdl.abilist: Likewise.
46745 * abilist/libm.abilist: Likewise.
46746 * abilist/libnsl.abilist: Likewise.
46747 * abilist/libpthread.abilist: Likewise.
46748 * abilist/libresolv.abilist: Likewise.
46749 * abilist/librt.abilist: Likewise.
46750 * abilist/libthread_db.abilist: Likewise.
46751 * abilist/libutil.abilist: Likewise.
46752 * abilist/libnss_db.abilist: New file.
46753
46754 * scripts/abilist.awk: Add support for indirect functions.
46755
a2693a0e
UD
46756 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46757
3f05895f
UD
46758 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46759
ecb6fb48
UD
46760 * shlib-versions: Remove entries for ports architectures.
46761
664f8cb9
UD
46762 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46763 files in ports.
46764 * elf/stackguard-macros.h: Remove support for IA-64.
46765 * elf/tst-auditmod1.c: Likewise.
46766 * sysdeps/generic/ldsodefs.h: Likewise.
46767
7ae81d88
UD
46768 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46769 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46770 configure files.
46771
bdeba135
UD
46772 [BZ #13552]
46773 * configure.in: Remove --enable-omitfp support.
46774 * FAQ.in: Adjust.
46775 * config.make.in: Likewise.
46776 * Makeconfig: Likewise.
46777 * manual/install.texi: Likewise.
46778
d75a0a62
UD
46779 In case anyone cares, the IA-64 architecture could move to ports.
46780 * sysdeps/ia64/*: Removed.
46781 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 46782 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 46783
dcc9756b
UD
46784 [BZ #13555]
46785 * configure.in: Remove entries for unsupported architectures.
46786
d3761ebc 46787 [BZ #13533]
9954432e
UD
46788 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46789 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46790 routines.
46791 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46792 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46793 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46794 fall back to using wcrtomb.
46795 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46796 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46797 renaming.
46798 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46799 * wcsmbs/tst-c16c32-1.c: New file.
46800
46801 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46802 local variable.
46803
c3a87236
UD
46804 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46805
28926a1b
UD
46806 * elf/tst-unique3.cc: Add explicit declaration of gets.
46807 * elf/tst-unique3lib.cc: Likewise.
46808 * elf/tst-unique3lib2.cc: Likewise.
46809 * elf/tst-unique4.cc: Likewise.
46810
df78418a
UD
46811 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46812
8ecd6b2a
JM
468132012-01-06 Joseph Myers <joseph@codesourcery.com>
46814
46815 [BZ #13566]
46816 * assert/assert.h (static_assert): Don't define for C++.
46817 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46818 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46819
9f115170
UD
468202012-01-03 Ulrich Drepper <drepper@gmail.com>
46821
5e0d0300
UD
46822 * iconv/loop.c (single loop): Fix assertion in storing of
46823 remaining bytes.
46824
9f115170
UD
46825 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46826
81fb02b0
UD
468272012-01-01 Ulrich Drepper <drepper@gmail.com>
46828
46829 * posix/getconf.c: Update copyright year.
46830 * nss/getent.c: Likewise.
a316c1f6 46831 * nss/makedb.c: Likewise.
81fb02b0
UD
46832 * iconv/iconvconfig.c: Likewise.
46833 * iconv/iconv_prog.c: Likewise.
46834 * elf/ldconfig.c: Likewise.
a316c1f6
UD
46835 * elf/pldd.c: Likewise.
46836 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
46837 * catgets/gencat.c: Likewise.
46838 * csu/version.c: Likewise.
46839 * elf/ldd.bash.in: Likewise.
46840 * elf/sprof.c (print_version): Likewise.
46841 * locale/programs/locale.c: Likewise.
46842 * locale/programs/localedef.c: Likewise.
a316c1f6 46843 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
46844 * nscd/nscd.c (print_version): Likewise.
46845 * debug/xtrace.sh: Likewise.
46846 * malloc/memusage.sh: Likewise.
46847 * malloc/mtrace.pl: Likewise.
46848 * debug/catchsegv.sh: Likewise.
46849
2ba92745
JJ
468502011-12-30 Jakub Jelinek <jakub@redhat.com>
46851
46852 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46853 pure attribute.
46854
dadebdae
UD
468552011-12-24 Ulrich Drepper <drepper@gmail.com>
46856
d3761ebc 46857 [BZ #13533]
db6af3eb
UD
46858 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46859 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46860 transformations.
46861 * iconv/gconv_int.h: Likewise.
46862 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46863 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46864 from libc for GLIBC_2.16.
46865 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46866 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46867 * wcsmbs/uchar.h: Really define mbstate_t.
46868 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46869 * wcsmbs/c16rtomb.c: New file.
46870 * wcsmbs/mbrtoc16.c: New file.
46871 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46872 for C/POSIX locale.
46873 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46874 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46875
dadebdae
UD
46876 * wcsmbs/wchar.h: Add missing __restrict.
46877
67371b56
UD
468782011-12-23 Ulrich Drepper <drepper@gmail.com>
46879
74033a25
UD
46880 [BZ #13532]
46881 * time/Makefile (routines): Add timespec_get.
46882 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46883 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46884 timespec for ISO C11.
46885 * time/timespec_get.c: New file.
46886 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46887 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46888
380d7e87
UD
46889 [BZ #13531]
46890 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46891 * stdlib/stdlib.h: Declare aligned_alloc.
46892 * Versions.def: Add GLIBC_2.16 for libc.
46893 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46894
4e9e7a35
UD
46895 [BZ 13527]
46896 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46897 ISO C11.
46898
380d7e87 46899 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
46900 code.
46901
03a71829
UD
46902 [BZ #13528]
46903 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46904
839e283e
UD
46905 [BZ #13529]
46906 * assert/assert.h (static_assert): Define.
46907
ce5294e2 46908 * version.h: Update for 2.16 development version.
90fa7312 46909
8d44e150 46910 [BZ #13526]
d7809905
UD
46911 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46912 _ISOC11_SOURCE.
46913
c0da14cd
UD
46914 * version.h (RELEASE): Bump for 2.15 release.
46915 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46916
530a3249
MP
46917 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46918 Patch by Marek Polacek <mpolacek@redhat.com>.
46919
67371b56
UD
46920 * bits/byteswap.h: Protect long long constants with __extension__.
46921 * sysdeps/i386/bits/byteswap.h: Likewise.
46922 * sysdeps/ia64/bits/byteswap.h: Likewise.
46923 * sysdeps/s390/bits/byteswap.h: Likewise.
46924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46925
15db4de1
LD
469262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46927
46928 [BZ #13540]
bbe315ea
LD
46929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46930 destination buffer.
15db4de1
LD
46931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46932
2b2596b1
MP
469332011-12-23 Marek Polacek <polacek@redhat.com>
46934
46935 * elf/dl-addr.c (determine_info): Add inline keyword.
46936 * elf/tst-auditmod4b.c (check_avx): Likewise.
46937 * elf/tst-auditmod6b.c (check_avx): Likewise.
46938 * elf/tst-auditmod6c.c (check_avx): Likewise.
46939 * elf/tst-auditmod7b.c (check_avx): Likewise.
46940
70c6c246
UD
469412011-12-23 Ulrich Drepper <drepper@gmail.com>
46942
46943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46944 !__SSE_MATH__.
46945
c044cf14
LD
469462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46947
15db4de1 46948 [BZ #13540]
c044cf14
LD
46949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46950 processing for last bytes.
46951
6b13d9d9
BH
469522011-08-06 Bruno Haible <bruno@clisp.org>
46953
d455f537
BH
46954 [BZ #13061]
46955 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46956 U+0385, not to U+1FEE.
46957
6b13d9d9
BH
46958 [BZ #13062]
46959 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46960 entry for U+00A5 U+0301.
46961
db910efd
UD
469622011-12-22 Ulrich Drepper <drepper@gmail.com>
46963
27deeafc
UD
46964 [BZ #13166]
46965 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46966 buffer for the output is too small.
46967
aed9d171
UD
46968 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46969 optimization.
46970
db910efd
UD
46971 [BZ #13185]
46972 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46973 SSE flags if possible.
46974
2bd779ae
LD
469752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46976
e7f9dac3 46977 [BZ #13540]
2bd779ae
LD
46978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46979 processing for last bytes.
46980
154bfc16
JM
469812011-12-22 Joseph Myers <joseph@codesourcery.com>
46982
46983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46984 (syscall-list-default-options, syscall-list-default-condition)
46985 (syscall-list-includes): Define.
46986 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46987 list of ABIs and options and #if conditions for each ABI. Do not
46988 handle common syscalls between ABIs specially.
46989 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46990 Remove.
46991 (syscall-list-variants, syscall-list-32bit-options)
46992 (syscall-list-32bit-condition, syscall-list-64bit-options)
46993 (syscall-list-64bit-condition): Define.
46994 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46995 (syscall-list-variants, syscall-list-32bit-options)
46996 (syscall-list-32bit-condition, syscall-list-64bit-options)
46997 (syscall-list-64bit-condition): Define.
46998 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46999 Remove.
47000 (syscall-list-variants, syscall-list-32bit-options)
47001 (syscall-list-32bit-condition, syscall-list-64bit-options)
47002 (syscall-list-64bit-condition): Define.
47003 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47004 Remove.
47005 (syscall-list-variants, syscall-list-32bit-options)
47006 (syscall-list-32bit-condition, syscall-list-64bit-options)
47007 (syscall-list-64bit-condition): Define.
47008
21eaf3a5
UD
470092011-12-22 Ulrich Drepper <drepper@gmail.com>
47010
16c6f992
UD
47011 * locale/iso-639.def: Add brx entry.
47012
41043168
UD
47013 [BZ #13328]
47014 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47015 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47016
21eaf3a5
UD
47017 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47018 __feraiseexcept_renamed.
47019
e3a851a2
UD
470202011-12-21 Ulrich Drepper <drepper@gmail.com>
47021
4920765e
UD
47022 [BZ #13538]
47023 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47024 EPOLLET with unsigned values.
47025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47027
e3a851a2
UD
47028 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47029 to large cancellation.
47030 * math/s_cacoshf.c: Likewise.
47031 * math/s_cacoshl.c: Likewise.
47032
b27e24b8
RK
470332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47034
47035 [BZ #13305]
aebefeee 47036 [BZ #12786]
b27e24b8
RK
47037 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47038 * math/s_cacoshf.c: Likewise.
47039 * math/s_cacoshl.c: Likewise.
47040
ee190f67
UD
470412011-12-21 Ulrich Drepper <drepper@gmail.com>
47042
47043 [BZ #13439]
47044 * iconv/gconv.h: Define __GCONV_SWAP.
47045 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47046 * iconvdata/utf-16.c: Likewise.
47047 * iconvdata/utf-32.c: Likewise.
47048
707f25df
AS
470492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47050
47051 [BZ #13524]
47052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47053 numerator after shifting it by one limb.
47054
d2daaa1e
RÁE
470552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47056
47057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47058 under [__USE_EXTERN_INLINES].
47059
a4647e72
UD
470602011-12-17 Ulrich Drepper <drepper@gmail.com>
47061
47062 [BZ #13446]
47063 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47064
f0b264f1
AZ
470652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47066
47067 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47068 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47069 optimized code.
47070 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47072 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47073 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47074 for strncasecmp/strncasecmp_l compilation.
47075 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47076 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47077
8ef4f244
MP
470782011-12-08 Marek Polacek <mpolacek@redhat.com>
47079
47080 [BZ #13484]
47081 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47082 of __asm__.
47083
97ac2654
UD
470842011-12-17 Ulrich Drepper <drepper@gmail.com>
47085
47086 [BZ #13506]
47087 * time/tzfile.c (__tzfile_read): Check values from file header.
47088
91d2a845
WS
470892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47090
47091 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47092 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47093 * powerpc/powerpc32/dl-start.S: Likewise.
47094 * powerpc/powerpc32/elf/start.S: Likewise.
47095 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47096 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47097 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47098 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47099 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47100 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47101 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47102 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47103 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47104 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47105 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47106 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47107 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47108 * powerpc/powerpc32/memset.S: Likewise.
47109 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47110 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47111 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47112 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47113 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47114 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47115 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47116 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47117 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47118 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47120 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47121 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47122
a1267ba1
AZ
471232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47124
47125 * math/libm-test.inc: Added more nearbyint tests.
47126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47130
ad8ac1bd
RL
471312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47132
47133 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47134 FD_CLOEXEC.
47135
1d3e4b61
UD
471362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47137
47138 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47139 Add wcscpy-ssse3 wcscpy-c.
47140 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47141 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47142 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47143 * sysdeps/x86_64/wcschr.S: New file.
47144 * sysdeps/x86_64/wcsrchr.S: New file.
47145 * string/test-strcmp.c: Remove checking of wcscmp function for
47146 wrong alignments.
47147 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47148 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47149 wcsrchr-sse2 wcsrchr-c.
47150 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47151 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47152 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47153 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47154 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47155 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47156 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47159 * wcsmbc/wcschr.c (WCSCHR): New macro.
47160
5b330a2d
UD
471612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47162
47163 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47164 * wcsmbs/test-wcsrchr.c: New file.
47165 * string/test-strrchr.c: Add wcsrchr support.
47166 (WIDE): New macro.
47167 * wcsmbs/test-wcscpy.c: New file.
47168 * string/test-strcpy.c: Add wcscpy support.
47169 (WIDE): New macro.
26428b7c 47170
f039c043
UD
471712011-12-10 Ulrich Drepper <drepper@gmail.com>
47172
47173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47174 the inner loop.
47175
850fb039
AS
471762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47177
47178 [BZ #13472]
47179 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47180
4efbd5cb
UD
471812011-12-04 Ulrich Drepper <drepper@gmail.com>
47182
52ff5dd0 47183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47184 Minor optimizations.
52ff5dd0 47185
4efbd5cb
UD
47186 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47187 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47189
8a426e12
UD
471902011-12-03 Ulrich Drepper <drepper@gmail.com>
47191
aff2453d
UD
47192 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47193 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47194 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47195 for gcc to avoid warnings.
47196 * inet/Makefile (tests): Add tst-checks.
47197 * inet/tst-checks.c: New file.
47198
47199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47200 warning.
47201
47202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47203 __wmemcmp_sse2.
47204
47205 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47206 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47207
8a426e12
UD
47208 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47209
9bea3473
UD
472102011-12-02 Ulrich Drepper <drepper@gmail.com>
47211
3a965496
UD
47212 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47213 problem.
47214
9bea3473
UD
47215 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47216
f101631b
UD
472172011-11-29 Joseph Myers <joseph@codesourcery.com>
47218
47219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47220 conditional on GCC version.
47221 (__arch_compare_and_exchange_val_8_acq)
47222 (__arch_compare_and_exchange_val_16_acq)
47223 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47224 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47225 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47226
a98275aa
UD
472272011-12-02 Joseph Myers <joseph@codesourcery.com>
47228
47229 * sysdeps/sh/backtrace.c: New file.
47230
d4cc29a2
AS
472312011-12-02 Andreas Schwab <schwab@redhat.com>
47232
47233 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47234 parenthesis.
47235
6257af2d
AS
472362011-12-01 Andreas Schwab <schwab@redhat.com>
47237
47238 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47239 falling back to utime.
47240
b5f44c1a
AS
472412011-11-30 Andreas Schwab <schwab@redhat.com>
47242
47243 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47244 expectations for float.
47245
f3a6cc0a
AS
472462011-11-29 Andreas Schwab <schwab@redhat.com>
47247
47248 * locale/weight.h (findidx): Add parameter len.
47249 * locale/weightwc.h (findidx): Likewise.
47250 * posix/fnmatch_loop.c (FCT): Adjust caller.
47251 * posix/regcomp.c (build_equiv_class): Likewise.
47252 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47253 * posix/regexec.c (check_node_accept_bytes): Likewise.
47254 * string/strcoll_l.c (STRCOLL): Likewise.
47255 * string/strxfrm_l.c (STRXFRM): Likewise.
47256
9d65ea3a
UD
472572011-11-17 Ulrich Drepper <drepper@gmail.com>
47258
47259 * Makefile.in: Remove CVSOPT handling.
47260 * configure.in: Remove use of AC_REVISION.
47261 * iconvdata/Makefile (distribute): No need to filter out CVS.
47262 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47263 handling.
47264
5583a086
AS
472652011-11-16 Andreas Schwab <schwab@redhat.com>
47266
47267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47268 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47269 [USE_AS_STRNCASECMP_L]: Likewise.
47270 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47271 NO_TLS_DIRECT_SEG_REFS.
47272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47273 Fix argument offsets for non-PIC.
47274 [USE_AS_STRNCASECMP_L]: Likewise.
47275 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47276 NO_TLS_DIRECT_SEG_REFS.
47277
d62a8200
UD
472782011-11-15 Ulrich Drepper <drepper@gmail.com>
47279
9d65ea3a 47280 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47281 O_CLOEXEC.
47282 * locale/loadlocale.c (_nl_load_locale): Likewise.
47283
09f93bd3
AS
472842011-11-15 Andreas Schwab <schwab@redhat.com>
47285
446514f9
AS
47286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47287 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47289 (SYSCALL_GETTIME): Set errno on error.
47290
09f93bd3
AS
47291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47292 count references to noai6ai_cached.
47293
312be3f9
UD
472942011-11-15 Ulrich Drepper <drepper@gmail.com>
47295
47296 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47297
47298 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47299 FD_CLOEXEC for /proc/self/maps.
47300
47301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47302 FD_CLOEXEC for /proc/meminfo.
47303
47304 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47305 gai.conf.
47306
47307 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47308 FD_CLOEXEC for given file.
47309
47310 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47311
47312 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47313 FD_CLOEXEC for /etc/hosts.
47314 (_gethtent): Likewise.
47315
47316 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47317
47318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47319 cancellation and set FD_CLOEXEC for /etc/netgroup.
47320
47321 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47322 reading /etc/publickey.
47323
47324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47325 allow cancellation when reading /etc/group.
47326
47327 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47328 cancellation.
47329 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47330
47331 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47332 when using data file.
47333
47334 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47335
47336 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47337 (write_nis_obj): Use "c" and "e" in fopen.
47338
47339 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47340
47341 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47342
47343 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47344
47345 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47346
47347 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47348 locale.alias.
47349
47350 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47351
47352 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47353
47354 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47355
47356 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47357 file parsing and set FD_CLOEXEC.
47358
82af0fa8
UD
473592011-11-14 Ulrich Drepper <drepper@gmail.com>
47360
47361 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47362
a5fb313c
AS
473632011-11-14 Andreas Schwab <schwab@redhat.com>
47364
47365 * malloc/arena.c (arena_get2): Don't call reused_arena when
47366 _int_new_arena failed.
47367
6abf3465
UD
473682011-11-14 Ulrich Drepper <drepper@gmail.com>
47369
47370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47371 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47376 to compile strcasecmp and strncasecmp.
47377 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47378 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47379
47380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47381
76e3966e
UD
473822011-11-13 Ulrich Drepper <drepper@gmail.com>
47383
47384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47385 locale-defines.sym to gen-as-const-headers.
47386 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47387 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47389 to compile strcasecmp and strncasecmp.
47390 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47391 strcasecmp_l and strncasecmp_l.
47392 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47393 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47394 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47396 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47398 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47399 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47400 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47401 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47402 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47403
ab26144e
UD
474042011-11-12 Ulrich Drepper <drepper@gmail.com>
47405
7edb22ef
UD
47406 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47407 result of SYSDEP_GETTIME_CPU to retval.
47408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47409 parameter list to macro. Remove trailing semicolon. Adjust users.
47410
9694fc44
UD
47411 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47412 variable.
47413
8ad89ef8
UD
47414 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47415 mantissa words.
47416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47417
0c822ef9
UD
47418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47419 from unused variable.
47420
874e0564
UD
47421 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47422 DWARF definitions.
47423 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47424 for assembling.
47425
3a2edc79
UD
47426 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47427 over namespaces.
47428
f3c2577f
UD
47429 * sunrpc/rpc_prot.c (rejected): Fix case value.
47430
294ce126
UD
47431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47432 unsigned long long int to avoid warnings in shift.
47433
5e2b63c6
UD
47434 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47435 of use of trans.
47436 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47437 variable tmp.
47438
e7f4b08e
UD
47439 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47440 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47442
ab26144e
UD
47443 * nis/nis_table.c (nis_list): Use variable of correct type for
47444 result of __follow_path call.
47445
8a6d5255
AZ
474462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47447
47448 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47449 of math functions ceil, trunc, floor, round, and sqrt, when
47450 avaliable on the platform.
47451 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47452 name clash.
47453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47456
aaddc98c
MP
474572011-10-30 Marek Polacek <mpolacek@redhat.com>
47458
47459 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47461
95b7042b
RM
474622011-11-11 Roland McGrath <roland@hack.frob.com>
47463
47464 * include/unistd.h: Fix __readlink return type.
47465 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47466
57769839
UD
474672011-11-11 Ulrich Drepper <drepper@gmail.com>
47468
47469 * stdlib/ucontext.h: Undo last change for makecontext.
47470
edc5984d
AS
474712011-11-11 Andreas Schwab <schwab@redhat.com>
47472
98591e58
AS
47473 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47474
edc5984d
AS
47475 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47476 * setjmp/setjmp.h: Mark functions as non-leaf.
47477 * setjmp/bits/setjmp2.h: Likewise.
47478 * stdlib/ucontext.h: Likewise.
47479
77cdc054
AS
474802011-11-10 Andreas Schwab <schwab@redhat.com>
47481
47482 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47483 (reused_arena): Don't check arena limit.
47484 (arena_get2): Atomically check arena limit.
47485
fe72eebd
UD
474862011-11-08 Ulrich Drepper <drepper@gmail.com>
47487
5f078c32
UD
47488 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47489 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47490
fe72eebd
UD
47491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47492 instructions.
47493
ae1bc2fa
AS
474942011-11-07 Andreas Schwab <schwab@redhat.com>
47495
7583a88d
AS
47496 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47497 handler when locking.
47498
ae1bc2fa
AS
47499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47500 Fix size of allocated buffer.
47501
10fb0bfa
AS
475022011-11-04 Andreas Schwab <schwab@redhat.com>
47503
998832a4
AS
47504 [BZ #10103]
47505 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47506 declarations for long double functions.
47507 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47508
10fb0bfa
AS
47509 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47510
3d7ba52b
AS
475112011-11-03 Andreas Schwab <schwab@redhat.com>
47512
a9ae54a1
AS
47513 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47514 installed.
47515
3d7ba52b
AS
47516 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47517 is disabled.
47518
bc8db248
ST
475192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47520
47521 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47522
45b96dd6
AS
475232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47524
647776f6
AS
47525 * include/alloca.h (stackinfo_alloca_round): Define.
47526 (extend_alloca): Use it.
47527 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47528 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47529 here.
47530
d91a8b93
AS
47531 * scripts/check-local-headers.sh: Ignore libaudit.h.
47532
45b96dd6
AS
47533 * nscd/Makefile (extra-objs): Make recursively expanded.
47534
432d41ce
UD
475352011-11-01 Ulrich Drepper <drepper@gmail.com>
47536
34372fc6
UD
47537 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47539
fadb59f8
UD
47540 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47541 * posix/tst-rfc3484-2.c: Likewise.
47542 * posix/tst-rfc3484-3.c: Likewise.
47543
78239589
UD
47544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47545 process_vm_writev.
47546 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47547 process_vm_writev.
47548 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47549 process_vm_writev from libc using GLIBC_2.15 version.
47550
432d41ce
UD
47551 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47552
02f9c6cf
PP
475532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47554
47555 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47556 stack usage.
47557
3a2c0242
UD
475582011-10-31 Ulrich Drepper <drepper@gmail.com>
47559
f4ec4833
UD
47560 [BZ #13367]
47561 * nss/getent.c (initgroups_keys): Show error message in case no group
47562 names are given.
47563
3a2c0242
UD
47564 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47565 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47566 __bump_nl_timestamp.
47567 * nscd/connections (nscd_init): When host database is served open
47568 netlink socket and request notification about configuration changes.
47569 (main_loop_poll): Track netlink file descriptor and bump timestamp
47570 in case data becomes available.
47571 (main_loop_epoll): Likewise.
47572 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47573 (database_pers_head): Add extra_data fileds.
47574 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47576 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47577 Adjust caller.
47578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47579 in6ai data, call __free_in6ai.
47580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47581 Add -DHAVE_NETLINK.
47582 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47583 interface information. Reuse previous data if netlink timestamp
47584 is not changed.
47585 (__bump_nl_timestamp): New function.
47586 (__free_in6ai): New function.
47587
636064eb
UD
475882011-10-30 Ulrich Drepper <drepper@gmail.com>
47589
47590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47591 close_not_cancel_no_status here.
47592 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47593
9beb2334
UD
475942011-10-29 Ulrich Drepper <drepper@gmail.com>
47595
6ef76f3b
UD
47596 [BZ #13276]
47597 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47598 return value.
47599
0ffc4f3e 47600 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47601 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47602 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47603
cb95113e
UD
476042011-07-03 Andreas Jaeger <aj@suse.de>
47605
47606 [BZ #10709]
47607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47608 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47609 * math/libm-test.inc (sin_test): Add test case.
47610
a1b560ff
UD
476112011-10-29 Ulrich Drepper <drepper@gmail.com>
47612
c9aaface
UD
47613 [BZ #13337]
47614 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47616
d272e7f1
UD
47617 * elf/chroot_canon.c (chroot_canon): Cleanups.
47618
1bc33071
UD
47619 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47620
1760874d
TJ
47621 [BZ #13335]
47622 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47624
51d91b18
UD
47625 * string/test-strchr.c: Make usable for strchrnul testing.
47626 * string/test-strchrnul.c: New file.
47627 * string/Makefile (strop-tests): Add strchrnul.
47628
a1b560ff 47629 * po/it.po: Update from translation team.
b611fb81 47630 * po/es.po: Likewise.
a1b560ff 47631
a5b81e1f
UD
476322011-10-28 Ulrich Drepper <drepper@gmail.com>
47633
fd52bc6d
UD
47634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47635 the three constants needed as parameters. Drop the others.
47636 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47637 __m128i_strloadu_tolower.
52e4b9eb
UD
47638 Create and initialize variable zero and use it in all the places
47639 where _mm_setzero_si128 was used.
fd52bc6d 47640
a5b81e1f
UD
47641 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47642 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47643 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47645 anymore.
47646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47649 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47650 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47651 __mpranred, __mptan.
47652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47661
b4343346
AS
476622011-10-28 Andreas Schwab <schwab@redhat.com>
47663
0c92d8a8
AS
47664 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47665 redefine if SHARED.
47666 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47667
b4343346
AS
47668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47669 wide char related routines to wcsmbs subdir.
47670
3871f58f
AS
476712011-10-27 Andreas Schwab <schwab@redhat.com>
47672
47673 [BZ #13344]
47674 * misc/sys/cdefs.h (__THROWNL): Define.
47675 * posix/unistd.h: Use __THREADNL instead of __THREAD
47676 for memory synchronization functions.
47677
94d44d9f
RM
476782011-10-26 Roland McGrath <roland@hack.frob.com>
47679
21b64b15 47680 [BZ #13349]
94d44d9f
RM
47681 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47682 doesn't exist.
47683 * manual/stdio.texi (Obstack Streams): Node removed.
47684
f6ce9294
AS
476852011-10-26 Andreas Schwab <schwab@redhat.com>
47686
80479147
AS
47687 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47690
f6ce9294
AS
47691 * math/math_private.h (math_force_eval): Allow non-addressable
47692 arguments.
47693 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47694
618280a1
UD
476952011-10-25 Ulrich Drepper <drepper@gmail.com>
47696
e0016b11
UD
47697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47698 file is not needed.
47699
47700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47707 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47708 Add AVX variants.
47709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47715 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47716 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47719 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47720 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47727 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47728
47729 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47730 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47731
618280a1
UD
47732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47733 place. Use VEX encoding when compiling for AVX.
47734
37822576
AS
477352011-10-25 Andreas Schwab <schwab@redhat.com>
47736
1f1e1947
AS
47737 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47739
37822576
AS
47740 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47741
31ea014d
UD
477422011-10-25 Ulrich Drepper <drepper@gmail.com>
47743
d7826aa1 47744 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47745 useless if() expression.
d7826aa1
UD
47746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47748 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47765
31ea014d
UD
47766 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47767
16437fec
AS
477682011-10-25 Andreas Schwab <schwab@redhat.com>
47769
47770 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47771 condition.
47772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47773
31d3cc00
UD
477742011-10-25 Ulrich Drepper <drepper@gmail.com>
47775
47776 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47777 .text section. Avoid duplicate constants.
47778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47787 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47789 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47823
58985aa9
UD
478242011-10-24 Ulrich Drepper <drepper@gmail.com>
47825
202c9deb
UD
47826 * sysdeps/x86_64/dla.h: Move to ...
47827 * sysdeps/x86_64/fpu/dla.h: ...here.
47828 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47829 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 47830
af968f62
UD
47831 * config.make.in: Add have-mfma4 entry.
47832 * configure.in: Substitute libc_cv_cc_fma4.
47833 * math/Makefile (dbl-only-routines): Add sincostab.
47834 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47835 Use __sincostab not sincos.
47836 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47837 name is a macro.
47838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47842 using __copysign.
47843 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47844 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47845 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47846 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47847 and __inv.
47848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47849 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47850 __copysign.
47851 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47852 define aliases when function name is a macro.
47853 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47854 sysdeps/ieee754/dbl-64/sincos.tbl.
47855 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47856 fma4-enabled routines.
47857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47867 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47887
58985aa9
UD
47888 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47889 rename.
47890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47898
a201fbcf
AS
478992011-10-24 Andreas Schwab <schwab@redhat.com>
47900
47901 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47902
fc2ee42a
LD
479032011-10-23 Ulrich Drepper <drepper@gmail.com>
47904
bb3129bd
UD
47905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47906
0275fff8
UD
47907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47908 prediction.
47909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47910
2fa2ae85
UD
47911 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47912 Remove unused variable magic_bits.
47913 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47914
fc2ee42a
LD
47915 * string/strnlen.c: Define and use STRNLEN macro.
47916 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47917 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47919 * wcsmbs/wcslen.c: Define and use WCSLEN.
47920 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47921 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47922 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47923 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47924 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47925 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47926 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47927
ce7dd29f
LD
479282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47929
47930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47931 strnlen-sse2-no-bsf.
47932 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47934 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47935 Add strnlen support.
47936 (USE_AS_STRNLEN): New macro.
47937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47939 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47940 * sysdeps/x86_64/wcslen.S: New file.
47941
979c70a3
MZ
479422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47943
47944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47945 XMM-moves are used for copying on small sizes.
47946
2d09f82f
LD
479472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47948
47949 * wcsmbs/Makefile (strop-tests): Add wcschr.
47950 * wcsmbs/test-wcschr.c: New file.
47951 * string/test-strchr.c: Update.
47952 Add wcschr support.
47953 (WIDE): New macro.
47954
619fccca
LD
479552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47956
2d09f82f 47957 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47958 * wcsmbs/test-wcslen.c: New file.
47959 * string/test-strlen.c: Update.
47960 Add wcslen support.
47961 (WIDE): New macro.
47962
09f699ea
UD
479632011-10-23 Ulrich Drepper <drepper@gmail.com>
47964
47965 * po/it.po: Update from translation team.
47966
95584d3b
LD
479672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47968
47969 * sysdeps/x86_64/wcscmp.S: Update.
47970 Fix wrong comparison semantics.
47971 wcscmp shall use signed comparison not unsigned.
47972 Don't use substraction to avoid overflow bug.
47973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47974 * wcsmbc/wcscmp.c: Likewise.
47975 * string/test-strcmp.c: Likewise.
47976 Add new tests to check cases with negative values.
47977
c8b3296b
UD
479782011-10-23 Ulrich Drepper <drepper@gmail.com>
47979
47980 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47981 * sysdeps/x86_64/dla.h: ...here. New file.
47982 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47991
246ad57a
AS
479922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47993
47994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47995 __ynl_finite aliases.
47996
a1a87169
UD
479972011-10-22 Ulrich Drepper <drepper@gmail.com>
47998
0d355eb7
UD
47999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48000
a1a87169
UD
48001 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48002 define DLA_FMA.
48003 [DLA_FMA] (EMULV): Use DLA_FMA.
48004 [DLA_FMA] (MUL12): Use EMULV.
48005 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48006 that are not needed.
48007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48014
ee2aafe0
AS
480152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48016
48017 * math/s_nan.c: Undef __nan.
48018 * math/s_nanf.c: Undef __nanf.
48019 * math/s_nanl.c: Undef __nanl.
48020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48021 "math_private.h".
48022
bc62c2fb
UD
480232011-10-22 Ulrich Drepper <drepper@gmail.com>
48024
77425c63
UD
48025 * math/s_catan.c: Add branch predictions.
48026 * math/s_catanf.c: Likewise.
48027 * math/s_catanh.c: Likewise.
48028 * math/s_catanhf.c: Likewise.
48029 * math/s_catanhl.c: Likewise.
48030 * math/s_catanl.c: Likewise.
48031 * math/s_cexp.c: Likewise.
48032 * math/s_cexpf.c: Likewise.
48033 * math/s_cexpl.c: Likewise.
48034 * math/s_clog.c: Likewise.
48035 * math/s_clog10.c: Likewise.
48036 * math/s_clog10f.c: Likewise.
48037 * math/s_clog10l.c: Likewise.
48038 * math/s_clogf.c: Likewise.
48039 * math/s_clogl.c: Likewise.
48040 * math/s_csqrt.c: Likewise.
48041 * math/s_csqrtf.c: Likewise.
48042 * math/s_csqrtl.c: Likewise.
48043 * math/s_ctanf.c: Likewise.
48044 * math/s_ctanh.c: Likewise.
48045 * math/s_ctanhf.c: Likewise.
48046 * math/s_ctanhl.c: Likewise.
48047 * math/s_ctanl.c: Likewise.
48048
bc62c2fb
UD
48049 * math/math_private.h: Define __nan, __nanf, __nanl.
48050 * math/s_cacosh.c: Include <math_private.h>.
48051 * math/s_cacoshl.c: Likewise.
48052 * math/s_casinh.c: Likewise.
48053 * math/s_casinhf.c: Likewise.
48054 * math/s_casinhl.c: Likewise.
48055 * math/s_ccos.c: Rely entire on ccosh.
48056 * math/s_ccosf.c: Rely entire on ccoshf.
48057 * math/s_ccosl.c: Rely entirely on ccoshl.
48058 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48059 Remove tests for FE_INVALID.
48060 * math/s_ccoshf.c: Likewise.
48061 * math/s_ccoshl.c: Likewise.
48062 * math/s_csin.c: Likewise.
48063 * math/s_csinf.c: Likewise.
48064 * math/s_csinh.c Likewise.
48065 * math/s_csinhf.c: Likewise.
48066 * math/s_csinhl.c: Likewise.
48067 * math/s_csinl.c: Likewise.
48068 * math/s_ctan.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48070 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48072
8ec250a4
UD
480732011-10-21 Ulrich Drepper <drepper@gmail.com>
48074
c196fed8
UD
48075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48076 compilation problems.
48077
8ec250a4
UD
48078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48079 __builtin_expect.
48080
8d4f46c6
UD
480812011-10-20 Ulrich Drepper <drepper@gmail.com>
48082
ed72b654
UD
48083 * sysdeps/i386/configure.in: Test for -mfma4 option.
48084 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48085 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48086 COMMON_CPUID_INDEX_80000001.
48087 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48089 use it if FMA3 is not supported.
48090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48091
8d4f46c6
UD
48092 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48094
d45c60c2
AS
480952011-10-20 Andreas Schwab <schwab@redhat.com>
48096
48097 [BZ #12892]
48098 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48099 it would create a cycle with a link time dependency.
48100
d9a4d2ab
UD
481012011-10-19 Ulrich Drepper <drepper@gmail.com>
48102
855d1560
UD
48103 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48104 instruction.
48105 * string/Makefile (strop-tests): Add rawmemchr.
48106 * string/test-rawmemchr.c: New file.
48107
d9a4d2ab
UD
48108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48110 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48111 when compiling str{,n}casecmp and when AVX is available. Hook up
48112 new optimized code in initializers.
48113
8f3b1ffe
AS
481142011-10-19 Andreas Schwab <schwab@redhat.com>
48115
48116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48117 __feraiseexcept instead of feraiseexcept.
48118
d38f1dba
UD
481192011-10-18 Ulrich Drepper <drepper@gmail.com>
48120
d9a8d0ab
UD
48121 * math/math_private.h: Define defaults for libc_fetestexcept and
48122 libc_feupdateenv.
48123 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48124 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48125 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48129 libc_fetestexcept and libc_feupdateenv.
48130
4855e3dd
UD
48131 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48132 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48133 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48134 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48135 libc_feholdexcept_setround.
48136
581d30e3
UD
48137 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48138 Add s_nearbyint-c and s_nearbyintf-c.
48139 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48140 nearbyintf inlines.
48141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48145
d38f1dba
UD
48146 * math/math_private.h: Define defaults for libc_fegetround,
48147 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48148 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48149 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48151 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48152 standard functions.
48153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48154 Remove comments and hacks for old compiler versions.
48155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48156 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48157 libc_feholdexceptl.
48158
caa6c9d8
AS
481592011-10-18 Andreas Schwab <schwab@redhat.com>
48160
48161 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48162 (__feraiseexcept_renamed): Add __NTH.
48163 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48164 namespace violations.
48165
97c066e6
UD
481662011-10-17 Ulrich Drepper <drepper@gmail.com>
48167
99ce7b04
UD
48168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48169
1004d182
UD
48170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48171
228a984d
UD
48172 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48173 recently added interfaces.
48174 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48175
c8553a6a
UD
48176 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48177 about macro parameter expansion.
48178
ed22dcf6
UD
48179 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48180 __NO_MATH_INLINES is defined. Cleanups.
48181
48182 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48183 and __floorf is target has SSE4.1.
48184 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48185 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48188
b171c137
UD
48189 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48190 name.
48191 (floorf): Likewise.
48192
97c066e6
UD
48193 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48194
629f62ef
AS
481952011-10-17 Andreas Schwab <schwab@redhat.com>
48196
49a43d80
AS
48197 * misc/sys/cdefs.h: Fix last change.
48198
629f62ef
AS
48199 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48200 database lookup.
48201
e453f6cd
UD
482022011-10-16 Ulrich Drepper <drepper@gmail.com>
48203
aa78043a
UD
48204 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48205
ad0f5cad
UD
48206 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48215 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48216 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48217 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48219 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48228
48229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48230 ceil, ceilf, floor, floorf.
48231
48232 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48233 Perform IRELATIVE relocations last.
48234
e453f6cd
UD
48235 * elf/do-rel.h: Add another parameter nrelative, replacing the
48236 local variable with the same name. Change name of the function
48237 to end in Rel or Rela (uppercase).
48238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48239 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48240 elf_dynamic_do_##reloc function.
48241
fd5bdc09
UD
482422011-10-15 Ulrich Drepper <drepper@gmail.com>
48243
79b195b5
UD
48244 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48245 is sufficient, at least on modern CPUs.
48246
d4a28569
UD
48247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48248
b61099b5
UD
48249 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48251
bcf01e6d
UD
48252 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48253 __expl_finite.
48254 * math/bits/math-finite.h: Add entries for exp.
48255 * math/e_expl.c: Add __*_finite alias.
48256 * sysdeps/i386/fpu/e_exp.S: Likewise.
48257 * sysdeps/i386/fpu/e_expf.S: Likewise.
48258 * sysdeps/i386/fpu/e_expl.c: Likewise.
48259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48263 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48266
ba1a0d59
UD
48267 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48268 is sufficient, at least on modern CPUs.
48269
fd5bdc09
UD
48270 * ctype/ctype-info.c (__ctype_init): Define.
48271 * include/ctype.h (__ctype_init): Declare.
48272 (__ctype_b_loc): The variable is always initialized.
48273 (__ctype_toupper_loc): Likewise.
48274 (__ctype_tolower_loc): Likewise.
48275 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48276 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48277
7872cfb0
AS
482782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48279
b468825a
AS
48280 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48281
7872cfb0
AS
48282 * configure.in: Also look in $cxxmachine/include for C++ system
48283 headers.
48284
be13f7bf
LD
482852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48286
48287 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48288 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48289 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48290 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48292 (USE_AS_WMEMCMP): New macro.
48293 Fixing indents.
48294 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48295 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48296 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48297 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48299 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48300 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48301 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48302 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48303 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48305 (USE_AS_WMEMCMP): New macro.
48306 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48307 * sysdeps/string/test-memcmp.c: Update.
48308 Fix simple_wmemcmp.
48309 Add new tests.
48310 * wcsmbs/wmemcmp.c: Update.
48311 (WMEMCMP): New macro.
48312 Fix overflow bug.
48313
556a2007
AJ
483142011-10-12 Andreas Jaeger <aj@suse.de>
48315
48316 [BZ #13268]
48317 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48318
538faaa7
UD
483192011-10-15 Ulrich Drepper <drepper@gmail.com>
48320
ab6737ff
UD
48321 * libio/iofwide.c (do_length): Avoid warning.
48322
538faaa7
UD
48323 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48324
396a21b1
UD
483252011-10-14 Ulrich Drepper <drepper@gmail.com>
48326
cdf2901f
UD
48327 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48328
38ad40ce
UD
48329 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48330 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48331 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48332 * sysdeps/i386/i686/fpu/e_log.S: New file.
48333 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48334 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48335
396a21b1
UD
48336 * ctype/ctype.h: Add support for inlined isXXX functions when
48337 compiling C++ code.
48338
6b1f68c9
AS
483392011-10-14 Andreas Schwab <schwab@redhat.com>
48340
349290c0
AS
48341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48342
6b1f68c9
AS
48343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48344
f2282d42
RM
483452011-10-13 Roland McGrath <roland@hack.frob.com>
48346
48347 [BZ #13291]
48348 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48349
5298ffa8
AS
483502011-10-13 Andreas Schwab <schwab@redhat.com>
48351
714fad23
AS
48352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48353 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48354 feraiseexcept.
48355
81dcc7fb
AS
48356 * sysdeps/x86_64/memrchr.S: Check for zero size.
48357
5298ffa8
AS
48358 * string/stratcliff.c: Add memrchr tests.
48359
951fbcec
LD
483602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48361
48362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48363 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48364 rawmemchr-sse2 rawmemchr-sse2-bsf.
48365 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48367 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48368 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48369 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48370 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48371 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48372 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48374 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48375 * string/memrchr.c (MEMRCHR): New macro.
48376
0ac5ae23
UD
483772011-10-12 Ulrich Drepper <drepper@gmail.com>
48378
48379 Add integration with gcc's -ffinite-math-only and optimize wrapper
48380 functions in libm.
48381 * Versions.def: Define GLIBC_2.15 version for libm.
48382 * math/Makefile (headers): Add bits/math-finite.h.
48383 * math/bits/math-finite.h: New file.
48384 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48385 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48386 * math/e_acoshl.c: Add __*_finite alias.
48387 * math/e_acosl.c: Likewise.
48388 * math/e_asinl.c: Likewise.
48389 * math/e_atan2l.c: Likewise.
48390 * math/e_atanhl.c: Likewise.
48391 * math/e_coshl.c: Likewise.
48392 * math/e_exp10.c: Likewise.
48393 * math/e_exp10f.c: Likewise.
48394 * math/e_exp10l.c: Likewise.
48395 * math/e_exp2l.c: Likewise.
48396 * math/e_fmodl.c: Likewise.
48397 * math/e_gammal_r.c: Likewise.
48398 * math/e_hypotl.c: Likewise.
48399 * math/e_j0l.c: Likewise.
48400 * math/e_j1l.c: Likewise.
48401 * math/e_jnl.c: Likewise.
48402 * math/e_lgammal_r.c: Likewise.
48403 * math/e_log10l.c: Likewise.
48404 * math/e_log2l.c: Likewise.
48405 * math/e_logl.c: Likewise.
48406 * math/e_powl.c: Likewise.
48407 * math/e_sinhl.c: Likewise.
48408 * math/e_sqrtl.c: Likewise.
48409 * math/e_scalb.c: Completely rewritten and optimized.
48410 * math/e_scalbf.c: Likewise.
48411 * math/e_scalbl.c: Likewise.
48412 * math/w_acos.c: Likewise.
48413 * math/w_acosf.c: Likewise.
48414 * math/w_acosl.c: Likewise.
48415 * math/w_acosh.c: Likewise.
48416 * math/w_acoshf.c: Likewise.
48417 * math/w_acoshl.c: Likewise.
48418 * math/w_asin.c: Likewise.
48419 * math/w_asinf.c: Likewise.
48420 * math/w_asinl.c: Likewise.
48421 * math/w_atan2.c: Likewise.
48422 * math/w_atan2f.c: Likewise.
48423 * math/w_atan2l.c: Likewise.
48424 * math/w_atanh.c: Likewise.
48425 * math/w_atanhf.c: Likewise.
48426 * math/w_atanhl.c: Likewise.
48427 * math/w_exp10.c: Likewise.
48428 * math/w_exp10f.c: Likewise.
48429 * math/w_exp10l.c: Likewise.
48430 * math/w_fmod.c: Likewise.
48431 * math/w_fmodf.c: Likewise.
48432 * math/w_fmodl.c: Likewise.
48433 * math/w_j0.c: Likewise.
48434 * math/w_j0f.c: Likewise.
48435 * math/w_j0l.c: Likewise.
48436 * math/w_j1.c: Likewise.
48437 * math/w_j1f.c: Likewise.
48438 * math/w_j1l.c: Likewise.
48439 * math/w_jn.c: Likewise.
48440 * math/w_jnf.c: Likewise.
48441 * math/w_log.c: Likewise.
48442 * math/w_logf.c: Likewise.
48443 * math/w_logl.c: Likewise.
48444 * math/w_log10.c: Likewise.
48445 * math/w_log10f.c: Likewise.
48446 * math/w_log10l.c: Likewise.
48447 * math/w_log2.c: Likewise.
48448 * math/w_log2f.c: Likewise.
48449 * math/w_log2l.c: Likewise.
48450 * math/w_pow.c: Likewise.
48451 * math/w_powf.c: Likewise.
48452 * math/w_powl.c: Likewise.
48453 * math/w_remainder.c: Likewise.
48454 * math/w_remainderf.c: Likewise.
48455 * math/w_remainderl.c: Likewise.
48456 * math/w_scalb.c: Likewise.
48457 * math/w_scalbf.c: Likewise.
48458 * math/w_scalbl.c: Likewise.
48459 * math/w_sqrt.c: Likewise.
48460 * math/w_sqrtf.c: Likewise.
48461 * math/w_sqrtl.c: Likewise.
48462 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48463 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48464 used.
48465 * math/math_private.h: Declare __kernel_standard_f.
48466 * math/w_cosh.c: Remove cruft and optimize a bit.
48467 * math/w_coshf.c: Likewise.
48468 * math/w_coshl.c: Likewise.
48469 * math/w_exp2.c: Likewise.
48470 * math/w_exp2f.c: Likewise.
48471 * math/w_exp2l.c: Likewise.
48472 * math/w_hypot.c: Likewise.
48473 * math/w_hypotf.c: Likewise.
48474 * math/w_hypotl.c: Likewise.
48475 * math/w_lgamma.c: Likewise.
48476 * math/w_lgamma_r.c: Likewise.
48477 * math/w_lgammaf.c: Likewise.
48478 * math/w_lgammaf_r.c: Likewise.
48479 * math/w_lgammal.c: Likewise.
48480 * math/w_lgammal_r.c: Likewise.
48481 * math/w_sinh.c: Likewise.
48482 * math/w_sinhf.c: Likewise.
48483 * math/w_sinhl.c: Likewise.
48484 * math/w_tgamma.c: Likewise.
48485 * math/w_tgammaf.c: Likewise.
48486 * math/w_tgammal.c: Likewise.
48487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48489 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48490 Minor optimizations. Pretty printing. Remove cruft.
48491 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48495 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48496 * sysdeps/i386/fpu/e_asin.S: Likewise.
48497 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48498 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48499 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48500 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48504 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48505 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48506 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48507 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48508 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48509 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48510 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48511 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48512 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48513 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48514 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48515 * sysdeps/i386/fpu/e_log.S: Likewise.
48516 * sysdeps/i386/fpu/e_log10.S: Likewise.
48517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48519 * sysdeps/i386/fpu/e_log2.S: Likewise.
48520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48522 * sysdeps/i386/fpu/e_logf.S: Likewise.
48523 * sysdeps/i386/fpu/e_logl.S: Likewise.
48524 * sysdeps/i386/fpu/e_pow.S: Likewise.
48525 * sysdeps/i386/fpu/e_powf.S: Likewise.
48526 * sysdeps/i386/fpu/e_powl.S: Likewise.
48527 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48528 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48529 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48533 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48534 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48535 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48633 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48634 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48635 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48636 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48637 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48638 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48639 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48644 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48646 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48647 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48648 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48649 (__isnanf): Likewise.
48650 (__isinf_ns): Likewise.
48651 (__isinf_nsf): Likewise.
48652 (__finite): Likewise.
48653 (__finitef): Likewise.
48654 (__ieee754_sqrt): Define as macro.
48655 (__ieee754_sqrtf): Define as macro.
48656 (__ieee754_sqrtl): Define as macro.
48657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48658 inlined copy.
48659 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48660 __FINITE_MATH_ONLY__ consistent.
48661 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48662
12cc2fcd
AS
486632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48664
a843a204
AS
48665 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48666 of rawmemchr.
48667
12cc2fcd
AS
48668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48669
c853acd5
UD
486702011-10-09 Ulrich Drepper <drepper@gmail.com>
48671
48672 * po/ja.po: Update from translation team.
48673
c658d255
RM
486742011-10-08 Roland McGrath <roland@hack.frob.com>
48675
110946e4
RM
48676 * locale/programs/locarchive.c (prepare_address_space): New function.
48677 (create_archive, enlarge_archive, open_archive): Use it.
48678
50604220
RM
48679 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48680 inside [SHARED], where it is used.
48681
c658d255
RM
48682 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48683
48684 * nss/getent.c (netgroup_keys): Remove unused variable.
48685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48686
6a621eb7
UD
486872011-10-08 Ulrich Drepper <drepper@gmail.com>
48688
7edb55ce
UD
48689 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48690 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48692 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48695 * math/Makefile (libm-calls): Add s_isinf_ns.
48696 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48697 * math/multc3.c: Likewise.
48698 * math/s_casin.c: Likewise.
48699 * math/s_casinf.c: Likewise.
48700 * math/s_casinl.c: Likewise.
48701 * math/s_ccos.c: Likewise.
48702 * math/s_ccosf.c: Likewise.
48703 * math/s_ccosl.c: Likewise.
48704 * math/s_ctan.c: Likewise.
48705 * math/s_ctanf.c: Likewise.
48706 * math/s_ctanh.c: Likewise.
48707 * math/s_ctanhf.c: Likewise.
48708 * math/s_ctanhl.c: Likewise.
48709 * math/s_ctanl.c: Likewise.
48710 * math/w_fmod.c: Likewise.
48711 * math/w_fmodf.c: Likewise.
48712 * math/w_fmodl.c: Likewise.
48713 * math/w_remainder.c: Likewise.
48714 * math/w_remainderf.c: Likewise.
48715 * math/w_remainderl.c: Likewise.
48716 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48717 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48720 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48721 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48722 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48723 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48724
187da0ae
UD
48725 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48726 of the number.
48727 * stdio-common/printf_fphex.c: Likewise.
48728 * stdio-common/printf_size.c: Likewise.
48729
9277c064
UD
48730 * math/e_exp10.c: Include math_private.h using <...> not "...".
48731 * math/e_exp10f.c: Likewise.
48732 * math/e_exp10l.c: Likewise.
48733 * math/e_exp2l.c: Likewise.
48734 * math/e_j0l.c: Likewise.
48735 * math/e_j1l.c: Likewise.
48736 * math/e_jnl.c: Likewise.
48737 * math/e_lgammal_r.c: Likewise.
48738 * math/e_rem_pio2l.c: Likewise.
48739 * math/e_scalb.c: Likewise.
48740 * math/e_scalbf.c: Likewise.
48741 * math/e_scalbl.c: Likewise.
48742 * math/k_cosl.c: Likewise.
48743 * math/k_sinl.c: Likewise.
48744 * math/k_tanl.c: Likewise.
48745 * math/s_cacoshf.c: Likewise.
48746 * math/s_catan.c: Likewise.
48747 * math/s_catanf.c: Likewise.
48748 * math/s_catanh.c: Likewise.
48749 * math/s_catanhf.c: Likewise.
48750 * math/s_catanhl.c: Likewise.
48751 * math/s_catanl.c: Likewise.
48752 * math/s_ccosh.c: Likewise.
48753 * math/s_ccoshf.c: Likewise.
48754 * math/s_ccoshl.c: Likewise.
48755 * math/s_cexp.c: Likewise.
48756 * math/s_cexpf.c: Likewise.
48757 * math/s_cexpl.c: Likewise.
48758 * math/s_clog.c: Likewise.
48759 * math/s_clog10.c: Likewise.
48760 * math/s_clog10f.c: Likewise.
48761 * math/s_clog10l.c: Likewise.
48762 * math/s_clogf.c: Likewise.
48763 * math/s_clogl.c: Likewise.
48764 * math/s_csin.c: Likewise.
48765 * math/s_csinf.c: Likewise.
48766 * math/s_csinh.c: Likewise.
48767 * math/s_csinhf.c: Likewise.
48768 * math/s_csinhl.c: Likewise.
48769 * math/s_csinl.c: Likewise.
48770 * math/s_csqrt.c: Likewise.
48771 * math/s_csqrtf.c: Likewise.
48772 * math/s_csqrtl.c: Likewise.
48773 * math/s_ctan.c: Likewise.
48774 * math/s_ctanf.c: Likewise.
48775 * math/s_ctanh.c: Likewise.
48776 * math/s_ctanhf.c: Likewise.
48777 * math/s_ctanhl.c: Likewise.
48778 * math/s_ctanl.c: Likewise.
48779 * math/s_ldexp.c: Likewise.
48780 * math/s_ldexpf.c: Likewise.
48781 * math/s_ldexpl.c: Likewise.
48782 * math/s_significand.c: Likewise.
48783 * math/s_significandf.c: Likewise.
48784 * math/s_significandl.c: Likewise.
48785 * math/w_acos.c: Likewise.
48786 * math/w_acosf.c: Likewise.
48787 * math/w_acosh.c: Likewise.
48788 * math/w_acoshf.c: Likewise.
48789 * math/w_acoshl.c: Likewise.
48790 * math/w_acosl.c: Likewise.
48791 * math/w_asin.c: Likewise.
48792 * math/w_asinf.c: Likewise.
48793 * math/w_asinl.c: Likewise.
48794 * math/w_atan2.c: Likewise.
48795 * math/w_atan2f.c: Likewise.
48796 * math/w_atan2l.c: Likewise.
48797 * math/w_atanh.c: Likewise.
48798 * math/w_atanhf.c: Likewise.
48799 * math/w_atanhl.c: Likewise.
48800 * math/w_cosh.c: Likewise.
48801 * math/w_coshf.c: Likewise.
48802 * math/w_coshl.c: Likewise.
48803 * math/w_dremf.c: Likewise.
48804 * math/w_exp10.c: Likewise.
48805 * math/w_exp10f.c: Likewise.
48806 * math/w_exp10l.c: Likewise.
48807 * math/w_exp2.c: Likewise.
48808 * math/w_exp2f.c: Likewise.
48809 * math/w_fmod.c: Likewise.
48810 * math/w_fmodf.c: Likewise.
48811 * math/w_fmodl.c: Likewise.
48812 * math/w_hypot.c: Likewise.
48813 * math/w_hypotf.c: Likewise.
48814 * math/w_hypotl.c: Likewise.
48815 * math/w_j0.c: Likewise.
48816 * math/w_j0f.c: Likewise.
48817 * math/w_j0l.c: Likewise.
48818 * math/w_j1.c: Likewise.
48819 * math/w_j1f.c: Likewise.
48820 * math/w_j1l.c: Likewise.
48821 * math/w_jn.c: Likewise.
48822 * math/w_jnf.c: Likewise.
48823 * math/w_jnl.c: Likewise.
48824 * math/w_lgamma.c: Likewise.
48825 * math/w_lgamma_r.c: Likewise.
48826 * math/w_lgammaf.c: Likewise.
48827 * math/w_lgammaf_r.c: Likewise.
48828 * math/w_lgammal.c: Likewise.
48829 * math/w_lgammal_r.c: Likewise.
48830 * math/w_log.c: Likewise.
48831 * math/w_log10.c: Likewise.
48832 * math/w_log10f.c: Likewise.
48833 * math/w_log10l.c: Likewise.
48834 * math/w_log2.c: Likewise.
48835 * math/w_log2f.c: Likewise.
48836 * math/w_log2l.c: Likewise.
48837 * math/w_logf.c: Likewise.
48838 * math/w_logl.c: Likewise.
48839 * math/w_pow.c: Likewise.
48840 * math/w_powf.c: Likewise.
48841 * math/w_powl.c: Likewise.
48842 * math/w_remainder.c: Likewise.
48843 * math/w_remainderf.c: Likewise.
48844 * math/w_remainderl.c: Likewise.
48845 * math/w_scalb.c: Likewise.
48846 * math/w_scalbf.c: Likewise.
48847 * math/w_scalbl.c: Likewise.
48848 * math/w_sinh.c: Likewise.
48849 * math/w_sinhf.c: Likewise.
48850 * math/w_sinhl.c: Likewise.
48851 * math/w_sqrt.c: Likewise.
48852 * math/w_sqrtf.c: Likewise.
48853 * math/w_sqrtl.c: Likewise.
48854 * math/w_tgamma.c: Likewise.
48855 * math/w_tgammaf.c: Likewise.
48856 * math/w_tgammal.c: Likewise.
48857
6a621eb7
UD
48858 * po/ja.po: Update from translation team.
48859
bf582445
AJ
488602011-09-29 Andreas Jaeger <aj@suse.de>
48861
f9efbf3a
AJ
48862 [BZ #13179]
48863 * sunrpc/netname.c (netname2host): Fix logic.
48864
bf582445
AJ
48865 [BZ #6779]
48866 [BZ #6783]
48867 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48868 correctly.
48869 * math/w_remainder.c (__remainder): Likewise.
48870 * math/w_remainderf.c (__remainderf): Likewise.
48871 * math/libm-test.inc (remainder_test): Add test cases.
48872
48693bea
AK
488732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48874
48875 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48876 sdiv_qrnnd.
48877
42622229
LD
488782011-10-07 Ulrich Drepper <drepper@gmail.com>
48879
48880 * string/test-memcmp.c: Avoid unncessary #defines.
48881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48882
093ecf92
LD
488832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48884
48885 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48886 Use new sse2 version for core i3 - i7 as it's faster
48887 than sse42 version.
48888 (bit_Prefer_PMINUB_for_stringop): New.
48889 * sysdeps/x86_64/rawmemchr.S: Update.
48890 Replace with faster SSE2 version.
48891 * sysdeps/x86_64/memrchr.S: New file.
48892 * sysdeps/x86_64/memchr.S: Update.
48893 Replace with faster SSE2 version.
48894
fde56e5c
MP
488952011-09-12 Marek Polacek <mpolacek@redhat.com>
48896
48897 * elf/dl-load.c (lose): Add cast to avoid warning.
48898
21fd49a9
UD
488992011-10-07 Ulrich Drepper <drepper@gmail.com>
48900
5a06e643
UD
48901 * po/ca.po: Update from translation team.
48902
684ae515
UD
48903 * inet/getnetgrent_r.c: Hook up nscd.
48904 * nscd/Makefile (routines): Add nscd_netgroup.
48905 (nscd-modules): Add netgroupcache.
48906 (CFLAGS-netgroupcache.c): Define.
48907 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48908 (cache_search): Add const to second parameter.
48909 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48910 INNETGR.
48911 (dbs): Add netgrdb entry.
48912 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48913 (verify_persistent_db): Handle netgrdb.
48914 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48915 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48916 GETFDNETGR.
48917 (netgroup_response_header): Define.
48918 (innetgroup_response_header): Define.
48919 (datahead): Add netgroup_response_header and innetgroup_response_header
48920 elements.
48921 * nscd/nscd.conf: Add entries for netgroup cache.
48922 * nscd/nscd.h (dbtype): Add netgrdb.
48923 (_PATH_NSCD_NETGROUP_DB): Define.
48924 (netgroup_iov_disabled): Declare.
48925 (xmalloc, xcalloc, xrealloc): Move declarations here.
48926 (cache_search): Adjust prototype.
48927 Add netgroup-related prototypes.
48928 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48929 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48930 (__nscd_innetgr): Declare.
48931 * nscd/selinux.c (perms): Use access_vector_t as element type and
48932 add netgroup-related initializers.
48933 * nscd/netgroupcache.c: New file.
48934 * nscd/nscd_netgroup.c: New file.
48935 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48936 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48937 For four parameters use innetgr.
48938 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48939 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48940 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48941 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48942
21fd49a9
UD
48943 * nscd/connections.c (register_traced_file): Don't register file
48944 for disabled databases.
48945
054c0457
UD
489462011-10-06 Ulrich Drepper <drepper@gmail.com>
48947
32b63198
UD
48948 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48949
054c0457
UD
48950 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48951 from tree and freeing node.
48952
64031225
JO
489532011-09-25 Jiri Olsa <jolsa@redhat.com>
48954
48955 * nss/nsswitch.c (__nss_database_lookup): Handle
48956 nss_parse_service_list out of memory case.
48957
0490345c
JO
489582011-09-15 Jiri Olsa <jolsa@redhat.com>
48959
48960 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48961 out of memory case.
48962
3a62d00d
AS
489632011-10-04 Andreas Schwab <schwab@redhat.com>
48964
48965 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48966 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48967 pass it down.
48968 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48969 elf_machine_rela, elf_machine_lazy_rel.
48970 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48971 (ELF_DYNAMIC_DO_REL): Likewise.
48972 (ELF_DYNAMIC_DO_RELA): Likewise.
48973 (ELF_DYNAMIC_RELOCATE): Likewise.
48974 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48975 to ELF_DYNAMIC_DO_REL.
48976 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48977 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48978 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48979 elf_machine_rela.
48980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48981 skip_ifunc, don't call ifunc function if non-zero.
48982 (elf_machine_rela): Likewise.
48983 (elf_machine_lazy_rel): Likewise.
48984 (elf_machine_lazy_rela): Likewise.
48985 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48986 (elf_machine_lazy_rel): Likewise.
48987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48988 Likewise.
48989 (elf_machine_lazy_rel): Likewise.
48990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48991 Likewise.
48992 (elf_machine_lazy_rel): Likewise.
48993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48994 (elf_machine_lazy_rel): Likewise.
48995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48996 (elf_machine_lazy_rel): Likewise.
48997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48998 (elf_machine_lazy_rel): Likewise.
48999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49000 (elf_machine_lazy_rel): Likewise.
49001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49002 (elf_machine_lazy_rel): Likewise.
49003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49004 (elf_machine_lazy_rel): Likewise.
49005
68577918
UD
490062011-09-28 Ulrich Drepper <drepper@gmail.com>
49007
49008 * nss/nss_files/files-init.c (_nss_files_init): Use static
49009 initialization for all the *_traced_file variables.
49010
68822d74
AS
490112011-09-28 Andreas Schwab <schwab@redhat.com>
49012
49013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49014
2056100b
RM
490152011-09-27 Roland McGrath <roland@hack.frob.com>
49016
49017 [BZ #13226]
49018 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49019
32c76b63
AS
490202011-09-27 Andreas Schwab <schwab@redhat.com>
49021
49022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49023 Reread the line before reparsing it.
49024
bf972c9d
AS
490252011-09-26 Andreas Schwab <schwab@redhat.com>
49026
49027 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49028
e057a1b5
JM
490292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49030 Maxim Kuvyrkov <maxim@codesourcery.com>
49031 Joseph Myers <joseph@codesourcery.com>
49032
49033 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49034 if needed for __stack_chk_guard.
49035
bc7e1c36
RM
490362011-09-19 Roland McGrath <roland@hack.frob.com>
49037
ecb1482f
RM
49038 * sysdeps/posix/spawni.c (script_execute): Always define it.
49039 It will be optimized away if unused.
49040 (maybe_script_execute): New function.
49041 (__spawni): Call it.
49042
bc7e1c36
RM
49043 * Makerules: Don't include tls.make.
49044 (config-tls): Always set to thread.
49045 * tls.make.c: File removed.
49046
1c3b002b
MF
490472011-09-19 Mike Frysinger <vapier@gentoo.org>
49048
49049 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49050 * config.make.in (CPPFLAGS-config): New substituted variable.
49051
2840865d
UD
490522011-09-15 Ulrich Drepper <drepper@gmail.com>
49053
88738eb6
UD
49054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49055
cbf645a6 49056 [BZ #13192]
2840865d
UD
49057 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49058 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49059
b402e91a
RM
490602011-09-15 Roland McGrath <roland@hack.frob.com>
49061
49062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49063 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49065 (CALL_FAIL): Likewise.
49066 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49067 (CALL_FAIL): Macro removed.
49068 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49069
4c1a1f71
UD
490702011-09-15 Ulrich Drepper <drepper@gmail.com>
49071
49072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49073 for __FINITE_MATH_ONLY__ == 1.
49074
edc121be
AS
490752011-09-15 Andreas Schwab <schwab@redhat.com>
49076
49077 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49078 __ieee754_sqrt instead of sqrt.
49079 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49080 __ieee754_sqrtf instead of sqrtf.
49081 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49082 __floorf instead of floorf.
49083 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49084 __floorf, __truncf instead of floorf, truncf.
49085
cd205654
UD
490862011-09-14 Ulrich Drepper <drepper@gmail.com>
49087
ee4d0315
UD
49088 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49089
cd205654
UD
49090 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49091 __extern_always_inline.
49092 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49093 32-bit.
49094
48b67d71
AS
490952011-09-14 Andreas Schwab <schwab@redhat.com>
49096
49097 * elf/rtld.c (dl_main): Also relocate in dependency order when
49098 doing symbol dependency testing.
49099
1ae12c75
AS
491002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49101
49102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49103 Always define `refsym'.
49104
995a80df
AS
491052011-09-13 Andreas Schwab <schwab@redhat.com>
49106
e529793b
AS
49107 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49108 (__FD_ELT): Renamed from __FDELT.
49109 * misc/bits/select2.h (__FD_ELT): Likewise.
49110 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49111 __FD_MASK instead of __FDELT, __FDMASK.
49112 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49113 Likewise.
49114 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49115 Likewise.
49116
52d4fef8
AS
49117 * elf/Makefile (gen-ldd): Fix pattern.
49118
995a80df
AS
49119 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49120 (init_tls): Likewise.
49121
8682f8b0
UD
491222011-09-12 Ulrich Drepper <drepper@gmail.com>
49123
49124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49125
de82006d
AS
491262011-09-12 Andreas Schwab <schwab@redhat.com>
49127
a7c8e6a1
AS
49128 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49129 `struct cmsghdr *' instead of `void *'.
49130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49131 Likewise.
49132
0f31fe77
AS
491332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49134
49135 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49136 if non-absolute.
49137 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49138 ldd_rewrite_script.
0f31fe77 49139
32b4c839
UD
491402011-09-11 Ulrich Drepper <drepper@gmail.com>
49141
83cd1420
UD
49142 * configure.in: Remove --with-tls option.
49143 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49144 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49145 out in case it is missing.
49146 * sysdeps/ia64/elf/configure.in: Likewise.
49147 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49148 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49149 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49150 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49151 * sysdeps/sh/elf/configure.in: Likewise.
49152 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49154 * sysdeps/x86_64/elf/configure.in: Likewise.
49155 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49156 * sysdeps/mach/hurd/tls.h: Likewise.
49157
633f745d
UD
49158 [BZ #13067]
49159 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49160
f318beb8
UD
49161 [BZ #13090]
49162 * configure.in: Fix use of AC_INIT.
49163
32b4c839
UD
49164 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49165
3ce1f295
UD
491662011-09-10 Ulrich Drepper <drepper@gmail.com>
49167
bb016596
UD
49168 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49169 __set_errno.
8e58439c
UD
49170 * malloc/hooks.c: Likewise.
49171
aebae053 49172 [BZ #11929]
02d46fc4
UD
49173 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49174 variables statically.
49175 (narenas): Initialize.
49176 (list_lock): Initialize.
bb016596
UD
49177 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49178 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49179 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49180 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49181 Add initializers to main_arena and mp_.
49182 (malloc_state): Remove pagesize member. Change all users to use
49183 GLRO(dl_pagesize).
49184
49185 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49186 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49187 is always initialized.
49188
22a89187
UD
49189 * malloc/malloc.c: Removed unused configurations and dead code.
49190 * malloc/arena.c: Likewise.
49191 * malloc/hooks.c: Likewise.
02d46fc4 49192 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49193
d063d164
UD
49194 * include/tls.h: Removed. USE___THREAD must always be defined.
49195 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49196 * elf/dl-libc.c: Likewise.
49197 * elf/dl-tsd.c: Likewise.
49198 * include/errno.h: Likewise.
49199 * include/netdb.h: Likewise.
49200 * include/resolv.h: Likewise.
49201 * inet/herrno-loc.c: Likewise.
49202 * inet/herrno.c: Likewise.
49203 * malloc/arena.c: Likewise.
49204 * malloc/hooks.c: Likewise.
49205 * malloc/malloc.c: Likewise.
49206 * resolv/res-state.c: Likewise.
49207 * resolv/res_libc.c: Likewise.
49208 * sysdeps/i386/dl-machine.h: Likewise.
49209 * sysdeps/ia64/dl-machine.h: Likewise.
49210 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49212 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49213 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49214 * sysdeps/sh/dl-machine.h: Likewise.
49215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49216 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49217 * sysdeps/unix/i386/sysdep.S: Likewise.
49218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49219 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49229 * sysdeps/x86_64/dl-machine.h: Likewise.
49230 * tls.make.c: Likewise.
49231
3ce1f295
UD
49232 * configure.in: Remove --with-__thread option. Make tests for
49233 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49234 tls_model attribute fail if no support is available. Remove
49235 USE_IN_LIBIO.
49236 * Makeconfig: Adjust for dropped configure option. All features are
49237 now mandatory.
49238 * Makerules: Likewise.
49239 * Versions.def: Likewise.
49240 * argp/argp-fmtstream.c: Likewise.
49241 * argp/argp-fmtstream.h: Likewise.
49242 * argp/argp-help.c: Likewise.
49243 * assert/assert.c: Likewise.
49244 * config.h.in: Likewise.
49245 * config.make.in: Likewise.
49246 * configure: Likewise.
49247 * configure.in: Likewise.
49248 * csu/Versions: Likewise.
49249 * csu/init.c: Likewise.
49250 * elf/tst-audit2.c: Likewise.
49251 * elf/tst-tls10.c: Likewise.
49252 * elf/tst-tls10.h: Likewise.
49253 * elf/tst-tls11.c: Likewise.
49254 * elf/tst-tls12.c: Likewise.
49255 * elf/tst-tls14.c: Likewise.
49256 * elf/tst-tlsmod11.c: Likewise.
49257 * elf/tst-tlsmod12.c: Likewise.
49258 * elf/tst-tlsmod13.c: Likewise.
49259 * elf/tst-tlsmod13a.c: Likewise.
49260 * elf/tst-tlsmod14a.c: Likewise.
49261 * elf/tst-tlsmod15b.c: Likewise.
49262 * elf/tst-tlsmod16a.c: Likewise.
49263 * elf/tst-tlsmod16b.c: Likewise.
49264 * elf/tst-tlsmod7.c: Likewise.
49265 * elf/tst-tlsmod8.c: Likewise.
49266 * elf/tst-tlsmod9.c: Likewise.
49267 * gmon/gmon.c: Likewise.
49268 * grp/fgetgrent_r.c: Likewise.
49269 * grp/putgrent.c: Likewise.
49270 * hurd/fopenport.c: Likewise.
49271 * include/libc-symbols.h: Likewise.
49272 * include/tls.h: Likewise.
49273 * intl/gettextP.h: Likewise.
49274 * intl/loadinfo.h: Likewise.
49275 * locale/global-locale.c: Likewise.
49276 * locale/localeinfo.h: Likewise.
49277 * mach/devstream.c: Likewise.
49278 * malloc/arena.c: Likewise.
49279 * malloc/set-freeres.c: Likewise.
49280 * misc/err.c: Likewise.
49281 * misc/getttyent.c: Likewise.
49282 * misc/mntent_r.c: Likewise.
49283 * posix/getopt.c: Likewise.
49284 * posix/wordexp.c: Likewise.
49285 * pwd/fgetpwent_r.c: Likewise.
49286 * resolv/Versions: Likewise.
49287 * resolv/res_hconf.c: Likewise.
49288 * shadow/fgetspent_r.c: Likewise.
49289 * shadow/putspent.c: Likewise.
49290 * stdio-common/printf_fphex.c: Likewise.
49291 * stdio-common/tmpfile.c: Likewise.
49292 * stdlib/abort.c: Likewise.
49293 * stdlib/fmtmsg.c: Likewise.
49294 * sunrpc/auth_unix.c: Likewise.
49295 * sunrpc/clnt_perr.c: Likewise.
49296 * sunrpc/clnt_tcp.c: Likewise.
49297 * sunrpc/clnt_udp.c: Likewise.
49298 * sunrpc/clnt_unix.c: Likewise.
49299 * sunrpc/openchild.c: Likewise.
49300 * sunrpc/svc_simple.c: Likewise.
49301 * sunrpc/svc_tcp.c: Likewise.
49302 * sunrpc/svc_udp.c: Likewise.
49303 * sunrpc/svc_unix.c: Likewise.
49304 * sunrpc/xdr.c: Likewise.
49305 * sunrpc/xdr_array.c: Likewise.
49306 * sunrpc/xdr_rec.c: Likewise.
49307 * sunrpc/xdr_ref.c: Likewise.
49308 * sunrpc/xdr_stdio.c: Likewise.
49309
1248c1c4
PB
493102011-09-09 Ulrich Drepper <drepper@gmail.com>
49311
49312 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49313
493142011-07-03 Andreas Jaeger <aj@suse.de>
49315
49316 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49317 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49318 regenerate with gen-libm-tests.pl.
49319
493202010-05-12 Petr Baudis <pasky@suse.cz>
49321
49322 [BZ #11589]
49323 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49324 around j0() zero points by switching to j1().
49325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49329
f22e1074
UD
493302011-09-09 Ulrich Drepper <drepper@gmail.com>
49331
f19009c1
UD
49332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49333 instead of 0.
49334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49335 instead of 0.
f19009c1
UD
49336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49337 Patch in part by Pavel Roskin <proski@gnu.org>.
49338
3f8cc204
UD
49339 [BZ #13138]
49340 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49341 realloc.
49342 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49343 Free memory block if necessary.
49344
f22e1074
UD
49345 [BZ #12847]
49346 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49347 be NULL. Don't lock in this case.
49348
0a2349f9
RM
493492011-09-09 Roland McGrath <roland@hack.frob.com>
49350
49351 * elf/elf.h (ELFOSABI_GNU): New macro.
49352 (ELFOSABI_LINUX): Define to that.
49353
f3cdd467
DZ
493542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49355
49356 * string/strncat.c (strncat): Undef the symbol in case it has been
49357 defined in bits/string.h.
49358
74718d13
UD
493592011-09-09 Ulrich Drepper <drepper@gmail.com>
49360
633e9e0f
UD
49361 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49362
0a2349f9 49363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49364 link map.
49365
f9924780
AJ
493662011-08-17 Andreas Jaeger <aj@suse.de>
49367
49368 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49369
7f5517aa
PP
493702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49371 Ian Lance Taylor <iant@google.com>
49372
49373 * math/libm-test.inc (lround_test): New testcase.
49374 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49375
762011fe
UD
493762011-09-08 Ulrich Drepper <drepper@gmail.com>
49377
92963737
UD
49378 * Makefile: Remove support for automatic cvs check-ins.
49379 * Makerules: Likewise.
49380 * config.make.in: Likewise.
49381 * configure.in: Likewise.
49382 * intl/Makefile: Likewise.
49383 * locale/Makefile: Likewise.
49384 * po/Makefile: Likewise.
49385 * posix/Makefile: Likewise.
49386 * sysdeps/gnu/Makefile: Likewise.
49387 * sysdeps/mach/hurd/Makefile: Likewise.
49388 * sysdeps/sparc/sparc32/Makefile: Likewise.
49389
b0727fd8
JS
49390 [BZ #13118]
49391 * posix/Makefile (bug-regex32-ENV): Define.
49392 Patch by John Stanley <jpsinthemix@verizon.net>.
49393
a0f33f99
UD
49394 * misc/Makefile (headers): Add bits/select2.h.
49395 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49396 * misc/bits/select2.h: New file.
49397 * include/bits/select2.h: New file.
49398 * debug/Makefile (routines): Add fdelt_chk.
49399 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49400 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49401 FD_ISSET.
49402 * debug/fdelt_chk.c: New file.
49403
762011fe
UD
49404 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49405 * wcsmbs/test-wmemcmp.c: Likewise.
49406 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49407 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49408
494092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49410
49411 * string/Makefile (strop-tests): Add memcmp.
49412 * string/test-wmemcmp.c: New file.
49413 * string/test-memcmp.c: Add wmemcmp support.
49414
7f513ec8
RM
494152011-09-08 Roland McGrath <roland@hack.frob.com>
49416
0442afb4
RM
49417 [BZ #13153]
49418 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49419 2011-07-19 change.
49420
7f513ec8
RM
49421 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49422 garbage value in a __mach_port_mod_refs call in the cases of the
49423 task-self and thread-self ports.
49424
a12b2239
ST
494252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49426
49427 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49428
610f9ab4
AS
494292011-09-08 Andreas Schwab <schwab@redhat.com>
49430
7f513ec8 49431 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49432
48882a1a
LD
494332011-09-07 Ulrich Drepper <drepper@gmail.com>
49434
b49865be
UD
49435 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49436
fdc86bc9
UD
49437 * elf/dl-libc.c (dlerror_run): Pass back error code from
49438 dl_catch_error.
49439
c966526a
UD
49440 [BZ #13123]
49441 * elf/dl-load.c (lose): Free l_origin if it is valid.
49442
48882a1a
LD
49443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49444 names.
49445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49450 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49451
77a2a8b4
AZ
494522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49453
49454 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49455 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49458 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49459 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49460 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49461 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49462 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49463 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49464
24f579d8
AM
494652011-08-15 Alan Modra <amodra@gmail.com>
49466
49467 [BZ #13092]
49468 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49469 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49470 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49471 ppc_mcount to static-only-routines.
49472 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49473 __mcount_internal.
49474 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49475 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49476
3d4837df
UD
494772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49478
49479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49480 for finite and infinity parameters.
49481
22700377
WS
494822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49483
49484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49485 and add nop instructions for throughput optimization.
49486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49487
5025581e
WS
494882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49489
49490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49491 aligned copy for power7 with vector-scalar instructions.
49492 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49493
08a300c9
L
494942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49495
49496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49497 AVX check.
49498
59178ef9
AS
494992011-09-07 Andreas Schwab <schwab@redhat.com>
49500
49501 [BZ #13144]
49502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49503 last change.
49504
e38ba7ab
UD
495052011-09-07 Ulrich Drepper <drepper@gmail.com>
49506
49507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49508 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49509 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49511 clock_gettime.
49512
d53a73ac
UD
495132011-09-06 Ulrich Drepper <drepper@gmail.com>
49514
fc8bffcc
UD
49515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49516 Forgot to demangle the pointer.
49517
ceaa0c5d
UD
49518 * sysdeps/i386/sysdep.h: Define atom_text_section.
49519 * sysdeps/x86_64/sysdep.h: Likewise.
49520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49521 section with atom_text_section.
49522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49527
a77d3c17
UD
49528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49530 already be defined. Change to take two parameters and don't assign
49531 result to variable. Adjust all users.
49532 Define INTERNAL_GETTIME if not already defined.
49533 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49534 call.
49535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49536 HAVE_CLOCK_GETTIME_VSYSCALL.
49537 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49538
d53a73ac
UD
49539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49540 gettimeofday vsyscall, just use time.
49541
a8f84144
AS
495422011-09-06 Andreas Schwab <schwab@redhat.com>
49543
49544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49545 <errno.h>.
49546
ef606249
UD
495472011-09-06 Ulrich Drepper <drepper@gmail.com>
49548
49549 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49550 syscall on x86-64.
49551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49552 syscall.
49553 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49555 syscall if possible.
49556
6585cb60
UD
495572011-09-05 Ulrich Drepper <drepper@gmail.com>
49558
49559 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49560 e_ident. Don't pass to find_mapsXX.
49561 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49562
a5f524e4
LD
495632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49564
49565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49566 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49567 * sysdeps/x86_64/multiarch/strchr.S: Update.
49568 Check bit_slow_BSF bit.
49569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49572
554881ef
UD
495732011-09-05 Ulrich Drepper <drepper@gmail.com>
49574
d96de963
UD
49575 [BZ #13134]
49576 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49577 before glibc 2.15.
49578 (tryshell): Define.
49579 (__spawni): Change last parameter to be flag. Test
49580 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49581 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49582 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49583 * posix/spawni.c: Likewise.
49584 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49585 * posix/spawnp.c: Likewise. Change normal version to use
49586 SPAWN_XFLAGS_USE_PATH.
49587 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49588 SPAWN_XFLAGS_TRY_SHELL.
49589
d48e5868
UD
49590 [BZ #13150]
49591 * posix/glob.h: Remove gcc 1.x support.
49592
554881ef
UD
49593 [BZ #13068]
49594 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49595
693fb948
LD
495962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49597
49598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49599 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49600 strrchr-sse2-bsf
49601 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49602 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49603 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49607
1b48c537
UD
496082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49609
49d42c37
UD
49610 * sysdeps/x86_64/wcscmp.S: New file.
49611
1b48c537
UD
49612 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49613 wcscmp-c wcscmp-sse2
49614 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49615 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49617 * wcsmbs/wcscmp.c: Allow renaming.
49618
15c95c5d
DM
496192011-09-05 David S. Miller <davem@davemloft.net>
49620
49621 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49622 stack slot, rather than the struct return pointer slot.
49623 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49627
2f0ad8f3
UD
496282011-09-05 Ulrich Drepper <drepper@gmail.com>
49629
d88ae418
UD
49630 * po/ja.po: Update from translation team.
49631
2f0ad8f3
UD
49632 [BZ #13144]
49633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49634 kernel in 64-bit binaries.
49635
5f4318d1
DM
496362011-09-01 David S. Miller <davem@davemloft.net>
49637
49638 * elf/elf.h (HWCAP_SPARC_*): Move to..
49639 * sysdeps/sparc/sysdep.h: this new file and add new values.
49640 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49641 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49642 _DL_HWCAP_COUNT to 24.
49643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49644 entries.
49645 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49646 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49647 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49649 instead of magic constants.
49650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49651
3ba57516
DM
496522011-08-31 David S. Miller <davem@davemloft.net>
49653
49654 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49656 Reimplement to do errno handling inline.
49657 (SYSCALL_ERROR_HANDLER): New macro.
49658 (__SYSCALL_STRING): Do not do errno handling in asm.
49659 (__CLONE_SYSCALL_STRING): Delete.
49660 (__INTERNAL_SYSCALL_STRING): Delete.
49661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49662 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49663 (PSEUDO): Reimplement to do errno handling inline.
49664 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49665 (SYSCALL_ERROR_HANDLER): New macro.
49666 (__SYSCALL_STRING): Do not do errno handling in asm.
49667 (__CLONE_SYSCALL_STRING): Delete.
49668 (__INTERNAL_SYSCALL_STRING): Delete.
49669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49670 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49671 i386.
49672 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49673 (inline_syscall*): Add 'err' argument.
49674 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49675 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49676 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49677 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49678
49679 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49680 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49681
2bc17433
AS
496822011-08-30 Andreas Schwab <schwab@redhat.com>
49683
49684 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49685
fbeb5f4d
JO
496862011-08-29 Jiri Olsa <jolsa@redhat.com>
49687
49688 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49689 directive.
49690
ad69cc26
DM
496912011-08-24 David S. Miller <davem@davemloft.net>
49692
49693 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49694
39dd69df
AS
496952011-08-24 Andreas Schwab <schwab@redhat.com>
49696
49697 * elf/Makefile: Add rules to build and run unload8 test.
49698 * elf/unload8.c: New file.
49699 * elf/unload8mod1.c: New file.
49700 * elf/unload8mod1x.c: New file.
49701 * elf/unload8mod2.c: New file.
49702 * elf/unload8mod3.c: New file.
49703
49704 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49705 it wasn't used.
49706
2c0b250a
DM
497072011-08-23 David S. Miller <davem@davemloft.net>
49708
49709 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49710 subtract stack bias.
49711 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49712 %sp not %fp in calculations.
49713 (_JMPBUF_UNWINDS_ADJ): Likewise.
49714
22044b48
DM
49715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49716 (aio_suspend): Call it to force an exception region around the
49717 AIO_MISC_WAIT() invocation.
49718
2cae4995
AS
497192011-08-23 Andreas Schwab <schwab@redhat.com>
49720
49721 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49722 backslash.
49723
873a772e
AJ
497242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49725
49726 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49727 protection macro.
49728 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49729 and <dl-machine.h>.
49730 (Elf64_FuncDesc): Remove.
49731
25ad0df1
DM
497322011-08-22 David S. Miller <davem@davemloft.net>
49733
49734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49735 sigaltstack check, add missing cfi directives.
49736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49737 missing cfi directives, and sigaltstack handling.
49738
e888bcbe
AS
497392011-08-16 Andreas Schwab <schwab@redhat.com>
49740
49741 [BZ #11724]
49742 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49743 object is seen twice.
49744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49745
49746 * elf/Makefile (distribute): Add tst-initorder2.c.
49747 (tests): Add tst-initorder2.
49748 (modules-names): Add tst-initorder2a tst-initorder2b
49749 tst-initorder2c tst-initorder2d. Add rules to build them.
49750 ($(objpfx)tst-initorder2.out): New rule.
49751 * elf/tst-initorder2.c: New file.
49752 * elf/tst-initorder2.exp: New file.
49753
87162f46
AS
497542011-08-22 Andreas Schwab <schwab@redhat.com>
49755
70538b7f
AS
49756 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49757
f55ffe58
AS
49758 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49759 dependencies back to end of function.
49760
87162f46
AS
49761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49762 $(elfobjdir)/ld.so.
49763
91b392a4
UD
497642011-08-21 Ulrich Drepper <drepper@gmail.com>
49765
49766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49767 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49769 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49770 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49771 of __vdso_gettimeofday.
49772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49773 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49774 attribute_hidden.
49775 (_libc_vdso_platform_setup): Remove initialization of
49776 __vdso_gettimeofday and __vdso_time.
49777
5c43483f
UD
497782011-08-20 Ulrich Drepper <drepper@gmail.com>
49779
775a77e7
UD
49780 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49781 and fgetc_unlocked.
49782 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49783 getc_unlocked.
89f447ed 49784
49c74ba9
UD
49785 * elf/dl-open.c (add_to_global): Report additions to the global scope
49786 for LD_DEBUG=scopes.
49787 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 49788 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 49789
5c43483f
UD
49790 [BZ #13114]
49791 * stdio-common/Makefile (tests): Add bug24.
49792 * stdio-common/bug24.c: New file.
49793
a101b025
AJ
497942011-08-19 Andreas Jaeger <aj@suse.de>
49795
49796 [BZ #13114]
49797 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49798 non-existant file when using close-on-exec mode.
49799
c88f1766
UD
498002011-08-20 Ulrich Drepper <drepper@gmail.com>
49801
0276a718
UD
49802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49803 the very first instruction.
49804
c88f1766
UD
49805 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49806 the CFI state in the end.
49807 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49808 inclusion of dl-trampoline.h.
49809 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49810
51ccffa0
AS
498112011-08-19 Andreas Schwab <schwab@redhat.com>
49812
94d7165f
AS
49813 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49814 expectations for long double.
49815
51ccffa0
AS
49816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49817 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49818
fd708658 498192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
49820
49821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49822 artificual limit depends upon the system page size.
49823
44f0a71e
UD
498242011-08-17 Ulrich Drepper <drepper@gmail.com>
49825
49826 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49827 * resolv/Makefile: Define CFLAGS-libresolv.
49828
8de79a24
AS
498292011-08-17 Andreas Schwab <schwab@redhat.com>
49830
49831 * nss/makedb.c (compute_tables): Make variables used in nested
49832 function static.
49833
27724598
UD
498342011-08-17 Ulrich Drepper <drepper@gmail.com>
49835
c5305d88
UD
49836 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49837 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49838 if buffer was too small.
49839
27724598
UD
49840 * elf/pldd.c (main): Attach to all threads in the process.
49841 Rewrite /proc handling to use *at functions.
49842
076fe015
UD
498432011-08-16 Ulrich Drepper <drepper@gmail.com>
49844
174baab3
UD
49845 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49846 specifies first scope to show.
49847 (dl_open_worker): Update callers. Move printing scope of new
49848 object to before the relocation.
44f0a71e 49849 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
49850 * sysdeps/generic/ldsodefs.h: Update declaration.
49851
076fe015
UD
49852 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49853 string for the scope number.
49854
a60df2c3
UD
498552011-08-14 Ulrich Drepper <drepper@gmail.com>
49856
49857 * nscd/servicescache.c (cache_addserv): Make sure written is always
49858 initialized.
49859
5e4287d1
RM
498602011-08-14 Roland McGrath <roland@hack.frob.com>
49861
85ae0589
RM
49862 * sysdeps/i386/i486/bits/atomic.h
49863 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49864 statement expression, so as to suppress "set but not used" warning.
49865 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49866
69f63097
RM
49867 * string/strncat.c (STRNCAT): Use prototype definition.
49868
675456ef
RM
49869 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49870 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49871 -Iprograms here.
49872 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49873 (localedef-modules): Add localedef.
49874 (locale-modules): Add locale.
49875
5e4287d1
RM
49876 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49877 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49878 to avoid a warning.
49879
9c96ff23
DM
498802011-08-14 David S. Miller <davem@davemloft.net>
49881
49882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49883 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49884
f9ddf089
UD
498852011-08-13 Ulrich Drepper <drepper@gmail.com>
49886
44f0a71e 49887 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
49888 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49889 * elf/rtld.c (dl_main): Set l_name of vDSO.
49890 Call _dl_show_scope when DL_DEBUG_SCOPES.
49891 (process_dl_debug): Recognize scopes flag and also set it for all.
49892 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49893 Declare _dl_show_scope.
49894
1dc27704
UD
49895 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49896 (do_dlopen): Pass caller_dlopen to dl_open.
49897 (__libc_dlopen_mode): Initialize caller_dlopen.
49898
f9ddf089
UD
49899 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49900 of libc. Make tolower call locale-independent. Optimize a bit by
49901 using isdigit instead of isalnum.
49902 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49903
9ac533d3
UD
499042011-08-12 Ulrich Drepper <drepper@gmail.com>
49905
49906 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49907 was a dependency or dynamically loaded.
49908
89edf2e9
UD
499092011-08-11 Ulrich Drepper <drepper@gmail.com>
49910
8e999d29
UD
49911 * intl/l10nflist.c: Allow architecture-specific pop function.
49912 * sysdeps/x86_64/l10nflist.c: New file.
49913
89edf2e9
UD
49914 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49915 classification.
49916
14d96785
AS
499172011-08-10 Andreas Schwab <schwab@redhat.com>
49918
49919 * include/dirent.h: Add libc_hidden_proto for scandirat and
49920 scandirat64. Don't declare __scandirat64.
49921 * dirent/scandirat.c: Add libc_hidden_def.
49922 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49923 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49924
6761ac04
DM
499252011-08-10 David S. Miller <davem@davemloft.net>
49926
49927 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49928 enum.
49929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49932
c55fbd1e
UD
499332011-08-09 Ulrich Drepper <drepper@gmail.com>
49934
49935 * Versions.def [libc]: Add GLIBC_2.15.
49936 * dirent/Makefile (routines): Add scandirat and scandirat64.
49937 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49938 GLIBC_2.15.
49939 * dirent/dirent.h: Declare scandirat and scandirat64.
49940 * dirent/scandirat.c: New file.
49941 * dirent/scandirat64.c: New file.
49942 * sysdeps/wordsize-64/scandirat.c: New file.
49943 * sysdeps/wordsize-64/scandirat64.c: New file.
49944 * dirent/opendir.c: Define opendirat.
49945 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49946 using scandirat.
49947 * dirent/scandir64.c: Adjust for scandir.c change.
49948 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49949 __scandirat64, and __scandir_cancel_handler.
49950 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49951 additional parameter and use openat instead of open (outside of ld.so).
49952 Add new __opendir as wrapper around __opendirat.
49953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49954 here without requiring old scandirat implementation.
49955
879165f2
UD
499562011-08-08 Ulrich Drepper <drepper@gmail.com>
49957
49958 * dirent/scandir.c (cancel_handler): Renamed to
49959 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49960 defined. Adjust users.
49961 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49963
cb7e923b
UD
499642011-08-04 Ulrich Drepper <drepper@gmail.com>
49965
16292edd
UD
49966 * string/test-string.h (IMPL): Use __STRING to expand name and then
49967 stringify it.
49968
cb7e923b
UD
49969 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49970 of cleanups.
49971
cff82933
LD
499722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49973
49974 * string/Makefile: Update.
49975 (strop-tests): Append strncat.
49976 * string/test-wcscmp.c: New file.
49977 New comprehensive test for wcscmp.
49978 * string/test-strcmp.c: Update.
49979 (WIDE): New define.
49980
9be9bfcc
AS
499812011-07-22 Andreas Schwab <schwab@redhat.com>
49982
49983 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49984 line.
49985
2e96f1c7
AS
499862011-07-26 Andreas Schwab <schwab@redhat.com>
49987
49988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49989 encoding to ACE if AI_IDN.
49990
85188888
JJ
499912011-08-01 Jakub Jelinek <jakub@redhat.com>
49992
49993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49994 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49995
5fa16e9b
LD
499962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49997
49998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49999 Fix overflow bug in strncat.
50000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50001
50002 * string/test-strncat.c: Update.
50003 Add new tests for checking overflow bugs.
50004
500052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50006
50007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50008 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50009 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50010 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50012 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50013 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50014 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50015 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50016
50017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50018 (USE_AS_STRCAT): Define.
50019 Add strcat and strncat support.
50020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50021
8c1a459f
AS
500222011-07-25 Andreas Schwab <schwab@redhat.com>
50023
50024 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50025 __n bigger than INT_MAX+1.
50026 (__strncmp_g): Likewise.
50027
bba33c28
UD
500282011-07-23 Ulrich Drepper <drepper@gmail.com>
50029
798be72d
UD
50030 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50031 * libio/stido.h: Likewise.
50032
8accd4dc
UD
50033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50034 (AF_NFC): Define.
50035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50036 (AF_NFC): Define.
50037
cbff0d96
UD
50038 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50041 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50043
9191c04a
UD
50044 [BZ #13021]
50045 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50046 installed.
50047
bba33c28
UD
50048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50049 typo.
50050 (_dl_x86_64_save_sse): Likewise.
50051
90f139dd
UD
500522011-07-22 Ulrich Drepper <drepper@gmail.com>
50053
1aae088a
UD
50054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50055 OSXSAVE.
50056 (_dl_x86_64_save_sse): Likewise.
50057
8e2045f5
UD
50058 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50059
90f139dd
UD
50060 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50061
1d002f25
AS
500622011-07-21 Andreas Schwab <schwab@redhat.com>
50063
50064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50065 change.
50066 (_dl_x86_64_save_sse): Use correct AVX check.
50067
21137f89
UD
500682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50069
50070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50071 bug in strncpy/strncat.
50072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50073
a65c0b7a
UD
500742011-07-21 Ulrich Drepper <drepper@gmail.com>
50075
50076 * string/tester.c (test_strcat): Add tests for different alignments
50077 of source and destination.
50078 (test_strncat): Likewise.
50079
6986b98a
UD
500802011-07-20 Ulrich Drepper <drepper@gmail.com>
50081
90bb2039
UD
50082 [BZ #12852]
50083 * posix/glob.c (glob): Check passed in values before using them in
50084 expressions to avoid some overflows.
50085 (glob_in_dir): Likewise.
50086
5644ef54
UD
50087 [BZ #13007]
50088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50089 check for AVX enablement so that we don't crash with old kernels and
50090 new hardware.
50091 * elf/tst-audit4.c: Add same checks here.
50092 * elf/tst-audit6.c: Likewise.
50093
50094 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50095
bfc9dc9b
AS
500962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50097
50098 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50099
702e64bb
UD
501002011-07-20 Ulrich Drepper <drepper@gmail.com>
50101
50102 * po/cs.po: Update from translation team.
50103 * po/bg.po: Likewise.
50104
295e904f
MP
501052011-07-12 Marek Polacek <mpolacek@redhat.com>
50106
50107 * misc/sys/cdefs.h: Add support for const attribute.
50108 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50109 to gnu_dev_{major,minor,makedev} functions.
50110
3ff94596
MP
501112011-07-20 Marek Polacek <mpolacek@redhat.com>
50112
50113 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50114
28b59fca
AS
501152011-07-20 Andreas Schwab <schwab@redhat.com>
50116
50117 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50118 strlen results.
50119
19df733e
AK
501202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50121
50122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50123 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50124 register in order to avoid conflicts with the soft frame pointer
50125 being held in r11 when necessary.
50126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50127 (INTERNAL_VSYSCALL_NCS): Likewise.
50128
c8835729
MP
501292011-07-14 Marek Polacek <mpolacek@redhat.com>
50130
50131 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50132 * elf/dl-fini.c (_dl_fini): Adjust caller.
50133 * elf/dl-close.c (_dl_close_worker): Likewise.
50134 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50135
b902330c
MP
501362011-07-15 Marek Polacek <mpolacek@redhat.com>
50137
8991e135
MP
50138 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50139 "aux_cache->nlibs < 0".
50140
b902330c
MP
50141 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50142 in the reload-count case.
50143
99710781
LD
501442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50145
50146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50147 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50148 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50149 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50150 * sysdeps/x86_64/multiarch/strcat.S: New file.
50151 * sysdeps/x86_64/multiarch/strncat.S: New file.
50152 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50153 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50154 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50155 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50157 (USE_AS_STRCAT): Define.
50158 Add strcat and strncat support.
50159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50162 * string/strncat.c: Update.
50163 (USE_AS_STRNCAT): Define.
50164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50165 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50166 and i7.
50167 * sysdeps/x86_64/multiarch/init-arch.h
50168 (bit_Prefer_PMINUB_for_stringop): New.
50169 (index_Prefer_PMINUB_for_stringop): Likewise.
50170 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50171 bit_Prefer_PMINUB_for_stringop.
50172
7dc6bd90
UD
501732011-07-19 Ulrich Drepper <drepper@gmail.com>
50174
50175 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50176 buffer64.
50177 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50178 of casting of buffer.
50179 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50180 buffer32 and buffer64.
50181 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50182 writes instead of casting of buffer.
50183 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50184 buffer32.
50185 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50186 casting of buffer.
50187
e0e72284
AS
501882011-07-19 Andreas Schwab <schwab@redhat.com>
50189
50190 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50191
feb1eb0b
UD
501922011-07-19 Ulrich Drepper <drepper@gmail.com>
50193
50194 * nscd/nscd.c (termination_handler): Don't do anything for a database
50195 if it has not yet been initialized.
50196
298711ff
UD
501972011-07-18 Ulrich Drepper <drepper@gmail.com>
50198
50199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50200
502012011-07-15 Marek Polacek <mpolacek@redhat.com>
50202
50203 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50204
f9d68389
UD
502052011-07-18 Ulrich Drepper <drepper@gmail.com>
50206
50207 * po/nl.po: Update from translation team.
50208 * po/sv.po: Likewise.
50209
db290cf5
RM
502102011-07-16 Roland McGrath <roland@hack.frob.com>
50211
50212 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50213 now disallowed by GCC.
5c550700 50214
fd5e21c7
RM
50215 * configure.in (use-default-link): Default to yes if a test -shared
50216 link meets our qualifications.
50217 * configure: Regenerated.
50218
5c550700
RM
50219 * config.make.in (output-format): New variable.
50220 * configure.in: Check for ld --print-output-format support.
50221 * configure: Regenerated.
50222 * Makerules ($(common-objpfx)format.lds)
50223 [$(output-format) != unknown]: Just use $(output-format),
50224 instead of the linker-script munging.
50225
9fa2c032
RM
502262011-07-14 Roland McGrath <roland@hack.frob.com>
50227
a6928d51
RM
50228 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50229 of $(common-objpfx)shlib.lds.
50230 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50231
661607b3
RM
50232 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50233 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50234
9fa2c032
RM
50235 * configure.in (-z relro check): Adjust test code to add a large
50236 writable data section after it.
50237 * configure: Regenerated.
50238
defe9061
RM
502392011-07-11 Roland McGrath <roland@hack.frob.com>
50240
50241 * configure.in (-z relro check): Fix test code to make the variable
50242 truly const.
50243 * configure: Regenerated.
50244
319b9ad4
UD
502452011-07-11 Ulrich Drepper <drepper@gmail.com>
50246
50247 * nscd/nscd.h (struct traced_file): Define.
50248 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50249 elements. Add traced_files.
50250 (inotify_fd): Declare.
50251 (register_traced_file): Declare.
50252 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50253 (inotify_fd): Export.
50254 (resolv_conf_descr): Remove.
50255 (nscd_init): Move inotify descriptor creation to main.
50256 Don't register files for notification here.
50257 (register_traced_file): New function.
50258 (invalidate_cache): Don't use reset_res to determine whether to call
50259 res_init, go through the list of registered files.
50260 (main_loop_poll): The inotify descriptors are now stored in the
50261 structures for the traced files.
50262 (main_loop_epoll): Likewise
50263 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50264 to __nss_disable_nscd.
50265 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50266 for a database anymore. Check the records for all the registered
50267 files instead.
50268 * nss/Makefile (libnss_files-routines): Add files-init.
50269 (libnss_db-routines): Add db-init.
50270 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50271 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50272 * nss/nss_db/db-init.c: New file.
50273 * nss/nss_files/files-init.c: New file.
50274 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50275 __nss_lookup_function.
50276 (__nss_lookup_function): Call nss_load_library.
50277 (nss_load_all_libraries): New function.
50278 (__nss_disable_nscd): Take parameter with callback function for files
50279 to register. Set is_nscd. Load all the DSOs for the NSS modules
50280 used for the cached services.
50281 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50282 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50283 options for features to all the files in nscd.
50284
50285 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50286
23bee3e8
RM
502872011-07-10 Roland McGrath <roland@hack.frob.com>
50288
50289 * csu/elf-init.c (__libc_csu_init): Comment typo.
50290
46a5b7f0
UD
502912011-07-09 Ulrich Drepper <drepper@gmail.com>
50292
50293 * po/pl.po: Update from translation team.
50294 * po/ja.po: Likewise.
50295 * po/ru.po: Likewise.
50296 * po/ko.po: Likewise.
50297 * po/fr.po: Likewise.
50298
d30cf5bb
RM
502992011-07-09 Roland McGrath <roland@hack.frob.com>
50300
113ddea4
RM
50301 * configure.in (.ctors/.dtors header and trailer check):
50302 Use an empirical test on a built program.
50303 * configure: Regenerated.
50304
574920b4
RM
50305 * configure.in (-z relro check): Use an empirical test on a built DSO.
50306 Detect, but do not require, on ia64.
50307 * configure: Regenerated.
50308
d30cf5bb
RM
50309 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50310 Update tests that use readelf to use $READELF instead.
50311 * configure: Regenerated.
50312
8538fdb3
UD
503132011-07-08 Ulrich Drepper <drepper@gmail.com>
50314
50315 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50316 if the result is not used.
50317
04d08991
AJ
503182011-07-05 Andreas Jaeger <aj@suse.de>
50319
50320 [BZ#9696]
50321 * stdlib/tst-strtod.c: Add testcase.
50322
de283087
AD
503232011-07-07 Ulrich Drepper <drepper@gmail.com>
50324
4e5f31c8 50325 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50326 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50327 The latter has a higher limit. Take additional parameter to pass to
50328 the new function.
50329 (__pathconf): Pass file to __statfs_link_max.
50330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50331 __statfs_link_max.
50332 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50333 __statfs_link_max.
50334
de283087
AD
50335 [BZ #12868]
50336 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50338 Handle Lustre.
50339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50340 (__statfs_filesize_max): Likewise.
50341 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50342
c75fa153
AJ
503432011-07-05 Andreas Jaeger <aj@suse.de>
50344
50345 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50346
1a544854
UD
503472011-07-06 Marek Polacek <mpolacek@redhat.com>
50348
50349 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50350 `status' variable.
50351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50352 Likewise.
50353
6f0eec67
UD
503542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50355
50356 * Makefile (strop-tests): Add strncat.
50357 * string/test-strncat.c: New file.
50358
aae30307
UD
503592011-06-30 Marek Polacek <mpolacek@redhat.com>
50360
50361 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50362
c0cfb5eb
UD
503632011-06-21 Andreas Jaeger <aj@suse.de>
50364
50365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50366 Copy rule from iconvdata/Makefile.
50367
01636b21
UD
503682011-07-06 Ulrich Drepper <drepper@gmail.com>
50369
50370 [BZ #12922]
50371 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50372 but no long options are defined, just return 'W'.
50373
9895c8bc
UD
503742011-06-22 Marek Polacek <mpolacek@redhat.com>
50375
50376 [BZ #9696]
50377 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50378
5d4cf042
UD
503792011-07-06 Ulrich Drepper <drepper@gmail.com>
50380
50381 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50382 netgroups to read.
960e5535 50383 (innetgr): Likewise.
5d4cf042 50384
751eb97e
RM
503852011-07-05 Roland McGrath <roland@hack.frob.com>
50386
50387 * config.make.in (install_root): Default to $(DESTDIR).
50388
f15f1e45
UD
503892011-07-05 Ulrich Drepper <drepper@gmail.com>
50390
50391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50392
4e34ac6a
RM
503932011-07-02 Roland McGrath <roland@hack.frob.com>
50394
5e9b6af4
RM
50395 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50396
84f9ea0f
RM
50397 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50398 containing directory rather than embedding absolute directory names.
50399
ea5ee9f7
RM
50400 * scripts/check-local-headers.sh: Rewritten using awk.
50401 Match by word, not by line. Print error messages for matches.
50402 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50403
1b74661a
RM
50404 * Makerules [shlib-lds-flags empty]:
50405 ($(common-objpfx)libc_pic.opts): New target.
50406 ($(common-objpfx)libc_pic.os.clean): New target.
50407 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50408
50409 * config.make.in (OBJCOPY): New variable.
50410 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50411 * configure: Regenerated.
50412
f781ef40
RM
50413 * config.make.in (use-default-link): New variable.
50414 * configure.in (use_default_link): Grok --with-default-link to set it.
50415 * configure: Regenerated.
50416 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50417 (shlib-lds, shlib-lds-flags): Define to empty.
50418
2d4fa81e
RM
50419 * Makerules (shlib-lds): New variable.
50420 (shlib-lds-flags): New variable.
50421 (build-shlib, build-moduile, build-module-asneeded): Use it.
50422 ($(common-objpfx)libc.so): Use $(shlib-lds).
50423 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50425
31fffa6b
RM
50426 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50427 DT_FLAGS/DT_FLAGS_1 with zero flags.
50428
4e34ac6a
RM
50429 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50430 linker script munging.
50431
fcfc776b
UD
504322011-07-02 Ulrich Drepper <drepper@gmail.com>
50433
50434 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50435 as 128-bit value.
50436 * crypt/sha512.c (sha512_process_block): Perform total addition using
50437 128-bit if possible.
50438 (__sha512_finish_ctx): Likewise.
50439 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50440 as 64-bit value.
50441 * crypt/sha256.c (SWAP64): Define.
50442 (sha256_process_block): Perform total addition using 64-bit if
50443 possible.
50444 (__sha256_finish_ctx): Likewise.
50445
99231d9a
UD
504462011-07-01 Ulrich Drepper <drepper@gmail.com>
50447
50448 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50450 * nscd/hstcache.c (cache_addhst): Likewise.
50451 * nscd/grpcache.c (cache_addgr): Likewise.
50452 * nscd/aicache.c (addhstaiX): Likewise
50453 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50454
445b4a53
TK
504552011-07-01 Thorsten Kukuk <kukuk@suse.de>
50456
50457 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50459 * nscd/hstcache.c (cache_addhst): Likewise.
50460 * nscd/grpcache.c (cache_addgr): Likewise.
50461 * nscd/aicache.c (addhstaiX): Likewise
50462
6d4d8e8e
AS
504632011-07-01 Andreas Schwab <schwab@redhat.com>
50464
50465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50466 domain only when needed.
50467
89f654c5
AS
504682011-06-30 Andreas Schwab <schwab@redhat.com>
50469
50470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50471 is always restored.
50472
cf3b23ff
UD
504732011-06-29 Ulrich Drepper <drepper@gmail.com>
50474
50475 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50476 are re-adding the entry.
50477 * nscd/servicescache.c (cache_addserv): Likewise.
50478
751626f9
AJ
504792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50480
50481 * sysdeps/generic/dl-irel.h: fix protection against multiple
50482 inclusions.
50483 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50484
9113ea1f
UD
504852011-06-28 Ulrich Drepper <drepper@gmail.com>
50486
5c0b8d90
UD
50487 [BZ #12935]
50488 * malloc/memusage.sh: Fix quoting in message.
50489 * debug/xtrace.sh: Likewise.
50490
9113ea1f
UD
50491 * configure.in: Remove support for --experimental-malloc option, make
50492 it the default.
50493 * config.make.in: Likewise.
50494 * malloc/Makefile: Likewise.
50495
a4172181
AS
504962011-06-27 Andreas Schwab <schwab@redhat.com>
50497
50498 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50499 two-byte characters.
50500
78a7eee7
RM
505012011-06-27 Roland McGrath <roland@hack.frob.com>
50502
62bede13
RM
50503 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50504 AC_CACHE_CHECK invocation.
50505 * configure: Regenerated.
50506
78a7eee7
RM
50507 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50508
5ce33a62
UD
505092011-06-27 Ulrich Drepper <drepper@gmail.com>
50510
034807a9
UD
50511 [BZ #12350]
50512 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50513 bit from old_res_options.
50514
4902da17
UD
50515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50516
5ce33a62
UD
50517 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50518 value type for setfct.
50519
c2344f56
L
505202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50521
50522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50523 __gettimeofday instead of gettimeofday.
50524
68468076
UD
505252011-06-26 Ulrich Drepper <drepper@gmail.com>
50526
50527 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50528
acb0d739
L
505292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50530
50531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50532
50533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50534 info.
50535
8912479f
L
505362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50537
50538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50539 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50540 strcpy-sse2-unaligned strncpy-sse2-unaligned
50541 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50542 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50543 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50544 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50545 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50548 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50549 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50550 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50551 (STRCPY): Support SSE2 and SSSE3 versions.
50552
d5495a11
UD
505532011-06-24 Ulrich Drepper <drepper@gmail.com>
50554
50555 [BZ #12874]
50556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50557 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50558 kernels which artificially limit size of requests.
50559
0b1cbaae
L
505602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50561
50562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50563 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50564 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50565 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50566 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50567 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50568 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50569 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50572 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50573 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50574 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50575 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50576 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50578 Enable unaligned load optimization for Intel Core i3, i5 and i7
50579 processors.
50580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50581 Define.
50582 (index_Fast_Unaligned_Load): Define.
50583 (HAS_FAST_UNALIGNED_LOAD): Define.
50584
07f494a0
MP
505852011-06-23 Marek Polacek <mpolacek@redhat.com>
50586
50587 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50588
fa3fc0fe
UD
505892011-06-22 Ulrich Drepper <drepper@gmail.com>
50590
50591 [BZ #12907]
50592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50593 until it is clear that the information is realy needed.
50594 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50595
e12df166
AS
505962011-06-22 Andreas Schwab <schwab@redhat.com>
50597
50598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50599
852eb34d
UD
506002011-06-22 Ulrich Drepper <drepper@gmail.com>
50601
84e2a551
UD
50602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50603 /sys/devices/system/cpu/online if it is usable.
50604
852eb34d
UD
50605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50606 reading the information from the /proc filesystem to once a second.
50607
6e502e19
UD
506082011-06-21 Andreas Jaeger <aj@suse.de>
50609
50610 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50611 NULL after inclusion of kernel headers.
50612
75d39ff2
UD
506132011-06-21 Ulrich Drepper <drepper@gmail.com>
50614
51f9aa6a
UD
50615 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50616 calls to internal_setent.
50617
c0244a9d
UD
50618 [BZ #12885]
50619 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50620 addresses using gethostbyname4_r ignore IPv4 addresses.
50621
c5e3c2ae
UD
50622 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50623 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50624
75d39ff2
UD
50625 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50626
42675c6f
DM
506272011-06-20 David S. Miller <davem@davemloft.net>
50628
50629 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50630 inclusions.
50631 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50632
50633 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50634 (elf_irel): Use it.
50635 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50636 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50637 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50638 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50639 * sysdeps/x86_64/dl-irel.h: Likewise.
50640
50641 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50642 * elf/dl-sym.c: Likewise.
50643
57912a71
UD
506442011-06-15 Ulrich Drepper <drepper@gmail.com>
50645
50646 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50647 need to dereference resplen2.
50648
ee22793d
AS
506492011-06-14 Andreas Schwab <schwab@redhat.com>
50650
50651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50652
a9e836b0
UD
506532011-06-15 Ulrich Drepper <drepper@gmail.com>
50654
77fb9117
UD
50655 * Makeconfig: Define vardbdir and inst_vardbdir.
50656 * nss/Makefile: Add rules to install db-Makefile.
50657
40c1b22c
UD
50658 * nss/nss_db/db-XXX.c: Cleanup.
50659
9f2da732
UD
50660 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50661 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50662 GLIBC_PRIVATE.
50663 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50664 * nss/makedb.c: Implement -g option to specify that value strings
50665 are generated and should not be added to table iterated over for
50666 get*ent calls.
50667 * nss/nss_db/db-initgroups.c: New file.
50668
82e9a1f7
UD
50669 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50670 interface.
50671
c41af17e
UD
50672 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50673 (internal_getgrouplist): Adjust to name change.
50674 Update use_initgroups_entry if this is not the first call.
50675 * nss/databases.def: Add initgroups entry.
50676
a9e836b0
UD
50677 * nss/makedb.c (compute_tables): Check result of multiple hash table
50678 sizes to minimize maximum chain length.
50679
2666d441
UD
506802011-06-14 Ulrich Drepper <drepper@gmail.com>
50681
50682 * Versions.def: Add entry for libnss_db.
50683 * shlib-versions: Likewise.
50684 * nss/Makefile: Add rules to build libnss_db.
50685 * nss/Versions: Add libnss_db information. Organize libnss_files
50686 entries better.
50687 * nss/db-Makefile: Add gshadow support. Change rules for the new
50688 makedb progra. Some minor improvements to generate smaller files.
50689 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50690 here from...
50691 * nss/makedb.c: ...here.
50692 Improve database format to be smaller and require less memory at
50693 runtime.
50694 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50695 db anymore.
50696 * nss/nss_db/db-netgrp.c: Likewise.
50697 * nss/nss_db/db-open.c: Likewise.
50698 * nss/nss_files/flies-XXX.x: Adjust comments.
50699 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50700 * nss/nss_files/files-grp.c: Likewise.
50701 * nss/nss_files/files-hosts.c: Likewise.
50702 * nss/nss_files/files-network.c: Likewise.
50703 * nss/nss_files/files-proto.c: Likewise.
50704 * nss/nss_files/files-pwd.c: Likewise.
50705 * nss/nss_files/files-rpc.c: Likewise.
50706 * nss/nss_files/files-service.c: Likewise.
50707 * nss/nss_files/files-sgrp.c: Likewise.
50708 * nss/nss_files/files-spwd.c: Likewise.
50709 * nss/nss_db/db-alias.c: Removed.
50710 * nss/nss_db/dummy-db.h: Removed.
50711
9ee76b5a
UD
507122011-06-02 Ulrich Drepper <drepper@gmail.com>
50713
50714 * nss/makedb.c: Rewritten to not use database library.
50715 * nss/Makefile: Update to build new makedb program.
50716
c71ca1f8
AJ
507172011-06-14 Andreas Jaeger <aj@suse.de>
50718
50719 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50720 memset declaration.
50721
3154bfb8
UD
507222011-06-10 Andreas Schwab <schwab@redhat.com>
50723
50724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50725 tmpbuf.
50726
b350afab
RM
507272011-06-10 Roland McGrath <roland@hack.frob.com>
50728
decd4e50
RM
50729 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50730 * elf/Makefile ($(objpfx)ld.so): Likewise.
50731
5615eaf2
RM
50732 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50733 Don't list ld.so twice in dependencies.
50734
50735 * posix/bug-regex31.c: Include <stdlib.h>.
50736
50737 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50738
50739 * nis/nss_compat/compat-spwd.c
50740 (getspent_next_nss_netgr): Remove unused variable.
50741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50742
50743 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50744 nonmembers" output to use the right array.
50745
50746 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50747
50748 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50749
50750 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50751 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50752 * catgets/gencat.c (read_input_file): Likewise.
50753 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50754
50755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50756 variable definition inside #if's controlling its use.
50757
50758 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50759
50760 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50761
50762 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50763
50764 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50765 unreachable code.
50766
50767 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50768
b68e08db
RM
50769 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50770 * configure: Regenerated.
50771
b350afab
RM
50772 * Makerules: Revert last change.
50773 * elf/Makefile: Likewise.
50774
28368601
RM
507752011-06-09 Roland McGrath <roland@hack.frob.com>
50776
50777 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50778 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50779 (reloc-link): Likewise.
50780
11988f8f
UD
507812011-06-09 Ulrich Drepper <drepper@gmail.com>
50782
50783 * elf/Makefile: Add rules to build pldd.
50784 * elf/pldd.c: New file.
50785 * elf/pldd-xx.c: New file.
50786
e80fab37
UD
507872011-06-07 Ulrich Drepper <drepper@gmail.com>
50788
50789 * version.h: Update for 2.15 development version.
50790
9b849836
DM
507912011-06-07 David S. Miller <davem@davemloft.net>
50792
50793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50794 ifuncs.
50795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50796 elf_machine_lazy_rel): Likewise.
50797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50799 elf_machine_lazy_rel): Likewise.
50800 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50801 dl_hwcap via passed in argument.
50802 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50803 Likewise.
50804
5a31b283
AK
508052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50806
50807 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50808
069e52f8
RM
508092011-06-06 Roland McGrath <roland@hack.frob.com>
50810
50811 [BZ #12849]
50812 * manual/fdl-1.1.texi: New file, verbatim from:
50813 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50814 * manual/lgpl-2.1.texi: New file, verbatim from:
50815 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50816 * manual/Makefile (licenses): New variable, list those new file names.
50817 (texis): Use it.
50818 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50819
50820 * manual/fdl.texi: File removed.
50821 * manual/lesser.texi: File removed.
50822 * manual/libc.texinfo (Copying, Documentation License):
50823 Use new @include file names, put @appendix directive before @include.
50824
f16846a5
JJ
508252011-06-04 Jakub Jelinek <jakub@redhat.com>
50826
50827 [BZ #12841]
50828 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50829 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50830 (mq_open): Add __NTH.
50831
3d29045b
L
508322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50833
50834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50835 Assume Intel Core i3/i5/i7 processor if AVX is available.
50836
8c297311
UD
508372011-05-31 Ulrich Drepper <drepper@gmail.com>
50838
50839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50840 typo.
50841
c8fc0c91
UD
508422011-05-31 Andreas Schwab <schwab@redhat.com>
50843
50844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50845 memory. Use alloca_account. Fix memory leak when retrying.
50846
5b27a807
UD
508472011-05-31 Ulrich Drepper <drepper@gmail.com>
50848
356f8bc6
UD
50849 * version.h (RELEASE): Bump for 2.14 release.
50850 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50851
5b27a807
UD
50852 * config.make.in (RANLIB): Remove entry.
50853
01f16ab0
UD
508542011-05-30 Ulrich Drepper <drepper@gmail.com>
50855
41fce8bd
UD
50856 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50857 (libc.pot): Work around missing support for .ksh extension in xgettext.
50858
4769ae77
UD
50859 [BZ #12684]
50860 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50861 if both request failed.
50862 (send_dg): In case of server errors clear resplen or *resplen2.
50863
6b1e7d19
UD
50864 [BZ #12454]
50865 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50866 when there are multiple maps.
50867 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50868 (_dl_fini): Remove test here.
50869
01f16ab0
UD
50870 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50871
b1ebd700
UD
508722011-05-29 Ulrich Drepper <drepper@gmail.com>
50873
7ae22829
UD
50874 [BZ #12350]
50875 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50876 bit from old_res_options.
50877 (gaih_inet): Likewise.
50878
553149f6 50879 [BZ #11099]
18a84741 50880 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
50881 as signed.
50882
652ffab1
UD
50883 * resolv/res_init.c (res_setoptions): Make the code more compact.
50884
16985fd0
UD
50885 [BZ #11558]
50886 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50887 set RES_USEVC.
50888
0464f746
UD
50889 [BZ #11634]
50890 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50891
7d17596c
UD
50892 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50893
cf6bbbd7
UD
50894 [BZ #11781]
50895 * malloc/malloc.h: Declare malloc hook variables as volatile.
50896
13f1ab36
UD
50897 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50898 in last patch.
50899
b1ebd700
UD
50900 [BZ #11799]
50901 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 50902 raise in the comment.
80e2212d
UD
50903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 50906
ce67228d
UD
509072011-05-28 Ulrich Drepper <drepper@gmail.com>
50908
8887a920
UD
50909 [BZ #12811]
50910 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50911 grow the buffers more if it already has to be sufficient.
50912 (build_wcs_upper_buffer): Likewise.
50913 * posix/regexec.c (check_matching): Likewise.
50914 (clean_state_log_if_needed): Likewise.
50915 (extend_buffers): Don't enlarge buffers beyond size of the input
50916 buffer.
50917 Patches mostly by Emil Wojak <emil@wojak.eu>.
50918 * posix/bug-regex32.c: New file.
50919 * posix/Makefile (tests): Add bug-regex32.
50920
4f031072
UD
50921 * locale/findlocale.c (_nl_find_locale): Return right away if
50922 _nl_explode_name failed.
50923 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50924
d0478f0c
UD
50925 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50926
de81b246
UD
50927 * debug/xtrace.sh: Unify messages.
50928 * malloc/memusage.sh: Likewise.
50929
c738465a
UD
50930 [BZ #12813]
50931 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50932 time symbol from vDSO. Substitute with vsyscall if not available.
50933 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50934 __vdso_time.
50935
f1f929d7
UD
50936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50937 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50939 Add sendmmsg and internal_sendmmsg.
50940 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50943
ce67228d
UD
50944 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50945 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50947
e57420c6
UD
509482011-05-27 Ulrich Drepper <drepper@gmail.com>
50949
a8509ca5
UD
50950 [BZ #12813]
50951 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50952 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50953 available.
50954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50955 __vdso_getcpu.
50956
e57420c6
UD
50957 [BZ #12814]
50958 * iconvdata/Makefile (tests): Add bug-iconv9.
50959 * iconvdata/bug-iconv9.c: New file.
50960
4d07db15
AS
509612011-05-27 Andreas Schwab <schwab@redhat.com>
50962
50963 [BZ #12814]
50964 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50965
ea486f69
JJ
509662011-05-25 Jakub Jelinek <jakub@redhat.com>
50967
50968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50969 (struct user_regs_struct): Change intcs field back to cs.
50970
6f038433
UD
509712011-05-25 Ulrich Drepper <drepper@gmail.com>
50972
50973 * po/ja.po: Update from translation team.
50974
67f86a25
UD
509752011-05-23 Ulrich Drepper <drepper@gmail.com>
50976
50977 [BZ #12795]
50978 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50980
def7fbd6
AS
509812011-05-20 Andreas Schwab <schwab@redhat.com>
50982
50983 * stdlib/longlong.h: Update from GCC.
50984
f50ef8f1
AS
509852011-05-23 Andreas Schwab <schwab@redhat.com>
50986
50987 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50988 parameter name.
50989 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50990 Add parameter name.
50991 (__sysconf): Pass it down.
50992
de7ce8f1
UD
509932011-05-22 Ulrich Drepper <drepper@gmail.com>
50994
f2962a71
UD
50995 [BZ #12671]
50996 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50997 some situations.
50998 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50999 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51000 add in in __libc_use_alloca calls. Adjust callers.
51001 (glob): Use malloc in some situations.
51002
de7ce8f1
UD
51003 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51004 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51005 pltexit.
51006
aec84f53
UD
510072011-05-21 Ulrich Drepper <drepper@gmail.com>
51008
05bb4a68
UD
51009 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51010 and CLOCK_BOOTTIME_ALARM.
51011
7ea72f99
UD
51012 [BZ #12782]
51013 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51014 is returned.
51015
7e4afad5
UD
51016 * string/_strerror.c (__strerror_r): Print negative errors as signed
51017 numbers.
51018
8e211fec
UD
51019 [BZ #12777]
51020 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51021 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51022 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51023
f7d82dc9
UD
51024 * configure.in: Fix typo in redirection and correct removal of test
51025 files in two cases.
51026
cc9e536d
UD
51027 [BZ #12788]
51028 * locale/setlocale.c (new_composite_name): Fix test to check for
51029 identical name of all categories.
51030
aec84f53
UD
51031 [BZ #12792]
51032 * libio/filedoalloc.c (local_isatty): New function.
51033 (_IO_file_doallocate): Use local_isatty.
51034 * stdio-common/perror.c (perror): In case a new stream is used
51035 forward the stream error.
51036 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51037 error flag.
51038
78e64fdc
RT
510392011-05-20 Ulrich Drepper <drepper@gmail.com>
51040
34a9094f
UD
51041 [BZ #11869]
51042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51043 alloca.
51044 * include/alloca.h (extend_alloca_account): Define.
51045
78e64fdc
RT
51046 [BZ #11857]
51047 * posix/regex.h: Fix comments with documentation of user-accessible
51048 fields after compilation and describe correct free'ing of pattern
51049 after re_compile_pattern.
51050 Patch by Reuben Thomas <rrt@sc3d.org>.
51051
457bddfc
RA
510522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51053
51054 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51055 and -mno-altivec to prevent the compiler from using Altivec and/or
51056 VSX instructions when the corresponding registers are not available.
51057
a4527b51
AS
510582011-05-19 Andreas Schwab <schwab@redhat.com>
51059
51060 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51061
ed690b2f
UD
510622011-05-19 Ulrich Drepper <drepper@gmail.com>
51063
51064 * libio/freopen.c (freopen): Use __dup2, not dup2.
51065 * libio/freopen64.c (freopen64): Likewise.
51066
8db73634
L
510672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51068
51069 [BZ #12775]
51070 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51071 * math/Makefile (tests): Add test-powl.
51072 (CFLAGS-test-powl.c): Define.
51073 * math/test-powl.c: New file.
51074
0a197a9d
L
510752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51076
51077 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51078
ee30c380
UD
510792011-05-17 Ulrich Drepper <drepper@gmail.com>
51080
51081 [BZ #11837]
51082 * iconvdata/gb18030.c: Update to GB18020-2005.
51083
6ce75379
UD
510842011-05-16 Ulrich Drepper <drepper@gmail.com>
51085
a4b89fd8
AR
51086 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51087 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51088 Patch by Aharon Robbins <arnold@skeeve.com>.
51089
ea389b12
UD
51090 [BZ #11892]
51091 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51092 on the stack.
51093
68a3f91f
UD
51094 [BZ #11895]
51095 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51096 through underflows.
51097
15cc7dd1
UD
51098 [BZ #12766]
51099 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51100 point to strings before performing equality test for error_one_per_line
51101 mode.
51102
f3799213
UD
51103 [BZ #11697]
51104 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51105
d79a9c94
UD
51106 [BZ #11820]
51107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51108 (struct user_fpregs_struct): Avoid __uint*_t types.
51109
56e5eb46
UD
51110 [BZ #6420]
51111 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51112 symbol info. Use it instead of calling _dl_addr locally.
51113 (lock_and_info): New function.
51114 (tr_freehook): Call lock_and_info and pass symbol info as additional
51115 parameter to tr_where.
51116 (tr_mallochook): Likewise.
51117 (tr_reallochook): Likewise.
51118 (tr_memalignhook): Likewise.
51119
6ce75379
UD
51120 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51121 used and couldn't be at all thread-safe.
51122
f8a3b5bf
UD
511232011-05-15 Ulrich Drepper <drepper@gmail.com>
51124
94b7cc37
UD
51125 * libio/freopen.c (freopen): Don't close old file descriptor
51126 before the new one is opened. Instead dup the new file descriptor
51127 to the old one after the new stream is created.
51128 * libio/freopen64.c (freopen64): Likewise.
51129 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51130 * libio/fileops.c (_IO_new_file_close_it): Handle new
51131 _IO_FLAGS2_NOCLOSE flag.
51132 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51133 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51134 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51135 _IO_FLAGS2_NOCLOSE flag.
51136 * include/unistd.h: Add hidden_proto for dup3.
51137 Define __have_dup3.
51138 * io/dup3.c: Define hidden symbol.
51139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51140
bd25564e
UD
51141 [BZ #7101]
51142 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51143 when an incomplete long option is used.
51144 * posix/tst-getopt_long1.c: New file.
51145 * posix/Makefile (tests): Add tst-getopt_long1.
51146
c84cfef4
UD
51147 [BZ #10138]
51148 * scripts/config.guess: Update from autoconf-2.68.
51149 * scripts/config.sub: Likewise.
51150
3b85df27
UD
51151 [BZ #10157]
51152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51153 tests into ...
51154 (has_cpuclock): ...this. New function.
51155 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51156 macro here based on has_cpuclock code.
51157
15a856b1
UD
51158 [BZ #10149]
51159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51160 First byte (not low byte) is now always NUL.
51161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51162
05f399e6
UD
51163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51164 Use non-cancelable interfaces.
51165
10a52685 51166 [BZ #9809]
94ecc67d
UD
51167 * locale/iso-639.def: Add entry for Sorani.
51168
f8a3b5bf
UD
51169 [BZ #11901]
51170 * include/stdlib.h: Move include protection to the right place.
51171 Define abort_msg_s. Declare __abort_msg with it.
51172 * stdlib/abort.c (__abort_msg): Adjust type.
51173 * assert/assert.c (__assert_fail_base): New function. Majority
51174 of code from __assert_fail. Allocate memory for __abort_msg with
51175 mmap.
51176 (__assert_fail): Now call __assert_fail_base.
51177 * assert/assert-perr.c: Remove bulk of implementation. Use
51178 __assert_fail_base.
51179 * include/assert.hL Declare __assert_fail_base.
51180 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51181 mmap.
51182 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51183
1af4e298
UD
511842011-05-14 Ulrich Drepper <drepper@gmail.com>
51185
f8a3b5bf 51186 [BZ #11952]
d26dfc60
MG
51187 [BZ #12453]
51188 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51189 until all modules are registered in the DTV.
51190 * elf/Makefile: Add rules to build and run tst-tls19.
51191 * elf/tst-tls19.c: New file.
51192 * elf/tst-tls19mod1.c: New file.
51193 * elf/tst-tls19mod2.c: New file.
51194 * elf/tst-tls19mod3.c: New file.
51195 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51196
2fc54d6f
UD
51197 [BZ #12083]
51198 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51199 correctly.
51200
98d76b46
UD
51201 [BZ #12601]
51202 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51203 two-byte sequence errors.
51204 * iconvdata/Makefile (tests): Add bug-iconv8.
51205 * iconvdata/bug-iconv8.c: New file.
51206
da3c19ef
UD
51207 [BZ #12626]
51208 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51209 buf2 definition.
51210
ca408c15
UD
51211 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51212
d6f67f7d
UD
51213 [BZ #12432]
51214 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51215 (dummy_getcfa): New function.
51216 (init): Get _Unwind_GetCFA address, use dummy if not found.
51217 (backtrace_helper): In recursion check, also check whether CFA changes.
51218 (__backtrace): Completely initialize arg.
51219
1af4e298 51220 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51221 storing incomplete byte sequence in state object. Avoid testing for
51222 guaranteed too small input if we know there is enough data available.
1af4e298 51223
da62f81b
AS
512242011-05-11 Andreas Schwab <schwab@redhat.com>
51225
51226 * Makeconfig (+link-pie): Indent.
51227 * Rules (binaries-pie): Define if $(have-fpie) and
51228 $(build-shared).
51229 (binaries-shared): Also filter out $(binaries-pie).
51230 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51231 * nscd/Makefile (others-pie): Add nscd.
51232 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51233 ($(objpfx)nscd): Remove command override.
51234 * login/Makefile (others-pie): Add pt_chown.
51235 ($(objpfx)pt_chown): Remove command override.
51236 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51237 remove command overrides.
51238
fcabc0f8
UD
512392011-05-13 Ulrich Drepper <drepper@gmail.com>
51240
20030ae6
UD
51241 * libio/tst_putwc.c: Fix error messages.
51242
fcabc0f8
UD
51243 [BZ #12724]
51244 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51245 currently writing and seek to current position when not.
51246 * libio/Makefile (tests): Add bug-fclose1.
51247 * libio/bug-fclose1.c: New file.
51248
320a5dc0
PB
512492011-05-12 Ulrich Drepper <drepper@gmail.com>
51250
51251 [BZ #12511]
51252 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51253 don't set DF_1_NODELETE here.
51254 (do_lookup_x): When entering new entry test for copy relocation
51255 and if necessary set DF_1_NODELETE flag.
51256 * elf/tst-unique4.cc: New file.
51257 * elf/tst-unique4.h: New file.
51258 * elf/tst-unique4lib.cc: New file.
51259 * elf/Makefile: Add rules to build and run tst-unique4.
51260 Patch by Piotr Bury <pbury@goahead.com>.
51261
22836f52
UD
512622011-05-11 Ulrich Drepper <drepper@gmail.com>
51263
f574184a
UD
51264 [BZ #12052]
51265 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51266
e1fb097f
UD
51267 [BZ #12625]
51268 * misc/mntent_r.c (addmntent): Flush the stream after the output
51269
22836f52
UD
51270 [BZ #12393]
51271 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51272 (is_trusted_path_normalize): Skip initial colon. Append slash
51273 to empty buffer. Duplicate is_trusted_path code but allow
51274 constructed patch to be prefix.
51275 (is_dst): Allow $ORIGIN followed by /.
51276 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51277 Correct testing of result of is_trusted_path_normalize
51278 (decompose_rpath): Fix warning.
51279
7b3b0b2a
UD
512802011-05-10 Ulrich Drepper <drepper@gmail.com>
51281
51282 [BZ #11257]
51283 * grp/initgroups.c (internal_getgrouplist): When we found the service
51284 list through the initgroups entry in nsswitch.conf do not always
51285 continue on a successful lookup. Don't always use the
eac80ce2 51286 __nss_group_database value if it is set.
7b3b0b2a
UD
51287 * nss/nsswitch.conf (initgroups): Change action for successful db
51288 lookup to continue for compatibility.
51289
2a81eaa5
UD
512902011-05-09 Ulrich Drepper <drepper@gmail.com>
51291
be97a69e
UD
51292 [BZ #11532]
51293 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51294 and CP774 modules.
51295 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51296 and CP774 modules.
51297 * iconvdata/tst-tables.sh: Likewise.
51298 * iconvdata/cp770.c: New file.
51299 * iconvdata/cp771.c: New file.
51300 * iconvdata/cp772.c: New file.
51301 * iconvdata/cp773.c: New file.
51302 * iconvdata/cp774.c: New file.
51303 * iconvdata/testdata/CP770: New file.
51304 * iconvdata/testdata/CP770..UTF8: New file.
51305 * iconvdata/testdata/CP771: New file.
51306 * iconvdata/testdata/CP771..UTF8: New file.
51307 * iconvdata/testdata/CP772: New file.
51308 * iconvdata/testdata/CP772..UTF8: New file.
51309 * iconvdata/testdata/CP773: New file.
51310 * iconvdata/testdata/CP773..UTF8: New file.
51311 * iconvdata/testdata/CP774: New file.
51312 * iconvdata/testdata/CP774..UTF8: New file.
51313
51314 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51315 END CHARMAP line.
51316 * iconvdata/gen-8bit-gap.sh: Likewise.
51317 * iconvdata/gen-8bit.sh: Likewise.
51318
c1e9e399
UD
51319 * locale/iso-639.def: Add ary entry.
51320
24c55fb3 51321 [BZ #11258]
96b4b1b0
UD
51322 * locale/C-translit.h.in: Add U20A1 transliteration.
51323
bdc2f971
KB
51324 [BZ #12178]
51325 * locale/iso-639.def: Add wae entry.
51326 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51327
2952b117
UD
51328 [BZ #12545]
51329 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51330 for n.
51331
2a81eaa5
UD
51332 [BZ #12711]
51333 * locale/C-translit.h.in: Add entry for U20B9.
51334 Patch by pravin.d.s@gmail.com.
51335
28377d1b
UD
513362011-05-08 Ulrich Drepper <drepper@gmail.com>
51337
7fb90fb8
UD
51338 [BZ #12713]
51339 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51340 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51341 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51342 in rtld. Use *stat64.
7fb90fb8 51343 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51344 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51345 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51346 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51347 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51348 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51349 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51350 __fstatat64 macros.
7fb90fb8
UD
51351 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51352 * dirent/rewinddir.c: Add libc_hidden_def.
51353 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51354 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51355
28377d1b
UD
51356 * include/dirent.h (__alloc_dir): Add flags parameter.
51357 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51358 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51359 __alloc_dir.
51360 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51361 from fdopendir if O_CLOEXEC is already set.
51362
66bdbaa4
AM
513632011-03-15 Alan Modra <amodra@gmail.com>
51364
51365 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51366 l_tls_firstbyte_offset non-zero. Save padding offset in
51367 l_tls_firstbyte_offset for later use.
51368 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51369 freeing static tls block.
51370
95721191
JN
513712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51372
51373 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51374 where #ifdef was intended. The intent is to prevent ARG_MAX from
51375 being defined by the kernel headers.
51376
f87dfb1f
UD
513772011-05-07 Ulrich Drepper <drepper@gmail.com>
51378
51379 [BZ #12734]
51380 * resolv/resolv.h: Define RES_NOTLDQUERY.
51381 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51382 no-tld-query and set RES_NOTLDQUERY.
51383 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51384 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51385 modern BIND to search name as TLD unless forbidden.
51386
47c3cd7a
UD
513872011-05-07 Petr Baudis <pasky@suse.cz>
51388 Ulrich Drepper <drepper@gmail.com>
51389
51390 [BZ #12393]
51391 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51392 (is_trusted_path): ...to here.
c1e9ea35 51393 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51394 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51395 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51396
8a35c912
PP
513972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51398
51399 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51400 __BEGIN/__END_DECLS.
51401
acd41f47
UD
514022011-05-06 Ulrich Drepper <drepper@gmail.com>
51403
51404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51405 NSS_STATUS_NOTFOUND if no record was found.
51406
597df647
AS
514072011-05-05 Andreas Schwab <schwab@redhat.com>
51408
51409 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51410 (headers-not-in-tirpc): Remove rpc/netdb.h
51411 * resolv/netdb.h: Revert last change.
51412
b9af1301
PP
514132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51414
51415 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51416 circular dependency between libgcc.a and libc.a.
51417
4e34d5f5
AS
514182011-05-05 Andreas Schwab <schwab@redhat.com>
51419
51420 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51421 * nis/Makefile: Don't install rpcsvc/*.
51422 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51423 instead of <rpc/types.h>.
51424 (MAXHOSTNAMELEN): Define.
51425
00ee369c
AS
514262011-05-03 Andreas Schwab <schwab@redhat.com>
51427
51428 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51429
0b592a30
MB
514302011-04-28 Maciej Babinski <mbabinski@google.com>
51431
51432 [BZ #12714]
51433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51434 gethostbyname4_r when IPv6 results are possible.
51435
6e04cbbe
UD
514362011-05-02 Ulrich Drepper <drepper@gmail.com>
51437
51438 [BZ #12723]
51439 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51440 _PC_PIPE_BUF handling.
51441
e4ecafe0
BH
514422011-04-30 Bruno Haible <bruno@clisp.org>
51443
51444 [BZ #12717]
51445 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51446 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51447 to 'int'.
51448 * inet/getnameinfo.c (getnameinfo): Likewise.
51449
125ee683
UD
514502011-04-29 Ulrich Drepper <drepper@gmail.com>
51451
51452 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51453 to groups setting in database lookup.
51454 * nss/nsswitch.conf: Add initgroups entry.
51455
b722481a
EB
514562011-04-22 Ulrich Drepper <drepper@gmail.com>
51457
51458 [BZ #12685]
51459 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51460 mode string.
51461 Patch by Eric Blake <eblake@redhat.com>.
51462
4df46dbd
L
514632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51464
51465 * sunrpc/Makefile (need-export-routines): Add svc_run.
51466 (routines): Remove svc_run.
51467 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51468 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51469 * sunrpc/svc_run.c (svc_run): Likewise.
51470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51471
e84142d2
UD
514722011-04-21 Ulrich Drepper <drepper@gmail.com>
51473
51474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51475 problem in reallocation in last patch.
51476
877175d8
UD
514772011-04-20 Ulrich Drepper <drepper@gmail.com>
51478
51479 * sunrpc/Makefile: Move inclusion of Rules.
51480
ab8eed78
UD
514812011-04-19 Ulrich Drepper <drepper@gmail.com>
51482
51483 * nss/nss_files/files-initgroups.c: New file.
51484 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51485 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51486 _nss_files_initgroups_dyn.
51487
e3d8f584
RS
514882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51489
51490 * elf/elf.h (R_ARM_IRELATIVE): Define.
51491
af190f45
UD
514922011-04-19 Ulrich Drepper <drepper@gmail.com>
51493
51494 * po/ru.po: Update from translation team.
51495
53cf59ef
UD
514962011-04-17 Ulrich Drepper <drepper@gmail.com>
51497
51498 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51499 dependencies.
51500
4c559bcd
MF
515012011-02-06 Mike Frysinger <vapier@gentoo.org>
51502
51503 [BZ #12653]
51504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51505 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51509
4420675c
AS
515102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51511
51512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51513 differing bytes.
51514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51517
75ea32ab
UD
515182011-04-17 Ulrich Drepper <drepper@gmail.com>
51519
51520 [BZ #12420]
51521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51522 storing it.
51523 * stdlib/bug-getcontext.c: New file.
51524 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51525
27390476
AK
515262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51527
51528 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51529 instructions into .machine "z9-109".
51530 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51531 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51532
10442705
AK
515332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51534
51535 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51536 between environment variables and auxiliary vector.
51537
7b57bfe5
UD
515382011-04-16 Ulrich Drepper <drepper@gmail.com>
51539
51540 * Makefile: Add rules to build linkobj/libc.so.
51541 * include/libc-symbols.h: Define libc_hidden_nolink.
51542 * include/rpc/auth.h: Mark functions which are to be hidden.
51543 * include/rpc/auth_des.h: Likewise.
51544 * include/rpc/auth_unix.h: Likewise.
51545 * include/rpc/clnt.h: Likewise.
51546 * include/rpc/des_crypt.h: Likewise.
51547 * include/rpc/key_prot.h: Likewise.
51548 * include/rpc/pmap_clnt.h: Likewise.
51549 * include/rpc/pmap_prot.h: Likewise.
51550 * include/rpc/pmap_rmt.h: Likewise.
51551 * include/rpc/rpc_msg.h: Likewise.
51552 * include/rpc/svc.h: Likewise.
51553 * include/rpc/svc_auth.h: Likewise.
51554 * include/rpc/xdr.h: Likewise.
51555 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51556 * nss/Makefile: Likewise.
51557 * sunrpc/Makefile: Don't install headers. Build library with normal
51558 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51559 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51560 for the compat linking library. Remove use of INTDEF/INTUSE.
51561 * sunrpc/auth_none.c: Likewise.
51562 * sunrpc/auth_unix.c: Likewise.
51563 * sunrpc/authdes_prot.c: Likewise.
51564 * sunrpc/authuxprot.c: Likewise.
51565 * sunrpc/clnt_gen.c: Likewise.
51566 * sunrpc/clnt_perr.c: Likewise.
51567 * sunrpc/clnt_raw.c: Likewise.
51568 * sunrpc/clnt_simp.c: Likewise.
51569 * sunrpc/clnt_tcp.c: Likewise.
51570 * sunrpc/clnt_udp.c: Likewise.
51571 * sunrpc/clnt_unix.c: Likewise.
51572 * sunrpc/des_crypt.c: Likewise.
51573 * sunrpc/des_soft.c: Likewise.
51574 * sunrpc/get_myaddr.c: Likewise.
51575 * sunrpc/key_call.c: Likewise.
51576 * sunrpc/key_prot.c: Likewise.
51577 * sunrpc/netname.c: Likewise.
51578 * sunrpc/pm_getmaps.c: Likewise.
51579 * sunrpc/pm_getport.c: Likewise.
51580 * sunrpc/pmap_clnt.c: Likewise.
51581 * sunrpc/pmap_prot.c: Likewise.
51582 * sunrpc/pmap_prot2.c: Likewise.
51583 * sunrpc/pmap_rmt.c: Likewise.
51584 * sunrpc/publickey.c: Likewise.
51585 * sunrpc/rpc_cmsg.c: Likewise.
51586 * sunrpc/rpc_common.c: Likewise.
51587 * sunrpc/rpc_dtable.c: Likewise.
51588 * sunrpc/rpc_prot.c: Likewise.
51589 * sunrpc/rpc_thread.c: Likewise.
51590 * sunrpc/rtime.c: Likewise.
51591 * sunrpc/svc.c: Likewise.
51592 * sunrpc/svc_auth.c: Likewise.
51593 * sunrpc/svc_authux.c: Likewise.
51594 * sunrpc/svc_raw.c: Likewise.
51595 * sunrpc/svc_run.c: Likewise.
51596 * sunrpc/svc_simple.c: Likewise.
51597 * sunrpc/svc_tcp.c: Likewise.
51598 * sunrpc/svc_udp.c: Likewise.
51599 * sunrpc/svc_unix.c: Likewise.
51600 * sunrpc/svcauth_des.c: Likewise.
51601 * sunrpc/xcrypt.c: Likewise.
51602 * sunrpc/xdr.c: Likewise.
51603 * sunrpc/xdr_array.c: Likewise.
51604 * sunrpc/xdr_float.c: Likewise.
51605 * sunrpc/xdr_intXX_t.c: Likewise.
51606 * sunrpc/xdr_mem.c: Likewise.
51607 * sunrpc/xdr_rec.c: Likewise.
51608 * sunrpc/xdr_ref.c: Likewise.
51609 * sunrpc/xdr_sizeof.c: Likewise.
51610 * sunrpc/xdr_stdio.c: Likewise.
51611
e6c61494
UD
516122011-04-10 Ulrich Drepper <drepper@gmail.com>
51613
51614 [BZ #12650]
51615 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51616 * sysdeps/ia64/dl-tls.h: Likewise.
51617 * sysdeps/powerpc/dl-tls.h: Likewise.
51618 * sysdeps/s390/dl-tls.h: Likewise.
51619 * sysdeps/sh/dl-tls.h: Likewise.
51620 * sysdeps/sparc/dl-tls.h: Likewise.
51621 * sysdeps/x86_64/dl-tls.h: Likewise.
51622 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51623
34fe483e
AS
516242011-03-14 Andreas Schwab <schwab@redhat.com>
51625
51626 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51627 rpath element also skip the following colon.
51628 (expand_dynamic_string_token): Add is_path parameter and pass
51629 down to DL_DST_REQUIRED and _dl_dst_substitute.
51630 (decompose_rpath): Call expand_dynamic_string_token with
51631 non-zero is_path. Ignore empty rpaths.
51632 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51633 with zero is_path.
51634
f12a32e6
AS
516352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51636
51637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51638 Make cancelable.
51639
38a7d692
UD
516402011-04-09 Ulrich Drepper <drepper@gmail.com>
51641
51642 [BZ #12655]
51643 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51644 Patch by Filipe David Manana <fdmanana@apache.org>.
51645
e451d22b
AS
516462011-04-07 Andreas Schwab <schwab@redhat.com>
51647
51648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51649 Maintain aligned stack.
51650 (CHECK_RSP): Remove unused macro.
51651
dedc7c7b
UD
516522011-04-03 Ulrich Drepper <drepper@gmail.com>
51653
51654 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51656
94521213
UD
516572011-04-02 Ulrich Drepper <drepper@gmail.com>
51658
51659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51660
8cb700c0 51661 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51662
0354e355
L
516632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51664
51665 [BZ #12518]
51666 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51667 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51668 * sysdeps/x86_64/memmove.c: New file.
51669 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51670 (memcpy): Renamed to ...
51671 (__new_memcpy): This.
51672 (memcpy): Provide GLIBC_2_14 memcpy.
51673 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51674 (memcpy): Provide GLIBC_2_2_5 memcpy.
51675
8593482f
UD
516762011-04-01 Ulrich Drepper <drepper@gmail.com>
51677
51678 [BZ #12631]
51679 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51680
81a5726b
AS
516812011-03-30 Andreas Schwab <schwab@redhat.com>
51682
51683 * misc/syncfs.c: New file.
51684 * misc/Makefile (routines): Add syncfs.
51685 * posix/unistd.h: Declare syncfs.
51686 * sysdeps/unix/syscalls.list: Add syncfs.
51687
00e5419f
AS
516882011-04-01 Andreas Schwab <schwab@redhat.com>
51689
51690 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51691 open_by_handle_at.
51692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51697 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51699
748876bf
UD
517002011-04-01 Ulrich Drepper <drepper@gmail.com>
51701
658e451d
UD
51702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51709
748876bf
UD
51710 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51711 sync_file_range.c with -fexceptions.
51712 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51713 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51714 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51715 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51719 sync_file_range as cancellation point
51720 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51721 now a wrapper around __call_sync_file_range with cancellation handling.
51722 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51724 function name to __call_sync_file_range.
51725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51726 Add call_sync_file_range.
748876bf 51727
6e63d5e1
AS
517282011-04-01 Andreas Schwab <schwab@redhat.com>
51729
51730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51731 bits/timex.h.
6e63d5e1 51732
46998f74
UD
517332011-04-01 Ulrich Drepper <drepper@gmail.com>
51734
4c1423ed
UD
51735 * iconv/iconv.h: Fix typo in comment.
51736 * io/fcntl.h: Likewise.
51737 * libio/stdio.h: Likewise.
51738 * posix/spawn.h: Likewise.
51739 * posix/unistd.h: Likewise.
51740 * stdlib/stdlib.h: Likewise.
51741 * time/time.h: Likewise.
51742 * wcsmbs/wchar.h: Likewise.
51743
158648c0
UD
51744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51745 open_by_handle): Add.
51746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51747 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51748 Augment a few comments.
51749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51754 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51755 open_by_handle.
51756
46998f74
UD
51757 * io/fcntl.h (AT_EMPTY_PATH): Define.
51758
83fe108b
UD
517592011-03-30 Ulrich Drepper <drepper@gmail.com>
51760
51761 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51762 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51763 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51764 to...
51765 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
51766 * Versions.def: Add GLIBC_2.14.
51767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51768 Export.
83fe108b 51769
bb242059
UD
517702011-03-22 Ulrich Drepper <drepper@gmail.com>
51771
51772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51773 round counter.
51774 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51775
c97a1282
L
517762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51777
51778 [BZ #12597]
51779 * string/test-strncmp.c (do_page_test): New function.
51780 (check2): Likewise.
51781 (test_main): Call check2.
51782 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51783
2a115601
UD
517842011-03-20 Ulrich Drepper <drepper@gmail.com>
51785
51786 [BZ #12587]
51787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51788 Handle cache information in CPU leaf 4.
51789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51790
8126d904
UD
517912011-03-18 Ulrich Drepper <drepper@gmail.com>
51792
042c49c6 51793 [BZ #12583]
8126d904
UD
51794 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51795 character representation.
51796 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51797
ccfe366e
RA
517982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51799
51800 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51801 END(__isnan) to END(__isnanf) to match function entry point/label
51802 EALIGN(__isnanf,...).
51803
c6e13027
JJ
518042011-03-10 Jakub Jelinek <jakub@redhat.com>
51805
51806 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51807
33f85a3f
UD
518082011-03-10 Ulrich Drepper <drepper@gmail.com>
51809
028478fa
UD
51810 [BZ #12510]
51811 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51812 copy from the symbol referenced in the relocation to initialize the
51813 used variable.
51814 Patch by Piotr Bury <pbury@goahead.com>.
51815 * elf/Makefile: Add rules to build and tst-unique3.
51816 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51817 * elf/tst-unique3.cc: New file.
51818 * elf/tst-unique3.h: New file.
51819 * elf/tst-unique3lib.cc: New file.
51820 * elf/tst-unique3lib2.cc: New file.
51821
33f85a3f
UD
51822 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51823
03592fc7
MF
518242011-03-10 Mike Frysinger <vapier@gentoo.org>
51825
51826 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51827 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51828 to _start.
03592fc7 51829
6a5ee102
UD
518302011-03-06 Ulrich Drepper <drepper@gmail.com>
51831
51832 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51833 to-be-loaded object along a path to loader is ld.so.
51834
7e4ba49c
HJ
518352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51836 Ulrich Drepper <drepper@gmail.com>
51837
51838 * sysdeps/x86_64/memset.S: After aligning destination, code
51839 branches to different locations depending on the value of
51840 misalignment, when multiarch is enabled. Fix this.
51841
518422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51843
51844 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51845 Set _x86_64_preferred_memory_instruction for AMD processsors.
51846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51847 Set bit_Prefer_SSE_for_memop for AMD processors.
51848
13a804de
UD
518492011-03-04 Ulrich Drepper <drepper@gmail.com>
51850
51851 * libio/fmemopen.c (fmemopen): Optimize a bit.
51852
9d25c392
AS
518532011-03-03 Andreas Schwab <schwab@redhat.com>
51854
51855 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51856
a5543c6a
RM
518572011-03-03 Roland McGrath <roland@redhat.com>
51858
51859 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51860
012d35f7
DM
518612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51862
7e4ba49c 51863 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
51864 __bzero_ultra1 instead of __memset_ultra1.
51865
4bff6e01
AS
518662011-02-23 Andreas Schwab <schwab@redhat.com>
51867 Ulrich Drepper <drepper@gmail.com>
51868
51869 [BZ #12509]
51870 * include/link.h (struct link_map): Add l_orig_initfini.
51871 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51872 returning unsuccessfully.
51873 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51874 close of a file loaded at startup, restore the original l_initfini
51875 list.
51876 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51877 list, store the pointer.
51878 * elf/Makefile ($(objpfx)noload-mem): New rule.
51879 (noload-ENV): Define.
51880 (tests): Add $(objpfx)noload-mem.
51881 * elf/noload.c: Include <memcheck.h>.
51882 (main): Call mtrace. Close all opened handles.
51883
f2092faf
AS
518842011-02-17 Andreas Schwab <schwab@redhat.com>
51885
51886 [BZ #12454]
51887 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51888 dependencies are missing.
51889
6c8a2e88
ST
518902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51891
f2092faf 51892 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
51893 Hurd needs munmap.
51894 * sysdeps/mach/hurd/ifreq.h: New file.
51895
84a42118
PB
518962011-01-27 Petr Baudis <pasky@suse.cz>
51897 Ulrich Drepper <drepper@gmail.com>
51898
071f805e 51899 [BZ 12445]#
84a42118
PB
51900 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51901 to extend_alloca().
51902 * stdio-common/bug23.c: New file.
51903 * stdio-common/Makefile (tests): Add bug23.
51904
e23fe25b
AS
519052010-09-28 Andreas Schwab <schwab@redhat.com>
51906 Ulrich Drepper <drepper@gmail.com>
51907
51908 [BZ #12489]
51909 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51910 before performing relro protection. At old place add assertion
51911 to make sure nothing changed.
51912
d3f02e10
NS
519132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51914 Glauber de Oliveira Costa <glommer@gmail.com>
51915
51916 * elf/elf.h: Add new ARM TLS relocs.
51917
d55fd7a5
RA
519182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51919
51920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51921 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51922 cast from r3.
51923 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51924 'tests' variable.
51925 * sysdeps/wordsize-64/tst-writev.c: New file.
51926
2206397e
RA
519272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51928
51929 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51930 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51931 insns in _dl_start to prevent a TOC reference before relocs are
51932 resolved.
51933
e9433893
UD
519342011-02-15 Ulrich Drepper <drepper@gmail.com>
51935
51936 [BZ #12469]
51937 * Makeconfig: Remove RANLIB definition.
51938 * Makerules: Don't use RANLIB.
51939 * aclocal.m4: Remove ranlib test.
51940 * configure.in: No need to check for ranlib.
51941 * elf/rtld-Rules: Don't use RANLIB.
51942
f75286c6
ST
519432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51944
8e31c82d
ST
51945 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51946 protection macro.
51947 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51948 inclusion protection macro.
51949
f75286c6
ST
51950 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51951 SIGRTMIN and SIGRTMAX and print information in that case only when
51952 SIGRTMIN is defined.
51953
c1d0e639
JJ
519542011-02-11 Jakub Jelinek <jakub@redhat.com>
51955
51956 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51957 arginfo fn returning -1.
51958
51959 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51960 and thousands string is zero terminated.
51961
edf9294e
AS
519622011-02-03 Andreas Schwab <schwab@redhat.com>
51963
51964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51965 sysdeps/unix/sysv/linux/bits/socket.h.
51966
2b7e92df
ST
519672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51968
edf9294e
AS
51969 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51970 (__CPU_COUNT): Remove old macros.
51971 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51972 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51973 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51974 (__sched_cpualloc, __sched_cpufree): Add declarations.
51975
a4c7ea7b
UD
519762011-02-05 Ulrich Drepper <drepper@gmail.com>
51977
51978 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51979 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51980 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51981 (readdhstai): Return value of addhstaiX call.
51982 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51983 (addgrbyX): Return value returned by cache_addgr.
51984 (readdgrbyname): Return value returned by addgrbyX.
51985 (readdgrbygid): Likewise.
51986 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51987 (addpwbyX): Return value returned by cache_addpw.
51988 (readdpwbyname): Return value returned by addhstbyX.
51989 (readdpwbyuid): Likewise.
51990 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51991 (addservbyX): Return value returned by cache_addserv.
51992 (readdservbyname): Return value returned by addservbyX:
51993 (readdservbyport): Likewise.
51994 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51995 (addhstbyX): Return value returned by cache_addhst.
51996 (readdhstbyname): Return value returned by addhstbyX.
51997 (readdhstbyaddr): Likewise.
51998 (readdhstbynamev6): Likewise.
51999 (readdhstbyaddrv6): Likewise.
52000 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52001 (readdinitgroups): Return value returned by addinitgroupsX.
52002 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52003 (prune_cache): Keep track of timeout value of re-added entries.
52004 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52005 * nscd/nscd.h: Adjust prototypes of readd* functions.
52006
a0bf67cc
RM
520072011-02-04 Roland McGrath <roland@redhat.com>
52008
52009 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52010 (nis_stats): Likewise.
52011 * nis/nis_modify.c (nis_modify): Likewise.
52012 * nis/nis_remove.c (nis_remove): Likewise.
52013 * nis/nis_add.c (nis_add): Likewise.
52014
52015 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52016
52017 * posix/fnmatch_loop.c: Add some consts.
52018
52019 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52020
435b95eb
L
520212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52022
52023 [BZ #12460]
52024 * config.make.in (config-cflags-novzeroupper): Define.
52025 * configure.in: Substitute libc_cv_cc_novzeroupper.
52026 * elf/Makefile (AVX-CFLAGS): Define.
52027 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52028 (CFLAGS-tst-auditmod4a.c): Likewise.
52029 (CFLAGS-tst-auditmod4b.c): Likewise.
52030 (CFLAGS-tst-auditmod6b.c): Likewise.
52031 (CFLAGS-tst-auditmod6c.c): Likewise.
52032 (CFLAGS-tst-auditmod7b.c): Likewise.
52033 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52034
8517b15e
UD
520352011-02-02 Ulrich Drepper <drepper@gmail.com>
52036
52037 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52038 function to the callback.
52039 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52040
10a656fe
AS
520412011-02-02 Andreas Schwab <schwab@redhat.com>
52042
52043 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52044 of errno.
52045
968dad0a
UD
520462011-01-19 Ulrich Drepper <drepper@gmail.com>
52047
9f94d2ea 52048 [BZ #11724]
968dad0a
UD
52049 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52050 of constructors.
52051 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52052 of destructors.
52053 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52054
52055 [BZ #11724]
52056 * elf/Makefile: Add rules to build and run new test.
52057 * elf/tst-initorder.c: New file.
52058 * elf/tst-initorder.exp: New file.
52059 * elf/tst-initordera1.c: New file.
52060 * elf/tst-initordera2.c: New file.
52061 * elf/tst-initordera3.c: New file.
52062 * elf/tst-initordera4.c: New file.
52063 * elf/tst-initorderb1.c: New file.
52064 * elf/tst-initorderb2.c: New file.
52065 * elf/tst-order-a1.c: New file.
52066 * elf/tst-order-a2.c: New file.
52067 * elf/tst-order-a3.c: New file.
52068 * elf/tst-order-a4.c: New file.
52069 * elf/tst-order-b1.c: New file.
52070 * elf/tst-order-b2.c: New file.
52071 * elf/tst-order-main.c: New file.
52072 New test case by George Gensure <werkt0@gmail.com>.
52073
86e92359
UD
520742010-10-01 Andreas Schwab <schwab@redhat.com>
52075
52076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52077 decoding ACE if AI_CANONIDN.
52078
5d5732b0
UD
520792011-01-18 Ulrich Drepper <drepper@gmail.com>
52080
52081 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52082
a77e8cbc
UD
520832011-01-17 Ulrich Drepper <drepper@gmail.com>
52084
6392473f
UD
52085 * version.h (RELEASE): Bump for 2.13 release.
52086 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52087
620a0529
UD
52088 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52089
18ba70a5
UD
52090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52091 MADV_NOHUGEPAGE.
32465c3e
UD
52092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52098
c0dafcf1
UD
52099 * posix/getconf.c: Update copyright year.
52100 * catgets/gencat.c: Likewise.
52101 * csu/version.c: Likewise.
52102 * debug/catchsegv.sh: Likewise.
52103 * debug/xtrace.sh: Likewise.
52104 * elf/ldconfig.c: Likewise.
52105 * elf/ldd.bash.in: Likewise.
52106 * elf/sprof.c (print_version): Likewise.
52107 * iconv/iconv_prog.c: Likewise.
52108 * iconv/iconvconfig.c: Likewise.
52109 * locale/programs/locale.c: Likewise.
52110 * locale/programs/localedef.c: Likewise.
52111 * malloc/memusage.sh: Likewise.
52112 * malloc/mtrace.pl: Likewise.
52113 * nscd/nscd.c (print_version): Likewise.
52114 * nss/getent.c: Likewise.
52115
a77e8cbc
UD
52116 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52117 PF_CAIF, and PF_ALG.
52118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52119
77e8bddf
AS
521202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52121
1f20b93a
AS
52122 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52123 (modules-names): Use them.
52124 (ifunc-test-modules, ifunc-pie-tests): Define.
52125 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52126 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52127 (test-extras): Likewise.
52128 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52129 $(compile-command.c).
52130 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52131 (all-built-dso): Define.
52132 (check-textrel.out, check-execstack.out): Depend on it.
52133
77e8bddf
AS
52134 * configure.in: Don't override --enable-multi-arch.
52135
bc425b33
UD
521362011-01-15 Ulrich Drepper <drepper@gmail.com>
52137
52138 [BZ #6812]
52139 * nscd/hstcache.c (tryagain): Define.
52140 (cache_addhst): Return tryagain not notfound for temporary errors.
52141 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52142 failed.
52143
794c3ad3
UD
521442011-01-14 Ulrich Drepper <drepper@gmail.com>
52145
70181fdd
UD
52146 [BZ #10563]
52147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52148 to make the syscall.
52149 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52150
794c3ad3
UD
52151 [BZ #12378]
52152 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52153 and fall back to matching as normal character if the string ends before
52154 the matching ']' is found. This is what POSIX requires.
52155 * posix/testfnm.c: Adjust test result.
52156 * posix/globtest.sh: Adjust test result. Add new test.
52157 * posix/tst-fnmatch.input: Likewise.
52158 * posix/tst-fnmatch2.c: Add new test.
52159
68dc9497
AS
521602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52161
52162 * elf/Makefile (check-execstack): Revert last change. Depend on
52163 check-execstack.h.
52164 (check-execstack.h): New target.
52165 (generated): Add check-execstack.h.
52166 * elf/check-execstack.c: Include "check-execstack.h".
52167 (main): Revert last change.
52168 (handle_file): Return zero if GNU_STACK is absent and
52169 DEFAULT_STACK_PERMS doesn't include PF_X.
52170
451f001b
UD
521712011-01-13 Ulrich Drepper <drepper@gmail.com>
52172
cfa28e56
UD
52173 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52174 in child fails because the descriptor is already closed.
8cf8ce17
UD
52175 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52176 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52178
1086d70d
UD
52179 [BZ #12397]
52180 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52181 syscall.
52182
451f001b
UD
52183 [BZ #10484]
52184 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52185 temporary buffer used to handle multi lookups locally.
a85b5cb4 52186 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52187
08769175
UD
521882011-01-12 Ulrich Drepper <drepper@gmail.com>
52189
52190 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52191 loader is ld.so.
52192
5e49c52e
UD
521932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52194
52195 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52196 alignment for SSE2.
52197
60522a5f
UD
521982011-01-12 Ulrich Drepper <drepper@gmail.com>
52199
52200 [BZ #12394]
52201 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52202 characters. When rounding increased number of integer digits recompute
52203 number of groups.
52204 * stdio-common/tst-grouping.c: New file.
52205 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52206
f257bbd7
UD
522072011-01-09 Ulrich Drepper <drepper@gmail.com>
52208
52209 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52210 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52211
52212 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52213 void.
52214 * bits/select.h: Likewise.
52215
fa9c15cb
UD
522162011-01-08 Ulrich Drepper <drepper@gmail.com>
52217
52218 * po/ja.po: Update from translation team.
52219
16c2895f
DM
522202011-01-04 David S. Miller <davem@sunset.davemloft.net>
52221
52222 [BZ #11155]
52223 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52224 implementation just like for lxstat, fxstatat, et al.
52225
2543fef2
JM
522262010-12-27 Jim Meyering <meyering@redhat.com>
52227
52228 [BZ #12348]
52229 * posix/regexec.c (build_trtable): Return failure indication upon
52230 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52231
98727dbe
UD
522322010-12-25 Ulrich Drepper <drepper@gmail.com>
52233
5bd6dc5c
UD
52234 [BZ #12201]
52235 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52236 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52239
97983464
UD
52240 [BZ #12207]
52241 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52242
98727dbe
UD
52243 [BZ #12204]
52244 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52245 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52246
4a531bb0
L
522472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52248
52249 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52250 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52251 script has SORT_BY_INIT_PRIORITY.
52252 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52253 NO_CTORS_DTORS_SECTIONS is defined.
52254 * elf/soinit.c: Likewise.
52255 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52256 NO_CTORS_DTORS_SECTIONS is defined.
52257 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52258 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52259 * sysdeps/sh/init-first.c: Likewise.
52260 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52261
07eb4b71
UD
522622010-12-24 Ulrich Drepper <drepper@gmail.com>
52263
52264 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52265 always use the slow path.
52266
30950a5f
RA
522672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52268
52269 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52270 similar rule which adds the sysdep directories to the header search in
52271 order to pick up the correct platform stackinfo.h.
52272 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52273 perform test if it is, otherwise return successfully without testing.
52274 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52275 DEFAULT_STACK_PERMS define in stackinfo.h.
52276 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52277 defined in stackinfo.h.
52278 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52279 DEFAULT_STACK_PERMS defined in stackinfo.h.
52280 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52281 * sysdeps/ia64/stackinfo.h: Likewise.
52282 * sysdeps/s390/stackinfo.h: Likewise.
52283 * sysdeps/sh/stackinfo.h: Likewise.
52284 * sysdeps/sparc/stackinfo.h: Likewise.
52285 * sysdeps/x86_64/stackinfo.h: Likewise.
52286 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52287 PF_X for powerpc64. Retain PF_X for powerpc32.
52288
db753e2c
UD
522892010-12-19 Ulrich Drepper <drepper@gmail.com>
52290
14b697f7
UD
52291 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52292 accurately.
db753e2c
UD
52293 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52294 GETDENTS_64BIT_ALIGNED.
52295
28300719
UD
522962010-12-14 Ulrich Drepper <dreper@gmail.com>
52297
14b697f7 52298 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52299
4f197237
AS
523002010-12-10 Andreas Schwab <schwab@redhat.com>
52301
dbb0472f
AS
52302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52303 _GNU_SOURCE.
52304
4f197237
AS
52305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52306 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52307 Remove __restrict.
52308 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52309 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52310
fb88ac72
UD
523112010-12-09 Ulrich Drepper <drepper@gmail.com>
52312
52313 [BZ #11655]
52314 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52315 are initialized.
52316
42acbb92
JJ
523172010-12-09 Jakub Jelinek <jakub@redhat.com>
52318
52319 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52320
c038d98d
UD
523212010-12-03 Ulrich Drepper <drepper@gmail.com>
52322
52323 * po/it.po: Update from translation team.
52324
3a4a2499
L
523252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52326
52327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52328 unused codes.
52329
1e24cf6e
UD
523302010-11-30 Ulrich Drepper <drepper@gmail.com>
52331
52332 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52333
a7690819
AS
523342010-11-24 Andreas Schwab <schwab@redhat.com>
52335
52336 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52337 specially.
52338 (gaih_getanswer_slice): Likewise.
52339
3bf8d1b1
JJ
523402010-10-20 Jakub Jelinek <jakub@redhat.com>
52341
52342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52343
6db52fbb
PB
523442010-05-31 Petr Baudis <pasky@suse.cz>
52345
52346 [BZ #11149]
52347 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52348 silently even in the chroot mode.
52349
eaca7569
UD
523502010-11-22 Ulrich Drepper <drepper@gmail.com>
52351
52352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52353 last patch a bit. Pretty printing
52354
3056dcdb
UD
523552010-05-31 Petr Baudis <pasky@suse.cz>
52356
52357 [BZ #10085]
52358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52359 initialization of skip_initgroups_dyn.
52360
cf7c9078
UD
523612010-11-19 Ulrich Drepper <drepper@gmail.com>
52362
52363 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52365
a1fb5e3e
UD
523662010-11-16 Ulrich Drepper <drepper@gmail.com>
52367
52368 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52369
3540d66b
AS
523702010-11-11 Andreas Schwab <schwab@redhat.com>
52371
52372 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52373 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52374 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52375 ($(objpfx)tst-fnmatch-mem): New rule.
52376 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52377 * posix/tst-fnmatch.c (main): Call mtrace.
52378
13b69574
L
523792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52380
52381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52382 Support Intel processor model 6 and model 0x2c.
52383
da93d214
LM
523842010-11-10 Luis Machado <luisgpm@br.ibm.com>
52385
52386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52387 signed comparison.
52388
8ca52c6e
L
523892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52390
52391 [BZ #12205]
52392 * string/test-strncasecmp.c (check_result): New function.
52393 (do_one_test): Use it.
52394 (check1): New function.
52395 (test_main): Use it.
52396 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52397 Support strcasecmp and strncasecmp.
52398
69da074d
UD
523992010-11-08 Ulrich Drepper <drepper@gmail.com>
52400
52401 [BZ #12194]
52402 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52404
ff02d528
L
524052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52406
52407 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52408 IFUNC support.
52409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52410 memset-x86-64.
52411 * sysdeps/x86_64/multiarch/bzero.S: New file.
52412 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52413 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52414 * sysdeps/x86_64/multiarch/memset.S: New file.
52415 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52417 Set bit_Prefer_SSE_for_memop for Intel processors.
52418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52419 Define.
52420 (index_Prefer_SSE_for_memop): Define.
52421 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52422
344d0b54
LM
524232010-11-04 Luis Machado <luisgpm@br.ibm.com>
52424
52425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52427
c0dde15b
UD
524282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52429
52430 [BZ #12191]
52431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52432 (__x86_64_raw_data_cache_size_half): Likewise.
52433 (__x86_64_raw_shared_cache_size): Likewise.
52434 (__x86_64_raw_shared_cache_size_half): Likewise.
52435
52436 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52437 (__x86_64_raw_data_cache_size_half): Likewise.
52438 (__x86_64_raw_shared_cache_size): Likewise.
52439 (__x86_64_raw_shared_cache_size_half): Likewise.
52440 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52441 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52442 and __x86_64_raw_shared_cache_size_half. Round
52443 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52444 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52445 to multiple of 256 bytes.
52446
0e516e0e
MS
524472010-11-03 Ulrich Drepper <drepper@gmail.com>
52448
52449 [BZ #12167]
52450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52451 of inacessible symlinks. Verify result of symlink before returning it.
52452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52453 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52454
0e012e87
ER
524552010-10-28 Erich Ritz <erichritz@gmail.com>
52456
52457 * math/math.h (isinf): Fix typo in comment.
52458
de0ff7bc
UD
524592010-11-01 Ulrich Drepper <drepper@gmail.com>
52460
52461 * po/da.po: Update from translation team.
52462
fa41c84d
UD
524632010-10-26 Ulrich Drepper <drepper@gmail.com>
52464
52465 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52466 is added to the list.
52467
f0967738
AK
524682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52469 Ulrich Drepper <drepper@gmail.com>
52470
52471 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52472 the global list here. Move code to...
52473 (_dl_add_to_namespace_list): ...here. New function.
52474 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52475 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52476 * elf/dl-load.c (lose): Don't remove the element from the list.
52477 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52478 (_dl_map_object): Likewise.
52479
524802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52481
52482 [BZ #12159]
52483 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52484 into all bytes of SSE register.
52485 Patch by Richard Li <richardpku@gmail.com>.
52486
f0967738 524872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52488
52489 [BZ #12140]
52490 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52491 perturbing.
52492
d0b9e94f
MB
524932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52494
52495 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52496 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52500 submachine.
52501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52502
8e9f92e9
AS
525032010-10-22 Andreas Schwab <schwab@redhat.com>
52504
52505 * include/dlfcn.h (__RTLD_SECURE): Define.
52506 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52507 mode & __RTLD_SECURE instead.
52508 (open_path): Rename preloaded parameter to secure.
52509 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52510 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52511 * elf/dl-deps.c (openaux): Likewise.
52512 * elf/rtld.c (struct map_args): Remove is_preloaded.
52513 (map_doit): Don't use it.
52514 (dl_main): Likewise.
52515 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52516 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52517
bc96fbda
AS
525182010-09-09 Andreas Schwab <schwab@redhat.com>
52519
52520 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52521 (sysd-rules-targets): Remove duplicates.
52522 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52523 rtld-%.$o dependency.
52524
22cd1c9b
AS
525252010-10-18 Andreas Schwab <schwab@redhat.com>
52526
52527 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52528 _dl_map_object do it.
52529
18edac48
UD
525302010-10-19 Ulrich Drepper <drepper@gmail.com>
52531
52532 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52533 fast fma builtins, define the macros in the C99 standard.
52534 (FP_FAST_FMAF): Likewise.
52535 (FP_FAST_FMAL): Likewise.
52536 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52537
52538 * bits/mathdef.h: Update copyright year.
52539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52540
d2050124
MM
525412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52542
52543 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52544 builtins, define the macros in the C99 standard.
52545 (FP_FAST_FMAF): Likewise.
52546 (FP_FAST_FMAL): Likewise.
52547 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52548 multiply/add.
52549 (FP_FAST_FMAF): Likewise.
52550
475facd1
JJ
525512010-10-15 Jakub Jelinek <jakub@redhat.com>
52552
52553 [BZ #3268]
52554 * math/libm-test.inc (fma_test): Some new testcases.
52555 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52557 y and infinite z. Do multiplication by C already in long double.
52558 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52560 y and infinite z. Do bitwise or of inexact bit into u.d.
52561 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52562 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52563 * sysdeps/i386/fpu/s_fma.S: Removed.
52564 * sysdeps/i386/fpu/s_fmal.S: Removed.
52565
7c08a05c
JJ
525662010-10-16 Jakub Jelinek <jakub@redhat.com>
52567
52568 [BZ #3268]
52569 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52571 computation is not scheduled after fetestexcept. Fix value
52572 of minimum denormal long double.
52573
f3f7372d
JJ
525742010-10-14 Jakub Jelinek <jakub@redhat.com>
52575
52576 [BZ #3268]
52577 * math/libm-test.inc (fma_test): Add some more tests.
52578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52579 correctly.
52580
14d43591
AS
525812010-10-15 Andreas Schwab <schwab@redhat.com>
52582
52583 * scripts/data/localplt-s390-linux-gnu.data: New file.
52584 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52585
5e908464
JJ
525862010-10-13 Jakub Jelinek <jakub@redhat.com>
52587
52588 [BZ #3268]
52589 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52590 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52591 instead of dbl-64.
52592 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52593 inlines.
52594 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52596 if one of x and y is very large and the other is subnormal.
52597 * sysdeps/s390/fpu/s_fmaf.c: New file.
52598 * sysdeps/s390/fpu/s_fma.c: New file.
52599 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52600 * sysdeps/powerpc/fpu/s_fma.S: New file.
52601 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52602 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52604
526052010-10-12 Jakub Jelinek <jakub@redhat.com>
52606
52607 [BZ #3268]
52608 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52609 fma tests.
52610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52611 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52612 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52613 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52614 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52615 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52616 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52617
b833d51f
UD
526182010-10-12 Ulrich Drepper <drepper@redhat.com>
52619
52620 [BZ #12078]
52621 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52622 * posix/bug-regex31.input: Add test case.
52623
1751705d
UD
526242010-10-11 Ulrich Drepper <drepper@gmail.com>
52625
e9b9cbf5
UD
52626 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52627 * posix/bug-regex31.input: New file.
52628
52629 [BZ #12078]
52630 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52631 (parse_sub_exp): Fix last change, use postorder.
52632
ef06edbe
UD
52633 * posix/bug-regex31.c: New file.
52634 * posix/Makefile: Add rules to build and run bug-regex31.
52635
a129c80d
UD
52636 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52637
52638 [BZ #12078]
52639 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52640
b76b818e
UD
52641 [BZ #12108]
52642 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52643 to have entries in sys_siglist.
52644
1751705d
UD
52645 [BZ #12093]
52646 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52647 be NULL.
52648
9ff8d36f
JJ
526492010-10-07 Jakub Jelinek <jakub@redhat.com>
52650
52651 [BZ #3268]
52652 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52653 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52654 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52655 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52656 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52657 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52658 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52659 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52660 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52661 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52662 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52665 * math/ftestexcept.c (fetestexcept): Likewise.
52666 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52667 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52668 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52669 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52670 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52671 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52673
af325969
UD
526742010-10-11 Ulrich Drepper <drepper@gmail.com>
52675
c579b202 52676 [BZ #12107]
af325969
UD
52677 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52678 newline.
52679
67a67b95
UD
526802010-10-06 Ulrich Drepper <drepper@gmail.com>
52681
52682 * string/bug-strstr1.c: New file.
52683 * string/Makefile: Add rules to build and run bug-strstr1.
52684
5fb308bc
EB
526852010-10-05 Eric Blake <eblake@redhat.com>
52686
52687 [BZ #12092]
52688 * string/str-two-way.h (two_way_long_needle): Always clear memory
52689 when skipping input due to the shift table.
52690
45db99c7
UD
526912010-10-03 Ulrich Drepper <drepper@gmail.com>
52692
3b111893
UD
52693 [BZ #12005]
52694 * malloc/mcheck.c: Handle large requests.
52695
45db99c7
UD
52696 [BZ #12077]
52697 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52698 for strncmp and strncasecmp.
52699 * string/stratcliff.c: Add tests for strcmp and strncmp.
52700 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52701
cf7a1eb8
NI
527022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52703
52704 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52705 __set_fpscr.
52706
6484ba5e
AJ
527072010-09-30 Andreas Jaeger <aj@suse.de>
52708
52709 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52710 (CGROUP_SUPER_MAGIC): Define.
52711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52712 Handle btrfs and cgroup file systems.
52713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52714 Likewise.
52715
91c42559
LM
527162010-09-27 Luis Machado <luisgpm@br.ibm.com>
52717
52718 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52719 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52720
87a97932
AK
527212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52722
52723 [BZ #12067]
52724 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52725 trying to locate the ELF header.
52726
c21cc9bc
AS
527272010-09-27 Andreas Schwab <schwab@redhat.com>
52728
52729 [BZ #11611]
52730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52731 Mask out sign-bit copies when constructing f_fsid.
52732
315970f6
PB
527332010-09-24 Petr Baudis <pasky@suse.cz>
52734
52735 * debug/stack_chk_fail_local.c: Add missing licence exception.
52736 * debug/warning-nop.c: Likewise.
52737
1ac7a2c7
JM
527382010-09-15 Joseph Myers <joseph@codesourcery.com>
52739
52740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52741 implementing getdents64 using getdents syscall, set d_type if
52742 __ASSUME_GETDENTS32_D_TYPE.
52743
56801c50
AS
527442010-09-16 Andreas Schwab <schwab@redhat.com>
52745
52746 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52747 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52748
dda51327
UD
527492010-09-21 Ulrich Drepper <drepper@redhat.com>
52750
52751 [BZ #12037]
52752 * posix/unistd.h: Undo change of feature selection for ftruncate from
52753 2010-01-11.
52754
8ffcee4a
UD
527552010-09-20 Ulrich Drepper <drepper@redhat.com>
52756
a545ecd9 52757 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
52758 detection.
52759
e24f0a8b
AS
527602010-09-20 Andreas Schwab <schwab@redhat.com>
52761
52762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52763 fanotify_mark.
52764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52765
7291c56f
AS
527662010-09-14 Andreas Schwab <schwab@redhat.com>
52767
52768 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52769 variables after CHECK_SP call.
52770 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52771
bc5fb037
AS
527722010-09-13 Andreas Schwab <schwab@redhat.com>
52773 Ulrich Drepper <drepper@redhat.com>
52774
52775 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52776 re-relocationg ld.so.
52777 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52778 _dl_init_paths call.
52779 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52780 here anymore.
52781
e66e7419
UD
527822010-09-14 Ulrich Drepper <drepper@redhat.com>
52783
52784 * resolv/res_init.c (__res_vinit): Count the default server we added.
52785
c044aa75
CLT
527862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52787 Ulrich Drepper <drepper@redhat.com>
52788
52789 [BZ #11968]
52790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52791 (____longjmp_chk): Use %ebx for saving value across system call.
52792 Add unwind info.
52793
32cf4069
AS
527942010-09-06 Andreas Schwab <schwab@redhat.com>
52795
52796 * manual/Makefile: Don't mix pattern rules with normal rules.
52797
817328ee
AS
527982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52799
52800 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52801 operation.
52802 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52803 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52804 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52805 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52807 Likewise.
52808
29fddf61
UD
528092010-09-04 Ulrich Drepper <drepper@redhat.com>
52810
52811 [BZ #11979]
52812 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52813 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52814
0959ffc9
UD
528152010-09-02 Ulrich Drepper <drepper@redhat.com>
52816
52817 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52818 * sysdeps/x86_64/addmul_1.S: Likewise.
52819 * sysdeps/x86_64/lshift.S: Likewise.
52820 * sysdeps/x86_64/mul_1.S: Likewise.
52821 * sysdeps/x86_64/rshift.S: Likewise.
52822 * sysdeps/x86_64/sub_n.S: Likewise.
52823 * sysdeps/x86_64/submul_1.S: Likewise.
52824
ece29840
ST
528252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52826
0959ffc9
UD
52827 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52828 Define __sched_param instead of SCHED_* and sched_param when
ece29840 52829 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 52830 * bits/sched.h [__need_schedparam]
ece29840 52831 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
52832 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52833 (__defined_schedparam): Define to 1.
ece29840
ST
52834 (__sched_param): New structure, identical to sched_param.
52835 (__need_schedparam): Undefine.
52836
e53a31fe
MF
528372010-08-31 Mike Frysinger <vapier@gentoo.org>
52838
fdc0c10d
MF
52839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52840 (epoll_create1): Declare.
52841
e53a31fe
MF
52842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52843
a726d796
AS
528442010-08-31 Andreas Schwab <schwab@redhat.com>
52845
52846 [BZ #7066]
52847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52848 shifting retval into place.
52849
2f3e3dc7
UD
528502010-09-01 Ulrich Drepper <drepper@redhat.com>
52851
f2933da9
UD
52852 * nis/rpcsvc/nis.h: Update copyright notice.
52853 * nis/rpcsvc/nis.x: Likewise.
52854 * nis/rpcsvc/nis_callback.h: Likewise.
52855 * nis/rpcsvc/nis_callback.x: Likewise.
52856 * nis/rpcsvc/nis_object.x: Likewise.
52857 * nis/rpcsvc/nis_tags.h: Likewise.
52858 * nis/rpcsvc/yp.h: Likewise.
52859 * nis/rpcsvc/yp.x: Likewise.
52860 * nis/rpcsvc/ypupd.h: Likewise.
52861 * nis/yp_xdr.c: Likewise.
52862 * nis/ypupdate_xdr.c: Likewise.
52863
2f3e3dc7
UD
52864 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52865 mainly the body of pmap_getport. Add parameters to specify timeouts.
52866 (pmap_getport): Use __libc_rpc_getport.
52867 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52868 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52869 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52870
f3dcc2f9
AS
528712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52872
52873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52874 fanotify_mark.
52875
6d34eb5b
RM
528762010-08-27 Roland McGrath <roland@redhat.com>
52877
52878 * sysdeps/i386/i686/multiarch/Makefile
52879 (CFLAGS-varshift.c): New variable.
52880
9ea3de11
UD
528812010-08-27 Ulrich Drepper <drepper@redhat.com>
52882
c96d23fc
UD
52883 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52884 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52885
9ea3de11
UD
52886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52887
52888 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52889
623aac7f
L
528902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52891
52892 * sysdeps/x86_64/strlen.S: Unroll the loop.
52893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52894 strlen-sse2 strlen-sse2-bsf.
52895 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52896 __strlen_no_bsf if bit_Slow_BSF is set.
52897 (__strlen_sse42): Removed.
52898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52899 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52900
8b2b7715
RM
529012010-08-25 Roland McGrath <roland@redhat.com>
52902
52903 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52904 * sysdeps/x86_64/multiarch/varshift.c: New file.
52905 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52906 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52907 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52909
e73015f2
L
529102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52911
52912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52913 strlen-sse2 strlen-sse2-bsf.
52914 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52915 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52916 (__strlen_sse2): Removed.
52917 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52920 bit_Slow_BSF for Atom.
52921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52922 (index_Slow_BSF): Define.
52923 (HAS_SLOW_BSF): Define.
52924
df24a73e
UD
529252010-08-25 Ulrich Drepper <drepper@redhat.com>
52926
52927 [BZ #10851]
52928 * resolv/res_init.c (__res_vinit): When no server address at all
52929 is given default to loopback.
52930
f2ac4868
RM
529312010-08-24 Roland McGrath <roland@redhat.com>
52932
09055553
RM
52933 * configure.in: Remove config-name.h generation.
52934 * configure: Regenerated.
52935 * config-name.in: File removed.
52936 * scripts/config-uname.sh: New file.
52937 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52938 ($(objdir)config-name.h): New target.
52939
f2ac4868
RM
52940 * sunrpc/rpc_parse.h: Avoid nested comment.
52941
73f27d5e
RH
529422010-08-24 Richard Henderson <rth@redhat.com>
52943 Ulrich Drepper <drepper@redhat.com>
52944 H.J. Lu <hongjiu.lu@intel.com>
52945
52946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52948 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52949 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52950 _mm_alignr_epi8 with _mm_loadu_si128.
52951 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52952 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52953 (__m128i_shift_right): Removed.
52954 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52955 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52956 * sysdeps/x86_64/multiarch/varshift.h: New file.
52957 * sysdeps/x86_64/multiarch/varshift.S: New file.
52958
84b9230c
MF
529592010-08-21 Mike Frysinger <vapier@gentoo.org>
52960
52961 * configure.in: Move assembler checks to before sysdep dir checking.
52962
9bbd0ddc
PB
529632010-08-20 Petr Baudis <pasky@suse.cz>
52964
52965 * LICENSES: Sync the sunrpc license.
52966
9da4bb31
UD
529672010-08-19 Ulrich Drepper <drepper@redhat.com>
52968
a7ab6ec8
UD
52969 * sunrpc/auth_des.c: Update copyright notice once again.
52970 * sunrpc/auth_none.c: Likewise.
52971 * sunrpc/auth_unix.c: Likewise.
52972 * sunrpc/authdes_prot.c: Likewise.
52973 * sunrpc/authuxprot.c: Likewise.
52974 * sunrpc/bindrsvprt.c: Likewise.
52975 * sunrpc/clnt_gen.c: Likewise.
52976 * sunrpc/clnt_perr.c: Likewise.
52977 * sunrpc/clnt_raw.c: Likewise.
52978 * sunrpc/clnt_simp.c: Likewise.
52979 * sunrpc/clnt_tcp.c: Likewise.
52980 * sunrpc/clnt_udp.c: Likewise.
52981 * sunrpc/clnt_unix.c: Likewise.
52982 * sunrpc/des_crypt.c: Likewise.
52983 * sunrpc/des_soft.c: Likewise.
52984 * sunrpc/get_myaddr.c: Likewise.
52985 * sunrpc/getrpcport.c: Likewise.
52986 * sunrpc/key_call.c: Likewise.
52987 * sunrpc/key_prot.c: Likewise.
52988 * sunrpc/openchild.c: Likewise.
52989 * sunrpc/pm_getmaps.c: Likewise.
52990 * sunrpc/pm_getport.c: Likewise.
52991 * sunrpc/pmap_clnt.c: Likewise.
52992 * sunrpc/pmap_prot.c: Likewise.
52993 * sunrpc/pmap_prot2.c: Likewise.
52994 * sunrpc/pmap_rmt.c: Likewise.
52995 * sunrpc/rpc/auth.h: Likewise.
52996 * sunrpc/rpc/auth_unix.h: Likewise.
52997 * sunrpc/rpc/clnt.h: Likewise.
52998 * sunrpc/rpc/des_crypt.h: Likewise.
52999 * sunrpc/rpc/key_prot.h: Likewise.
53000 * sunrpc/rpc/netdb.h: Likewise.
53001 * sunrpc/rpc/pmap_clnt.h: Likewise.
53002 * sunrpc/rpc/pmap_prot.h: Likewise.
53003 * sunrpc/rpc/pmap_rmt.h: Likewise.
53004 * sunrpc/rpc/rpc.h: Likewise.
53005 * sunrpc/rpc/rpc_des.h: Likewise.
53006 * sunrpc/rpc/rpc_msg.h: Likewise.
53007 * sunrpc/rpc/svc.h: Likewise.
53008 * sunrpc/rpc/svc_auth.h: Likewise.
53009 * sunrpc/rpc/types.h: Likewise.
53010 * sunrpc/rpc/xdr.h: Likewise.
53011 * sunrpc/rpc_clntout.c: Likewise.
53012 * sunrpc/rpc_cmsg.c: Likewise.
53013 * sunrpc/rpc_common.c: Likewise.
53014 * sunrpc/rpc_cout.c: Likewise.
53015 * sunrpc/rpc_dtable.c: Likewise.
53016 * sunrpc/rpc_hout.c: Likewise.
53017 * sunrpc/rpc_main.c: Likewise.
53018 * sunrpc/rpc_parse.c: Likewise.
53019 * sunrpc/rpc_parse.h: Likewise.
53020 * sunrpc/rpc_prot.c: Likewise.
53021 * sunrpc/rpc_sample.c: Likewise.
53022 * sunrpc/rpc_scan.c: Likewise.
53023 * sunrpc/rpc_scan.h: Likewise.
53024 * sunrpc/rpc_svcout.c: Likewise.
53025 * sunrpc/rpc_tblout.c: Likewise.
53026 * sunrpc/rpc_util.c: Likewise.
53027 * sunrpc/rpc_util.h: Likewise.
53028 * sunrpc/rpcinfo.c: Likewise.
53029 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53030 * sunrpc/rpcsvc/key_prot.x: Likewise.
53031 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53032 * sunrpc/rpcsvc/mount.x: Likewise.
53033 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53034 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53035 * sunrpc/rpcsvc/rex.x: Likewise.
53036 * sunrpc/rpcsvc/rstat.x: Likewise.
53037 * sunrpc/rpcsvc/rusers.x: Likewise.
53038 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53039 * sunrpc/rpcsvc/spray.x: Likewise.
53040 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53041 * sunrpc/rtime.c: Likewise.
53042 * sunrpc/svc.c: Likewise.
53043 * sunrpc/svc_auth.c: Likewise.
53044 * sunrpc/svc_authux.c: Likewise.
53045 * sunrpc/svc_raw.c: Likewise.
53046 * sunrpc/svc_run.c: Likewise.
53047 * sunrpc/svc_simple.c: Likewise.
53048 * sunrpc/svc_tcp.c: Likewise.
53049 * sunrpc/svc_udp.c: Likewise.
53050 * sunrpc/svc_unix.c: Likewise.
53051 * sunrpc/svcauth_des.c: Likewise.
53052 * sunrpc/xcrypt.c: Likewise.
53053 * sunrpc/xdr.c: Likewise.
53054 * sunrpc/xdr_array.c: Likewise.
53055 * sunrpc/xdr_float.c: Likewise.
53056 * sunrpc/xdr_mem.c: Likewise.
53057 * sunrpc/xdr_rec.c: Likewise.
53058 * sunrpc/xdr_ref.c: Likewise.
53059 * sunrpc/xdr_sizeof.c: Likewise.
53060 * sunrpc/xdr_stdio.c: Likewise.
53061
9da4bb31
UD
53062 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53063 handling.
53064
bdaa77bc
AS
530652010-08-19 Andreas Schwab <schwab@redhat.com>
53066
53067 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53068
fe2f79db
LM
530692010-08-19 Luis Machado <luisgpm@br.ibm.com>
53070
53071 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53073 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53074 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53075 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53076 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53078 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53081 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53083 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53085
b9b42ee0
AB
530862010-07-26 Anton Blanchard <anton@samba.org>
53087
53088 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53089 * malloc/arena.c (heap_trim): Likewise.
53090
1c06ba31
UD
530912010-08-16 Ulrich Drepper <drepper@redhat.com>
53092
53093 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53094 here. Not...
53095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53096 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53097
f8392f40
L
530982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53099
53100 * sysdeps/i386/elf/Makefile: New file.
53101
3162f12e
AS
531022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53103
53104 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53105 from fanotify_init.
53106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53108
28c90b2c
UD
531092010-08-15 Ulrich Drepper <drepper@redhat.com>
53110
53111 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53112 of strncasecmp_l.
1feccb6c 53113 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53114
ca6bb004
UD
531152010-08-14 Ulrich Drepper <drepper@redhat.com>
53116
e9f82e0d
UD
53117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53118 strncase_l-nonascii.
53119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53120 Add strncase_l-ssse3.
53121 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53122 * sysdeps/x86_64/strcmp.S: Likewise.
53123 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53124 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53125 * sysdeps/x86_64/strncase.S: New file.
53126 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53127 * sysdeps/x86_64/strncase_l.S: New file.
53128 * string/Makefile (strop-tests): Add strncasecmp.
53129 * string/test-strncasecmp.c: New file.
53130
53131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53132 warning.
53133
ca6bb004
UD
53134 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53136
052fa7b3
AS
531372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53138
53139 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53140
962dba78
UD
531412010-08-12 Ulrich Drepper <drepper@redhat.com>
53142
53143 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53146
bebff237
AM
531472010-05-01 Alan Modra <amodra@gmail.com>
53148
53149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53150 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53151 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53152 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53153 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53154 tidying. Don't tail-call __sigjmp_save for static lib.
53155 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53156 save location.
53157 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53158 (CALL_MCOUNT): Add eh info, and nop after bl.
53159 (TAIL_CALL_SYSCALL_ERROR): New macro.
53160 (PSEUDO_RET): Use it.
53161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53162 Correct save location of integer regs and cr.
53163 (_dl_profile_resolve): Correct cr save location. Delete nops
53164 after bl when SHARED. Reduce cfi size a little by better
53165 placement of cfi directives.
53166 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53167 make a stack frame. Instead use parm save area as a temp.
53168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53169 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53171 Don't make a stack frame for parent, use parm save area.
53172 Increase child stack frame to 112 bytes. Don't save unused reg,
53173 and adjust reg usage. Set up cfi on error recovery and
53174 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53176 (__makecontext): Add dummy nop after jump to exit.
53177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53178 Use correct parm save area and cr save, reduce stack frame.
53179 Correct cfi for possible PSEUDO_RET frame setup.
53180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53181 Branch to local label emitted by PSEUDO_RET rather than
53182 __syscall_error.
53183
02637374
AS
531842010-08-12 Andreas Schwab <schwab@redhat.com>
53185
53186 [BZ #11904]
53187 * locale/programs/locale.c (print_assignment): New function.
53188 (show_locale_vars): Use it.
53189
c3e2f19b
UD
531902010-08-11 Ulrich Drepper <drepper@redhat.com>
53191
3cdaa6ad
UD
53192 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53193 field.
53194 (struct statfs64): Likewise.
53195 (_STATFS_F_FLAGS): Define.
53196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53198 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53199 (ST_VALID): Define locally.
53200 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53201 __statvfs_getflags, use the provided value.
53202 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53203 __ASSUME_STATFS_F_FLAGS.
53204
754f7da3
UD
53205 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53206
10b3bedc
UD
53207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53208 Add sys/fanotify.h.
53209 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53210 fanotify_mask for GLIBC_2.13.
53211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53212 fanotify_init and fanotify_mark.
53213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53214 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53215
c08fb0d7
UD
53216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53217 Add prlimit.
53218 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53219 prlimit64 for GLIBC_2.13.
53220 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53221 prlimit64.
53222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53223 syscall.
53224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53226 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53229 add prlimit alias.
53230 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53231
15bac72b
UD
53232 [BZ #11903]
53233 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53234 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53235
c3e2f19b
UD
53236 * nss/Makefile: Add rules to build and run tst-nss-test1.
53237 * shlib-versions: Add entry for libnss_test1.
53238 * nss/nss_test1.c: New file.
53239 * nss/tst-nss-test1.c: New file.
53240
53241 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53242 (__nss_configure_lookup): Set appropriate entry in
53243 __nss_configure_lookup to true.
53244 * nss/nsswitch.h: Define enum with indeces of databases in
53245 databases and __nss_database_custom arrays. Declare
53246 __nss_database_custom.
53247 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53248 to avoid using nscd when custom rules are installed.
53249 * nss/getXXbyYY_r.c: Likewise.
53250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53251
53252 * nss/nss_files/files-parse.c: Whitespace fixes.
53253
f15ce4d8
UD
532542010-08-09 Ulrich Drepper <drepper@redhat.com>
53255
53256 [BZ #11883]
53257 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53258 * posix/fnmatch_loop.c: Likewise.
53259
d22e4cc9
AK
532602010-07-17 Andi Kleen <ak@linux.intel.com>
53261
53262 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53263 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53264 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53265 * Versions.def [GLIBC_2.13]: Add.
53266
805bc17d
UD
532672010-08-06 Ulrich Drepper <drepper@redhat.com>
53268
53269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53270 Also fail if tpwd after pwuid call is NULL.
53271
5a42321d
ST
532722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53273
53274 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53275 when converting to ms.
53276
fd3ebeda
ST
532772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53278
53279 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53280 EOPNOTSUPP errors with ENOTTY.
53281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53282 EOPNOTSUPP errors with ENOTTY.
53283
73507d3a
UD
532842010-07-31 Ulrich Drepper <drepper@redhat.com>
53285
53286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53287 Add strcasecmp_l-ssse3.
53288 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53289 strcasecmp.
53290 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53293
fe36dd02
UD
532942010-07-30 Ulrich Drepper <drepper@redhat.com>
53295
66f6765a
UD
53296 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53297
42e08a54
UD
53298 * string/Makefile (strop-tests): Add strcasecmp.
53299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53300 strcasecmp_l-nonascii.
53301 (gen-as-const-headers): Add locale-defines.sym.
53302 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53303 * sysdeps/x86_64/strcasecmp.S: New file.
53304 * sysdeps/x86_64/strcasecmp_l.S: New file.
53305 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53306 * sysdeps/x86_64/locale-defines.sym: New file.
53307 * string/test-strcasecmp.c: New file.
53308
fe36dd02
UD
53309 * string/test-strcasestr.c: Test both ends of the range of characters.
53310 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53311
48cbc0d6
RM
533122010-07-29 Roland McGrath <roland@redhat.com>
53313
76e6d6bc 53314 [BZ #11856]
48cbc0d6
RM
53315 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53316
880113d9
UD
533172010-07-27 Ulrich Drepper <drepper@redhat.com>
53318
53319 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53320 for ld.so.
53321
deb9cabb
AS
533222010-07-27 Andreas Schwab <schwab@redhat.com>
53323
53324 * manual/memory.texi (Malloc Tunable Parameters): Document
53325 M_PERTURB.
53326
1c7570ff
RM
533272010-07-26 Roland McGrath <roland@redhat.com>
53328
53329 [BZ #11840]
53330 * configure.in (-fgnu89-inline check): Set and substitute
53331 gnu89_inline, not libc_cv_gnu89_inline.
53332 * configure: Regenerated.
53333 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53334
24fb0f88
UD
533352010-07-26 Ulrich Drepper <drepper@redhat.com>
53336
53337 * string/test-strnlen.c: New file.
53338 * string/Makefile (strop-tests): Add strnlen.
53339 * string/tester.c (test_strnlen): Add a few more test cases.
53340 * string/tst-strlen.c: Better error reporting.
53341
53342 * sysdeps/x86_64/strnlen.S: New file.
53343
8e96b93a
UD
533442010-07-24 Ulrich Drepper <drepper@redhat.com>
53345
53346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53347 lower-latency instructions.
53348
dbc676d4
UD
533492010-07-23 Ulrich Drepper <drepper@redhat.com>
53350
53351 * string/test-strcasestr.c: New file.
53352 * string/test-strstr.c: New file.
53353 * string/Makefile (strop-tests): Add strstr and strcasestr.
53354 * string/str-two-way.h: Don't undefine MAX.
53355 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53356
f6a31e0e
AS
533572010-07-21 Andreas Schwab <schwab@redhat.com>
53358
53359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53360 strcasestr-nonascii.
53361 (CFLAGS-strcasestr-nonascii.c): Define.
53362 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53364 Remove unused attribute.
53365
5dbc3b6c
RM
533662010-07-20 Roland McGrath <roland@redhat.com>
53367
53368 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53369 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53370 ld.so.cache was broken. With it, there is no way to disable dsocaps
53371 like LD_HWCAP_MASK can disable hwcaps.
53372
23d101d8
EPM
533732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53374
53375 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53376
cc9f2e47
UD
533772010-07-16 Ulrich Drepper <drepper@redhat.com>
53378
53379 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53380 call in strcasestr.
53381 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53382 __strcasestr_sse42_nonascii.
53383 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53384 strcasestr-nonascii.c.
53385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53386
77c1b069
LM
533872010-06-15 Luis Machado <luisgpm@br.ibm.com>
53388
53389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53393
440566c3
UD
533942010-07-09 Ulrich Drepper <drepper@redhat.com>
53395
53396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53397 fcntl.
53398
5be9d05d
AS
533992010-07-06 Andreas Schwab <schwab@redhat.com>
53400
c30b7ee2 53401 [BZ #11577]
5be9d05d
AS
53402 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53403 dl_signal_cerror.
53404
8a492a67
UD
534052010-07-06 Ulrich Drepper <drepper@redhat.com>
53406
53407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53408 _PC_PIPE_BUF using F_GETPIPE_SZ.
53409
713df3d5
RM
534102010-07-05 Roland McGrath <roland@redhat.com>
53411
53412 * manual/arith.texi (Rounding Functions): Fix rint description
53413 implicit in round description.
53414
702e8f14
UD
534152010-07-02 Ulrich Drepper <drepper@redhat.com>
53416
53417 * elf/Makefile: Fix linking for a few tests to make recent linker
53418 happy.
53419
52ed8be9
AS
534202010-06-30 Andreas Schwab <schwab@redhat.com>
53421
53422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53423 $(common-objpfx)libc_nonshared.a.
53424
f47c9a11
LM
534252010-06-21 Luis Machado <luisgpm@br.ibm.com>
53426
53427 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53428 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53429 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53430 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53431 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53432 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53434 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53449 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53450 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53451 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53452 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53453 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53454 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53455 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53456 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53457 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53458 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53459 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53460 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53475
6fb8cbcb
L
534762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53477
53478 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53479 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53480 * string/memmove.c (memmove): Renamed to ...
53481 (MEMMOVE): ...this. Default to memmove.
53482 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53483 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53484 (END_CHK): Define.
53485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53486 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53487 mempcpy-ssse3-back memmove-ssse3-back.
53488 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53491 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53492 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53493 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53494 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53495 * sysdeps/x86_64/multiarch/memmove.c: New file.
53496 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53497 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53498 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53499 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53502 Define.
53503 (index_Fast_Copy_Backward): Define.
53504 (HAS_ARCH_FEATURE): Define.
53505 (HAS_FAST_REP_STRING): Define.
53506 (HAS_FAST_COPY_BACKWARD): Define.
53507
4e733bac 535082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53509
53510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53511 Restore proper fallback handling.
53512
63c4ed22
UD
535132010-06-19 Ulrich Drepper <drepper@redhat.com>
53514
ac2b484c
UD
53515 [BZ #11701]
53516 * posix/group_member.c (__group_member): Correct checking loop.
53517
63c4ed22
UD
53518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53519 OOM in getpwuid_r correctly. Return error number when the caller
53520 should return, otherwise -1.
53521 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53522 call returning > 0 value.
53523 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53524
765ade4b
AS
535252010-06-07 Andreas Schwab <schwab@redhat.com>
53526
53527 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53528 libc_nonshared.a from targets in modules-names.
53529
80da2e09
KS
535302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53531
53532 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53533 requires it.
53534
158db122
LM
535352010-06-10 Luis Machado <luisgpm@br.ibm.com>
53536
53537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53541
caa78cf8
AS
535422010-06-02 Andreas Schwab <schwab@redhat.com>
53543
53544 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53545
b2ef2c01
UD
535462010-06-14 Ulrich Drepper <drepper@redhat.com>
53547
53548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53549 and F_GETPIPE_SZ.
53550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53556
fbd643b6
RM
535572010-06-14 Roland McGrath <roland@redhat.com>
53558
53559 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53560
f32f2869
JJ
535612010-06-07 Jakub Jelinek <jakub@redhat.com>
53562
53563 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53564 __REDIRECT followed by __THROW.
53565 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53566 * posix/getopt.h (getopt): Likewise.
53567
2a50c078
EPM
535682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53569
53570 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53571 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53572 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53573 in AT_FLAGS.
53574 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53575 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53576
eb5ad2eb
LM
535772010-05-28 Luis Machado <luisgpm@br.ibm.com>
53578
53579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53580
3c88fe1e
L
535812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53582
53583 [BZ #11640]
53584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53585 Properly check family and model.
53586
d2f73151
TY
535872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53588
53589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53590
ebd2e13d
LM
535912010-05-24 Luis Machado <luisgpm@br.ibm.com>
53592
53593 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53594
b32b8b45
UD
535952010-05-21 Ulrich Drepper <drepper@redhat.com>
53596
53597 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53598 symbol reference.
53599
9acbe24d
AS
536002010-05-19 Andreas Schwab <schwab@redhat.com>
53601
53602 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53603 symbol reference.
53604
f0ccf6ea
AS
536052010-05-21 Andreas Schwab <schwab@redhat.com>
53606
3d04ff3a
AS
53607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53608 and internal_recvmmsg.
53609 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53612 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53613
f0ccf6ea
AS
53614 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53615 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53616 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53617
5b08ac57
AS
536182010-05-20 Andreas Schwab <schwab@redhat.com>
53619
53620 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53621
4828935d
LM
536222010-05-17 Luis Machado <luisgpm@br.ibm.com>
53623
53624 POWER7 optimizations.
53625 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53626 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53627
373d545e
UD
536282010-05-19 Ulrich Drepper <drepper@redhat.com>
53629
53630 * version.h: Update for 2.13 development version.
53631
21a2b1ae
AS
536322010-05-12 Andrew Stubbs <ams@codesourcery.com>
53633
53634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53635 exceptions. Return 0.
53636
3f7dcb2b
RM
536372010-05-07 Roland McGrath <roland@redhat.com>
53638
53639 * elf/ldconfig.c (main): Add a const.
53640
5f24d53a 536412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53642
a160f8d8
UD
53643 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53644 (args_options): Add no-idn option.
53645 (ahosts_keys_int): Add idn_flags to ai_flags.
53646 (parse_option): Handle 'i' option to clear idn_flags.
53647
5f24d53a
UD
53648 * malloc/malloc.c (_int_free): Possible race in the most recently
53649 added check. Only act on the data if no current modification
53650 happened.
265bb1ce
UD
53651
53652See ChangeLog.17 for earlier changes.