]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Disable -Wdeprecated-declarations for register_printf_function calls in tst-printfsz.c.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2084e7ca
JM
12014-12-10 Joseph Myers <joseph@codesourcery.com>
2
0f88636c
JM
3 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4 (main): Disable -Wdeprecated-declarations around calls to
5 register_printf_function.
6
c81e9deb
JM
7 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8 (do_test): Disable -Wdiv-by-zero around some calls to
9 fwrite_unlocked and fread_unlocked.
10
2084e7ca
JM
11 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12 (DIAG_POP_NEEDS_COMMENT): Likewise.
13 (_DIAG_STR1): Likewise.
14 (_DIAG_STR): Likewise.
15 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16 * stdio-common/bug21.c: Include <libc-internal.h>.
17 (do_test): Disable -Wformat around call to sscanf.
18 * stdio-common/scanf14.c: Include <libc-internal.h>.
19 (main): Disable -Wformat around some calls to scanf functions.
20
df7ecc6b
TR
212014-12-09 Torvald Riegel <triegel@redhat.com>
22
23 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24
2aa3862e
AZ
252014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26
27 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28 stack variable alignment.
29
c5c2b7c3
JM
302014-12-06 Joseph Myers <joseph@codesourcery.com>
31
32 [BZ #17682]
33 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38 __getrlimit instead of getrlimit.
39 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40 __gettimeofday instead of gettimeofday.
41 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42 Likewise.
43 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
44 Likewise.
45 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
47 Remove variable.
48 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
49 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
50
9752c3cd
AZ
512014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52
53 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
54 for wide-character tests.
55
4bee4cd9
RM
562014-12-04 Roland McGrath <roland@hack.frob.com>
57
58 * io/openat64.c: #include <libc-internal.h>
59 (__openat64): Prototypify. Use ignore_value on MODE.
60 * io/openat.c: Likewise.
61 * misc/reboot.c: #include <libc-internal.h>
62 (reboot): Prototypify. Use ignore_value on HOWTO.
63 * misc/ptrace.c: #include <libc-internal.h>
64 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
65
84dbedb6
JM
662014-12-04 Joseph Myers <joseph@codesourcery.com>
67
68 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
69 XPG4, UNIX98 and XOPEN2K.
70 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
71 Remove variable.
72 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
73
b7a3e1c4 742014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 75
af50dfc1 76 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
77 * libio/iofopen.c: Likewise.
78 * libio/wfileops.c: Likewise.
79
fe8b4d98
SP
80 [BZ #17653]
81 * libio/fileops.c (_IO_new_file_underflow): Unset cached
82 offset on EOF.
83 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
84 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
85 (fgets_func): Function pointer to fgets and fgetws.
86 (do_ftell_test): Add test to verify ftell value after read
87 EOF.
88 (do_test): Set fgets_func.
89
61b4f792
SP
90 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
91 O_TRUNC flag for w and w+ modes.
92 (do_rewind_test): Likewise.
93 (do_ftell_test): Likewise.
94 (do_write_test): Likewise.
95
be349d70
SP
96 [BZ #17647]
97 * libio/fileops.c (do_ftell): Seek only when there are
98 unflushed writes.
99 * libio/wfileops.c (do_ftell_wide): Likewise.
100 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
101 test case.
102 (do_one_test): Call it.
103
e3d6dba5
JM
1042014-12-03 Joseph Myers <joseph@codesourcery.com>
105
106 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
107 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
108 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
109 Remove variable.
110 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
111 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
112 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
113
7f994279
JM
1142014-12-02 Joseph Myers <joseph@codesourcery.com>
115
28a91e8f
JM
116 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
117 Remove variable.
118 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
119
7f994279
JM
120 [BZ #17668]
121 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
122 as weak alias of __getifaddrs. Use libc_hidden_weak.
123 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
124 __freeifaddrs. Use libc_hidden_weak.
125 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
126 define as weak alias of __getifaddrs. Use libc_hidden_weak.
127 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
128 __freeifaddrs. Use libc_hidden_weak.
129 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
130 __getifaddrs and define as weak alias of __getifaddrs. Use
131 libc_hidden_weak.
132 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
133 __freeifaddrs. Use libc_hidden_weak.
134 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
135 Remove variable.
136 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
137 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
138
bbe4c142
PJ
1392014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
140
141 [BZ #17601]
142 * sysdeps/mips/start.S (__start): Use indirect jump to call
143 __libc_start_main.
144
66cadc05
JM
1452014-12-02 Joseph Myers <joseph@codesourcery.com>
146
909e16d9
JM
147 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
148
4e0b9016
JM
149 * nptl/tst-mutex1.c: Include <stdbool.h>.
150 [!ATTR] (ATTR_NULL): New macro.
151 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
152 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
153 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
154
b1aff6a4
JM
155 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
156 to char *.
157
266865c0
JM
158 [BZ #17665]
159 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
160 Change conditional to [__USE_MISC].
161
84e5e756
JM
162 [BZ #17664]
163 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
164 fgets_unlocked.
165 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
166 __fgets_unlocked.
167 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
168 fgets_unlocked.
169 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
170 Remove variable.
171 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
172 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
173 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
174 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
175 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
176 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
177 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
178 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
179 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
180
66cadc05
JM
181 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
182
2e8a2de2 1832014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
184
185 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
186 Remove strpbrk objects.
187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
188 (__libc_ifunc_impl_list): Remove strpbrk implementation.
189 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
191 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
192 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
193
bb2542e0
AZ
194 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
195 Remove strcspn objects.
196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
197 (__libc_ifunc_impl_list): Remove strcspn implementation.
198 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
199 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
200 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
201 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
202
203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
204 Remove strspn objetcs.
205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
206 (__libc_ifunc_impl_list): Remove strspn implementation.
207 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
208 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
209 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
210 * sysdeps/powerpc/powerpc64/strspn.S: New file.
211
08f1e1d2
JL
2122014-12-01 James Lemke <jwlemke@codesourcery.com>
213
214 [BZ #17581]
215 * malloc/hooks.c
216 (mem2mem_check): Add a terminator to the chain of checking blocks.
217 (malloc_check_get_size): Use it here.
218 (mem2chunk_check): Ditto.
219
a8a7d7d2
RS
2202014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
221
222 * sysdeps/powerpc/powerpc64/strtok.S: New file.
223 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
224
97114a38
CD
2252014-11-29 Carlos O'Donell <carlos@redhat.com>
226
c8dc1727
CD
227 * bits/ioctl-types.h: Indent preprocessor directives correctly.
228
6d03458e
CD
229 * nptl/nptl-init.c: Include libc-internal.h.
230 (__pthread_initialize_minimal_internal): Use ROUND_UP.
231
97114a38
CD
232 * elf/ldconfig.c (search_dir): Expand comment.
233
0e7e69ba
JM
2342014-11-29 Joseph Myers <joseph@codesourcery.com>
235
236 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
237 variable.
238 (linknamespace-symlist-stdlibs-tests): Likewise.
239 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
240 instead of $(objpfx)symlist-stdlibs.
241 (linknamespace-libs-isoc): New variable.
242 (linknamespace-libs): Use $(linknamespace-libs-isoc).
243 (linknamespace-libs-ISO): New variable.
244 (linknamespace-libs-ISO99): Likewise.
245 (linknamespace-libs-ISO11): Likewise.
246 (linknamespace-libs-XPG3): Likewise.
247 (linknamespace-libs-XPG4): Likewise.
248 (linknamespace-libs-POSIX): Likewise.
249 (linknamespace-libs-UNIX98): Likewise.
250 (linknamespace-libs-XOPEN2K): Likewise.
251 (linknamespace-libs-POSIX2008): Likewise.
252 (linknamespace-libs-XOPEN2K8): Likewise.
253 ($(objpfx)symlist-stdlibs): Replace by
254 $(linknamespace-symlist-stdlibs-tests). Use
255 $(linknamespace-libs-$*) as set of libraries.
256 ($(linknamespace-header-tests)): Update dependencies. Use
257 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
258 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
259 * conform/linknamespace.pl: Remove comment about considering
260 definitions of symbols from irrelevant libraries.
261
d8dd0080
L
2622014-11-28 H.J. Lu <hongjiu.lu@intel.com>
263
264 [BZ #13862]
265 * elf/dl-tls.c: Include <atomic.h>.
266 (oom): Remove #ifdef SHARED/#endif.
267 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
268 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
269 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
270 big enough.
271 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
272 * nptl/Makefile (tests): Add tst-stack4.
273 (modules-names): Add tst-stack4mod.
274 ($(objpfx)tst-stack4): New.
275 (tst-stack4mod.sos): Likewise.
276 ($(objpfx)tst-stack4.out): Likewise.
277 ($(tst-stack4mod.sos)): Likewise.
278 (clean): Likewise.
279 * nptl/tst-stack4.c: New file.
280 * nptl/tst-stack4mod.c: Likewise.
281
167da422
B
2822014-11-27 J. Brown <jb999@gmx.de>
283
284 * sysdeps/x86/bits/string.h: Add recent CPUs.
285
9114625b
JM
2862014-11-27 Joseph Myers <joseph@codesourcery.com>
287
6b5189eb
JM
288 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
289 sigblock.
290
49051f8e
JM
291 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
292 feof.
293
9114625b
JM
294 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
295 variable.
296
e7300fef
SL
2972014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
298
299 * nscd/connections.c: Include libc-internal.h because of macro
300 usage ignore_value.
301
1721f0a4
SP
3022014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
303
304 * string/bits/string3.h (__warn_memset_zero_len): Don't
305 declare for gcc newer than 5.0.
306 (memset): Don't test for zero-length __LEN for gcc newer than
307 5.0.
308
be970916
JM
3092014-11-27 Joseph Myers <joseph@codesourcery.com>
310
d88548f4
JM
311 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
312 size_t for %zu format.
313
be970916
JM
314 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
315 difference, not %ju.
316
3b20fd5c
JM
3172014-11-26 Joseph Myers <joseph@codesourcery.com>
318
8915eace
JM
319 * include/libc-internal.h (ignore_value): New macro.
320 * nscd/connections.c (restart): Wrap calls to setuid and setgid
321 with ignore_value.
322
f1a5a0e3
JM
323 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
324 definition.
325
59ef1715
JM
326 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
327 pthread_cleanup_push to void *.
328
a6f3079b
JM
329 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
330 Undefine.
331
706688aa
JM
332 [BZ #16619]
333 [BZ #16740]
334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
335 instead of 1L << 52.
336
12da14a5
JM
337 * libio/bug-rewind.c (do_test): Check fwscanf return values.
338 * libio/bug-rewind2.c (do_test): Likewise.
339
bd5dadac
JM
340 * debug/test-stpcpy_chk-ifunc.c: Remove file.
341 * debug/test-strcpy_chk-ifunc.c: Likewise.
342 * wcsmbs/test-wcschr-ifunc.c: Likewise.
343 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
344 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
345 * wcsmbs/test-wcslen-ifunc.c: Likewise.
346 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
347 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
348 * Rules [$(multi-arch) = no] (tests): Do not filter out
349 $(tests-ifunc).
350 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
351 * debug/Makefile (tests-ifunc): Remove variable.
352 (tests): Do not add $(tests-ifunc).
353 * wcsmbs/Makefile (tests-ifunc): Remove variable.
354 (tests): Do not add $(tests-ifunc).
355 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
356 [TEST_IFUNC]: Remove conditionals.
357 * string/test-string.h (TEST_IFUNC): Remove macro.
358 [TEST_IFUNC]: Remove conditionals.
359
3b20fd5c
JM
360 * string/test-strchr.c [!WIDE] (L): New macro.
361 [WIDE] (L): Likewise.
362 (check1): Use CHAR instead of char. Use L on string and character
363 constants.
364
704f7947
AZ
3652014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
366
367 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
368 tests.
369 * sysdeps/powerpc/bits/atomic.h
370 (__arch_atomic_exchange_and_add_32_acq): Add definition.
371 (__arch_atomic_exchange_and_add_32_rel): Likewise.
372 (atomic_exchange_and_add_acq): Likewise.
373 (atomic_exchange_and_add_rel): Likewise.
374 * sysdeps/powerpc/powerpc32/bits/atomic.h
375 (__arch_atomic_exchange_and_add_64_acq): Add definition.
376 (__arch_atomic_exchange_and_add_64_rel): Likewise.
377 * sysdeps/powerpc/powerpc64/bits/atomic.h
378 (__arch_atomic_exchange_and_add_64_acq): Add definition.
379 (__arch_atomic_exchange_and_add_64_rel): Likewise.
380
cdcb42d7
TR
3812014-11-26 Torvald Riegel <triegel@redhat.com>
382
383 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
384 Change synchronization of __sched_fifo_min_prio and
385 __sched_fifo_max_prio.
386 * nptl/pthread_mutexattr_getprioceiling.c
387 (pthread_mutexattr_getprioceiling): Likewise.
388 * nptl/pthread_mutexattr_setprioceiling.c
389 (pthread_mutexattr_setprioceiling): Likewise.
390 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
391 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
392 Likewise.
393
c82f5c0c
JM
3942014-11-26 Joseph Myers <joseph@codesourcery.com>
395
396 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
397 void.
398
439e1ad6
JM
3992014-11-25 Joseph Myers <joseph@codesourcery.com>
400
401 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
402 third argument const.
403
b1eda10e
PE
4042014-11-25 Paul Eggert <eggert@cs.ucla.edu>
405
406 fnmatch: work around GCC compiler warning bug with uninit var
407 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
408 This works around a bug with x86-64 GCC 4.9.2 and earlier
409 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
410 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
411 used uninitialized in this function [-Wmaybe-uninitialized]".
412
bde2667a
JM
4132014-11-25 Joseph Myers <joseph@codesourcery.com>
414
415 * posix/bug-regex31.c (main): Return RES not 0.
416
5fbb5691
AB
4172014-11-25 Anton Blanchard <anton@samba.org>
418
419 * sysdeps/powerpc/bits/atomic.h
420 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
421
467fec0b
BM
4222014-11-24 Sterling Augustine <saugustine@google.com>
423
424 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
425
e9ff8efb
RC
4262014-11-24 Ryan Cumming <etaoins@gmail.com>
427
428 [BZ #17608]
429 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
430
9744496f
JM
4312014-11-24 Joseph Myers <joseph@codesourcery.com>
432
433 [BZ #17633]
434 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
435 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
436 variable.
437 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
438 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
439
6423d475
WD
4402014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
441
442 * string/strncpy.c (strncpy): Improve performance by using memset.
443
4442014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
445
446 * string/strcpy.c (strcpy):
447 Improve performance by using strlen and memcpy.
448
5d178c37
LH
4492014-11-24 Leonhard Holz <leonhard.holz@web.de>
450
451 * string/strcoll_l.c (get_next_seq): __always_inline.
452 * string/strcoll_l.c (do_compare): __always_inline.
453
279bc5b3
SP
4542014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
455
7a9ebfa1
SP
456 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
457 defined.
458 * include/mqueue.h: Likewise.
459 * include/stdlib.h: Likewise.
460
4f41c682
SP
461 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
462 (get_null_defines): Adjust.
463 * sunrpc/Makefile: Adjust comment.
464 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
465 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
466 (CFLAGS-interp.c): Likewise.
467 (CFLAGS-ldconfig.c): Likewise.
468 (CPPFLAGS-.os): Likewise.
469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
470 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
471 * extra-modules.mk (extra-modules.mk): Likewise.
472 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
473 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
474 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
475 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
476 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
477 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
478 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
479 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
480 * iconvdata/Makefile (CPPFLAGS): Likewise.
481 (cpp-srcs-left): Add libof for all iconvdata routines.
482 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
483 * include/assert.h: Likewise.
484 * include/ctype.h: Likewise.
485 * include/errno.h: Likewise.
486 * include/libc-symbols.h: Likewise.
487 * include/math.h: Likewise.
488 * include/netdb.h: Likewise.
489 * include/resolv.h: Likewise.
490 * include/stdio.h: Likewise.
491 * include/stdlib.h: Likewise.
492 * include/string.h: Likewise.
493 * include/sys/stat.h: Likewise.
494 * include/wctype.h: Likewise.
495 * intl/l10nflist.c: Likewise.
496 * libidn/idn-stub.c: Likewise.
497 * libio/libioP.h: Likewise.
498 * nptl/libc_multiple_threads.c: Likewise.
499 * nptl/pthreadP.h: Likewise.
500 * posix/regex_internal.h: Likewise.
501 * resolv/res_hconf.c: Likewise.
502 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
503 * sysdeps/arm/memmove.S: Likewise.
504 * sysdeps/arm/sysdep.h: Likewise.
505 * sysdeps/generic/_itoa.h: Likewise.
506 * sysdeps/generic/symbol-hacks.h: Likewise.
507 * sysdeps/gnu/errlist.awk: Likewise.
508 * sysdeps/gnu/errlist.c: Likewise.
509 * sysdeps/i386/i586/memcpy.S: Likewise.
510 * sysdeps/i386/i586/memset.S: Likewise.
511 * sysdeps/i386/i686/memcpy.S: Likewise.
512 * sysdeps/i386/i686/memmove.S: Likewise.
513 * sysdeps/i386/i686/mempcpy.S: Likewise.
514 * sysdeps/i386/i686/memset.S: Likewise.
515 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
521 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
525 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
526 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
527 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
528 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
529 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
530 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
531 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
532 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
535 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
536 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
537 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
538 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
539 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
541 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
561 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
562 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
563 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
566 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
569 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
570 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
571 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
572 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
573 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
575 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
576 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
577 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
578 * sysdeps/nptl/bits/libc-lock.h: Likewise.
579 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
580 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
581 * sysdeps/posix/closedir.c: Likewise.
582 * sysdeps/posix/opendir.c: Likewise.
583 * sysdeps/posix/readdir.c: Likewise.
584 * sysdeps/posix/rewinddir.c: Likewise.
585 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
586 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
596 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
597 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
598 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
599 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
600 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
601 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
602 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
605 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
607 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
608 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
611 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
613 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
622 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
623 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
625 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
626 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
627 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
629 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
630 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
631 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
633 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
634 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
635 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
637 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
639 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
642 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
643 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
645 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
646 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
648 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
649 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
650 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
651 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
652 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
653 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
654 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
656 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
657 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
658 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
659 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
660 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
661 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
662 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
663 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
664 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
668 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
669 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
671 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
672 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
673 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
675 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
676 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
677 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
681 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
683 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
684 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
686 * sysdeps/unix/alpha/sysdep.S: Likewise.
687 * sysdeps/unix/alpha/sysdep.h: Likewise.
688 * sysdeps/unix/make-syscalls.sh: Likewise.
689 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
691 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
692 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
694 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
695 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
697 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
698 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
700 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
702 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
704 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
706 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
707 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
708 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
709 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
710 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
711 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
712 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
713 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
714 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
718 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
719 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
723 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
727 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
728 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
730 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
732 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
733 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
740 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
741 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
742 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
747 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
748 * sysdeps/x86_64/memcpy.S: Likewise.
749 * sysdeps/x86_64/memmove.c: Likewise.
750 * sysdeps/x86_64/memset.S: Likewise.
751 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
752 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
753 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
754 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
755 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
756 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
758 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
759 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
760 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
761 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
762 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
763 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
764 * sysdeps/x86_64/multiarch/memset.S: Likewise.
765 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
767 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
768 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
769 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
770 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
771 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
772 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
775 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
776 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
778 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
779 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
780 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
781 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
783 * sysdeps/x86_64/strcmp.S: Likewise.
784
76ca86a5
SP
785 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
786
a3848485
SP
787 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
788 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
789 * elf/rtld-Rules: Likewise.
790 * elf/setup-vdso.h: Likewise.
791 * include/assert.h: Likewise.
792 * include/bits/stdlib-float.h: Likewise.
793 * include/errno.h: Likewise.
794 * include/sys/stat.h: Likewise.
795 * include/unistd.h: Likewise.
796 * sysdeps/aarch64/setjmp.S: Likewise.
797 * sysdeps/alpha/setjmp.S: Likewise.
798 * sysdeps/arm/__longjmp.S: Likewise.
799 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
800 * sysdeps/arm/setjmp.S: Likewise.
801 * sysdeps/arm/sysdep.h: Likewise.
802 * sysdeps/generic/_itoa.h: Likewise.
803 * sysdeps/generic/dl-sysdep.h: Likewise.
804 * sysdeps/generic/ldsodefs.h: Likewise.
805 * sysdeps/i386/dl-tls.h: Likewise.
806 * sysdeps/i386/setjmp.S: Likewise.
807 * sysdeps/m68k/setjmp.c: Likewise.
808 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
809 * sysdeps/mach/hurd/opendir.c: Likewise.
810 * sysdeps/posix/getcwd.c: Likewise.
811 * sysdeps/posix/opendir.c: Likewise.
812 * sysdeps/posix/profil.c: Likewise.
813 * sysdeps/powerpc/dl-procinfo.h: Likewise.
814 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
815 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
817 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
818 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
820 * sysdeps/s390/dl-tls.h: Likewise.
821 * sysdeps/s390/s390-32/setjmp.S: Likewise.
822 * sysdeps/s390/s390-64/setjmp.S: Likewise.
823 * sysdeps/sh/sh3/setjmp.S: Likewise.
824 * sysdeps/sh/sh4/setjmp.S: Likewise.
825 * sysdeps/unix/alpha/sysdep.h: Likewise.
826 * sysdeps/unix/arm/sysdep.S: Likewise.
827 * sysdeps/unix/i386/sysdep.S: Likewise.
828 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
829 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
830 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
831 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
833 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
834 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
835 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
836 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
837 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
838 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
839 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
843 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
848 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
851 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
852 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
853 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
856 * sysdeps/x86_64/setjmp.S: Likewise.
857
a109996e
SP
858 * include/math.h: Use IS_IN instead of IS_IN_libm.
859 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
868 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
869 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
870 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
871 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
872 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
873 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
874 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
875 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
876 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
877 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
878 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
879 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
880 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
881 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
882 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
883 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
884 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
885 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
886 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
887 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
888 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
889 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
890 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
893 Likewise.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
895 Likewise.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
897 Likewise.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
899 Likewise.
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
901 Likewise.
902 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
904 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
913 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
914 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
915 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
916 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
918 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
920 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
921 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
922 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
923 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
926 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
928 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
929
ce9f10f7
SP
930 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
931 * nptl/pthreadP.h: Likewise.
932 * nptl_db/structs.def: Likewise.
933 * sysdeps/arm/sysdep.h: Likewise.
934 * sysdeps/nptl/bits/libc-lock.h: Likewise.
935 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
936 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
937 * sysdeps/unix/alpha/sysdep.h: Likewise.
938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
940 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
941 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
942 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
943 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
945 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
946 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
947 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
948 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
949 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
950 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
951 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
956 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
959 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
960 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
961 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
962 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
963 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
964
016afc75
SP
965 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
966 * nptl/pthreadP.h: Likewise.
967 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
968 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
969 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
970 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
971 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
972 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
973 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
975 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
976 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
977 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
978 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
980 Likewise.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
982 Likewise.
983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
985 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
988 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
989 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
991
9b42a0b3
SP
992 * dlfcn/dladdr.c: Use IS_IN.
993 * dlfcn/dladdr1.c: Likewise.
994 * dlfcn/dlclose.c: Likewise.
995 * dlfcn/dlerror.c: Likewise.
996 * dlfcn/dlinfo.c: Likewise.
997 * dlfcn/dlmopen.c: Likewise.
998 * dlfcn/dlopen.c: Likewise.
999 * dlfcn/dlsym.c: Likewise.
1000 * dlfcn/dlvsym.c: Likewise.
1001
85f36372
SP
1002 * include/ifaddrs.h: Use IS_IN.
1003 * inet/check_pf.c: Likewise.
1004 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1005 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1006
fb6784e3
SP
1007 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1008 IS_IN_ldconfig.
1009 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1010 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1011
2886d2d1
SP
1012 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1013 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1014 IS_IN (libc).
1015
9a484857
SP
1016 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1017
a10178bd
SP
1018 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1019 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1020 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1021 * include/libc-symbols.h (IS_IN_LIB): New macro.
1022 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1023 * include/netdb.h: Likewise.
1024 * include/stap-probe.h: Remove all uses of IN_LIB.
1025
279bc5b3
SP
1026 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1027 instead of IN_MODULE.
1028 * include/libc-symbols.h (IN_MODULE): Define using
1029 MODULE_NAME.
1030 (PASTE_NAME, PASTE_NAME1): New macros.
1031 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1032 of IN_LIB.
1033 (STAP_PROBE_ASM): Likewise.
1034
e0cfa510
ST
10352014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1036
1037 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1038 __mach_init in dlopened libc.
1039
34d97d87
MF
10402014-11-22 Mike Frysinger <vapier@gentoo.org>
1041
1042 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1043 * sysdeps/arm/preconfigure: Regenerate.
1044
33cd1f74
RM
10452014-11-21 Roland McGrath <roland@hack.frob.com>
1046
1047 * nptl/pthread_create.c (__pthread_create_2_1): Set
1048 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1049 when copying values from IATTR into PD.
1050
8c230039
WN
10512014-11-21 Will Newton <will.newton@linaro.org>
1052 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1053
6d3db89b
AP
1054 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1055 Refactor inline-asm. Also add comment.
1056
01194ba1
WN
1057 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1058 ElfW macro instead of hardcoded Elf64 types.
1059 (la_aarch64_gnu_pltenter): Likewise.
1060 * sysdeps/aarch64/dl-machine.h
1061 (elf_machine_runtime_setup): Use ElfW(Addr).
1062
8c230039
WN
1063 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1064 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1065 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1066 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1067 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1068 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1069 (R_AARCH64_TLS_DTPMOD): This.
1070 (R_AARCH64_TLS_DTPREL64): Rename to ...
1071 (R_AARCH64_TLS_DTPREL): This.
1072 (R_AARCH64_TLS_TPREL64): Rename to ...
1073 (R_AARCH64_TLS_TPREL): This.
1074 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1075 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1076 R_AARCH64_TLS_TPREL64.
1077 (elf_machine_rela): Likewise.
1078
0d79fa53
TR
10792014-11-21 Torvald Riegel <triegel@redhat.com>
1080
1081 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1082 by setting it to 0. 64b atomics are not supported currently.
1083
b59d114b
AO
10842014-11-21 Alexandre Oliva <aoliva@redhat.com>
1085
1086 [BZ #16469]
1087 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1088 search domain names.
1089
f3d945d5
AO
10902014-11-21 Alexandre Oliva <aoliva@redhat.com>
1091
1092 [BZ #16469]
1093 * NEWS: Update.
1094 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1095 trailing dot.
1096 * posix/tst-getaddrinfo5.c: New.
1097 * posix/Makefile (tests): Add it.
1098
49698902
AO
10992014-11-21 Alexandre Oliva <aoliva@redhat.com>
1100
1101 [BZ #14498]
1102 * NEWS: Fixed.
1103 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1104 after parsing line but before break_if_match.
1105 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1106 if there is a protocol mismatch.
1107
81959214
MS
11082014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1109
1110 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1111 because the potential race is on the user-supplied stream.
1112
7729e0e9
AO
11132014-11-21 Alexandre Oliva <aoliva@redhat.com>
1114
1115 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1116 string literal if not passed a buffer.
1117 * manual/job.texi (ctermid): Update reasoning, note deviation
1118 from posix, suggest mtasurace when not passed a buffer, for
1119 future non-preliminary safety notes.
1120
a4ea5e28
AO
11212014-11-21 Alexandre Oliva <aoliva@redhat.com>
1122
1123 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1124 of not passing it a buffer.
1125 Reported by Peng Haitao.
1126
a2b581cb
AO
11272014-11-21 Alexandre Oliva <aoliva@redhat.com>
1128
1129 * manual/Makefile ($(objpfx)stamp-summary): Require
1130 check-safety.sh to pass.
1131 * manual/check-safety.sh: Wish for verification that every
1132 @deftypefn and @deftypefun is followed by a @safety remark.
1133
f214ff74
RM
11342014-11-20 Roland McGrath <roland@hack.frob.com>
1135
7f0dfae0
RM
1136 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1137
2f531bbb
RM
1138 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1139 PTHREAD_CANCEL_ASYNCHRONOUS.
1140 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1141 send SIGCANCEL.
1142
f214ff74
RM
1143 * nptl/default-sched.h: New file.
1144 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1145 * nptl/pthread_create.c: Include it.
1146 (__pthread_create_2_1): Use collect_default_sched instead of making
1147 Linux syscalls here directly.
1148
e37c91d4
TR
11492014-11-20 Torvald Riegel <triegel@redhat.com>
1150
1151 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1152 __pthread_once): Use C11 atomics.
1153
1eccfecd
TR
11542014-11-20 Torvald Riegel <triegel@redhat.com>
1155
1156 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1157
ff871426
TR
11582014-11-20 Torvald Riegel <triegel@redhat.com>
1159
1160 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1161 atomic_thread_fence_acquire, atomic_thread_fence_release,
1162 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1163 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1164 atomic_compare_exchange_weak_relaxed,
1165 atomic_compare_exchange_weak_acquire,
1166 atomic_compare_exchange_weak_release,
1167 atomic_exchange_acquire, atomic_exchange_release,
1168 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1169 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1170 atomic_fetch_and_acquire,
1171 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1172
1ea339b6
TR
11732014-11-20 Torvald Riegel <triegel@redhat.com>
1174
1175 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1176 USE_ATOMIC_COMPILER_BUILTINS): Define.
1177 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1179 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1181 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1183 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1185 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1187 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1189 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1191 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1193 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1195 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1197 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1199 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1201 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1203 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1205 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1207 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1209 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1211 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1212 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1213 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1215 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1217
cbd463e2
RM
12182014-11-19 Roland McGrath <roland@hack.frob.com>
1219
d960211f
RM
1220 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1221 the sched_priority value here. It was already checked when the user
1222 called pthread_attr_setschedparam.
1223
cbd463e2
RM
1224 * nptl/tst-bad-schedattr.c: New file.
1225 * nptl/Makefile (tests): Add it.
1226
a39208bd
CD
12272014-11-19 Carlos O'Donell <carlos@redhat.com>
1228 Florian Weimer <fweimer@redhat.com>
1229 Joseph Myers <joseph@codesourcery.com>
1230 Adam Conrad <adconrad@0c3.net>
1231 Andreas Schwab <schwab@suse.de>
1232 Brooks <bmoses@google.com>
1233
1234 [BZ #17625]
1235 * wordexp-test.c (__dso_handle): Add prototype.
1236 (__register_atfork): Likewise.
1237 (__app_register_atfork): New function.
1238 (registered_forks): New global.
1239 (register_fork): New function.
1240 (test_case): Add 3 new tests for WRDE_CMDSUB.
1241 (main): Call __app_register_atfork.
1242 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1243 fork count is non-zero fail the test.
1244 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1245 is set.
1246 (parse_dollars): Remove check for WRDE_NOCMD.
1247 (parse_dquote): Likewise.
1248
9cd47470
SP
12492014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1250
130ac68c
SP
1251 * Makeconfig (built-modules): List non-library modules to be
1252 built.
1253 (module-cppflags): Include libc-modules.h for
1254 everything except shlib-versions.v.i.
1255 (CPPFLAGS): Use it.
1256 (before-compile): Add libc-modules.h.
1257 ($(common-objpfx)libc-modules.h,
1258 $(common-objpfx)libc-modules.stmp): New targets.
1259 (common-generated): Add libc-modules.h and libc-modules.stmp.
1260 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1261 * include/libc-symbols.h: Don't include libc-modules.h.
1262 * include/libc-modules.h: Remove file.
1263 * scripts/gen-libc-modules.awk: New script to generate
1264 libc-modules.h.
1265 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1266 Depend on libc-modules.stmp.
1267
286663c3
SP
1268 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1269
9cd47470
SP
1270 * Makeconfig (in-module): Get value of libof set for the
1271 translation unit.
1272 (CPPFLAGS): Use $(in-module).
1273 * Makerules: Don't suffix routine names for nonlib.
1274 * include/libc-modules.h: New file.
1275 * include/libc-symbols.h: Include libc-modules.h
1276 (IS_IN): New macro to replace IS_IN_* macros.
1277 * elf/Makefile: Set libof-* for each routine.
1278 * elf/rtld-Rules: Likewise.
1279 * extra-modules.mk: Likewise.
1280 * iconv/Makefile: Likewise.
1281 * iconvdata/Makefile: Likewise.
1282 * locale/Makefile: Likewise.
1283 * malloc/Makefile: Likewise.
1284 * nss/Makefile: Likewise.
1285 * sysdeps/gnu/Makefile: Likewise.
1286 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1287 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1288 * sysdeps/s390/s390-64/Makefile: Likewise.
1289 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1290 CPPFLAGS for nscd instead of nonlib.
1291
32fed10f
RM
12922014-11-18 Roland McGrath <roland@hack.frob.com>
1293
d71035bd
RM
1294 * nptl/createthread.c: New file.
1295
6540b991
RM
1296 * nptl/createthread.c: Moved ...
1297 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1298
32fed10f
RM
1299 * nptl/createthread.c: Add proper top-line comment.
1300 (do_clone): Folded into ...
1301 (create_thread): ... here. Take new arguments STOPPED_START and
1302 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1303 increment __nptl_threads, do event-reporting logic, do
1304 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1305 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1306 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1307 just send SIGCANCEL.
1308 * nptl/pthread_create.c: Forward-declare create_thread before
1309 including createthread.c.
1310 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1311 declaration, and new macro START_THREAD_SELF to replace argument.
1312 Remove return statement.
1313 (report_thread_creation): New function.
1314 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1315 synchronization logic, and __nptl_nthreads increment here, around
1316 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1317 PD->parent_cancelhandling here, before create_thread. When
1318 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1319 __deallocate_stack, and ENOMEM translation here.
1320
107a5bf0
JM
13212014-11-18 Joseph Myers <joseph@codesourcery.com>
1322
1323 [BZ #17616]
1324 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1325 (mptwo): Rename to __mptwo.
1326 (__inv): Use __mptwo instead of mptwo.
1327 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1328 (mptwo): Rename to __mptwo.
1329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1330 of mpone and __mptwo instead of mptwo.
1331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1332 instead of mpone.
1333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1334 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1335 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1336 of mpone and __mptwo instead of mptwo.
1337 (__mpranred): Use __mpone instead of mpone.
1338 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1339 variable.
1340 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1341 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1342 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1343 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1344 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1345 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1346 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1347 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1348 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1349 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1350 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1351 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1352 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1353 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1354 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1355 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1356 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1357 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1358 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1359
3b679ab3
TV
13602014-11-18 Tom de Vries <tom@codesoucery.com>
1361
1362 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1363 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1364
13652014-11-17 Richard Henderson <rth@redhat.com>
1366
1367 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1368 (_FP_PACK_RAW_2): Remove.
1369 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1370 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1371 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1372 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1373 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1374 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1375 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1376 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1377 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1378 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1379 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1380 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1381 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1382 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1383 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1384 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1385
0781a777
RM
13862014-11-14 Roland McGrath <roland@hack.frob.com>
1387
1388 * signal/signal.h [__USE_MISC]
1389 (struct sigvec): Remove type.
1390 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1391 (sigvec): Remove declaration.
1392 * sysdeps/posix/sigvec.c: Moved ...
1393 * signal/sigvec.c: ... here, replacing old file.
1394 (struct sigvec): New type, copied from old signal.h definition.
1395 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1396 (__sigvec): Convert definition to prototype.
1397 (sigvec): Replace weak_alias with compat_symbol.
1398 * signal/Versions (libc: GLIBC_2.21): New version set.
1399 * include/signal.h: Remove __sigvec declaration.
1400 * sysdeps/unix/bsd/sigvec.c: Remove file.
1401 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1402 * manual/signal.texi (BSD Handler): Remove subsection.
1403 Move siginterrupt up to ...
1404 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1405 (Blocking in BSD): Fold subsection into its parent.
1406 * NEWS: Mention sigvec removal.
1407
a4733812
JM
14082014-11-14 Joseph Myers <joseph@codesourcery.com>
1409
5ae4fe60
JM
1410 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1411 (DLA_FMS): Make definition conditional only on [__FMA4__].
1412 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1413 definition.
1414
6a0dd472
JM
1415 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1416 Make definition conditional only on [PROF].
1417 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1418 definition.
1419 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1420 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1421
a4733812
JM
1422 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1423 !__GNUC__].
1424 * include/signal.h (__sigpause): Move declaration above call to
1425 libc_hidden_proto.
1426 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1427 variable.
1428 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1429 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1430
cf7246dd
DM
14312014-11-14 David S. Miller <davem@davemloft.net>
1432
1433 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1434 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1435
c1b0aadc
JM
14362014-11-14 Joseph Myers <joseph@codesourcery.com>
1437
4863355a
JM
1438 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1439 * configure: Regenerated.
1440 * manual/install.texi (Tools for Compilation): Document a
1441 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1442 compiler verified to work.
1443 * INSTALL: Regenerated.
1444
c1b0aadc
JM
1445 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1446 redeclare with asm name.
1447 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1448 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1449 including <string.h>.
1450 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1452 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1454 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1456 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1457
2a1cfd94
JM
14582014-11-13 Joseph Myers <joseph@codesourcery.com>
1459
bf438382
JM
1460 * stdlib/strtol.c (__strtol): Use prototype definition.
1461
2a1cfd94
JM
1462 [BZ #17594]
1463 * stdlib/strtol.c (SYM__): New macro.
1464 (SYM__1): Likewise.
1465 (__strtol): Likewise.
1466 (strtol): Rename to __strtol and define as weak alias of
1467 __strtol. Use libc_hidden_weak.
1468
20ed0d26
SL
14692014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1470
1471 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1472 Use numbered labels in inline assembly.
1473
53244a4e
SL
14742014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1475
1476 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1477 Add setjmp LIBC_PROBE.
1478 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1479 Likewise.
1480 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1481 Add longjmp, longjmp_target LIBC_PROBE.
1482 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1483 Likewise.
1484
47df8251
SL
14852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1486
1487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1488 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1489 to get rid of unused variable warning.
1490
618cebef
SL
14912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1492
1493 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1494 Check for unwind_backtrace == NULL only in SHARED case.
1495 (__backchain_backtrace): Compile only in SHARED case.
1496 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1497 Likewise.
1498 (__backchain_backtrace): Declare as static.
1499
c6aab2cb
RM
15002014-11-12 Roland McGrath <roland@hack.frob.com>
1501
1502 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1503 (__libc_multiple_threads_ptr): Variable moved ...
1504 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1505
5a6fa4d7
JM
15062014-11-12 Joseph Myers <joseph@codesourcery.com>
1507
24f4f825
JM
1508 * conform/GlibcConform.pm: New file.
1509 * conform/conformtest.pl: Use GlibcConform module.
1510 * conform/linknamespace.pl: New file.
1511 * conform/list-header-symbols.pl: Likewise.
1512 * conform/Makefile (linknamespace-symlists-base): New variable.
1513 (linknamespace-symlists-tests): Likewise.
1514 (linknamespace-header-base): Likewise.
1515 (linknamespace-header-tests): Likewise.
1516 (tests-special): Add new tests.
1517 ($(linknamespace-symlists-tests)): New rule.
1518 (linknamespace-libs): New variable.
1519 ($(objpfx)symlist-stdlibs): New rule.
1520 ($(linknamespace-header-tests)): Likewise.
1521 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1522 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1523 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1524 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1525 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1526 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1527 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1528 (test-xfail-ISO/math.h/linknamespace): Likewise.
1529 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1530 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1531 (test-xfail-ISO/time.h/linknamespace): Likewise.
1532 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1533 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1534 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1535 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1536 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1537 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1538 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1539 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1540 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1541 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1542 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1543 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1544 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1545 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1546 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1547 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1548 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1549 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1550 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1551 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1552 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1553 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1554 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1555 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1556 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1557 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1558 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1559 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1560 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1561 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1562 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1563 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1564 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1565 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1566 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1567 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1568 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1569 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1570 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1571 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1572 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1573 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1574 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1575 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1576 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1577 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1578 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1579 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1580 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1581 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1582 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1583 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1584 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1585 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1586 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1587 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1588 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1589 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1590 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1591 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1592 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1593 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1594 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1595 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1596 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1597 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1598 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1599 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1600 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1601 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1602 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1603 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1604 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1605 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1606 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1607 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1608 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1609 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1610 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1611 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1612 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1613 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1614 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1615 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1616 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1617 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1618 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1619 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1620 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1621 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1622 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1623 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1624 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1625 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1626 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1627 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1628 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1629 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1630 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1631 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1632 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1633 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1634 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1635 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1636 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1637 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1638 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1639 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1640 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1641 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1642 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1643 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1644 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1645 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1646 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1647 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1648 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1649 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1650 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1651 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1652 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1653 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1654 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1655 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1656 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1657 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1658 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1659 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1660 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1661 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1662 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1663 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1664 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1665 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1666 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1667 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1668 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1669 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1670 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1671 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1672 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1673 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1674 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1675 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1676 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1677 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1678 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1679 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1680 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1681 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1682
cc67478e
JM
1683 [BZ #17589]
1684 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1685 of fgets_unlocked.
1686
9975e3d3
JM
1687 [BZ #17585]
1688 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1689 (memmem): Rename to __memmem and define as weak alias of
1690 __memmem. Use libc_hidden_weak.
1691 (__memmem): Use libc_hidden_def.
1692 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1693 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1694 memmem.
1695
c4eae752
JM
1696 [BZ #17582]
1697 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1698 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1699 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1700 and define as weak alias of __fgets_unlocked. Use
1701 libc_hidden_weak.
1702 (__fgets_unlocked): Use libc_hidden_def.
1703 * include/stdio.h (__fgets_unlocked): Declare. Use
1704 libc_hidden_proto.
1705 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1706 __fgets_unlocked instead of fgets_unlocked.
1707 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1708 (GET_NPROCS_CONF_PARSER): Likewise.
1709 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1710 (GET_NPROCS_CONF_PARSER): Likewise.
1711
01cad84e
JM
1712 [BZ #17574]
1713 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1714 weak alias of __wmemset. Use libc_hidden_weak.
1715 (__wmemset): Use libc_hidden_def.
1716 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1717 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1718 of wmemset.
1719
939da411
JM
1720 [BZ #17573]
1721 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1722 with asm name __mempcpy.
1723 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1724
293d9a41
JM
1725 [BZ #17572]
1726 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1727 and define as weak alias of __rawmemchr.
1728 (__rawmemchr): Do not define as strong alias of rawmemchr.
1729
bef8fd60
JM
1730 [BZ #17571]
1731 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1732 alias of __qsort_r.
1733 (qsort): Call __qsort_r instead of qsort_r.
1734 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1735 (__qsort_r): Declare. Call libc_hidden_proto.
1736 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1737 instead of qsort_r.
1738 * nscd/gai.c (__qsort_r): Define to qsort_r.
1739 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1740 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1741 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1742
c52ff39e
JM
1743 [BZ #17570]
1744 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1745 define as weak alias of __malloc_info.
1746
2f5c1b00
JM
1747 [BZ #17584]
1748 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1749 as weak alias of __rewinddir. Don't use libc_hidden_def.
1750 (__rewinddir): Use libc_hidden_def.
1751 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1752 as weak alias of __rewinddir. Don't use libc_hidden_def.
1753 (__rewinddir): Use libc_hidden_def.
1754 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1755 weak alias of __rewinddir. Don't use libc_hidden_def.
1756 (__rewinddir): Use libc_hidden_def.
1757 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1758 (__rewinddir): Use libc_hidden_proto.
1759 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1760 rewinddir.
1761 (__getcwd): Use __rewinddir instead of rewinddir.
1762
5a6fa4d7
JM
1763 [BZ #17583]
1764 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1765 alias of __fileno. Use libc_hidden_weak.
1766 (__fileno): Use libc_hidden_def.
1767 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1768 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1769 alias of __ftello.
1770 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1771 __ftello.
1772 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1773 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1774 libc_hidden_def.
1775 (fread_unlocked): Don't use libc_hidden_ver.
1776 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1777 and define as weak alias of __fread_unlocked. Don't use
1778 libc_hidden_def.
1779 (__fread_unlocked): Use libc_hidden_def.
1780 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1781 (ftello): Don't use libc_hidden_proto.
1782 (__ftello): Declare. Use libc_hidden_proto.
1783 (fread_unlocked): Don't use libc_hidden_proto.
1784 (__fread_unlocked): Declare. Use libc_hidden_proto.
1785 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1786 and __ftello instead of fileno, fread_unlocked and ftello.
1787
2581b98e
SP
17882012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1789
1790 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1791 GOT12.
1792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1793 Likewise.
1794 (_dl_start_user): Likewise.
1795 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1796
533bb7c2
SP
17972014-11-12 Carlos O'Donell <carlos@redhat.com>
1798 Siddhesh Poyarekar <siddhesh@redhat.com>
1799
1800 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1801 Move argv and envp down instead of moving argc up.
1802 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1803
fffa1cf8
LH
18042014-11-12 Leonhard Holz <leonhard.holz@web.de>
1805
1806 [BZ #17506]
1807 * test-skeleton.c (main): Return successful if one of
1808 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1809 * string/tst-strcoll-overflow.c: Define expected status.
1810
fb89b46d
TU
18112014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1812
1813 [BZ #17475]
1814 * locale/iso-639.def: Define Bhili and Tulu language codes.
1815
5c40c3ba
AH
18162014-11-11 Alan Hayward <alan.hayward@arm.com>
1817
1818 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1819
b17fe01b 18202014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
1821
1822 [BZ #17555]
1823 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1824
bd805071
AS
18252014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1826
1827 * configure.ac: Updated check of minimal required version to
1828 2.22.
1829 * manual/install.texi (Tools for Compilation): Updated version
1830 number.
1831 * configure: Regenerated.
1832 * INSTALL: Likewise.
1833
1400983e
AS
18342014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1835
1836 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1837 __tls_get_addr.
1838
2c46a66a
JM
18392014-11-07 Joseph Myers <joseph@codesourcery.com>
1840
1841 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1842 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1843 (__waitpid): Don't define as alias. Use libc_hidden_def not
1844 libc_hidden_weak.
1845 (waitpid): Define as alias of __waitpid.
1846 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1847 __waitpid.
1848 (__waitpid): Don't define as alias. Use libc_hidden_def not
1849 libc_hidden_weak.
1850 (waitpid): Define as alias of __waitpid.
1851 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1852 __libc_waitpid alias.
1853 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1855 Likewise.
1856 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1857 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1858 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1859 alias.
1860 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1861 __waitpid.
1862 (__waitpid): Don't define as alias. Use libc_hidden_def not
1863 libc_hidden_weak.
1864 (waitpid): Define as alias of __waitpid.
1865
da53d6db
CD
18662014-11-06 Carlos O'Donell <carlos@redhat.com>
1867
a2887bdb
CD
1868 * manual/llio.texi: Add comment that write safety has been
1869 fixed in Linux.
1870
da53d6db
CD
1871 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1872 (localplt-build-dso): Add elf/ld.so.
1873 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1874 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1875 and free for ld.so.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1877 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1879 Likewise.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1881 Likewise.
1882 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1883 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1884 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1885 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1886 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1887 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1888 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1889 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1890 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1893
9cf27b8d
JM
18942014-11-05 Joseph Myers <joseph@codesourcery.com>
1895
1896 [BZ #14132]
1897 * include/libc-symbols.h (INTUSE): Remove macro.
1898 (INTDEF): Likewise.
1899 (INTVARDEF): Likewise.
1900 (_INTVARDEF): Likewise.
1901 (INTDEF2): Likewise.
1902 (INTVARDEF2): Likewise.
1903 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1904 rtld_hidden_def instead of INTVARDEF.
1905 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1906 (_dl_starting_up_internal): Remove declaration.
1907 (_dl_starting_up): Use rtld_hidden_proto.
1908 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1909 declaration.
1910 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1911 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1912 _dl_starting_up.
1913 * elf/dl-writev.h (_dl_writev): Likewise.
1914 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1915 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1916 _dl_starting_up_internal.
1917
af83568d
AZ
19182014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919
1920 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1921 test-skeleton.c.
1922
b01ee67c
WN
19232014-11-05 Will Newton <will.newton@linaro.org>
1924
1925 * benchtests/Makefile: (bench-malloc): Add malloc thread
1926 scalability benchmark.
1927 * benchtests/bench-malloc-threads.c: New file.
1928
be9d4ccc
RE
19292014-11-05 Richard Earnshaw <rearnsha@arm.com>
1930
1931 * sysdeps/aarch64/strchrnul.S: New file.
1932
7110166d
AZ
19332014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1934
1935 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1936 definition.
1937 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1938 Likwise.
1939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1940 Likewise.
1941 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1942 Likewise.
1943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1944 Likewise.
1945 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1946 Likewise.
1947
19482014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
1949
1950 * catgets/test-gencat.c: Use test-skeleton.c.
1951 * catgets/tst-catgets.c: Likewise.
1952 * csu/tst-empty.c: Likewise.
1953 * elf/tst-audit2.c: Likewise.
1954 * elf/tst-global1.c: Likewise.
1955 * elf/tst-pathopt.c: Likewise.
1956 * elf/tst-piemod1.c: Likewise.
1957 * elf/tst-tls10.c: Likewise.
1958 * elf/tst-tls11.c: Likewise.
1959 * elf/tst-tls12.c: Likewise.
1960 * gnulib/tst-gcc.c: Likewise.
1961 * iconvdata/tst-e2big.c: Likewise.
1962 * iconvdata/tst-loading.c: Likewise.
1963 * iconv/tst-iconv1.c: Likewise.
1964 * iconv/tst-iconv2.c: Likewise.
1965 * inet/test-inet6_opt.c: Likewise.
1966 * inet/tst-gethnm.c: Likewise.
1967 * inet/tst-network.c: Likewise.
1968 * inet/tst-ntoa.c: Likewise.
1969 * intl/tst-codeset.c: Likewise.
1970 * intl/tst-gettext2.c: Likewise.
1971 * intl/tst-gettext3.c: Likewise.
1972 * intl/tst-ngettext.c: Likewise.
1973 * intl/tst-translit.c: Likewise.
1974 * io/test-stat.c: Likewise.
1975 * libio/test-fmemopen.c: Likewise.
1976 * libio/tst-freopen.c: Likewise.
1977 * libio/tst-sscanf.c: Likewise.
1978 * libio/tst-ungetwc1.c: Likewise.
1979 * libio/tst-ungetwc2.c: Likewise.
1980 * libio/tst-widetext.c: Likewise.
1981 * localedata/tst-ctype.c: Likewise.
1982 * localedata/tst-digits.c: Likewise.
1983 * localedata/tst-leaks.c: Likewise.
1984 * localedata/tst-mbswcs1.c: Likewise.
1985 * localedata/tst-mbswcs2.c: Likewise.
1986 * localedata/tst-mbswcs3.c: Likewise.
1987 * localedata/tst-mbswcs4.c: Likewise.
1988 * localedata/tst-mbswcs5.c: Likewise.
1989 * localedata/tst-setlocale.c: Likewise.
1990 * localedata/tst-trans.c: Likewise.
1991 * localedata/tst-wctype.c: Likewise.
1992 * localedata/tst-xlocale1.c: Likewise.
1993 * login/tst-grantpt.c: Likewise.
1994 * malloc/tst-calloc.c: Likewise.
1995 * malloc/tst-malloc.c: Likewise.
1996 * malloc/tst-mallocstate.c: Likewise.
1997 * malloc/tst-mcheck.c: Likewise.
1998 * malloc/tst-mtrace.c: Likewise.
1999 * malloc/tst-obstack.c: Likewise.
2000 * math/atest-exp2.c: Likewise.
2001 * math/atest-exp.c: Likewise.
2002 * math/atest-sincos.c: Likewise.
2003 * math/test-matherr.c: Likewise.
2004 * math/test-misc.c: Likewise.
2005 * math/test-powl.c: Likewise.
2006 * math/tst-definitions.c: Likewise.
2007 * misc/tst-dirname.c: Likewise.
2008 * misc/tst-efgcvt.c: Likewise.
2009 * misc/tst-fdset.c: Likewise.
2010 * misc/tst-hsearch.c: Likewise.
2011 * misc/tst-mntent2.c: Likewise.
2012 * nptl/tst-sem7.c: Likewise.
2013 * nptl/tst-sem8.c: Likewise.
2014 * nptl/tst-sem9.c: Likewise.
2015 * nss/test-netdb.c: Likewise.
2016 * posix/tst-fnmatch.c: Likewise.
2017 * posix/tst-getlogin.c: Likewise.
2018 * posix/tst-gnuglob.c: Likewise.
2019 * posix/tst-mmap.c: Likewise.
2020 * pwd/tst-getpw.c: Likewise.
2021 * resolv/tst-inet_ntop.c: Likewise.
2022 * rt/tst-timer.c: Likewise.
2023 * stdio-common/test-fseek.c: Likewise.
2024 * stdio-common/test-popen.c: Likewise.
2025 * stdio-common/test-vfprintf.c: Likewise.
2026 * stdio-common/tst-cookie.c: Likewise.
2027 * stdio-common/tst-fileno.c: Likewise.
2028 * stdio-common/tst-gets.c: Likewise.
2029 * stdio-common/tst-obprintf.c: Likewise.
2030 * stdio-common/tst-perror.c: Likewise.
2031 * stdio-common/tst-sprintf2.c: Likewise.
2032 * stdio-common/tst-sprintf3.c: Likewise.
2033 * stdio-common/tst-sprintf.c: Likewise.
2034 * stdio-common/tst-swprintf.c: Likewise.
2035 * stdio-common/tst-tmpnam.c: Likewise.
2036 * stdio-common/tst-unbputc.c: Likewise.
2037 * stdio-common/tst-wc-printf.c: Likewise.
2038 * stdlib/tst-environ.c: Likewise.
2039 * stdlib/tst-fmtmsg.c: Likewise.
2040 * stdlib/tst-limits.c: Likewise.
2041 * stdlib/tst-rand48-2.c: Likewise.
2042 * stdlib/tst-rand48.c: Likewise.
2043 * stdlib/tst-random2.c: Likewise.
2044 * stdlib/tst-random.c: Likewise.
2045 * stdlib/tst-strtol.c: Likewise.
2046 * stdlib/tst-strtoll.c: Likewise.
2047 * stdlib/tst-tls-atexit.c: Likewise.
2048 * stdlib/tst-xpg-basename.c: Likewise.
2049 * string/test-ffs.c: Likewise.
2050 * string/tst-bswap.c: Likewise.
2051 * string/tst-inlcall.c: Likewise.
2052 * string/tst-strtok.c: Likewise.
2053 * string/tst-strxfrm.c: Likewise.
2054 * sysdeps/x86_64/tst-audit10.c: Likewise.
2055 * sysdeps/x86_64/tst-audit3.c: Likewise.
2056 * sysdeps/x86_64/tst-audit4.c: Likewise.
2057 * sysdeps/x86_64/tst-audit5.c: Likewise.
2058 * time/tst-ftime_l.c: Likewise.
2059 * time/tst-getdate.c: Likewise.
2060 * time/tst-mktime3.c: Likewise.
2061 * time/tst-mktime.c: Likewise.
2062 * time/tst-posixtz.c: Likewise.
2063 * time/tst-strptime2.c: Likewise.
2064 * time/tst-strptime3.c: Likewise.
2065 * wcsmbs/tst-btowc.c: Likewise.
2066 * wcsmbs/tst-mbrtowc.c: Likewise.
2067 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2068 * wcsmbs/tst-wchar-h.c: Likewise.
2069 * wcsmbs/tst-wcpncpy.c: Likewise.
2070 * wcsmbs/tst-wcrtomb.c: Likewise.
2071 * wcsmbs/tst-wcsnlen.c: Likewise.
2072 * wcsmbs/tst-wcstof.c: Likewise.
2073
2004e7fb
JM
20742014-11-04 Joseph Myers <joseph@codesourcery.com>
2075
ab97ee8f
JM
2076 [BZ #14132]
2077 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2078 INTDEF.
2079 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2080 declaration.
2081 (_dl_mcount): Use rtld_hidden_proto.
2082 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2083 _dl_mcount.
2084 * elf/rtld.c (_rtld_global_ro): Likewise.
2085
c5684fdb
JM
2086 [BZ #14132]
2087 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2088 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2089 of _dl_init_internal.
2090 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2091 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2092 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2093 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2094 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2095 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2096 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2097 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2098 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2099 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2100 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2101 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2102 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2103 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2104 * sysdeps/tile/dl-start.S (_start): Likewise.
2105 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2106 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2107
4243cbea
JM
2108 [BZ #14132]
2109 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2110 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2111 (rtld_progname): Make macro definition unconditional.
2112 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2113 INTDEF.
2114 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2115 (dl_main): Likewise.
2116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2117 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2118 instead of _dl_argv_internal.
2119 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2120 __GI__dl_argv instead of INTUSE(_dl_argv).
2121 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2122 __GI__dl_argv instead of _dl_argv_internal.
2123
2004e7fb
JM
2124 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2125 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2126 macro.
2127 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2128 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2129 New macro.
2130 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2131 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2132 macro.
2133 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2134 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2135
97827bfc
AS
21362014-11-04 Andreas Schwab <schwab@suse.de>
2137
2138 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2139
5e4df284
AZ
21402014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141
2142 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2143 mtvsrd instruction in binary form.
2144
04b76b5a
AS
21452014-11-03 Andreas Schwab <schwab@suse.de>
2146
2147 [BZ #17522]
2148 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2149 for less than MB_LEN_MAX use a local buffer of that size.
2150 * libio/tst-fputws.c: New file.
2151 * libio/Makefile (tests): Add tst-fputws.
2152
4c6da7da
JM
21532014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2154
2155 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2156 the size of the fpu_fr.fpu_dregs[] array.
2157
1679ba8e
JM
21582014-11-01 Joseph Myers <joseph@codesourcery.com>
2159
2160 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2161 (__nanosleep): Do not define as alias.
2162 (nanosleep): Define as alias of __nanosleep.
2163 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2164 __libc_nanosleep name.
2165
2626c183
JM
21662014-10-31 Joseph Myers <joseph@codesourcery.com>
2167
2168 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2169 install.texi in comment.
2170
7f981fc2
TR
21712014-10-31 Torvald Riegel <triegel@redhat.com>
2172
2173 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2174 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2175 ... add here and use lwsync or sync ...
2176 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2177 ... and add here using lwsync.
2178
d6f373d2
MF
21792014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2180
2181 * elf/dl-machine-reject-phdr.h: New file.
2182 * elf/dl-load.c: #include that.
2183 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2184 if that returned true.
2185
67c37987
RM
21862014-10-31 Roland McGrath <roland@hack.frob.com>
2187
2188 [BZ #17496]
2189 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2190 gen-as-const-headers chunk. Add a big scare comment after the last
2191 safe place to touch before-compile.
2192
94a42455 21932014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2194
f3f5d895
JM
2195 * manual/install.texi (Tools for Compilation): Update autoconf
2196 version requirements.
2197 * INSTALL: Regenerated.
2198
f62ff286
JM
2199 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2200 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2201 (__libc_pselect): Likewise.
94a42455
JM
2202
2203 [BZ #14138]
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2208
ff9dbdc0
TR
22092014-10-31 Torvald Riegel <triegel@redhat.com>
2210
2211 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2212 correct barrier instruction.
2213 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2214 Likewise.
2215 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2216 Likewise.
2217
b4f66884
RM
22182014-10-30 Roland McGrath <roland@hack.frob.com>
2219
2220 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2221 after defining inlines. Instead, just use parens to defeat macro
2222 expansion of __isctype in its declaration.
2223
e19c95fd
JM
22242014-10-30 Joseph Myers <joseph@codesourcery.com>
2225
2226 * include/sys/uio.h (__libc_readv): Remove declaration.
2227 (__libc_writev): Likewise.
2228 * misc/readv.c (__libc_readv): Rename to __readv.
2229 (__readv): Do not define as alias.
2230 (readv): Define as alias of __readv.
2231 * misc/writev.c (__libc_writev): Rename to __writev.
2232 (__writev): Do not define as alias.
2233 (writev): Define as alias of __writev.
2234 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2235 (__readv): Do not define as alias.
2236 (readv): Define unconditionally as alias of __readv.
2237 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2238 (__writev): Do not define as alias.
2239 (writev): Define unconditionally as alias of __writev.
2240 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2241 name.
2242 (writev): Do not define __libc_writev name.
2243
65b00b6c
RM
22442014-10-30 Roland McGrath <roland@hack.frob.com>
2245
2246 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2247 (convert_charseq): New function, broken out of ...
2248 (use_from_charmap): ... here. Call it.
2249 (use_to_charmap): Use convert_charseq and free instead of duplicating
2250 its code with a variable-length stack struct.
2251
d4e157aa
JM
22522014-10-30 Joseph Myers <joseph@codesourcery.com>
2253
2254 * include/fcntl.h (__libc_creat): Remove declaration.
2255 * io/creat.c (__libc_creat): Rename to creat.
2256 (creat): Do not define as alias.
2257 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2258 of creat instead of __libc_creat.
2259 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2260 to creat.
2261 (creat): Do not define as alias.
2262 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2263 __libc_creat.
2264 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2265 __libc_creat name.
2266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2267 Likewise.
2268
0c6891a0
CD
22692014-10-29 Carlos O'Donell <carlos@redhat.com>
2270
2271 * manual/llio.texi: Add comments discussing why write() may be
2272 considered MT-unsafe on Linux.
2273
cc00cece
CD
22742014-10-28 Carlos O'Donell <carlos@redhat.com>
2275
2276 * dl-load.c (local_strdup): Remove.
2277 (expand_dynamic_string_token): Use __strdup.
2278 (decompose_rpath): Likewise.
2279 (_dl_map_object): Likewise.
2280
51e623f2
JM
22812014-10-28 Joseph Myers <joseph@codesourcery.com>
2282
2283 [BZ #14132]
2284 * sysdeps/generic/unwind-dw2-fde.c
2285 (__register_frame_info_bases_internal): Do not declare.
2286 (__register_frame_info_table_bases_internal): Likewise.
2287 (__deregister_frame_info_bases_internal): Likewise.
2288 (__register_frame_info_bases): Declare and use hidden_proto before
2289 definition. Use hidden_def instead of INTDEF.
2290 (__register_frame_info_table_bases): Likewise.
2291 (__deregister_frame_info_bases): Likewise.
2292 (__register_frame_info): Do not use INTUSE.
2293 (__register_frame): Likewise.
2294 (__register_frame_info_table): Likewise.
2295 (__register_frame_table): Likewise.
2296 (__deregister_frame_info): Likewise.
2297 (__deregister_frame): Likewise.
2298
03d41216
GC
22992014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2300
2301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2303 not undefine.
2304 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2305 Likewise.
2306 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2307 Likewise.
2308
a4b3624d
JM
23092014-10-27 Joseph Myers <joseph@codesourcery.com>
2310
2311 [BZ #14138]
2312 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2313 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2314 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2315 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2316 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2317 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2318 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2321 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2324 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2325 syscall.
2326 (setfsuid): Likewise.
2327 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2328 (setfsuid): Likewise.
2329 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2330 (setfsuid): Likewise.
2331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2332 Likewise.
2333 (setfsuid): Likewise.
2334 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2335 (setfsuid): Likewise.
2336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2337 Likewise.
2338 (setfsuid): Likewise.
2339
3574f2fd
AS
23402014-10-27 Andreas Schwab <schwab@suse.de>
2341
2342 [BZ #17501]
2343 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2344 check for Slow_SSE4_2 feature bit.
2345 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2346 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2347 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2348 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2349
70996a37
RM
23502014-10-24 Roland McGrath <roland@hack.frob.com>
2351
461a7b1e
RM
2352 * configure.ac: Validate compiler version with a empirical test of
2353 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2354 $CC -v output.
2355 * configure: Regenerated.
2356
70996a37
RM
2357 * inet/htons.c (htons): Prototypify.
2358 * inet/htonl.c (htonl): Likewise.
2359
e80514b5
WD
23602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2361
2362 * string/strncat.c (strncat): Improve performance by using strlen.
2363
6e46de42
WD
23642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2365
2366 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2367
6a9ad2fa
WD
23682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2369
2370 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2371 Call libc_fetestexcept_aarch64.
2372
1c8810ed
WD
23732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2374
2375 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2376 Call libc_feholdexcept_aarch64.
2377
8b1af712
WD
23782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2379
2380 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2381 Call get_rounding_mode.
2382
a7b00c11
WD
23832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2384
2385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2386 Simplify logic.
2387
3a84f1a6
WD
23882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2389
2390 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2391 Simplify logic.
2392
48eb7a94
JM
23932014-10-24 Joseph Myers <joseph@codesourcery.com>
2394
c8bc4038
JM
2395 [BZ #14138]
2396 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2397 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2398 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2399 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2400 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2401 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2402 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2403 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2404 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2405 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2406 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2407 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2408 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2409 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2410 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2411 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2412 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2413 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2414 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2415 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2416 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2418 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2419 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2420 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2424 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2425 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2426 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2427 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2428 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2429 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2430 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2436 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2437 syscall.
2438 (geteuid): Likewise.
2439 (getgid): Likewise.
2440 (getuid): Likewise.
2441 (getresgid): Likewise.
2442 (getresuid): Likewise.
2443 (getgroups): Likewise.
2444 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2445 (geteuid): Likewise.
2446 (getgid): Likewise.
2447 (getuid): Likewise.
2448 (getresgid): Likewise.
2449 (getresuid): Likewise.
2450 (getgroups): Likewise.
2451 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2452 (geteuid): Likewise.
2453 (getgid): Likewise.
2454 (getuid): Likewise.
2455 (getresgid): Likewise.
2456 (getresuid): Likewise.
2457 (getgroups): Likewise.
2458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2459 Likewise.
2460 (geteuid): Likewise.
2461 (getgid): Likewise.
2462 (getuid): Likewise.
2463 (getresgid): Likewise.
2464 (getresuid): Likewise.
2465 (getgroups): Likewise.
2466 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2467 (geteuid): Likewise.
2468 (getgid): Likewise.
2469 (getuid): Likewise.
2470 (getresgid): Likewise.
2471 (getresuid): Likewise.
2472 (getgroups): Likewise.
2473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2474 Likewise.
2475 (geteuid): Likewise.
2476 (getgid): Likewise.
2477 (getuid): Likewise.
2478 (getgroups): Likewise.
2479
48eb7a94
JM
2480 [BZ #14138]
2481 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2482 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2483 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2485 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2486 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2487 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2488 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2489 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2491 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2493 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2494 __chown.
2495 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2496 (lchown): Likewise.
2497 (fchown): Likewise.
2498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2499 Likewise.
2500 (lchown): Likewise.
2501 (fchown): Likewise.
2502 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2503 (lchown): Likewise.
2504 (fchown): Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2506 Likewise.
2507 (lchown): Likewise.
2508 (fchown): Likewise.
2509
ea9a7c8b
WD
25102014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2511
2512 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2513 Simplify logic.
2514
e226de33
WD
25152014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2516
2517 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2518 Cleanup logic.
2519
6e3d8ed3
WD
25202014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2521
2522 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2523 Remove unused include.
2524
eb04247d
WD
25252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2526
2527 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2528 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2529 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2530 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2531
13d84554
CD
25322014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2533 Helge Deller <deller@gmx.de>
2534
2535 [BZ #17508]
2536 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2537 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2538 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2539
15f9c5df
JM
25402014-10-23 Joseph Myers <joseph@codesourcery.com>
2541
2542 [BZ #14132]
2543 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2544 Remove macro definition.
2545 (__ashrdi3_v_glibc20): Likewise.
2546 (__lshrdi3_v_glibc20): Likewise.
2547 (__cmpdi2_v_glibc20): Likewise.
2548 (__ucmpdi2_v_glibc20): Likewise.
2549 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2550 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2551 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2552 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2553 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2554 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2555
c6dfed24
RM
25562014-10-22 Roland McGrath <roland@hack.frob.com>
2557
2558 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2559 old GNU extension [0] syntax.
2560 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2561 alloca rather than an array member with variable length.
2562 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2563 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2564 (parse_opt): ... here. Likewise use alloca there.
2565 Validate the -i argument before checking for rootness.
2566 (send_shutdown): New function, broken out of ...
2567 (parse_opt): ... here.
2568
8c2b1ed8
RM
25692014-10-22 Roland McGrath <roland@hack.frob.com>
2570
2571 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2572 macro to get at the _rt_local_ro field.
2573 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2574 ([PIC] case) or _dl_hwcap ([!PIC] case).
2575 * sysdeps/arm/setjmp.S: Likewise.
2576
2577 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2578 * sysdeps/arm/configure.ac: New check to define it.
2579 * sysdeps/arm/configure: Regenerated.
2580 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2581 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2582 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2583 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2584 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2585 Use move/movt pair instead of a load.
2586 (LDST_GLOBAL): Macro removed.
2587 (LDR_GLOBAL): New macro replaces it.
2588 (LDR_HIDDEN): New macro.
2589 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2590 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2591
2592 * setjmp/tst-setjmp-static.c: New file.
2593 * setjmp/Makefile (tests): Add it.
2594 (tests-static): New variable.
2595
b5af9297
MR
25962014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2597
2598 [BZ #17485]
2599 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2600
a13d0d74
JM
26012014-10-21 Joseph Myers <joseph@codesourcery.com>
2602
2603 [BZ #14132]
2604 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2605
f05e73f6
RM
26062014-10-21 Roland McGrath <roland@hack.frob.com>
2607
2608 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2609
6ab1d1ea
RM
26102014-10-20 Roland McGrath <roland@hack.frob.com>
2611
2612 * io/fts.c (dirent_not_directory): New function.
2613 (fts_build): Call it.
2614
ab49e763
RM
26152014-10-20 Roland McGrath <roland@hack.frob.com>
2616
e436eb79
RM
2617 * nptl/version.c (__nptl_main): Use normal __write rather than
2618 INTERNAL_SYSCALL.
2619 (banner): Update copyright years.
2620
6af246cf
RM
2621 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2622 gettimeofday.
2623 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2624 * nptl/pthread_cond_timedwait.c: Likewise.
2625 * nptl/pthread_mutex_timedlock.c: Likewise.
2626 * nptl/sem_timedwait.c: Likewise.
2627
ab49e763
RM
2628 * sysdeps/nptl/bits/libc-lock.h
2629 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2630 (__libc_lock_init_recursive): Return void, not 0.
2631 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2632 (__libc_rwlock_init): Likewise.
2633 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2634
f50277c1
TR
26352014-10-20 Torvald Riegel <triegel@redhat.com>
2636
2637 [BZ #15215]
2638 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2639 (__pthread_once_slow): ... here.
2640 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2641 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2642
63668b70
TR
26432014-10-20 Torvald Riegel <triegel@redhat.com>
2644
2645 [BZ #15215]
2646 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2647 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2648 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2649 * nptl/pthread_once.c (__pthread_once): Likewise.
2650 Update comments.
2651
42b7f5d4
JM
26522014-10-20 Joseph Myers <joseph@codesourcery.com>
2653
2654 [BZ #14138]
2655 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2656 name.
2657 (writev): Use __libc_writev as strong name.
2658 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2659 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2660
b0643088
RM
26612014-10-17 Roland McGrath <roland@hack.frob.com>
2662
114c4e09
RM
2663 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2664
674b8978
RM
2665 * sysdeps/i386/nptl/tls.h
2666 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2667 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2668 New macros.
2669 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2670 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2671 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2672 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2673 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2674 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2675
184ee940
RM
2676 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2677 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2678 on [__NR_futex].
2679 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2680 broken out of ...
2681 (__pthread_mutex_init): ... here. Call it.
2682 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2683 Conditionalize PI cases on [__NR_futex].
2684 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2685 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2686 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2687
327ae257
RM
2688 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2689 conditional on [SIGSETXID].
2690 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2691 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2692 is defined. Likewise for SIGSETXID.
2693 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2694 Conditionalize definitions on [SIGSETXID].
2695 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2696 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2697 unblocking on [SIGCANCEL].
2698
b0643088
RM
2699 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2700 [__NR_set_robust_list].
2701
33cc770b
SP
27022014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2703
2704 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2705 (do_compare): Likewise.
2706
0742aef6
LH
27072014-10-17 Leonhard Holz <leonhard.holz@web.de>
2708
2709 [BZ #15884]
2710 * string/strcoll_l.c: Don't include stdio.h.
2711 (coll_seq): Remove members idxarr and rulearr.
2712 (get_next_seq_cached): Remove function.
2713 (get_next_seq): Likewise.
2714 (get_next_seq_nocache): Rename to get_next_seq.
2715 (do_compare): Remove function.
2716 (do_compare_nocache): Rename to do_compare.
2717 (STRCOLL): Remove weight and rules cache.
2718
ee54ce44
RM
27192014-10-16 Roland McGrath <roland@hack.frob.com>
2720
2721 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2722 * sysdeps/arm/sfp-machine.h: ... to here.
2723 * sysdeps/arm/Implies: Remove arm/soft-fp.
2724
a75d3b02
JM
27252014-10-14 Joseph Myers <joseph@codesourcery.com>
2726
2727 * conform/data/sys/utsname.h-data (*_t): Allow.
2728 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2729 [POSIX] (WEXITED): Do not expect constant.
2730 [POSIX] (WSTOPPED): Likewise.
2731 [POSIX] (WNOHANG): Likewise.
2732 [POSIX] (WNOWAIT): Likewise.
2733 [POSIX] (siginfo_t): Do not expect type or elements.
2734 [POSIX] (pid_t): Do not expect type.
2735 [POSIX] (signal.h): Do not allow header.
2736 [POSIX] (sys/resource.h): Likewise.
2737 [POSIX] (si_*): Do not allow pattern.
2738 [POSIX] (W*): Likewise.
2739 [POSIX] (P_*): Likewise.
2740 [POSIX] (BUS_*): Likewise.
2741 [POSIX] (CLD_*): Likewise.
2742 [POSIX] (FPE_*): Likewise.
2743 [POSIX] (ILL_*): Likewise.
2744 [POSIX] (POLL_*): Likewise.
2745 [POSIX] (SEGV_*): Likewise.
2746 [POSIX] (SI_*): Likewise.
2747 [POSIX] (TRAP_*): Likewise.
2748 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2749 variable.
2750
fda389c8
SP
27512014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2752
2753 [BZ #12926]
2754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2755 infinite loop when __recvmsg returns 0.
2756
6bc6bd3b
JM
27572014-10-10 Joseph Myers <joseph@codesourcery.com>
2758
fcb32af1
JM
2759 * CANCEL-FCT-WAIVE: Remove file.
2760 * CANCEL-FILE-WAIVE: Likewise.
2761
6bc6bd3b
JM
2762 [BZ #14132]
2763 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2764 instead of INTVARDEF.
2765 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2766 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2767 rtld_hidden_data_def instead of INTVARDEF.
2768 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2769 * elf/dl-deps.c (expand_dst): Likewise.
2770 * elf/dl-load.c (_dl_dst_count): Likewise.
2771 (_dl_dst_substitute): Likewise.
2772 (decompose_rpath): Likewise.
2773 (_dl_init_paths): Likewise.
2774 (open_path): Likewise.
2775 (_dl_map_object): Likewise.
2776 * elf/rtld.c (dl_main): Likewise.
2777 (process_dl_audit): Likewise.
2778 (process_envvars): Likewise.
2779 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2780 Remove declaration.
2781 (__libc_enable_secure): Use rtld_hidden_proto.
2782
b8c80a7e
KS
27832014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2784
2785 * elf/dl-load.c
2786 (add_path): New function broken out of _dl_rtld_di_serinfo.
2787 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2788
ff12c11f
JM
27892014-10-09 Joseph Myers <joseph@codesourcery.com>
2790
5c0508a3
JM
2791 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2792 parentheses around macro arguments.
2793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2804 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2806 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2808 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2809 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2822 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2826 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2827 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2828 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2829 Likewise.
2830 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2832 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2835 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2836 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2837 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2838 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2839 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2840 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2841 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2842 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2843 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2847 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2851 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2852 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2855 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2856 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2857 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2858 (_FP_FRAC_SRS_1): Likewise.
2859 (_FP_FRAC_CLZ_1): Likewise.
2860 (_FP_MUL_MEAT_1_imm): Likewise.
2861 (_FP_MUL_MEAT_1_wide): Likewise.
2862 (_FP_MUL_MEAT_1_hard): Likewise.
2863 (_FP_SQRT_MEAT_1): Likewise.
2864 (_FP_FRAC_ASSEMBLE_1): Likewise.
2865 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2866 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2867 (__FP_CLZ_2): Likewise.
2868 (_FP_MUL_MEAT_2_wide): Likewise.
2869 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2870 (_FP_MUL_MEAT_2_gmp): Likewise.
2871 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2872 (_FP_SQRT_MEAT_2): Likewise.
2873 (_FP_FRAC_ASSEMBLE_2): Likewise.
2874 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2875 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2876 (_FP_FRAC_CLZ_4): Likewise.
2877 (_FP_MUL_MEAT_4_wide): Likewise.
2878 (_FP_MUL_MEAT_4_gmp): Likewise.
2879 (_FP_SQRT_MEAT_4): Likewise.
2880 (_FP_FRAC_ASSEMBLE_4): Likewise.
2881 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2882 * soft-fp/op-common.h (_FP_CMP): Likewise.
2883 (_FP_CMP_EQ): Likewise.
2884 (_FP_CMP_UNORD): Likewise.
2885 (_FP_TO_INT): Likewise.
2886 (_FP_FROM_INT): Likewise.
2887 [!__FP_CLZ] (__FP_CLZ): Likewise.
2888 (_FP_DIV_HELP_imm): Likewise.
2889 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2890 Likewise.
2891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2892 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2902 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2903 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2904 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2906 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2907 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2918 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2920 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2922 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2923 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2924 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2925 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2926 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2927 (FP_UNPACK_RAW_SP): Likewise.
2928 (FP_PACK_RAW_S): Likewise.
2929 (FP_PACK_RAW_SP): Likewise.
2930 (FP_UNPACK_S): Likewise.
2931 (FP_UNPACK_SP): Likewise.
2932 (FP_UNPACK_SEMIRAW_S): Likewise.
2933 (FP_UNPACK_SEMIRAW_SP): Likewise.
2934 (FP_PACK_S): Likewise.
2935 (FP_PACK_SP): Likewise.
2936 (FP_PACK_SEMIRAW_S): Likewise.
2937 (FP_PACK_SEMIRAW_SP): Likewise.
2938 (_FP_SQRT_MEAT_S): Likewise.
2939 (FP_CMP_S): Likewise.
2940 (FP_CMP_EQ_S): Likewise.
2941 (FP_CMP_UNORD_S): Likewise.
2942 (FP_TO_INT_S): Likewise.
2943 (FP_FROM_INT_S): Likewise.
2944
a736ec37
JM
2945 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2946
ff12c11f
JM
2947 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2948 (FP_EX_INVALID_IMZ): Likewise.
2949 (FP_EX_INVALID_IMZ_FMA): Likewise.
2950 (FP_EX_INVALID_ISI): Likewise.
2951 (FP_EX_INVALID_ZDZ): Likewise.
2952 (FP_EX_INVALID_IDI): Likewise.
2953 (FP_EX_INVALID_SQRT): Likewise.
2954 (FP_EX_INVALID_CVI): Likewise.
2955 (FP_EX_INVALID_VC): Likewise.
2956 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2957 "invalid" exceptions.
2958 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2959 (_FP_ADD_INTERNAL): Likewise.
2960 (_FP_MUL): Likewise.
2961 (_FP_FMA): Likewise.
2962 (_FP_DIV): Likewise.
2963 (_FP_CMP_CHECK_NAN): Likewise.
2964 (_FP_SQRT): Likewise.
2965 (_FP_TO_INT): Likewise.
2966 (FP_EXTEND): Likewise.
2967
b6dcfe8c
AM
29682014-10-09 Allan McRae <allan@archlinux.org>
2969
2970 * po/fr.po: Update French translation from translation project.
2971
2d6a47ba
JM
29722014-10-09 Joseph Myers <joseph@codesourcery.com>
2973
cb831245
JM
2974 [BZ #14132]
2975 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2976 of INTDEF.
2977 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2978 (__cxa_atexit): Use libc_hidden_proto.
2979 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2980
5deeb190
JM
2981 [BZ #14132]
2982 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2983 declaration.
2984 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2985 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2986 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2987 [!_ISOMAC] (__iswctype_internal): Likewise.
2988 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2989 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2990 alias.
2991 (fcntl): Remove __fcntl_internal alias.
2992 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2993 __connect_internal alias.
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2995 Likewise.
2996
454ac701
JM
2997 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2998 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2999 FP_DENORM_ZERO.
3000 (_FP_CHECK_FLUSH_ZERO): New macro.
3001 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3002 (_FP_CMP): Likewise.
3003 (_FP_CMP_EQ): Likewise.
3004 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3005 FP_DENORM_ZERO.
3006 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3007 (FP_TRUNC): Likewise.
3008
0022e688
JM
3009 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3010 treated as invalid conversion, not as normal exponent.
3011
73e28d9c
JM
3012 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3013 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3014 (_FP_CMP_EQ): Likewise.
3015 (_FP_CMP_UNORD): Likewise.
3016 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3017 (FP_CMP_EQ_D): Likewise.
3018 (FP_CMP_UNORD_D): Likewise.
3019 * soft-fp/extended.h (FP_CMP_E): Likewise.
3020 (FP_CMP_EQ_E): Likewise.
3021 (FP_CMP_UNORD_E): Likewise.
3022 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3023 (FP_CMP_EQ_Q): Likewise.
3024 (FP_CMP_UNORD_Q): Likewise.
3025 * soft-fp/single.h (FP_CMP_S): Likewise.
3026 (FP_CMP_EQ_S): Likewise.
3027 (FP_CMP_UNORD_S): Likewise.
3028 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3029 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3030 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3031 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3032 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3033 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3034 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3035 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3036 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3037 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3038 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3039 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3040 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3041 to FP_CMP_Q.
3042 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3043 FP_CMP_Q.
3044 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3045 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3046 FP_CMP_EQ_Q.
3047 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3048 FP_CMP_Q.
3049 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3050 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3051 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3052 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3053 FP_CMP_EQ_Q.
3054 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3055 FP_CMP_Q.
3056 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3057 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3058 FP_CMP_EQ_Q.
3059 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3060 FP_CMP_Q.
3061 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3062 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3063 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3064 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3065 FP_CMP_EQ_Q.
3066
43059f42
JM
3067 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3068 a subnormal result, set the underflow exception if trapping on
3069 underflow is enabled.
3070 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3071 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3072 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3073 redefine to 0.
3074 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3075 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3076 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3077 * soft-fp/extendxftf2.c (__extendxftf2): Use
3078 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3079
2d6a47ba
JM
3080 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3081 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3082 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3083 FP_HANDLE_EXCEPTIONS.
3084 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3085 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3086 FP_HANDLE_EXCEPTIONS.
3087 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3088 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3089 FP_HANDLE_EXCEPTIONS.
3090 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3091 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3092 FP_HANDLE_EXCEPTIONS.
3093
620f462e
JM
30942014-10-08 Joseph Myers <joseph@codesourcery.com>
3095
3096 [BZ #14132]
3097 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3098 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3099 use INTUSE.
3100 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3101 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3102 Remove alias.
3103 (__adjtimex): Define using libc_hidden_ver.
3104 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3105 Remove declaration.
3106 (ntp_gettime): Call __adjtimex directly.
3107 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3108 Remove declaration.
3109 (ntp_gettimex): Call __adjtimex directly.
3110 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3111 __adjtimex_internal alias.
3112
c763c5d2
RM
31132014-10-08 Roland McGrath <roland@hack.frob.com>
3114
3115 [BZ #17460]
3116 * nscd/nscd.c (more_help): Rewrite list of tables collection
3117 using xstrdup and asprintf.
3118
3119 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3120
7b8fb2b8
RM
31212014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3122 Roland McGrath <roland@hack.frob.com>
3123
3124 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3125 (do_lookup_unique): ... local function 'enter' here; update callers.
3126
abb280f7
JM
31272014-10-06 Joseph Myers <joseph@codesourcery.com>
3128
f7b42517
JM
3129 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3130 compat_symbol calls on [SHARED].
3131 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3132 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3133 Remove.
3134 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3135 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3136 (oldsetrlimit): Remove.
3137 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3139 (lchown): New syscall entry.
3140 (oldsetrlimit): Remove.
3141 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3143 (oldsetrlimit): Remove.
3144 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3145
abb280f7
JM
3146 [BZ #14138]
3147 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3148 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3149 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3150 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3151 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3152 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3153 (fchown): Likewise.
3154 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3155 (fchown): Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3157 Likewise.
3158
47d46237
AZ
31592014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3160
3161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3162 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3163 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3164 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3165 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3166 Likewise.
3167 (__old_sem_post): Likewise.
3168
31692014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3170
845a7343
CM
3171 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3172 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3173 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3174 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3175 Use INLINE_VSYSCALL macro.
3176 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3177 __vdso_clock_gettime.
3178 * sysdeps/unix/sysv/linux/tile/init-first.c
3179 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3180 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3181 __vdso_clock_gettime.
3182
83d641ef
CM
3183 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3184 to set up frame more cleanly.
3185
d9cd52e6
CM
3186 * sysdeps/tile/memcmp.c: New file.
3187
4b68ea11
CM
3188 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3189
c86f7b80
CM
3190 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3191 * sysdeps/tile/tilegx/strcasestr.c: New file.
3192 * sysdeps/tile/tilegx/strnlen.c: New file.
3193 * sysdeps/tile/tilegx/strstr.c: New file.
3194
1c4c1a6f
CM
3195 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3196
99d86ea3
AS
31972014-10-06 Arjun Shankar <arjun.is@lostca.se>
3198
3199 * nptl/tst-setuid3.c: Write errors to stdout.
3200
06210a44
KS
32012014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3202
3203 * elf/dl-deps.c
3204 (preload): New functions broken out of _dl_map_object_deps.
3205 (_dl_map_object_deps): Remove a nested function. Update call sites.
3206
6268f532
JM
32072014-10-01 Joseph Myers <joseph@codesourcery.com>
3208
3209 [BZ #14138]
3210 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3211 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3212
b925285f
SE
32132014-10-01 Steve Ellcey <sellcey@mips.com>
3214
3215 * sysdeps/mips/strcmp.S: New.
3216
754a15c6
JM
32172014-09-30 Joseph Myers <joseph@codesourcery.com>
3218
3219 [BZ #14138]
3220 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3221 (linkat): Likewise.
3222 (mkdirat): Likewise.
3223 (readlinkat): Likewise.
3224 (renameat): Likewise.
3225 (symlinkat): Likewise.
3226 (unlinkat): Likewise.
3227 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3228 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3229 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3230 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3231 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3232 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3233 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3234
85bb81c9
WN
32352014-09-30 Will Newton <will.newton@linaro.org>
3236
dc6fe23b
WN
3237 * math/math.h: Define long double math functions if
3238 _LIBC_TEST is defined.
3239 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3240
85bb81c9
WN
3241 * localedata/Makefile: Move assignment to tests-special
3242 into an ifdef testing run-built-tests.
3243 * timezone/Makefile: Likewise.
3244
b7e02da4
JM
32452014-09-29 Joseph Myers <joseph@codesourcery.com>
3246
3247 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3248 with $(BASH) not $(SHELL).
3249
62058ce6
CD
32502014-09-29 Carlos O'Donell <carlos@redhat.com>
3251 Matthew LeGendre <legendre1@llnl.gov>
3252
3253 [BZ #17411]
3254 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3255 l_reloc_result.
3256
8e257a29
KS
32572014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3258
3259 * stdio-common/printf_fp.c
3260 (hack_digit): New function, broken out of ...
3261 (__printf_fp): ... local function here. Update call sites.
3262 hack_digit now takes an additional parameter that is a pointer
3263 to a struct of the referenced locals. Those locals moved inside
3264 the struct and references updated.
3265
f4a58f0d
L
32662014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * aclocal.m4: Require autoconf 2.69.
3269 * configure: Regenerated.
3270 * sysdeps/aarch64/configure: Likewise.
3271 * sysdeps/alpha/configure: Likewise.
3272 * sysdeps/arm/armv7/configure: Likewise.
3273 * sysdeps/arm/configure: Likewise.
3274 * sysdeps/ia64/configure: Likewise.
3275 * sysdeps/mach/configure: Likewise.
3276 * sysdeps/mips/configure: Likewise.
3277 * sysdeps/s390/configure: Likewise.
3278 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3280
3281 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3282 file.
3283 * sysdeps/ia64/configure.ac: Likewise.
3284
93ae1eba
JM
32852014-09-26 Joseph Myers <joseph@codesourcery.com>
3286
1810d3ab
JM
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3288 specify symbol version for ld.so. Do not include entry for
3289 libpthread.
3290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3292 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3293
93ae1eba
JM
3294 [BZ #14171]
3295 * Makeconfig [$(build-shared) = yes]
3296 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3297 makefiles.
3298 [$(build-shared) = yes && $(soversions.mk-done) = t]
3299 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3300 [$(build-shared) = yes && $(soversions.mk-done) = t]
3301 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3302 to Makerules.
3303 [$(build-shared) = yes && $(soversions.mk-done) = t]
3304 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3305 here.
3306 [$(build-shared) = yes && $(soversions.mk-done) = t]
3307 (common-generated): Don't append gnu/lib-names.h and
3308 gnu/lib-names.stmp here.
3309 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3310 (lib-names-h-abi): New variable.
3311 [$(build-shared) = yes && $(soversions.mk-done) = t]
3312 (lib-names-stmp-abi): Likewise.
3313 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3314 abi-variants] (before-compile): Append
3315 $(common-objpfx)$(lib-names-h-abi).
3316 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3317 abi-variants] (common-generated): Append gnu/lib-names.h.
3318 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3319 abi-variants] (install-others-nosubdir): Depend on
3320 $(inst_includedir)/$(lib-names-h-abi).
3321 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3322 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3323 [$(build-shared) = yes && $(soversions.mk-done) = t]
3324 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3325 [$(build-shared) = yes && $(soversions.mk-done) = t]
3326 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3327 [$(build-shared) = yes && $(soversions.mk-done) = t]
3328 (common-generated): Append $(lib-names-h-abi) and
3329 $(lib-names-stmp-abi).
3330 * scripts/lib-names.awk: Do not handle multi being set.
3331 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3332 Remove variable.
3333 (abi-lp64_be-ld-soname): Likewise.
3334 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3335 Likewise.
3336 (abi-hard-ld-soname): Likewise.
3337 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3338 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3339 Remove variable.
3340 (abi-o32_hard-ld-soname): Likewise.
3341 (abi-o32_soft_2008-ld-soname): Likewise.
3342 (abi-o32_hard_2008-ld-soname): Likewise.
3343 (abi-n32_soft-ld-soname): Likewise.
3344 (abi-n32_hard-ld-soname): Likewise.
3345 (abi-n32_soft_2008-ld-soname): Likewise.
3346 (abi-n32_hard_2008-ld-soname): Likewise.
3347 (abi-n64_soft-ld-soname): Likewise.
3348 (abi-n64_hard-ld-soname): Likewise.
3349 (abi-n64_soft_2008-ld-soname): Likewise.
3350 (abi-n64_hard_2008-ld-soname): Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3352 Likewise.
3353 (abi-64-v2-ld-soname): Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3355 ld.so entries.
3356 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3357 variable.
3358 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3359 entry.
3360 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3361 variable.
3362 (abi-64-ld-soname): Likewise.
3363 (abi-x32-ld-soname): Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3365 entry.
3366 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3367
68870f12
JM
33682014-09-23 Joseph Myers <joseph@codesourcery.com>
3369
3370 [BZ #14138]
3371 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3372 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3373 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3376 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3377 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3378 syscall entry for GLIBC_2.2 symbol version.
3379 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3380 Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3382 (setrlimit): Likewise.
3383 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3384 Likewise.
3385
ea58f202
WN
33862014-09-23 Will Newton <will.newton@linaro.org>
3387
3388 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3389 _LINUX_ARM_SYSDEP_H include guard too.
3390 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3391 define.
3392
69eb9a18
RV
33932014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3394
3395 * sysdeps/unix/sysv/linux/eventfd.c:
3396 Make first argument unsigned.
3397 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3398 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3399
20e5a5f7
OB
34002014-09-20 Ondřej Bílka <neleai@seznam.cz>
3401
3402 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3403 * socket/sys/socket.h: Likewise
3404 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3405
d3c827e7
AK
34062014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3407
3408 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3409
fe1cc35a
AS
34102014-09-17 Arjun Shankar <arjun.is@lostca.se>
3411
3412 * time/tst-ftime.c: New test.
3413 * time/Makefile (tests): Add tst-ftime.
3414
4e8afe69
JM
34152014-09-17 Joseph Myers <joseph@codesourcery.com>
3416
c4fe3ea7
JM
3417 * soft-fp/extended.h: Fix comment formatting.
3418 * soft-fp/op-1.h: Likewise.
3419 * soft-fp/op-2.h: Likewise.
3420 * soft-fp/op-4.h: Likewise.
3421 * soft-fp/op-8.h: Likewise.
3422 * soft-fp/op-common.h: Likewise.
3423 * soft-fp/soft-fp.h: Likewise.
3424
4e8afe69
JM
3425 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3426
af296fcd
JM
34272014-09-16 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #6652]
3430 * Makeconfig (soversions-default-setname): Remove variable.
3431 ($(common-objpfx)soversions.i): Don't pass default_setname to
3432 soversions.awk.
3433 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3434 oldest_abi to abi-versions.awk.
3435 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3436 * config.make.in (oldest-abi): Remove variable.
3437 * configure.ac (--enable-oldest-abi): Remove configure option.
3438 * configure: Regenerated.
3439 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3440 text.
3441 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3442 * scripts/soversions.awk: Do not handle default_setname variable.
3443 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3444 variable.
3445 * sysdeps/mach/hurd/configure: Regenerated.
3446 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3447 variable.
3448 * sysdeps/unix/sysv/linux/configure: Regenerated.
3449
545583d6
SP
34502014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3451
d330b980
SP
3452 * elf/Makefile (CFLAGS-interp.c): Remove.
3453 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3454 path string.
3455 * elf/interp.c: Include generated runtime-linker.h
3456
02657da2
SP
3457 * Makerules (lib%.so): Don't include $(+interp) in
3458 prerequisites.
3459 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3460 * dlfcn/eval.c: Remove file.
3461
653b1080
SP
3462 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3463 macros.
3464
602f80ec
SP
3465 [BZ #17266]
3466 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3467 4.2 and newer.
3468
545583d6
SP
3469 [BZ #17370]
3470 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3471
884ddc50
SP
34722014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3473 Jakub Jelinek <jakub@redhat.com>
3474
3475 [BZ #17266]
3476 * libio/stdio.h: Check definition of __fortify_function
3477 instead of __extern_always_inline to include bits/stdio2.h.
3478 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3479 check if __extern_always_inline is defined.
3480 [__USE_MISC || __USE_XOPEN]: Likewise.
3481 [__USE_ISOC99] Likewise.
3482 * misc/sys/cdefs.h (__fortify_function): Define only if
3483 __extern_always_inline is defined.
3484 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3485 __extern_always_inline and __extern_inline only for g++-4.3
3486 and newer or a compatible gcc.
3487
a7b87268
AS
34882014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3489
3490 [BZ #17371]
3491 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3492 last change to handle zero prefix length.
3493
3f41521d
SP
34942014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
61fe374a
SP
3496 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3497 _SC_REGEX_VERSION.
3498
3f41521d
SP
3499 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3500 _POSIX_RAW_SOCKETS.
3501
d8f879ee
AM
35022014-09-13 Allan McRae <allan@archlinux.org>
3503
3504 * po/ru.po: Update Russian translation from translation project.
3505
c079afb7
RM
35062014-09-12 Roland McGrath <roland@hack.frob.com>
3507
a62b3c15
RM
3508 * locale/programs/locale.c (show_locale_vars): Inline local function
3509 into its sole call site. Clean up some style nits.
3510 (print_item): New function, broken out of ...
3511 (show_info): ... local function here. Clean up style nits.
3512
d7e49b19
RM
3513 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3514 out of ...
3515 (set_class_defaults): ... local function set_default here.
3516 Define set_default as a macro locally to pass constant parameters.
3517 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3518 rather than a shared local.
3519
c079afb7
RM
3520 * stdlib/rpmatch.c (try): New function, broken out of ...
3521 (rpmatch): ... local function here. Also, prototypify definition.
3522
0bd72468
JM
35232014-09-12 Joseph Myers <joseph@codesourcery.com>
3524
ba90e050
JM
3525 * scripts/soversions.awk: Do not handle configuration names.
3526 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3527 vendor and os variables to soversions.awk.
3528 * configure.ac: Do not modify gnu-* host_os.
3529 * configure: Regenerated
3530 * shlib-versions: Remove first column with configuration names.
3531 * nptl/shlib-versions: Likewise.
3532 * nptl_db/shlib-versions: Likewise.
3533 * sysdeps/hppa/shlib-versions: Likewise.
3534 * sysdeps/m68k/shlib-versions: Likewise.
3535 * sysdeps/mach/hurd/shlib-versions: Likewise.
3536 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3537 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3538 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3539 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3540 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3541 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3542 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3543 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3547 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3548 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3549 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3550 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3551 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3552 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3553 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3554
73a39112
JM
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3556 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3558 Regenerated.
3559 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3561 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3562
c729e7c1
JM
3563 * shlib-versions: Remove OS-specific entries. Moved to files in
3564 sysdeps.
3565 * sysdeps/mach/hurd/shlib-versions: New file.
3566 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3567
dc932a24
JM
3568 * nptl/shlib-versions: Remove architecture-specific entries.
3569 Moved to files in sysdeps.
3570 * shlib-versions: Likewise.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3572 file.
3573 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3574 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3575 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3577
0bd72468
JM
3578 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3579 (UDP_NO_CHECK6_RX): Likewise.
3580
920238e0
SP
35812014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3582
3583 * sysdeps/posix/sysconf.c (__sysconf): Spell
3584 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3585
ba7b4d29
FW
35862014-08-12 Florian Weimer <fweimer@redhat.com>
3587
3588 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3589 loading.
3590 * iconv/Versions (__gconv_transliterate): Export for use from
3591 gconv modules.
3592 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3593 (struct __gconv_trans_data, __gconv_trans_fct,
3594 __gconv_trans_context_fct, __gconv_trans_query_fct,
3595 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3596 definitions.
3597 (struct __gconv_step_data): Remove __trans member.
3598 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3599 longer hidden. Remove unused trans_data argument.
3600 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3601 (__gconv_translit_find): Remove declaration.
3602 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3603 prototype.
3604 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3605 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3606 trans_data argument. Add hidden definition.
3607 (__gconv_translit_find): Remove.
3608 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3609 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3610 * iconv/skeleton.c: Remove transliteration initialization.
3611 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3612 __gconv_step_data initialization.
3613 * libio/iofwide.c (__libio_translit_): Remove.
3614 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3615 * wcsmbs/btowc.c (__btowc): Likewise.
3616 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3617 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3618 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3619 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3620 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3621 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3622 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3623 * wcsmbs/wctob.c (wctob): Likewise.
3624
5379aebd
SP
36252014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3626
3627 [BZ #16194]
3628 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3629 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3630 register usage.
3631 * sysdeps/x86/Makefile: Adjust.
3632
8c0ab919
RM
36332014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3634 Roland McGrath <roland@hack.frob.com>
3635
3636 * locale/weight.h: Add include guard.
3637 (findidx): Make static rather than auto; take new parameters
3638 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3639 * locale/weightwc.h: Likewise.
3640 * posix/fnmatch_loop.c
3641 (FCT): Change type of EXTRA from int32_t to wint_t.
3642 Don't include either header inside the function.
3643 Call FINDIDX rather than findidx, and pass new arguments.
3644 #undef FINDIDX at the end of the file.
3645 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3646 FINDIDX before including fnmatch_loop.c for the non-wide version.
3647 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3648 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3649 for the wide version.
3650 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3651 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3652 Pass new arguments to findidx.
3653 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3654 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3655 Don't #include it inside the function. Pass new arguments to findidx.
3656 * posix/regex_internal.h
3657 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3658 (re_string_elem_size_at): Don't #include it inside the function.
3659 Pass new arguments to findidx.
3660 * string/strcoll_l.c: #include WEIGHT_H at top level.
3661 (get_next_seq): Don't #include it inside the function.
3662 Pass new arguments to findidx.
3663 (get_next_seq_nocache): Likewise.
3664 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3665 (STRXFRM): Don't #include it inside the function.
3666 Pass new arguments to findidx.
3667
52ffbdf2
FW
36682014-09-11 Florian Weimer <fweimer@redhat.com>
3669
3670 [BZ #17344]
3671 * malloc/malloc.c (unlink): Turn asserts into a call to
3672 malloc_printerr.
3673
984c0ea9
TL
36742014-09-11 Tim Lammens <tim.lammens@gmail.com>
3675
3676 [BZ #17370]
3677 * libio/wfileops (do_ftell_wide): Free OUT.
3678
3daee107
CM
36792014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3680
3681 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3682
58b930ae
SP
36832014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3684
3685 [BZ #17363]
3686 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3687 group if the current group is empty.
3688
3b473fec
AZ
36892014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3690
71ae8647
AZ
3691 * benchtests/bench-memset.c (test_main): Add more test from size
3692 from 32 to 512 bytes.
3693 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3694 Add POWER8 memset object.
3695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3696 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3697 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3698 implementation.
3699 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3700 Likewise.
3701 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3702 multiarch POWER8 memset optimization.
3703 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3704 POWER8 memset optimization.
3705
3b473fec
AZ
3706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3707 Remove bzero multiarch objects.
3708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3711 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3712 Remove define.
3713 [__bzero]: Redefine to specific name.
3714 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3717 define.
3718 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3719 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3720
e6fb9587
FW
37212014-09-10 Florian Weimer <fweimer@redhat.com>
3722
3723 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3724 warnings into errors.
3725
3726 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3727 __cxa_thread_atexit_impl prototype.
3728
9d3a350b
SE
37292014-09-09 Steve Ellcey <sellcey@mips.com>
3730
3731 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3732 Fix capitalization of error message.
3733
0febba23
SE
37342014-09-09 Steve Ellcey <sellcey@mips.com>
3735
3736 * sysdeps/mips/preconfigure: Modify ABI tests.
3737
645a0e9c
CD
37382014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3739
3740 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3741
d83f0734
CD
37422014-09-07 Roland McGrath <roland@hack.frob.com>
3743 Carlos O'Donell <carlos@systemhalted.org>
3744
3745 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3746 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3747 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3748 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3749 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3751 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3752 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3753 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3755 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3757 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3766 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3767 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3768 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3769 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3770 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3771 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3772 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3773 Deconditionalize the code that was previously under [RESET_PID].
3774 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3775 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3776 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3777 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3778 include sysdep.h.
3779
21c83793
AM
37802014-09-08 Allan McRae <allan@archlinux.org>
3781
3782 * version.h (RELEASE): Set to "development".
3783 (VERSION): Set to "2.20.90"
3784
1cd9b65c
AM
37852014-09-07 Allan McRae <allan@archlinux.org
3786
b8079dd0
AM
3787 * version.h (RELEASE): Set to "stable".
3788 (VERSION): Set to "2.20"
3789 * include/features.h (__GLIBC_MINOR__): Set to 20.
3790
c46303ef
AM
3791 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3792 Liebler.
3793
1cd9b65c
AM
3794 * po/ko.po: Update Korean translation from translation project.
3795
8622092d
CM
37962014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3797
3798 [BZ #17354]
3799 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3800 macro for handling signed relocations.
3801
41488498
FW
38022014-09-03 Florian Weimer <fweimer@redhat.com>
3803
3804 [BZ #17325]
3805 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3806 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3807 assert.
3808 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3809 * iconvdata/ibm935.c (BODY): Likewise.
3810 * iconvdata/ibm937.c (BODY): Likewise.
3811 * iconvdata/ibm939.c (BODY): Likewise.
3812 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3813 assert.
3814 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3815 script.
3816 * iconvdata/run-iconv-test.sh: New test loop for checking for
3817 decoder crashers.
3818
a78b712d
KR
38192014-09-02 Khem Raj <raj.khem@gmail.com>
3820
3821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3822 libm_hidden_ver.
3823
cb08abc6
AM
38242014-09-01 Allan McRae <allan@archlinux.org>
3825
2c31e102
AM
3826 * po/eo.po: Update Esperanto translation from translation project.
3827
cb08abc6
AM
3828 * po/ca.po: Update Catalan translation from translation project.
3829
17a62de1
ST
38302014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3831
3832 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3833 __proc_dostop call.
3834
9570bc53
MW
38352014-08-27 Mark Wielaard <mjw@redhat.com>
3836
3837 [BZ #17319]
3838 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3839 to call set_thread_area instead of hand written asm.
3840 (__NR_set_thread_area): Removed define.
3841 (TLS_FLAG_WRITABLE): Likewise.
3842 (__ASSUME_SET_THREAD_AREA): Remove check.
3843 (TLS_EBX_ARG): Remove define.
3844 (TLS_LOAD_EBX): Likewise.
3845
b0f955c9
ST
38462014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3847
3848 Simplify atomicity of socket creation in bind.
3849
3850 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3851 looking up the name after linking the file.
3852
529bf515
AM
38532014-08-27 Allan McRae <allan@archlinux.org>
3854
3855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3856
a1a6a401
FW
38572014-08-26 Florian Weimer <fweimer@redhat.com>
3858
3859 [BZ #17187]
3860 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3861 trans_compare, open_translit, __gconv_translit_find):
3862 Remove module loading code.
3863
686ab290
AM
38642014-08-26 Allan McRae <allan@archlinux.org>
3865
e4e7cfd2
AM
3866 * po/vi.po: Update Vietnamese translation from translation project.
3867
6aa09f71
AM
3868 * po/uk.po: Update Ukrainian translation from translation project.
3869
edc0660e
AM
3870 * po/fr.po: Update French translation from translation project.
3871
7eea72ac
AM
3872 * po/ru.po: Update Russian translation from translation project.
3873
93c49eff
AM
3874 * po/pl.po: Update Polish translation from translation project.
3875
46acaf63
AM
3876 * po/cs.po: Update Czech translation from translation project.
3877
a9f5ce98
AM
3878 * po/de.po: Update German translation from translation project.
3879
373f2b78
AM
3880 * po/bg.po: Update Bulgarian translation from translation project.
3881
e7548bd8
AM
3882 * po/sv.po: Update Sweedish translation from translation project.
3883
c526bf4d
AM
3884 * po/nl.po: Update Dutch translation from translation project.
3885
686ab290
AM
3886 * po/es.po: Update Spanish translation from translation project.
3887
eb72478a
SP
38882014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3889
dd763fdb
SP
3890 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3891
318c7a58
SP
3892 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3893 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3894 (CPPFLAGS-iconvconfig): Likewise.
3895 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3896
eb72478a
SP
3897 * include/libc-symbols.h: Remove unnecessary check for
3898 NOT_IN_libc.
3899 * nptl/pthreadP.h: Likewise.
3900 * sysdeps/aarch64/setjmp.S: Likewise.
3901 * sysdeps/alpha/setjmp.S: Likewise.
3902 * sysdeps/arm/sysdep.h: Likewise.
3903 * sysdeps/i386/setjmp.S: Likewise.
3904 * sysdeps/m68k/setjmp.c: Likewise.
3905 * sysdeps/posix/getcwd.c: Likewise.
3906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3908 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3909 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3910 * sysdeps/sh/sh3/setjmp.S: Likewise.
3911 * sysdeps/sh/sh4/setjmp.S: Likewise.
3912 * sysdeps/unix/alpha/sysdep.h: Likewise.
3913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3915 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3916 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3921 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3924 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3926 * sysdeps/x86_64/setjmp.S: Likewise.
3927
d44a052c
JM
39282014-08-13 Joseph Myers <joseph@codesourcery.com>
3929
3930 [BZ #17263]
3931 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3932 <stdint.h>.
3933 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3934 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3935
508ce3ac
SP
39362014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3937
e44c8b0e
SP
3938 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3939
508ce3ac
SP
3940 [BZ #17262]
3941 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3942 and __x86_64__ when disabling x87 inline functions.
3943
b4acef1f
L
39442014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3945
3946 [BZ #17259]
3947 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3948 asm statement with __cpuid_count.
3949
61b1ef6e
MF
39502014-08-12 Mike Frysinger <vapier@gentoo.org>
3951
3952 * configure.ac: Change __ehdr_start code to dereference the struct.
3953 Run readelf on the output to look for relocations.
3954 * configure: Regenerated.
3955
898c62f4
JM
39562014-08-12 Joseph Myers <joseph@codesourcery.com>
3957
3958 [BZ #17261]
3959 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3960 value to 0.
3961 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3962
9a8a5720
RM
39632014-08-12 Roland McGrath <roland@hack.frob.com>
3964
3965 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3966
4e75751c
BO
39672014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3968
3969 [BZ #16892]
3970 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3971 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3972
bb2ce416
SA
39732014-08-12 Sean Anderson <seanga2@gmail.com>
3974
3975 * malloc/malloc.c: Fix typo in comment.
3976
7950a4ee
AM
39772014-08-09 Allan McRae <allan@archlinux.org>
3978
3979 * Regenerate libc.po.
3980
f469c49f
MF
39812014-08-08 Mike Frysinger <vapier@gentoo.org>
3982
3983 * intl/tst-gettext2.sh: Check every lang file for creation.
3984
656b84c2
WD
39852014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3986
3987 * sysdeps/aarch64/fpu/math_private.h
3988 (libc_feholdsetround_noex_aarch64_ctx): New function.
3989
538e9e45
W
39902014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3991
3992 * sysdeps/arm/armv6/strcpy.S (strcpy):
3993 Fix performance issue in misaligned cases.
3994
d4795e4a
AZ
39952014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996
3997 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3998 Move definition from termios.h.
3999 (struct termio): Likewise.
4000 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4001 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4002 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4003 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4004 Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4006 Move definition to ioctl-types.h
4007 (struct termio): Likewise.
4008 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4009 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4010 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4011 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4012 Likewise.
4013
64accb62
RH
40142014-08-05 Richard Henderson <rth@redhat.com>
4015
27bb6dc0
RH
4016 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4017 exceptions.
4018 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4019 Add fraiseexcpt.
4020 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4021 Use __feraiseexcept.
4022 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4023 Protect libm symbols with IS_IN_libm.
4024
64accb62
RH
4025 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4026
e5292691
BO
40272014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4028
4029 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4030
5b4bd2d4
WN
40312014-08-04 Will Newton <will.newton@linaro.org>
4032
4033 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4034 file.
4035
fcadaeef
MF
40362014-08-04 Mike Frysinger <vapier@gentoo.org>
4037
4038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4039 variants for each function.
4040
43a94c64
RM
40412014-08-04 Roland McGrath <roland@hack.frob.com>
4042
4043 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4044 appended ...
4045 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4046 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4047 appended ...
4048 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4049 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4050 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4051 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4052 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4053 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4054 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4055 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4056 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4057 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4084 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4085 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4086 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4087 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4090 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4092 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4094 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4096 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4098 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4099 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4100 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4101 Update #include.
4102 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4103 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4104
8f3c1fa4
RM
41052014-08-04 Roland McGrath <roland@hack.frob.com>
4106
4107 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4108 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4109 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4110 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4111 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4112 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4113
ca08746f
RM
41142014-08-04 Roland McGrath <roland@hack.frob.com>
4115
4116 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4117 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4118 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4119 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4120
9c925ff9
RM
41212014-08-04 Roland McGrath <roland@hack.frob.com>
4122
4123 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4124 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4125 (__libc_vfork): Define function under this name.
4126 (__vfork): Define as an alias.
4127 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4128 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4129
e641054c
RM
41302014-08-04 Roland McGrath <roland@hack.frob.com>
4131
4132 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4133 that was previously under [RESET_PID].
4134 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4135
dacdc867
AS
41362014-08-04 Andreas Schwab <schwab@suse.de>
4137
4138 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4139
41f725ff
MF
41402014-08-03 Mike Frysinger <vapier@gentoo.org>
4141
4142 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4143 (main): Likewise.
4144
277cfb31
RM
41452014-08-01 Roland McGrath <roland@hack.frob.com>
4146
4147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4148
4896f049
RH
41492014-08-01 Richard Henderon <rth@redhat.com>
4150
4151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4152 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4153 typo in exact zero test.
4154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4157
6f64e7d7
RM
41582014-08-01 Roland McGrath <roland@hack.frob.com>
4159
4160 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4161 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4162 * sysdeps/arm/sysdep.h: ... here.
4163 [!__ASSEMBLER__]: Include <stdint.h>.
4164
3f3dd810
SP
41652014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
a476ac4b
SP
4167 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4168 (HAVE_WCTYPE_H): Likewise.
4169 (HAVE_ISWCTYPE): Likewise.
4170 (ENABLE_NLS): Likewise.
4171 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4172 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4173
78dd658a
SP
4174 * posix/regex_internal.c: Check if DEBUG is defined and is
4175 set.
4176
3f3dd810
SP
4177 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4178 (HAVE_MBSRTOWCS): Likewise.
4179 * posix/fnmatch.c: Include string.h unconditionally.
4180
95ee7fb1
SL
41812014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4182
4183 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4184 reversal.
4185
23fe486b
RM
41862014-07-31 Roland McGrath <roland@hack.frob.com>
4187
f61a113f
RM
4188 * sysdeps/generic/safe-fatal.h: New file.
4189 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4190 * nptl/forward.c: Include it.
4191 (__pthread_unwind): Use __safe_fatal as default action, rather
4192 than a bogus use of INTERNAL_SYSCALL that could never work.
4193
9fe7e787
RM
4194 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4195 * configure.ac (libc_cv_builtin_trap): New test.
4196 * configure: Regenerated.
4197 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4198 (ABORT_INSTRUCTION): Define using __builtin_trap.
4199
23fe486b
RM
4200 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4201 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4202 * sysdeps/nptl/nptl-signals.h: New file.
4203 * nptl/pthreadP.h: Include <nptl-signals.h>.
4204
f349489e
SL
42052014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4206
4207 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4208 (ONE_DIRECTION): Define.
4209 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4210 (ONE_DIRECTION): Define.
4211 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4212 (ONE_DIRECTION): Define.
4213
2f438e20
SL
42142014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4215
4216 * sysdeps/s390/Makefile: Delete file.
4217 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4218 * sysdeps/s390/__longjmp.c: Delete file.
4219 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4220 Remove fields __flags and __reserved.
4221 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4222 and add versioning.
4223 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4224 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4225 * sysdeps/s390/rtld-setjmp.S: Likewise.
4226 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4227 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4228 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4229 * sysdeps/s390/s390-32/setjmp.S: ... here.
4230 Add versioning.
4231 (__sigsetjmp): Remove setting __flags field.
4232 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4233 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4234 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4235 * sysdeps/s390/s390-64/setjmp.S: ... here.
4236 Add versioning.
4237 (__sigsetjmp): Remove setting __flags field.
4238 * sysdeps/s390/setjmp.S: Delete file.
4239 * sysdeps/s390/sigjmp.c: Likewise.
4240 * sysdeps/s390/v1-longjmp.c: Likewise.
4241 * sysdeps/s390/v1-setjmp.h: Likewise.
4242 * sysdeps/s390/v1-sigjmp.c: Likewise.
4243 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4244 Remove v1-longjmp_chk.
4245 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4246 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4247 Include debug/longjmp_chk.c and add versioning.
4248 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4249 Include nptl/pt-longjmp.c and add versioning.
4250 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4252 Include __longjmp.c.
4253 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4254 Move to ...
4255 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4256 (__getcontext): Remove setting __flags field.
4257 Add versioning.
4258 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4259 Don't restore upper high grps.
4260 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4261 Likewise.
4262 (__swapcontext): Remove setting uc_flags field.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4264 Delete file.
4265 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4266 Include __longjmp.c.
4267 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4268 Move to ...
4269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4270 (__getcontext): Remove setting __flags field.
4271 Add versioning.
4272 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4273 (__swapcontext): Remove setting uc_flags field.
4274 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4275 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4276 Remove fields uc_high_gprs and __reserved.
4277 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4278 New file with reverted content.
4279 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4280 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4281 Regenerated.
4282 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4283 Regenerated.
4284
6c9578a2
AS
42852014-07-31 Andreas Schwab <schwab@suse.de>
4286
4287 * config.h.in (HAVE_IFUNC): Define to 0.
4288 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4289 definedness.
4290
05f3633d
LM
42912014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4292
4293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4294 memmove-avx-unaligned, memcpy-avx-unaligned and
4295 mempcpy-avx-unaligned.
4296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4297 Add tests for AVX memcpy functions.
4298 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4300 memcpy_chk.
4301 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4302 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4303 memmove_chk.
4304 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4306 mempcpy_chk.
4307 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4308 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4309 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4310
a53fbd8e
AZ
43112013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4312
4313 [BZ #17213]
4314 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4315 powerpc64le.
4316
0961f7e1
JL
43172014-07-29 Jeff Layton <jlayton@poochiereds.net>
4318
4319 [BZ #16839]
4320 * manual/llio.texi: Add section about open file description locks.
4321 * manual/examples/ofdlocks.c: Example of open file description
4322 lock usage.
4323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4324 F_OFD_SETLK, and F_OFD_SETLKW.
4325
cc5fb300
AM
43262014-07-23 Allan McRae <allan@archlinux.org>
4327
4328 * po/es.po: Update Spanish translation from translation project.
4329
23329dca
AS
43302014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4331
4332 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4333
9c82da17
MR
43342014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4335
4336 [BZ #17078]
4337 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4338 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4339 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4340
29c4f53e
JM
43412014-07-17 Joseph Myers <joseph@codesourcery.com>
4342
831b9896
JM
4343 [BZ #17088]
4344 * math/fesetenv.c (__fesetenv)
4345 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4346 * math/feupdateenv.c (__feupdateenv)
4347 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4348
b21c2d50
JM
4349 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4350 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4351 (__ASSUME_SOCKETCALL): Do not define.
4352
067764ef
JM
4353 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4354 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4355 (__ASSUME_SOCKETCALL): Do not define.
4356 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4357 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4358 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4359 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4360 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4361 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4362 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4363 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4364
642530c1
JM
4365 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4366 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4367 (__ASSUME_SOCKETCALL): Do not define.
4368 (__ASSUME_IPC64): Define unconditionally.
4369 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4370 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4371 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4372 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4373 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4375 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4376 Likewise.
4377
03f77315
JM
4378 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4379 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4380 (__ASSUME_SOCKETCALL): Do not define.
4381 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4382 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4383 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4384 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4385 (__ASSUME_REQUEUE_PI): Define unconditionally.
4386 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4387 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4388 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4389 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4391 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4392
083b1f7c
JM
4393 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4394 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4395 (__ASSUME_SOCKETCALL): Do not define.
4396 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4397 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4398 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4399 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4401 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4402
5be44ea6
JM
4403 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4404 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4405 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4406 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4407 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4408 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4409 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4410 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4411 (__ASSUME_GETCPU_SYSCALL): Likewise.
4412
d95ffd4c
JM
4413 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4414 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4415 cases for individual architectures.
4416 * sysdeps/gnu/configure: Regenerated.
4417 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4418 LIBC_SLIBDIR_RTLDDIR.
4419 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4420 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4421 LIBC_SLIBDIR_RTLDDIR.
4422 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4424 LIBC_SLIBDIR_RTLDDIR.
4425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4426 Regenerated.
4427 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4428 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4429 file.
4430 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4431 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4432 file.
4433 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4434 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4435 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4436 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4437
29c4f53e
JM
4438 * sysdeps/aarch64/shlib-versions: Move to ...
4439 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4440 * sysdeps/alpha/shlib-versions: Move to ...
4441 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4442 * sysdeps/arm/shlib-versions: Move to ...
4443 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4444 * sysdeps/hppa/shlib-versions: Move all contents except for
4445 libgcc_s entry to ...
4446 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4447 entry from ...
4448 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4449 * sysdeps/ia64/shlib-versions: Move to ...
4450 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4451 entry from ...
4452 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4453 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4454 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4455 * sysdeps/microblaze/shlib-versions: Move to ...
4456 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4457 * sysdeps/mips/shlib-versions: Move to ...
4458 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4459 entry from ...
4460 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4461 * sysdeps/tile/shlib-versions: Move to ...
4462 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4463 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4464 from ...
4465 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4466 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4467 entry from ...
4468 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4469
32bead5b
WN
44702014-07-17 Will Newton <will.newton@linaro.org>
4471
57977c4b
WN
4472 * sysdeps/arm/bits/atomic.h
4473 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4474 (__arch_compare_and_exchange_bool_16_int): Likewise.
4475 (__arch_compare_and_exchange_bool_64_int): Likewise.
4476
32bead5b
WN
4477 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4478 into an #else block.
4479
37fccd41
RM
44802014-07-16 Roland McGrath <roland@hack.frob.com>
4481
4482 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4483 just Linux configurations. Test empirically that the compiler sets
4484 __ARM_EABI__, rather than using the tuple to decide.
4485 * sysdeps/arm/preconfigure: Regenerated.
4486 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4487 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4488 contents appended ...
4489 * sysdeps/arm/configure.ac: ... here.
4490 * sysdeps/arm/configure: Regenerated.
4491
b365f3ec
RM
44922014-07-15 Roland McGrath <roland@hack.frob.com>
4493
8badf496
RM
4494 * nptl/pthread_kill.c: New file.
4495 * nptl/pthread_sigmask.c: New file.
4496 * nptl/pthread_sigqueue.c: New file.
4497
3df6f22e
RM
4498 * sysdeps/nptl/lowlevellock.h: New file.
4499 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4500 * sysdeps/nptl/lowlevellock-futex.h: New file.
4501
b365f3ec
RM
4502 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4503 Remove dead declarations.
4504
f2fef657
L
45052014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4506
4507 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4508 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4509 config-cflags-avx2.
4510 * sysdeps/x86_64/configure.ac: Likewise.
4511 * sysdeps/i386/configure: Regenerated.
4512 * sysdeps/x86_64/configure: Likewise.
4513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4514 memset-avx2 only if config-cflags-avx2 is yes.
4515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4516 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4517 defined.
4518 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4519 only if HAVE_AVX2_SUPPORT is defined.
4520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4521
f6c44d47
AM
45222014-07-14 Alan Modra <amodra@gmail.com>
4523
4524 [BZ #17153]
4525 * elf/elf.h (DT_PPC64_NUM): Correct value.
4526 * NEWS: Add to fixed bug list.
4527
7ee03f00
JM
45282014-07-13 Jim Meyering <meyering@fb.com>
4529
4530 [BZ 17150]
4531 regex: don't deref NULL upon heap allocation failure
4532 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4533 failure in one more place.
4534 To trigger the segfault, configure grep -with-included-regex,
4535 build it, and run these commands:
4536 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4537
9d39d517
AS
45382014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4539
4540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4541
a75b89b7
RH
45422014-07-11 Richard Henderson <rth@redhat.com>
4543
4544 * sysdeps/aarch64/libm-test-ulps: Update.
4545
771eb141
FW
45462014-07-10 Florian Weimer <fweimer@redhat.com>
4547
4548 [BZ #17135]
4549 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4550 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4551 (__nptl_setxid): Initialize error member. Call
4552 __nptl_setxid_error.
4553 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4554 * nptl/descr.h (struct xid_command): Add error member.
4555 * nptl/tst-setuid3.c: New file.
4556 * nptl/Makefile (tests): Add it.
4557
bc1da176
AZ
45582014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4559
4560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4561 New define.
4562 (__lll_trylock): Use __lll_base_trylock.
4563 (__lll_cond_trylock): Likewise.
4564
887865fc
RM
45652014-07-10 Roland McGrath <roland@hack.frob.com>
4566
c0c6bac9
RM
4567 * nptl/pthread_create.c (start_thread): Use atomic_or and
4568 lll_futex_wake directly rather than lll_robust_dead.
4569 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4570 (lll_robust_dead): Macro removed.
6a42be57 4571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4572 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4573 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4575 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4576 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4577 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4578 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4579 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4582 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4583 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4584 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4585 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4586
887865fc
RM
4587 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4588 Use atomic_compare_and_exchange_val_acq directly rather than
4589 lll_robust_trylock.
4590 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4591 (__lll_robust_trylock, lll_robust_trylock): Removed.
4592 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4593 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4596 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4597 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4599 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4600 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4601 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4606
58536726
FW
46072014-07-02 Florian Weimer <fweimer@redhat.com>
4608
4609 * manual/locale.texi (Locale Names): New section documenting
4610 locale name syntax. Adjust menu and node chaining accordingly.
4611 (Choosing Locale): Reference Locale Names, Locale Categories.
4612 Mention setting LC_ALL=C. Reflect that name syntax is now
4613 documented.
4614 (Locale Categories): New section title. Reference Locale Names.
4615 LC_ALL is an environment variable, but not a category.
4616 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4617 description, now in Locale Name. Reference that section. Locale
4618 name syntax is now documented.
4619
4e8f95a0
FW
46202014-07-02 Florian Weimer <fweimer@redhat.com>
4621
4622 [BZ #17137]
4623 * locale/findlocale.c (name_present, valid_locale_name): New
4624 functions.
4625 (_nl_find_locale): Use the loc_name variable to store name
4626 candidates. Call name_present and valid_locale_name to check and
4627 validate locale names. Return an error if the locale is invalid.
4628
d1836456
FW
46292014-07-02 Florian Weimer <fweimer@redhat.com>
4630
4631 * locale/setlocale.c (setlocale): Use strdup for allocating
4632 composite name copy.
4633
d69b7f5a
SP
46342014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
888c679b
SP
4636 Sync up with gnulib.
4637 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4638 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4639 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4640 and _GL_ARG_NONNULL.
4641 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4642 [!_LIBC]: Include code for Windows and Cygwin.
4643 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4644 Include prototype for int strerror_r.
4645 [!_LIBC] (is_open): New function.
4646 (flush_stdout): New function.
4647 (print_errno_message): Use it.
4648 (error): Likewise.
4649 (error_at_line): Likewise.
4650 (error_tail) Add function attribute macros. Use
4651 __builtin_expect.
4652
180e0e4b
SP
4653 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4654
d22f1fe2
SP
4655 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4656
12f2254b
SP
4657 * io/ftw.c: Include sys/param.h unconditionally.
4658
c3c7c360
SP
4659 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4660
d62aa75a
SP
4661 [BZ #17125]
4662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4663 libc_freeres_ptr.
4664 (freecache): New function to free CACHE on exit.
4665
d69b7f5a
SP
4666 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4667 initialization.
4668
5efe06a1
DM
46692014-07-09 David S. Miller <davem@davemloft.net>
4670
4671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4672
7000d82e
DM
4673 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4674 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4675 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4676 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4677 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4678 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4679 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4680 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4681 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4682 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4683 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4684 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4685 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4686
c213442d
AS
46872014-07-09 Andreas Schwab <schwab@suse.de>
4688
4a2552c3
AS
4689 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4690 output.
4691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4692 (do_test): Likewise.
4693
c213442d
AS
4694 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4695
82374e65
WN
46962014-07-09 Will Newton <will.newton@linaro.org>
4697
4698 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4699 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4700 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4701 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4702 * sysdeps/hppa/start.S (_start): Likewise.
4703
6680738a
SP
47042014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4705
6ee3eab4
SP
4706 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4707
6680738a
SP
4708 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4709 defined.
4710
80b5c505
SP
47112014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
e35c53e3
SP
4713 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4714 after checking that it is non-NULL.
4715
80b5c505
SP
4716 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4717
91f4b564
AZ
47182014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4719
27b75f56
AZ
4720 * sysdeps/powerpc/memmove.c: Remove file.
4721 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4722 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4723 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4724 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4725 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4726 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4728 string memmove instead of removed powerpc one.
4729
e7f95bb5
AZ
4730 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4731 [weak_alias]: Fix compiler warning due trailing data.
4732 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4733 [weak_alias]: Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4735 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4736
91f4b564
AZ
4737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4738 (__libc_ifunc_impl_list): Add memmove functions.
4739
7c33f1e5
SP
47402014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
4742 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4743 Remove code.
4744 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4745 Likewise
4746 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4747 Likewise
4748 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4749 Likewise
4750 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4751 Likewise
4752 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4753 Likewise
4754 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4755 Likewise
4756 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4757 Likewise
4758 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4759 Likewise
4760 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4761 Likewise
4762 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4763 Likewise
4764 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4765 Likewise
4766 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4767 Likewise
4768 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4769 Likewise
4770 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4771 Likewise
4772 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4773 Likewise
4774 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4775 Likewise
4776
3f17b03b
AZ
47772014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4778
87868c24
AZ
4779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4780 to avoid alignment traps in non-cacheable memory.
4781 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4782
07aedd78
AZ
4783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4784 multiarch objects.
4785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4786 file: multiarch power7 memmove.
4787 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4788 multiarch default memmove.
4789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4790 multiarch memove for powerpc32/power4.
4791
17762f66
AZ
4792 * string/bcopy.c: Use full path to include memmove.c.
4793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4794 multiarch objects.
4795 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4796 bcopy for powerpc64.
4797 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4798 bcopy for powerpc64.
4799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4800 and memmove implementations.
4801 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4802 optimized multiarch memmove for POWER7/powerpc64.
4803 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4804 default multiarch memmove for powerpc64.
4805 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4806 multiarch for powerpc64.
4807 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4808 for POWER7/powerpc64.
4809 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4810 memmove for POWER7/powerpc64.
4811
d6f68bbe
AZ
4812 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4813 glibc default one.
4814
3f17b03b
AZ
4815 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4816 __ELF_NATIVE_CLASS equal to 64.
4817
08192659
RM
48182014-07-07 Roland McGrath <roland@hack.frob.com>
4819
f4c4021b
RM
4820 * sysdeps/nptl/lowlevellock.h: File removed.
4821
f083450f
RM
4822 * NEWS: NPTL is no longer an add-on!
4823 * nptl/internaltypes.h: Moved ...
4824 * sysdeps/nptl/internaltypes.h: ... here.
4825 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4826 * sysdeps/nptl/fork.c: Likewise.
4827 * sysdeps/nptl/gai_misc.h: Likewise.
4828 * sysdeps/nptl/librt-cancellation.c: Likewise.
4829 * sysdeps/nptl/jmp-unwind.c: Likewise.
4830 * sysdeps/nptl/setxid.h: Likewise.
4831 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4832 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4833 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4834 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4835 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4836 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4837 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4838 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4839 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4840 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4841 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4842 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4843 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4844 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4845 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4846 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4847 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4848 * nptl/Makeconfig: Moved ...
4849 * sysdeps/nptl/Makeconfig: ... here.
4850 * nptl/configure: File removed.
4851 * nptl/ANNOUNCE: File removed.
4852 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4853 * sysdeps/unix/sysv/linux/configure: Regenerated.
4854
08192659
RM
4855 * nptl/Makefile (routines): Add libc_pthread_init,
4856 libc_multiple_threads, register-atfork and unregister-atfork.
4857 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4858 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4859 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4860 pthread-pi-defines.sym, structsem.sym.
4861 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4862 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4863 [$(subdir) = nptl] (tests): Add tst-setgetname.
4864 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4865 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4866 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4867 [!LIBC_SIGACTION]: Remove aliases.
4868 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4869 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4870 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4871 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4872 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4873 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4876 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4877 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4878 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4879 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4880 __libc_allocate_rtsig_private.
4881 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4882 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4883 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4884 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4885 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4886 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4887 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4888 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4889 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4890 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4891 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4892 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4893 * nptl/internaltypes.h: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4895 * sysdeps/nptl/jmp-unwind.c: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4897 * nptl/libc-lowlevellock.c: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4899 * nptl/libc_multiple_threads.c: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4901 * nptl/libc_pthread_init.c: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4903 * nptl/lowlevelbarrier.sym: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4905 * nptl/lowlevelcond.sym: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4907 * nptl/lowlevellock.c: ... here.
4908 * nptl/lowlevellock.h: Moved ...
4909 * sysdeps/nptl/lowlevellock.h: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4911 * nptl/lowlevelrobustlock.c: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4913 * nptl/lowlevelrobustlock.sym: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4915 * nptl/lowlevelrwlock.sym: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4917 * nptl/pt-fork.c: ... here.
4918 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4919 * nptl/pthread-pi-defines.sym: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4921 * nptl/pthread_attr_getaffinity.c: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4923 * nptl/pthread_attr_setaffinity.c: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4925 * nptl/pthread_mutex_cond_lock.c: ... here.
4926 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4927 Update #include.
4928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4929 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4930 * nptl/pthread_once.c: ... here, replacing old file.
4931 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4932 * nptl/pthread_yield.c: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4934 * nptl/register-atfork.c: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4936 * nptl/sem_post.c: ... here.
4937 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4938 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4939 * nptl/sem_timedwait.c: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4941 * nptl/sem_trywait.c: ... here.
4942 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4943 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4944 * nptl/sem_wait.c: ... here.
4945 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4946 * nptl/structsem.sym: ... here.
4947 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4948 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4949 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4950 * nptl/unregister-atfork.c: ... here.
4951 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4952 * nptl/unwindbuf.sym: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4954 * sysdeps/nptl/fork.c: ... here.
4955 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4956 * sysdeps/nptl/fork.h: ... here.
4957 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4958 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4959 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4961 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4962 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4963 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4965 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4967 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4969 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4970 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4971 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4973 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4974 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4975 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4977 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4978 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4979 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4980 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4981 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4982 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4983 * sysdeps/unix/sysv/linux/raise.c: ... here.
4984 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4985 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4986 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4987 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4989 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4991 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4993 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4994 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4995 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4997 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4998 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4999
96baf6ff
SP
50002014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5001
5002 * sysdeps/generic/memcopy.h: Add comment for
5003 MEMCPY_OK_FOR_FWD_MEMMOVE.
5004
6b7b14b2
WN
50052014-07-04 Will Newton <will.newton@linaro.org>
5006
1570a72b
WN
5007 * string/memchr.c: Merge from gnulib.
5008 [_LIBC]: Remove conditionals.
5009 (__ptr_t): Remove define.
5010 (LONG_MAX_32_BITS): Likewise.
5011 (LONG_MAX): Likewise.
5012 (MEMCHR): Use ANSI prototype and optimize algorithm.
5013
6b7b14b2
WN
5014 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5015
38851324
SP
50162014-07-03 Roland McGrath <roland@hack.frob.com>
5017
3d9eb57c
RM
5018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5019 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5020
78b984ae
RM
5021 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5022 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5023 in a bare environment with no <stdlib.h> installed.
5024 * sysdeps/nptl/configure: Regenerated.
5025
2d5976a5
RM
5026 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5027
c1f5acd4
RM
5028 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5029 AC_EGREP_CPP for kernel header checks, so they only succeed if
5030 including <linux/version.h> actually works right.
5031 * sysdeps/unix/sysv/linux/configure: Regenerated.
5032
4d614fe5
RM
5033 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5034 value so it's not diagnosed as unused.
5035
38851324
SP
5036 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5037 thing) with "ifeq ($(subdir),rt)".
5038
b3ec00e5
RH
50392014-07-03 Richard Henderson <rth@redhat.com>
5040
69862e25
RH
5041 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5042 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5043 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5044
d5e16ade
RH
5045 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5046 (math_force_eval): New.
5047
ca7b945c
RH
5048 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5049 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5050
cd1175a3
RH
5051 * sysdeps/alpha/fpu/s_round.c: Remove file.
5052 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5053
b3ec00e5
RH
5054 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5055 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5056 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5057 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5058 (_dl_start, print_statistics): Likewise.
5059 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5060 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5061
5062 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5063 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5064 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5065 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5067 (HP_SMALL_TIMING_AVAIL): Define.
5068 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5070 (HP_SMALL_TIMING_AVAIL): Define.
5071 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5072 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5073
5074 * sysdeps/aarch64/hp-timing.h: New file.
5075
5076 * sysdeps/generic/hp-timing.h: Remove dead comment.
5077 * sysdeps/generic/hp-timing-common.h: New file.
5078 * sysdeps/alpha/hp-timing.h: Include it.
5079 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5080 * sysdeps/i386/i686/hp-timing.h: Likewise.
5081 * sysdeps/ia64/hp-timing.h: Likewise.
5082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5083 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5085 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5086 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5087 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5088 (hp_timing_t): New.
5089
5090 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5091 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5092 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5093 * elf/rtld.c (_dl_start_final): Likewise.
5094 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5095 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5096 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5097 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5098 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5100 (HP_TIMING_DIFF_INIT): Remove.
5101 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5103 (HP_TIMING_DIFF_INIT): Remove.
5104 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5105 * sysdeps/i386/i686/hp-timing.c: Remove file.
5106 * sysdeps/x86_64/hp-timing.c: Remove file.
5107 * sysdeps/ia64/hp-timing.c: Remove file.
5108 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5109 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5111 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5112
5113 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5114 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5115 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5116 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5118 (HP_TIMING_ACCUM): Remove.
5119 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5121 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5122
5123 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5124 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5125 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5126 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5128 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5130 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5131
5132 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5133
225f410f
MR
51342014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5135
5136 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5137
3247f285
SP
51382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5139
5140 Sync up with gettext.
5141 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5142 [_MSC_VER]: Include malloc.h
5143 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5144 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5145 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5146 TEMP_FAILURE_RETRY. Cast return of alloca.
5147 [!_LIBC] Call gl_rwlock_init.
5148 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5149
d12704c7
SP
51502014-07-02 Roland McGrath <roland@hack.frob.com>
5151
5152 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5153 before checking its value.
5154
99f8dc92
SP
51552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
05fdac77
SP
5157 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5158
99f8dc92
SP
5159 * debug/memcpy_chk.c: Don't include pagecopy.h.
5160 * debug/mempcpy_chk.c: Likewise.
5161 * string/memcpy.c: Likewise.
5162 * string/memmove.c: Likewise.
5163 * sysdeps/powerpc/memmove.c: Likewise.
5164 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5165 definition of PAGE_COPY_FWD_MAYBE here...
5166 * sysdeps/generic/pagecopy.h: ... from here.
5167 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5168
bc8ea385
VR
51692014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5170 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171
5172 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5174 optimizations.
5175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5176 (__libc_ifunc_impl_list): Likewise.
5177 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5178 multiarch strcat for PPC64.
5179 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5180 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5181
fe5f34e4
RM
51822014-07-02 Roland McGrath <roland@hack.frob.com>
5183
5184 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5185
256aa665
SP
51862014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5187
d4eb8195
SP
5188 * intl/loadmsgcat.c: Remove declaration of
5189 get_sysdep_segment_value.
5190 (get_sysdep_segment_value): Use ISO C style.
5191 (_nl_load_domain): Use ISO C style. Get rid of redundant
5192 semicolon. Fix typo and formatting in comment.
5193 (_nl_unload_domain): Use ISO C style.
5194
256aa665
SP
5195 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5196
b100f9aa
WN
51972014-07-02 Will Newton <will.newton@linaro.org>
5198
5199 * malloc/obstack.c: Merge from gnulib master.
5200 [HAVE_CONFIG_H]: Remove conditional code.
5201 [!_LIBC]: Include config.h.
5202 [!ELIDE_CODE]: Don't include inttypes.h, include
5203 stdint.h unconditionally.
5204 (print_and_abort): Mark as _Noreturn.
5205 (_obstack_allocated_p): Mark as __attribute_pure__.
5206 (obstack_free): Rename to __obstack_free.
5207 [!__attribute__]: Remove conditional code.
5208 * malloc/obstack.h: Merge from gnulib master.
5209 [__cplusplus]: Move conditional down.
5210 [!__attribute_pure__]: Define __attribute_pure__ here
5211 if it is not already defined.
5212 (_obstack_memory_used): Mark as __attribute_pure__.
5213 [!__obstack_free]: Define as obstack_free.
5214 [__GNUC__]: Remove check for ancient NeXT gcc.
5215
c4c41244
PE
52162014-07-02 Will Newton <will.newton@linaro.org>
5217 Paul Eggert <eggert@cs.ucla.edu>
5218
5219 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5220
e1e041c4
SP
52212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5222
5223 * resolv/gethnamaddr.c: Add comment warning that the file is
5224 not maintained.
5225
ccf431ff
CD
52262014-07-01 Carlos O'Donell <carlos@redhat.com>
5227
d34570a6
CD
5228 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5229 entries.
5230
ccf431ff
CD
5231 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5232 entry for aio_cancel and aio_cancel64.
5233 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5234 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5235 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5236 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5237 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5238 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5239 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5240 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5241 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5242 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5243 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5244 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5245 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5246
ca06321d
RM
52472014-07-01 Roland McGrath <roland@hack.frob.com>
5248
5249 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5250 * nptl/pthread_mutex_lock.c: Likewise.
5251 * nptl/pthread_mutex_timedlock.c: Likewise.
5252 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5253
a1ac3184
RH
52542014-07-01 Richard henderson <rth@redhat.com>
5255
631021e0
RH
5256 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5257 (__isnan, __isnanl): Remove.
5258 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5259
a1ac3184
RH
5260 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5261
0c1d731f
SL
52622014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5263
5264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5265
76985d3e
SP
52662014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
5268 * resolv/nss_dns/dns-host.c (getanswer_r)
5269 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5270
b0cb3096
JM
52712014-07-01 Joseph Myers <joseph@codesourcery.com>
5272
5273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5274 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5275 undefine.
5276 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5277 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5278
4d76cb39
RM
52792014-07-01 Roland McGrath <roland@hack.frob.com>
5280
5281 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5282 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5283
5284 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5285 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5286
5287 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5288 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5289 ... here.
5290 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5291 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5292
5293 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5294 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5295 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5296 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5297
5298 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5299 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5300 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5303 Moved ...
5304 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5305 ... here.
5306 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5319 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5323 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5325 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5326 ... here.
5327 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5328 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5330 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5331 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5332 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5333 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5334 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5335
0cdcad17
DH
53362014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5337
5338 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5339 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5340 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5341 Add sysdep.
5342
9b71d0e3
AZ
53432014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5344
5345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5346
665390c2
JM
53472014-06-30 Joseph Myers <joseph@codesourcery.com>
5348
ae05a9d7
JM
5349 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5351
a7672a2f
JM
5352 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5353
665390c2
JM
5354 * sysdeps/arm/libm-test-ulps: Regenerated.
5355
d7a05d07
MR
53562014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5357 Roland McGrath <roland@hack.frob.com>
5358
5359 * test-skeleton.c (signal_handler): Kill the whole process group
5360 before killing the child individually.
5361 (main): Report any failure on `setpgid'.
5362
46f1d8a6
RM
53632014-06-30 Roland McGrath <roland@hack.frob.com>
5364
5365 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5366 from _TLS_H to _ARM_NPTL_TLS_H.
5367 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5368 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5369
9c37ec0b
JM
53702014-06-30 Joseph Myers <joseph@codesourcery.com>
5371
ce9c5b3e
JM
5372 [BZ #16539]
5373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5374 (__expm1l): Return argument unchanged when small but not
5375 subnormal.
5376
3a6e9887
JM
5377 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5378 include macro name.
5379 (_FP_UNPACK_RAW_1_P): Likewise.
5380 (_FP_PACK_RAW_1): Likewise.
5381 (_FP_PACK_RAW_1_P): Likewise.
5382 (_FP_MUL_MEAT_1_wide): Likewise.
5383 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5384 (_FP_MUL_MEAT_1_hard): Likewise.
5385 (_FP_DIV_MEAT_1_imm): Likewise.
5386 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5387 (_FP_DIV_MEAT_1_udiv): Likewise.
5388 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5389 (_FP_UNPACK_RAW_2): Likewise.
5390 (_FP_UNPACK_RAW_2_P): Likewise.
5391 (_FP_PACK_RAW_2): Likewise.
5392 (_FP_PACK_RAW_2_P): Likewise.
5393 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5394 (_FP_MUL_MEAT_2_wide): Likewise.
5395 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5396 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5397 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5398 (_FP_MUL_MEAT_2_gmp): Likewise.
5399 (_FP_DIV_MEAT_2_udiv): Likewise.
5400 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5401 (_FP_FRAC_SRL_4): Likewise.
5402 (_FP_FRAC_SRST_4): Likewise.
5403 (_FP_FRAC_SRS_4): Likewise.
5404 (_FP_UNPACK_RAW_4): Likewise.
5405 (_FP_UNPACK_RAW_4_P): Likewise.
5406 (_FP_PACK_RAW_4): Likewise.
5407 (_FP_PACK_RAW_4_P): Likewise.
5408 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5409 (_FP_MUL_MEAT_4_wide): Likewise.
5410 (_FP_MUL_MEAT_4_gmp): Likewise.
5411 (umul_ppppmnnn): Likewise.
5412 (_FP_DIV_MEAT_4_udiv): Likewise.
5413 (__FP_FRAC_ADD_4): Likewise.
5414 (__FP_FRAC_SUB_3): Likewise.
5415 (__FP_FRAC_SUB_4): Likewise.
5416 (__FP_FRAC_DEC_3): Likewise.
5417 (__FP_FRAC_DEC_4): Likewise.
5418 (__FP_FRAC_ADDI_4): Likewise.
5419 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5420 (_FP_FRAC_SRL_8): Likewise.
5421 (_FP_FRAC_SRS_8): Likewise.
5422
9c37ec0b
JM
5423 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5424 include macro name.
5425 (FP_UNPACK_RAW_EP): Likewise.
5426 (FP_PACK_RAW_E): Likewise.
5427 (FP_PACK_RAW_EP): Likewise.
5428 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5429 (_FP_ISSIGNAN): Likewise.
5430 (_FP_ADD_INTERNAL): Likewise.
5431 (_FP_FMA): Likewise.
5432 (_FP_CMP): Likewise.
5433 (_FP_SQRT): Likewise.
5434 (_FP_TO_INT): Likewise.
5435 (_FP_FROM_INT): Likewise.
5436 (FP_EXTEND): Likewise.
5437 (_FP_DIV_MEAT_N_loop): Likewise.
5438
2125f674
MR
54392014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5440
5441 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5442 throughout.
5443
edea4028
JM
54442014-06-29 Joseph Myers <joseph@codesourcery.com>
5445
5446 [BZ #17097]
5447 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5448 result with correct sign in case of exponents that produce
5449 overflow except for X very close to 1.
5450
dd0ba018
PE
54512014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5452
5453 mktime: merge #if/#ifdef usage from glibc
5454 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5455 as that works with both Glibc's and Gnulib's style.
5456 See thread starting at Siddhesh Poyarekar's bug report at:
5457 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5458
64df73c2
SP
54592014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5460
5461 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5462 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5463 * sysdeps/tile/tilegx/memmove.c: Remove file.
5464
f1eafb41
JM
54652014-06-27 Joseph Myers <joseph@codesourcery.com>
5466
5467 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5468 abi-name definition.
5469 * scripts/soversions.awk: Do not handle or generate ABI lines.
5470 * shlib-versions: Remove ABI entries.
5471 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5472 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5473
58eb0862
RM
54742014-06-27 Roland McGrath <roland@hack.frob.com>
5475
37caf178
RM
5476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5477 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5478 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5483 Moved ...
5484 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5485 ... here.
5486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5487 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5489 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5491 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5493 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5497 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5499 Moved ...
5500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5506 Moved ...
5507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5509 Moved ...
5510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5514 Moved ...
5515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5517 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5519 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5521 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5526 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5528 Moved ...
5529 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5531 Moved ...
5532 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5534 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5536 Moved ...
5537 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5538 ... here.
5539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5540 Identical file removed.
5541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5542 Moved ...
5543 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5545 Identical file removed.
5546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5549 Moved ...
5550 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5552 Identical file removed.
5553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5554 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5556 Identical file removed.
5557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5560 Identical file removed.
5561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5562 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5564 Identical file removed.
5565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5566 Moved ...
5567 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5569 Identical file removed.
5570 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5574 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5576 Identical file removed.
5577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5578 Moved ...
5579 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5580 ... here.
5581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5582 Identical file removed.
5583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5584 Moved ...
5585 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5587 Identical file removed.
5588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5589 Moved ...
5590 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5592 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5596 Moved ...
5597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5598 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5599 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5600
58eb0862
RM
5601 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5602 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5603 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5604 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5605 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5606
6f12d062
AS
56072014-06-27 Arjun Shankar <arjun.is@lostca.se>
5608
5609 [BZ #17092]
5610 * nscd/nscd.c (monitor_child): Return exit status of child
5611 instead of return value from wait syscall.
5612
be254932
JM
56132014-06-27 Joseph Myers <joseph@codesourcery.com>
5614
cb403c34
JM
5615 * configure.ac (libc_commonpagesize): Remove variable.
5616 (libc_relro_required): Likewise.
5617 (libc_cv_z_relro): Remove configure test.
5618 * configure: Regenerated.
5619 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5620 variable.
5621 (libc_relro_required): Likewise.
5622 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5623 (libc_relro_required): Likewise.
5624 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5625 (libc_relro_required): Likewise.
5626 * sysdeps/arm/preconfigure: Regenerated.
5627 * sysdeps/ia64/preconfigure: Remove file.
5628 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5629 variable.
5630 (libc_relro_required): Likewise.
5631
be254932
JM
5632 [BZ #16561]
5633 [BZ #16562]
5634 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5635 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5636 recompute overflowing results in original rounding mode.
5637 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5638 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5639 recompute overflowing results in original rounding mode.
5640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5641 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5642 recompute overflowing results in original rounding mode.
5643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5644 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5645 recompute overflowing results in original rounding mode.
5646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5647 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5648 recompute overflowing results in original rounding mode.
5649 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5650 (libc_feholdsetround_ctx): New macro.
5651 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5652 * sysdeps/i386/fpu/libm-test-ulps: Update.
5653 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5654
b351d85a
JM
56552014-06-26 Joseph Myers <joseph@codesourcery.com>
5656
5657 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5658 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5659 corresponding .cpsetup call.
5660
3cb4de47
RM
56612014-06-26 Roland McGrath <roland@hack.frob.com>
5662
5663 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5664 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5665 * sysdeps/arm/Makefile [$(subdir) = csu]
5666 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5667 (static-only-routines): Add aeabi_read_tp here.
5668 (shared-only-routines): Add libc-aeabi_read_tp here.
5669 (CFLAGS-libc-start.c): Add -fexceptions here.
5670 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5671 (sysdep_routines, static-only-routines, shared-only-routines):
5672 Don't add to these here.
5673 (CFLAGS-libc-start.c): Likewise.
5674
5675 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5676 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5677 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5678 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5679 * sysdeps/arm/Makefile [$(subdir) = rt]
5680 (librt-sysdep_routines, librt-shared-only-routines):
5681 Append rt-aeabi_unwind_cpp_pr1 here.
5682 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5683 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5684 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5685 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5686 Append nptl-aeabi_unwind_cpp_pr1 here.
5687 (tests): Filter out tst-cleanupx4 here.
5688 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5689 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5690 Don't do those here.
5691
354426bb
JM
56922014-06-26 Joseph Myers <joseph@codesourcery.com>
5693
5694 * scripts/list-sources.sh: Do not handle ports specially.
5695
28b0a8c9
RM
56962014-06-26 Roland McGrath <roland@hack.frob.com>
5697
a3dd035d
RM
5698 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5699 * sysdeps/arm/feupdateenv.c: Likewise.
5700
28b0a8c9
RM
5701 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5702
e66a8203
JM
57032014-06-26 Joseph Myers <joseph@codesourcery.com>
5704
5705 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5706 trailing whitespace removed.
5707 * scripts/config.guess: Update to version 2014-03-23.
5708 * scripts/config.sub: Update to version 2014-05-01
5709 * scripts/install-sh: Update to version 2013-12-25.23.
5710 * scripts/move-if-change: Update from gnulib.
5711
74171115
SP
57122014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5713
b97c9ce5
SP
5714 * debug/memmove_chk.c: Remove pagecopy.h include.
5715
4000f892
SP
57162014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5717
74171115
SP
5718 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5719 identical to gnulib mktime.
5720
a8779c28
JM
57212014-06-26 Joseph Myers <joseph@codesourcery.com>
5722
e64708de
JM
5723 * configure.ac: Do not test for machine being rs6000. Do not test
5724 for powerpc*-*soft.
5725 * configure: Regenerated.
5726
a8779c28
JM
5727 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5728 test.
5729 * configure: Regenerated.
5730 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5731 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5732 Remove configure test.
5733 * sysdeps/arm/configure: Regenerated.
5734 * sysdeps/nptl/configure.ac: Do not check
5735 libc_cv_asm_cfi_directives.
5736 * sysdeps/nptl/configure: Regenerated.
5737 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5738 * sysdeps/x86_64/nptl/configure: Remove generated file.
5739 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5740 unconditional.
5741 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5742
2aac0a86
SP
57432014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5744
059bf913
SP
5745 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5746 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5747 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5748 it is defined.
5749
4cf5b6d0
SP
5750 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5751 instead of whether it is defined.
5752 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5753 * sysdeps/hppa/dl-machine.h: Likewise.
5754 * sysdeps/ia64/dl-machine.h: Likewise.
5755 * sysdeps/m68k/dl-machine.h: Likewise.
5756 * sysdeps/microblaze/dl-machine.h: Likewise.
5757 * sysdeps/mips/dl-machine.: Likewise.
5758 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5760 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5761 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5762 * sysdeps/sh/dl-machine.h: Likewise.
5763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5765 * sysdeps/tile/dl-machine.h: Likewise.
5766 * sysdeps/x86_64/dl-machine.h: Likewise.
5767
2aac0a86
SP
5768 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5769 code.
5770 (verify_persistent_db): Likewise.
5771
6ad2df0b
RM
57722014-06-26 Roland McGrath <roland@hack.frob.com>
5773
d8a483f3
RM
5774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5775 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5779 Moved ...
5780 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5781 ... here.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5785 Identical file removed.
5786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5787 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5789 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5791 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5795 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5797 Moved ...
5798 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5804 Moved ...
5805 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5807 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5809 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5811 Identical file removed.
5812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5813 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5815 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5817 Moved ...
5818 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5819 ... here.
5820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5831 Moved ...
5832 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5834 Moved ...
5835 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5837 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5839 Moved ...
5840 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5843
52ae23b4
RM
5844 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5845 folded into ...
5846 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5847 * sysdeps/unix/sysv/linux/s390/Versions
5848 (libpthread: GLIBC_2.19): New version set.
5849 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5850 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5851 (librt: GLIBC_2.3.3): New version set.
5852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5854 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5855 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5856 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5857 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5858 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5860 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5862 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5864 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5866 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5868 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5871 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5874 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5882 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5890 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5897
39507e4a
RM
5898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5899 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5900 (__libc_vfork): Define the function under this name.
5901 [!NOT_IN_libc] (__vfork): Make this an alias.
5902 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5904 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5905 (__libc_vfork): Define the function under this name.
5906 [!NOT_IN_libc] (__vfork): Make this an alias.
5907 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5908 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5912 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5913
e549ee56
RM
5914 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5915 code that was previously under [RESET_PID].
5916 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5917 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5919
6ad2df0b
RM
5920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5921 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5922 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5923 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5925 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5926 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5927 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5928 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5931 Moved ...
5932 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5934 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5940 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5943 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5944 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5945 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5948 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5952 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5953 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5954 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5955 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5956 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5957 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5960 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5961
7c1c1d8e
RM
59622014-06-25 Roland McGrath <roland@hack.frob.com>
5963
5964 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5965 that was previously under [RESET_PID].
5966 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5967
3e239be6
JM
59682014-06-25 Joseph Myers <joseph@codesourcery.com>
5969
74385da5
JM
5970 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5971 not undefine and redefine.
5972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5973 [O_CLOEXEC]: Make code unconditional.
5974 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5975 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5976 <kernel-features.h>.
5977 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5978 conditional variable definition.
5979 (shm_open) [O_CLOEXEC]: Make code unconditional.
5980 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5981 code.
5982
c2570a0b
JM
5983 * configure.ac (USE_REGPARMS): Don't define here.
5984 * configure: Regenerated.
5985 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5986 * sysdeps/i386/configure: Regenerated.
5987
11b076bb
JM
5988 * nptl/createthread.c: Don't include kernel-features.h.
5989 * nptl/pthread_cancel.c: Likewise.
5990 * nptl/pthread_condattr_setclock.c: Likewise.
5991 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5992 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5993 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5994 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5995 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5996 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5997 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6001 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6002 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6003 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6004 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6006 * nscd/gai.c: Likewise.
6007 * nss/nss_db/db-open.c: Likewise.
6008 * sysdeps/generic/ldsodefs.h: Likewise.
6009 * sysdeps/sh/nptl/tls.h: Likewise.
6010 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6011 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6012 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6013 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6014 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6015 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6016 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6017 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6019 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6020 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6022 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6023 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6024 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6025 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6026 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6027 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6028 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6029 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6032 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6038 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6039 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6040 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6041 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6043 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6046 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6047 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6048 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6049 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6050 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6051 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6052 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6055 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6056 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6057 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6058 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6059 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6060 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6061 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6062 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6063 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6064 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6065 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6090 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6091 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6092 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6093 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6094 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6097 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6098 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6099 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6100 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6102 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6103 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6104 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6105 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6108 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6109 * sysdeps/unix/sysv/linux/system.c: Likewise.
6110 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6111 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6112 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6113 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6114 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6116 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6117
92072d57
JM
6118 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6119 * configure: Regenerated.
6120 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6121
3e239be6
JM
6122 * configure.ac (base_machine): Do not set specially for particular
6123 machines here.
6124 * configure: Regenerated.
6125 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6126 settings from configure.ac.
6127 * sysdeps/i386/preconfigure: New file.
6128 * sysdeps/s390/preconfigure: Likewise.
6129 * sysdeps/sh/preconfigure: Likewise.
6130 * sysdeps/sparc/preconfigure: Likewise.
6131
06d50baa
RM
61322014-06-25 Roland McGrath <roland@hack.frob.com>
6133
74836003
RM
6134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6135 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6136 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6137 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6138 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6139 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6140 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6141 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6142 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6143 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6144 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6145 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6146 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6151 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6152 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6153
6154 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6155 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6156 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6157 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6158 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6159 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6160 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6161 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6162 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6163 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6164 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6165 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6166 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6167 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6168 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6169 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6170 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6171 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6172 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6175 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6179 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6185 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6187 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6189 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6191 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6192
06d50baa
RM
6193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6194 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6198 Moved ...
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6200 ... here.
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6202 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6206 Moved ...
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6209 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6211 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6213 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6215 Moved ...
6216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6218 Moved ...
6219 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6221 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6223 Moved ...
6224 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6226 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6228 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6232 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6234 Moved ...
6235 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6236 ... here.
6237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6242 Moved ...
6243 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6245 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6249 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6251 Moved ...
6252 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6254 Moved ...
6255 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6257 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6259 Moved ...
6260 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6262 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6265
a4ccbc9b
JM
62662014-06-25 Joseph Myers <joseph@codesourcery.com>
6267
0828edbf
JM
6268 * timezone/checktab.awk: Update from tzcode 2014e.
6269 * timezone/private.h: Likewise.
6270 * timezone/tzfile.h: Likewise.
6271 * timezone/zdump.c: Likewise.
6272 * timezone/zic.c: Likewise.
6273
a4ccbc9b
JM
6274 * sysdeps/unix/sysv/linux/kernel-features.h
6275 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6277 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6278 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6279 Remove conditional code.
6280
9aea0cb8
WN
62812014-06-25 Will Newton <will.newton@linaro.org>
6282
6283 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6284 (_dl_arm_cap_flags): Add HWCAP2 values.
6285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6286 (_DL_HWCAP_COUNT): Increase to 37.
6287 (_DL_HWCAP_LAST): New define.
6288 (_DL_HWCAP2_LAST): New define.
6289 (_dl_procinfo): Add support for printing
6290 AT_HWCAP2 entries.
6291 (_dl_string_hwcap): Use _dl_hwcap_string.
6292
6eaa65ce
AZ
62932014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6294
6295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6296
0f5b7185
JM
62972014-06-25 Joseph Myers <joseph@codesourcery.com>
6298
cfd2ea50
JM
6299 * README: Do not mention ports directory.
6300
cecf2ed4
JM
6301 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6302 Remove macro.
6303 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6304 <kernel-features.h>.
6305 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6306 conditional variable definition.
6307 (__futimes): Update comment.
6308 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6309 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6310
a638de82
JM
6311 [BZ #16560]
6312 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6313 arguments close to 0.
6314 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6315 Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6317 Likewise.
6318 * math/auto-libm-test-in: Add more tests of exp10.
6319 * math/auto-libm-test-out: Regenerated.
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6321
0f5b7185
JM
6322 * sysdeps/unix/sysv/linux/kernel-features.h
6323 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6324 * sysdeps/unix/sysv/linux/readv.c: Do not include
6325 <kernel-features.h>.
6326 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6327 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6328 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6329 unconditional.
6330 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6331 conditional code.
6332 * sysdeps/unix/sysv/linux/writev.c: Do not include
6333 <kernel-features.h>.
6334 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6335 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6336 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6337 unconditional.
6338 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6339 conditional code.
6340
c7aec4be
WN
63412014-06-25 Will Newton <will.newton@linaro.org>
6342
6343 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6344 comment changes throughout the file. Remove checks
6345 for HAVE_*_H definitions that are not required.
6346 (__gen_tempname): Call abort if an unknown kind value is
6347 passed.
6348
c5241f95
AS
63492014-06-25 Andreas Schwab <schwab@suse.de>
6350
6351 [BZ #17086]
6352 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6353 scalbln, scalblnf, scalblnl in libc.
6354
911422da
SP
63552014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6356
6357 [BZ #17086]
6358 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6359 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6361
0d749bbe
RM
63622014-06-24 Roland McGrath <roland@hack.frob.com>
6363
6364 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6365 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6366 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6367 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6368 Update #include.
6369 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6370 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6371 Update #include.
6372 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6374 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6375 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6376 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6377 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6378 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6379 * sysdeps/x86/bits/semaphore.h: ... here.
6380 * sysdeps/x86/nptl/elide.h: Moved ...
6381 * sysdeps/x86/elide.h: ... here.
6382 * sysdeps/x86_64/nptl/Implies: File removed.
6383 * sysdeps/i386/nptl/Implies: File removed.
6384
0ea5d373
JM
63852014-06-24 Joseph Myers <joseph@codesourcery.com>
6386
4060283d
JM
6387 [BZ #16539]
6388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6389 return the argument for normal arguments with exponent below -64.
6390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6391 Likewise.
6392 * math/auto-libm-test-in: Add another test of expm1.
6393 * math/auto-libm-test-out: Regenerated.
6394
e7dd3c8c
JM
6395 [BZ #16287]
6396 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6397 calling __erfcl for arguments at least 16.
6398 * math/auto-libm-test-in: Add more tests of erf.
6399 * math/auto-libm-test-out: Regenerated.
6400
0ea5d373
JM
6401 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6402 individual architectures.
6403 * sysdeps/unix/sysv/linux/configure: Regenerated.
6404 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6405 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6406 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6407 (ldd_rewrite_script): Define variable.
6408 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6410 file.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6412 generated file.
6413 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6414 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6415 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6416 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6417 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6418 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6419 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6420 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6421
2307e126
SP
64222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6423
6424 [BZ #17084]
6425 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6426 Rename member __data.d to __data.__elision_data.
6427
c0a4ed77
W
64282014-06-24 Wilco <wdijkstr@arm.com>
6429
6430 * NEWS: Add 16918 to fixed bug list.
6431
b8c00573
W
64322014-06-24 Wilco <wdijkstr@arm.com>
6433
6434 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6435
b5570d92
W
64362014-06-24 Wilco <wdijkstr@arm.com>
6437
6438 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6439 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6440 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6441 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6442 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6443 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6444 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6445 Use _FPU_MASK_RM.
6446
947bdca2
W
64472014-06-24 Wilco <wdijkstr@arm.com>
6448
6449 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6450
00f669ed
W
64512014-06-24 Wilco <wdijkstr@arm.com>
6452
6453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6454 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6455 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6456 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6457
db59bad3
W
64582014-06-24 Wilco <wdijkstr@arm.com>
6459
6460 [BZ #16918]
6461 * sysdeps/arm/feupdateenv.c (feupdateenv):
6462 Rewrite to reduce FPSCR accesses and fix return value.
6463
001f7b77
W
64642014-06-24 Wilco <wdijkstr@arm.com>
6465
6466 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6467 Optimize to avoid unnecessary FPSCR writes.
6468 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6469 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6470 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6471 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6472
4841e6a6
W
64732014-06-24 Wilco <wdijkstr@arm.com>
6474
6475 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6476 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6477 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6478 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6479 Call libc_fetestexcept_vfp.
6480 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6481 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6482 __SOFTFP__ ifdef so that they can be built for softfp.
6483
0813022c
SP
64842014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6485
08e5862f
SP
6486 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6487 argument type signed char.
6488
0813022c
SP
6489 * Makerules (check-abi): Dump diff of symlist if the test
6490 fails.
6491
3fc7236a
RM
64922014-06-23 Roland McGrath <roland@hack.frob.com>
6493
aba8ef95
RM
6494 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6495 using abort.
6496
3fc7236a
RM
6497 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6498 Remove unused variable ST.
6499
4da6db51
JM
65002014-06-23 Joseph Myers <joseph@codesourcery.com>
6501
4648909d
JM
6502 [BZ #16354]
6503 [BZ #17061]
6504 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6505 small arguments before calling __expm1.
6506 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6507 small arguments before calling __expm1f.
6508 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6509 small arguments before calling __expm1l.
6510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6511 Likewise.
6512 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6513 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6514 spurious underflow for some cosh tests.
6515 * math/auto-libm-test-out: Regenerated.
6516 * sysdeps/i386/fpu/libm-test-ulps: Update.
6517
46a3d3c7
JM
6518 [BZ #17050]
6519 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6520 (__ieee754_y1): Set errno if return value overflows.
6521 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6522 (__ieee754_y1f): Set errno if return value overflows.
6523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6524 (__ieee754_y1l): Set errno if return value overflows.
6525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6526 (__ieee754_y1l): Set errno if return value overflows.
6527 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6528 * math/auto-libm-test-out: Regenerated.
6529
863893ec
JM
6530 * math/gen-auto-libm-tests.c: Document use of
6531 ignore-zero-inf-sign.
6532 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6533 (input_flags): Add ignore-zero-inf-sign.
6534 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6535 * math/gen-libm-test.pl (generate_testfile): Handle
6536 ignore-zero-inf-sign.
6537 * math/auto-libm-test-in: Mark some cpow tests with
6538 ignore-zero-inf-sign and some with xfail-rounding.
6539 * math/auto-libm-test-out: Regenerated.
6540 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6541 * sysdeps/i386/fpu/libm-test-ulps: Update.
6542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6543
4da6db51
JM
6544 [BZ #16315]
6545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6546 overflowing or underflowing operations take place with sign of
6547 result.
6548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6550 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6551 (__ieee754_pow): Recompute overflowing and underflowing results in
6552 original rounding mode.
6553 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6554 (__powl_helper): Allow negative argument X and scale negated value
6555 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6557 overflowing or underflowing operations take place with sign of
6558 result.
6559 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6560 Include <math.h>.
6561 * math/auto-libm-test-in: Add more tests of pow.
6562 * math/auto-libm-test-out: Regenerated.
6563 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6564 (pow_tonearest_test_data): Remove.
6565 (pow_test_tonearest): Likewise.
6566 (pow_towardzero_test_data): Likewise.
6567 (pow_test_towardzero): Likewise.
6568 (pow_downward_test_data): Likewise.
6569 (pow_test_downward): Likewise.
6570 (pow_upward_test_data): Likewise.
6571 (pow_test_upward): Likewise.
6572 (main): Don't call removed functions.
6573 * sysdeps/i386/fpu/libm-test-ulps: Update.
6574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6575
5686b236
RM
65762014-06-23 Roland McGrath <roland@hack.frob.com>
6577
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6579 Moved ...
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6582 Moved ...
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6585 Moved ...
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6588 Moved ...
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6591 File removed.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6593 File removed.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6595 File removed.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6597 File removed.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6599 File removed.
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6601 File removed.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6603 File removed.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6605 File removed.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6607 File removed.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6609 File removed.
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6611 File removed.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6613 File removed.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6615 Moved ...
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6618 Moved ...
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6620 ... here.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6622 Moved ...
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6625 Moved ...
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6628 Moved ...
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6631 Moved ...
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6634 Moved ...
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6637 Moved ...
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6640 Moved ...
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6644 ... here.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6646 Moved ...
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6649 Moved ...
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6651 ... here.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6653 Moved ...
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6655 ... here.
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6657 Moved ...
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6659 ... here.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6661 Moved ...
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6664 Moved ...
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6669 Moved ...
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6671 ... here.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6673 Moved ...
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6675 ... here.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6677 Moved ...
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6680 Moved ...
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6683 Moved ...
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6686 Moved ...
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6689 Moved ...
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6691 ... here.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6693 Moved ...
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6696 Moved ...
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6699 Moved ...
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6702 Moved ...
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6707 Moved ...
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6710 Moved ...
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6713 Moved ...
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6715 ... here.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6717 Moved ...
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6719 ... here.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6721 Moved ...
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6723 ... here.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6725 Moved ...
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6728 Moved ...
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6731 Moved ...
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6734 Moved ...
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6736 ... here.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6738 Moved ...
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6740 ... here.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6742 Moved ...
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6744 ... here.
6745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6746 Moved ...
6747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6749 Moved ...
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6751
e6d90d67
WD
67522014-06-23 Will Newton <will.newton@linaro.org>
6753 Wilco <wdijkstr@arm.com>
6754
6755 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6756 implementation. Include get-rounding-mode.h.
6757 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6758 [!libc_feholdsetround_noex_ctx]: Define
6759 libc_feholdsetround_noex_ctx.
6760 [!libc_feholdsetround_noexf_ctx]: Define
6761 libc_feholdsetround_noexf_ctx.
6762 [!libc_feholdsetround_noexl_ctx]: Define
6763 libc_feholdsetround_noexl_ctx.
6764 (libc_feholdsetround_ctx): New function.
6765 (libc_feresetround_ctx): New function.
6766 (libc_feholdsetround_noex_ctx): New function.
6767 (libc_feresetround_noex_ctx): New function.
6768
d42df555
RM
67692014-06-23 Roland McGrath <roland@hack.frob.com>
6770
88a46474
RM
6771 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6772 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6773 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6774 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6775 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6776 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6777
15bed472
RM
6778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6779 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6780 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6781 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6782 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6783 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6785 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6787 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6789 Moved ...
6790 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6791 ... here.
6792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6793 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6797 Moved ...
6798 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6800 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6804 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6806 Moved ...
6807 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6809 Moved ...
6810 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6812 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6814 Moved ...
6815 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6817 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6818 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6819 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6820 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6823 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6825 Moved ...
6826 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6827 ... here.
6828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6829 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6833 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6835 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6839 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6841 Moved ...
6842 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6844 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6846 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6848 Moved ...
6849 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6851 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6852 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6854
d42df555
RM
6855 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6856 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6858 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6859 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6860 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6861 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6862 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6864 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6865 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6866 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6867 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6868 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6870 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6874 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6875 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6876 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6877 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6878 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6880 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6882 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6883
76e5216e
JM
68842014-06-23 Joseph Myers <joseph@codesourcery.com>
6885
6886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6887 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6888 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6889 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6890 (IPV6_PMTUDISC_INTERFACE): Likewise.
6891 (IPV6_PMTUDISC_OMIT): Likewise.
6892
7a81cbcc
AS
68932014-06-23 Andreas Schwab <schwab@suse.de>
6894
6895 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6896 Remove unused errout label.
6897
db224009
AZ
68982014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899
6900 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6901 macro: hardware supports Vector Crypto instructions.
6902
f393b4aa
WN
69032014-06-23 Will Newton <will.newton@linaro.org>
6904
cc7d0447
WN
6905 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6906 rather than __builtin_expect.
6907
d6d06225
WN
6908 * elf/dl-lookup.c (undefined_msg): Remove variable.
6909 (_dl_lookup_symbol_x): Replace undefined_msg with string
6910 literal.
6911
f393b4aa
WN
6912 * elf/dl-lookup.c (do_lookup_unique): New function.
6913 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6914 to a separate function.
6915
ac60763e
AS
69162014-06-23 Andreas Schwab <schwab@suse.de>
6917
6918 [BZ #17079]
6919 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6920 before reading the next line.
6921
c5c13355
WN
69222014-06-23 Will Newton <will.newton@linaro.org>
6923
6924 * test-skeleton.c (signal_handler): Use printf and %m
6925 rather than perror. Use printf rather than fprintf to
6926 stderr. Use puts rather than fputs to stderr.
6927 (main): Likewise.
6928
bd3675f9
LC
69292014-06-22 Ludovic Courtès <ludo@gnu.org>
6930
6931 * nscd/nscd.c (thread_info_t): Remove typedef.
6932 (thread_info): Remove variable.
6933
d03efb2f
AM
69342014-06-21 Allan McRae <allan@archlinux.org>
6935
6936 * NEWS: Mention CVE-2014-4043.
6937
bc4a86fa
RM
69382014-06-20 Roland McGrath <roland@hack.frob.com>
6939
dc9a54f8
RM
6940 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6941 * nptl/smp.h: ... here.
6942
bd7022c4
RM
6943 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6944
26ffd5e6
RM
6945 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6946 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6947 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6948 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6949
93a6d082
RM
6950 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6951 * nptl/stack-aliasing.h: New file.
6952 * sysdeps/i386/i686/stack-aliasing.h: New file.
6953 * sysdeps/i386/i686/nptl/Makefile: File removed.
6954 * sysdeps/x86_64/stack-aliasing.h: New file.
6955 * sysdeps/x86_64/nptl/Makefile
6956 (CFLAGS-pthread_create.c): Variable removed.
6957
bc4a86fa
RM
6958 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6959 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6960 old file.
6961 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6962 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6963 old file.
6964
2272ffc1
JM
69652014-06-21 Joseph Myers <joseph@codesourcery.com>
6966
6967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6968 (__ASSUME_SIGFRAME_V2): Remove macro.
6969 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6970 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6971 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6972 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6973 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6974 Declare as function. Remove conditional macro definitions.
6975 (__default_rt_sa_restorer): Likewise.
6976 (__default_sa_restorer_v1): Remove declaration.
6977 (__default_sa_restorer_v2): Likewise.
6978 (__default_rt_sa_restorer_v1): Likewise.
6979 (__default_rt_sa_restorer_v2): Likewise.
6980 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6981 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6982 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6983
4b88139b
RM
69842014-06-20 Roland McGrath <roland@hack.frob.com>
6985
6986 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6987 (libpthread-routines): Add sysdep.
6988 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6989 * sysdeps/unix/sysv/linux/sparc/Versions
6990 (libpthread: GLIBC_2.3.3): New version set.
6991 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6992 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6993 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6995 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6997 Moved ...
6998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7000 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7001 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7002 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7003 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7004 * sysdeps/sparc/nptl/sem_init.c: ... here.
7005 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7006 * sysdeps/sparc/nptl/sem_post.c: ... here.
7007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7008 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7010 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7011 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7012 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7013 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7014 (libpthread-routines): Add cpu_relax.
7015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7016 File removed.
7017 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7018 (librt: GLIBC_2.3.3): New version set.
7019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7020 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7022 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7025 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7027 Moved ...
7028 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7030 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7032 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7034 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7036 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7038 Moved ...
7039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7040 Update #include.
7041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7042 Moved ...
7043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7044 Update #include.
7045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7046 Moved ...
7047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7048 Update #include.
7049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7050 Moved ...
7051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7052 Update #include.
7053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7054 Moved ...
7055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7056 Update #include.
7057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7058 Moved ...
7059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7060 Update #include.
7061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7062 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7068 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7070 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7072 Moved ...
7073 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7075 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7078
d7109027
JM
70792014-06-20 Joseph Myers <joseph@codesourcery.com>
7080
9bc6103d
JM
7081 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7082 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7083 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7084 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7085 * nscd/nscd.c: Likewise.
7086 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7087 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7088 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7089 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7090
d7109027
JM
7091 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7092 <kernel-features.h>.
7093 (init_mq_netlink): Remove conditional have_sock_cloexec
7094 definitions. Remove code conditional on have_sock_cloexec < 0.
7095 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7096 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7097 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7098 <kernel-features.h>.
7099 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7100 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7101
d92d8f8a
L
71022014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7103
7104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7105 Add tests for memset_chk and memset.
7106
7107 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7108 with AVX2_Usable.
7109
4e6d2347
MR
71102014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7111
257ce712
MR
7112 [BZ #16046]
7113 * elf/tst-dl-iter-static.c: New file.
7114 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7115
4e6d2347
MR
7116 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7117 error.
7118
a2a76afe
JM
71192014-06-20 Joseph Myers <joseph@codesourcery.com>
7120
7fd00f99
JM
7121 * sysdeps/unix/sysv/linux/kernel-features.h
7122 (__ASSUME_F_GETOWN_EX): Remove macro.
7123 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7124 <kernel-features.h>.
7125 (miss_F_GETOWN_EX): Remove variable or macro.
7126 (do_fcntl): Do not check miss_F_GETOWN_EX.
7127 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7128
4a103975
JM
7129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7130 Remove macro.
7131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7132 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7133 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7134
a2a76afe
JM
7135 * sysdeps/unix/sysv/linux/kernel-features.h
7136 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7137 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7138 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7139 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7140
90e5dd48
MR
71412014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7142
7143 [BZ #17075]
7144 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7145 Fix calculation of the symbol's value.
7146 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7147 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7148 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7149 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7150 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7151 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7152 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7153 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7154 (modules-names): Add `tst-armtlsdescmod',
7155 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7156 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7157 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7158 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7159 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7160 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7161 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7162 ($(objpfx)tst-armtlsdescloc): New dependency.
7163 ($(objpfx)tst-armtlsdescextnow): Likewise.
7164 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7165 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7166 TLS scheme support.
7167 * sysdeps/arm/configure: Regenerate.
7168
809fdf0d
JM
71692014-06-20 Joseph Myers <joseph@codesourcery.com>
7170
7171 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7172 (__atfct_seterrno_2): Likewise.
7173 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7174 <kernel-features.h>.
7175 (__ASSUME_ATFCTS): Do not undefine and redefine.
7176 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7177 (__have_atfcts): Remove conditional definition.
7178 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7180 unreachable if [__ASSUME_ATFCTS].
7181 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7182 not undefine and redefine.
7183 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7184 <kernel-features.h>.
7185 (faccessat) [__NR_faccessat]: Make code unconditional.
7186 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7187 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7188 <kernel-features.h>.
7189 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7190 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7191 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7192 <kernel-features.h>.
7193 (fchownat) [__NR_fchownat]: Make code unconditional.
7194 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7196 <kernel-features.h>.
7197 (futimesat) [__NR_futimesat]: Make code unconditional.
7198 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7199 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7200 <kernel-features.h>.
7201 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7202 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7203 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7204 <kernel-features.h>.
7205 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7206 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7207 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7208 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7209 <kernel-features.h>.
7210 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7211 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7212 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7213 <kernel-features.h>.
7214 (linkat) [__NR_linkat]: Make code unconditional.
7215 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7216 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7217 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7218 <kernel-features.h>.
7219 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7220 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7221 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7222 <kernel-features.h>.
7223 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7224 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7225 * sysdeps/unix/sysv/linux/openat.c: Do not include
7226 <kernel-features.h>.
7227 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7228 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7229 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7230 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7232 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7233 <kernel-features.h>.
7234 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7235 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7236 result of INLINE_SYSCALL directly, not via int variable.
7237 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7238 <kernel-features.h>.
7239 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7240 (renameat) [__NR_renameat]: Make code unconditional.
7241 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7242 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7243 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7244 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7245 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7246 (__ASSUME_ATFCTS): Do not undefine and redefine.
7247 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7248 <kernel-features.h>.
7249 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7250 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7251 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7252 <kernel-features.h>.
7253 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7254 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7256 (__ASSUME_ATFCTS): Do not undefine and redefine.
7257 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7258 <kernel-features.h>.
7259 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7260 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7261 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7262 <kernel-features.h>.
7263 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7264 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7265
224c6c51
L
72662014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7267
7268 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7269
aa6ec754
AS
72702014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7271
7272 [BZ #17069]
7273 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7274 constructed tree before returning error.
7275 * posix/bug-regexp36.c: Expand test case.
7276
d8c2869d
SL
72772014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7278
3ef6b850
SL
7279 [BZ #6803]
7280 * math/libm-test.inc (scalbln_test_date):
7281 Add errno expectations.
7282 * math/w_scalblnf.c: New File.
7283 Add wrapper which checks for setting errno to ERANGE.
7284 Add weak_alias for corresponding scalbln function.
7285 * math/w_scalbln.c: Likewise.
7286 * math/w_scalblnl.c: Likewise.
7287 * math/Makefile (libm-calls): Add w_scalbln.
7288 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7289 Remove weak_alias for corresponding scalbln function.
7290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7294 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7295 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7296 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7297 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7298 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7299 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7300 Remove long_double_symbol for scalblnl function in libm, libc.
7301 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7302 Add wrapper which checks for setting errno to ERANGE.
7303 Add long_double_symbol for scalblnl function in libm, libc.
7304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7305 Remove long_double_symbol for scalblnl in libm.
7306 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7307 Add wrapper which checks for setting errno to ERANGE.
7308 Add long_double_symbol for scalblnl function in libm.
7309 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7310 Do not use wrapper because of own implementation.
7311
c8daec5c
L
73122014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7313
7314 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7315 3 bytes for __pad1 for x32.
7316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7317
5c74e47c
LM
73182014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7319 H.J. Lu <hongjiu.lu@intel.com>
7320
7321 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7322 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7325 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7326
4d43ef1e
AS
73272014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7328
7329 [BZ #17069]
7330 * posix/regcomp.c (parse_expression): Deallocate partially
7331 constructed tree before returning error.
7332 * posix/Makefile.c (tests): Add bug-regex36.
7333 (generated): Add bug-regex36.mtrace.
7334 (tests-special): Add $(objpfx)bug-regex36-mem.out
7335 (bug-regex36-ENV): New variable.
7336 ($(objpfx)bug-regex36-mem.out): New rule.
7337 * posix/bug-regex36.c: New file.
7338
51a7380b
WN
73392014-06-19 Will Newton <will.newton@linaro.org>
7340
7341 * malloc/malloc.c (systrim): If extra is zero then return
7342 early.
7343
91b84fe5
SP
73442014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7345
7346 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7347
f940b965
RE
73482014-06-19 Richard Earnshaw <rearnsha@arm.com>
7349
7350 * sysdeps/aarch64/strchr.S: New file.
7351
4ba7a00f
JM
73522014-06-18 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #17022]
7355 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7356 from arguments -2 or below.
7357 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7358 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7359
b3a9f56b
AS
73602014-06-18 Andreas Schwab <schwab@suse.de>
7361
7362 [BZ #17062]
7363 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7364 of a bracket expr not to run off the end of the string.
7365 * posix/Makefile (tests): Add tst-fnmatch3.
7366 * posix/tst-fnmatch3.c: New file.
7367
85d89278
JM
73682014-06-18 Joseph Myers <joseph@codesourcery.com>
7369
7370 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7371 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7372 [$(cross-compiling) = no]: Likewise.
7373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7374 [$(cross-compiling) = no]: Likewise.
7375
754c5a08
RS
73762014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7377
7378 [BZ #17031]
7379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7380 double, adjusted for any remainder from the high double.
7381 * math/libm-test.inc (nearbyint): Add tests.
7382 (rint): Likewise.
7383
556f529d
AZ
73842014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7385
7386 * nptl/sysdeps/powerpc/Makefile: Moved ...
7387 * sysdeps/powerpc/nptl/Makefile: ... here.
7388 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7389 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7390 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7391 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7392 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7393 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7394 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7395 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7396 * nptl/sysdeps/powerpc/tls.h: Moved ...
7397 * sysdeps/powerpc/nptl/tls.h: ... here.
7398
91c03c53
JM
73992014-06-16 Joseph Myers <joseph@codesourcery.com>
7400
7401 [BZ #16681]
7402 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7403 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7404 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7405 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7406 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7407 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7408 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7409 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7410 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7411
a76e63c5
AS
74122014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7413
7414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7415
f2f6d82f
AS
74162014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7417
ea8a15f6
AS
7418 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7419 defined operator.
7420
f2f6d82f
AS
7421 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7422 $TIMEOUTFACTOR.
7423
a7291117
FW
74242014-06-16 Florian Weimer <fweimer@redhat.com>
7425
7426 [BZ #17058]
7427 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7428 non-executed part of the test.
7429
3d7c00e3
AS
74302014-06-16 Andreas Schwab <schwab@suse.de>
7431
7432 * string/bits/string2.h (strdup, strndup): Update feature guard.
7433
6957fb31
DM
74342014-06-14 David S. Miller <davem@davemloft.net>
7435
7436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7437
11b9e55b
AS
74382014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7439
1d2a0492
AS
7440 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7441 that was previously under [RESET_PID].
7442 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7443
11b9e55b
AS
7444 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7445 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7446 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7448 (__libc_vfork): New strong alias.
7449 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7450
0f6901d0
AK
74512014-06-14 Andi Kleen <ak@linux.intel.com>
7452
7453 * sysdeps/generic/elide.h: New file.
7454
38bbbb9f
SL
74552014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7456
7457 * Makefile (installed-headers): Adjust path of pthread.h header.
7458
45193bb8
RM
74592014-06-13 Roland McGrath <roland@hack.frob.com>
7460
9a25fd1e
RM
7461 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7462 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7463 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7464 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7465
4004f7e4
RM
7466 * nptl/sysdeps/s390/Makefile: Moved ...
7467 * sysdeps/s390/nptl/Makefile: ... here.
7468 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7469 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7470 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7471 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7472 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7473 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7474 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7475 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7476 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7477 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7478 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7479 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7480 * nptl/sysdeps/s390/tls.h: Moved ...
7481 * sysdeps/s390/nptl/tls.h: ... here.
7482
45193bb8
RM
7483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7484 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7485
f6fdf533
DM
74862014-06-13 David S. Miller <davem@davemloft.net>
7487
7488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7491 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7495 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7496 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7497 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7498 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7499 Remove RESET_PID cpp guards.
7500 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7501 Remove RESET_PID cpp guards.
7502 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7503
f5d71e14
AS
75042014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7505
7506 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7507 __sp to uintptr_t.
7508
b7aa8caa
AK
75092014-06-13 Andi Kleen <ak@linux.intel.com>
7510
4b266200
AZ
7511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7524 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7531
7532 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7533 (pthread_rwlock_rdlock): Add elision.
7534 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7535 (pthread_rwlock_wrlock): Add elision.
7536 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7537 (pthread_rwlock_trywrlock): Add elision.
7538 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7539 (pthread_rwlock_tryrdlock): Add elision.
7540 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7541 (pthread_rwlock_tryrdlock): Add elision unlock.
7542 * nptl/sysdeps/pthread/pthread.h:
7543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7544 (PTHREAD_RWLOCK_INITIALIZER,
7545 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7546 Handle new elision field.
7547 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7548 * sysdeps/arm/nptl/bits/pthreadtypes.h
7549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7550 * sysdeps/sh/nptl/bits/pthreadtypes.h
7551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7552 * sysdeps/tile/nptl/bits/pthreadtypes.h
7553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7554 * sysdeps/a/nptl/bits/pthreadtypes.h
7555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7556 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7560 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7562 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7564 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7566 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7570 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7572 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7573 (elision_init): Set try_xbegin to zero when no RTM.
7574 * sysdeps/x86/nptl/bits/pthreadtypes.h
7575 (pthread_rwlock_t): Change __pad1 to __rwelision.
7576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7577
a832bdd3
AK
75782014-06-13 Andi Kleen <ak@linux.intel.com>
7579
7580 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7581 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7582 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7583 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7584
995a46bb
MI
75852014-06-13 Meador Inge <meadori@codesourcery.com>
7586
7587 [BZ #16996]
03ed7738 7588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7589 that the cached result has been set before returning it.
7590
45262aee
RM
75912014-06-12 Roland McGrath <roland@hack.frob.com>
7592
febf6cc5
RM
7593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7594 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7596 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7598 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7599
e2682246
RM
7600 * nptl/sysdeps/sparc/Makefile: Moved ...
7601 * sysdeps/sparc/nptl/Makefile: ... here.
7602 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7603 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7604 * nptl/sysdeps/sparc/tls.h: Moved ...
7605 * sysdeps/sparc/nptl/tls.h: ... here.
7606 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7607 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7608 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7609 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7610 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7611 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7612 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7613 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7614 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7615 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7616 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7617 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7618 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7619 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7620 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7621 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7622 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7624 Update #include.
7625 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7627 Update #include.
7628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7630 Update #include.
7631 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7633 Update #include.
7634
b0725f43
RM
7635 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7636
b14368b8
RM
7637 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7638 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7639
c5620eb3
RM
7640 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7641 (struct list_links): Type removed.
7642 (struct thread_node, struct timer_node): Replace struct list_links
7643 with struct list_head.
7644 (list_unlink_ip): Likewise.
7645 * sysdeps/pthread/timer_routines.c
7646 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7647 (list_append, list_insbefore): Likewise.
7648 (list_init): Function removed.
7649 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7650 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7651 * sysdeps/pthread/Makefile: ... here, new file.
7652
7653 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7654 * sysdeps/nptl/Implies: ... here.
7655 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7656 * nptl/sysdeps/pthread/list.h: Moved ...
7657 * include/list.h: ... here.
7658 * nptl/sysdeps/pthread/createthread.c: Moved ...
7659 * nptl/createthread.c: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7661 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7662 * nptl/pt-longjmp.c: ... here.
7663 * nptl/sysdeps/pthread/Makefile: Moved ...
7664 * sysdeps/nptl/Makefile: ... here.
7665 * nptl/sysdeps/pthread/Subdirs: Moved ...
7666 * sysdeps/nptl/Subdirs: ... here.
7667 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7668 * sysdeps/nptl/aio_misc.h: ... here.
7669 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7670 * sysdeps/nptl/bits/libc-lock.h: ... here.
7671 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7672 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7673 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7674 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7675 * nptl/sysdeps/pthread/configure: Moved ...
7676 * sysdeps/nptl/configure: ... here.
7677 * nptl/sysdeps/pthread/configure.ac: Moved ...
7678 * sysdeps/nptl/configure.ac: ... here.
7679 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7680 * sysdeps/nptl/gai_misc.h: ... here.
7681 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7682 * sysdeps/nptl/librt-cancellation.c: ... here.
7683 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7684 * sysdeps/nptl/malloc-machine.h: ... here.
7685 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7686 * sysdeps/nptl/pthread-functions.h: ... here.
7687 * nptl/sysdeps/pthread/pthread.h: Moved ...
7688 * sysdeps/nptl/pthread.h: ... here.
7689 * nptl/sysdeps/pthread/setxid.h: Moved ...
7690 * sysdeps/nptl/setxid.h: ... here.
7691 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7692 * sysdeps/nptl/sigfillset.c: ... here.
7693 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7694 * sysdeps/nptl/tcb-offsets.h: ... here.
7695 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7696 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7697 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7698 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7699 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7700 * sysdeps/pthread/allocalim.h: ... here.
7701 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7702 * sysdeps/pthread/bits/sigthread.h: ... here.
7703 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7704 * sysdeps/pthread/flockfile.c: ... here.
7705 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7706 * sysdeps/pthread/ftrylockfile.c: ... here.
7707 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7708 * sysdeps/pthread/funlockfile.c: ... here.
7709 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7710 * sysdeps/pthread/posix-timer.h: ... here.
7711 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7712 * sysdeps/pthread/timer_create.c: ... here.
7713 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7714 * sysdeps/pthread/timer_delete.c: ... here.
7715 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7716 * sysdeps/pthread/timer_getoverr.c: ... here.
7717 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7718 * sysdeps/pthread/timer_gettime.c: ... here.
7719 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7720 * sysdeps/pthread/timer_routines.c: ... here.
7721 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7722 * sysdeps/pthread/timer_settime.c: ... here.
7723 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7724 * sysdeps/pthread/tst-timer.c: ... here.
7725 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7726 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7727
e876b090
RM
7728 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7729 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7730
f6b07b3d
RM
7731 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7732 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7733 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7734 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7735 Update #include target.
7736 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7737 * sysdeps/i386/i686/nptl/Makefile: ... here.
7738 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7739 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7740 Update #include target.
7741 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7742 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7743 * nptl/sysdeps/i386/Makefile: Moved ...
7744 * sysdeps/i386/nptl/Makefile: ... here.
7745 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7746 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7747 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7748 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7749 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7750 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7751 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7752 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7753 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7754 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7755 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7756 * nptl/sysdeps/i386/tls.h: Moved ...
7757 * sysdeps/i386/nptl/tls.h: ... here.
7758
45262aee
RM
7759 * sysdeps/sh/Makefile [$(subdir) = csu]
7760 (gen-as-const-headers): Add tcb-offsets.sym.
7761 * nptl/sysdeps/sh/Makefile: File removed.
7762 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7763 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7764 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7765 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7766 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7767 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7768 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7769 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7770 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7771 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7772 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7773 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7774 * nptl/sysdeps/sh/tls.h: Moved ...
7775 * sysdeps/sh/nptl/tls.h: ... here.
7776 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7777 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7778 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7779 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7780 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7781 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7785 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7787 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7789 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7791 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7793 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7795 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7797 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7801 Moved ...
7802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7804 Moved ...
7805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7810 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7811 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7812 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7813 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7814 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7815 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7816 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7818 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7819 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7820 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7821 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7822 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7824
35a5e3e3
SL
78252014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7826
7827 * posix/spawn_faction_addopen.c: Include string.h.
7828
14642b85
RM
78292014-06-11 Roland McGrath <roland@hack.frob.com>
7830
7831 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7832 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7833 * nptl/sysdeps/x86_64/Makefile: Moved ...
7834 * sysdeps/x86_64/nptl/Makefile: ... here.
7835 * nptl/sysdeps/x86_64/configure: Moved ...
7836 * sysdeps/x86_64/nptl/configure: ... here.
7837 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7838 * sysdeps/x86_64/nptl/configure.ac: ... here.
7839 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7840 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7841 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7842 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7843 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7844 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7845 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7846 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7847 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7848 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7849 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7850 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7851 * nptl/sysdeps/x86_64/tls.h: Moved ...
7852 * sysdeps/x86_64/nptl/tls.h: ... here.
7853 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7854 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7855 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7856 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7857
7858 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7859
31c44fea
AZ
78602014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7861
7862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7863
e81a4f9a
JM
78642014-06-11 Joseph Myers <joseph@codesourcery.com>
7865
7866 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7867 type.
7868 [POSIX] (off_t): Likewise.
7869 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7870 [POSIX] (S_ISBLK): Require macro.
7871 [POSIX] (S_ISCHR): Likewise.
7872 [POSIX] (S_ISDIR): Likewise.
7873 [POSIX] (S_ISFIFO): Likewise.
7874 [POSIX] (S_ISREG): Likewise.
7875 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7876 optional-macro.
7877 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7878 type.
7879 [POSIX] (time_t): Likewise.
7880 [POSIX] (timer_t): Likewise.
7881
89e435f3
FW
78822014-06-11 Florian Weimer <fweimer@redhat.com>
7883
7884 [BZ #17048]
7885 * posix/spawn_int.h (struct __spawn_action): Make the path string
7886 non-const to support deallocation.
7887 * posix/spawn_faction_addopen.c
7888 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7889 * posix/spawn_faction_destroy.c
7890 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7891 path in all spawn_do_open actions.
7892 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7893 posix_spawn_file_actions_addopen.
7894
c3a2ebe1
CM
78952014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7896
7897 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7898 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7899 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7900 conditional code always true.
7901 (__libc_vfork): New alias.
7902
9503784a
RM
79032014-06-11 Roland McGrath <roland@hack.frob.com>
7904
c9cab3d2
RM
7905 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7906 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7907
d3996c79
RM
7908 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7909
ba5ec611
RM
7910 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7911 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7912
f12b4814
RM
7913 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7914 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7915
9503784a
RM
7916 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7917 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7918
e23d3d26
VR
79192014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7920
7921 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7923 multiarch strcmp for PPC64.
7924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7927 multiarch optimizations.
7928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7929 (__libc_ifunc_impl_list): Likewise.
7930
42b1161e
SP
79312014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7932
7933 * benchtests/scripts/validate_benchout.py: New script.
7934 * benchtests/Makefile (bench-func): Call it.
7935 * benchtests/scripts/benchout.schema.json: New file.
7936
2d0fc4dc
CM
79372014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7938
4a594c34
AZ
7939 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7940 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7941 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7942 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7943 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7944 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7945 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7946 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7947 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7948 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7949 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7950 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7951 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7952 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7953 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7954 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 7956 Moved ...
4a594c34 7957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 7958 ... here.
4a594c34 7959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 7960 Moved ...
4a594c34
AZ
7961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7963 Moved ...
4a594c34 7964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7965 ... here.
4a594c34 7966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7967 Moved ...
4a594c34 7968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7969 ... here.
4a594c34 7970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7971 Moved ...
4a594c34
AZ
7972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7974 Moved ...
4a594c34 7975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7976 ... here.
4a594c34 7977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7978 Moved ...
4a594c34 7979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7980 ... here.
4a594c34 7981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7982 Moved ...
4a594c34
AZ
7983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7985 Moved ...
4a594c34 7986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7987 ... here.
4a594c34 7988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7989 Moved ...
4a594c34 7990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7991 ... here.
4a594c34 7992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7993 Moved ...
4a594c34 7994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7995 ... here.
4a594c34 7996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7997 Moved ...
4a594c34
AZ
7998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8000 Moved ...
4a594c34 8001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8002 ... here.
4a594c34 8003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8004 Moved ...
4a594c34 8005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8006 ... here.
4a594c34 8007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8008 Moved ...
4a594c34 8009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8010 ... here.
4a594c34 8011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8012 Moved ...
4a594c34
AZ
8013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8015 Moved ...
4a594c34 8016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8017 ... here.
4a594c34 8018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8019 Moved ...
4a594c34 8020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8021 ... here.
4a594c34 8022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8023 Moved ...
4a594c34
AZ
8024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8026 Moved ...
4a594c34 8027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8028 ... here.
4a594c34 8029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8030 Moved ...
4a594c34
AZ
8031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8033 Moved ...
4a594c34
AZ
8034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8036 Moved ...
4a594c34 8037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8038 ... here.
4a594c34 8039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8040 Moved ...
4a594c34 8041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8042 ... here.
4a594c34 8043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8044 Moved ...
4a594c34 8045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8046 ... here.
4a594c34 8047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8048 Moved ...
4a594c34
AZ
8049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8051 Moved ...
4a594c34 8052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8053 ... here.
4a594c34 8054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8055 Moved ...
4a594c34 8056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8057 ... here.
4a594c34
AZ
8058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8059 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8063 Moved ...
4a594c34 8064 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8065 ... here.
4a594c34
AZ
8066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8067 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8077 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8079 Moved ...
4a594c34
AZ
8080 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8082 Moved ...
4a594c34
AZ
8083 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8087 Moved ...
4a594c34
AZ
8088 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8092 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8093 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8094 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8095
0570cfed
W
80962014-06-10 Wilco <wdijkstr@arm.com>
8097
8098 * math/test-fenv-return.c: New file.
8099 * math/Makefile: Add new test test-fenv-return.
8100
f8ba1b56
JM
81012014-06-10 Joseph Myers <joseph@codesourcery.com>
8102
8103 [BZ #17042]
8104 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8105 when x - 1 is zero.
8106 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8107 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8108 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8109 0.0L for an argument of 1.0L.
8110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8111 Likewise.
8112 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8113 value when x - 1 is zero.
8114 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8115 * sysdeps/i386/fpu/libm-test-ulps: Update.
8116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8117
2c3520d9
BO
81182014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8119
8120 [BZ #15119]
8121 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8122
acaa4d24
RM
81232014-06-09 Roland McGrath <roland@hack.frob.com>
8124
8125 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8126 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8127
962b744d
RM
81282014-06-09 Roland McGrath <roland@hack.frob.com>
8129
d752f0cc
RM
8130 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8131 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8132
34eda6d1
RM
8133 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8134 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8135
50f0a637
RM
8136 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8137 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8138
08f41f04
RM
8139 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8140 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8141
962b744d
RM
8142 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8143 if not already defined.
8144 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8145 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8146 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8147 (TLS_INIT_TP): Use it.
8148 (TLS_DEFINE_INIT_TP): New macro.
8149 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8150
09f19b05
JM
81512014-06-09 Joseph Myers <joseph@codesourcery.com>
8152
8153 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8154 constant.
8155 [POSIX] (IXANY): Likewise.
8156 [POSIX] (OLCUC): Likewise.
8157 [POSIX || POSIX2008] (CBAUD): Do not allow.
8158 [POSIX || POSIX2008] (DEFECHO): Likewise.
8159 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8160 [POSIX || POSIX2008] (ECHOKE): Likewise.
8161 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8162 [POSIX || POSIX2008] (EXTA): Likewise.
8163 [POSIX || POSIX2008] (EXTB): Likewise.
8164 [POSIX || POSIX2008] (FLUSHO): Likewise.
8165 [POSIX || POSIX2008] (LOBLK): Likewise.
8166 [POSIX || POSIX2008] (PENDIN): Likewise.
8167 [POSIX || POSIX2008] (SWTCH): Likewise.
8168 [POSIX || POSIX2008] (VDISCARD): Likewise.
8169 [POSIX || POSIX2008] (VDSUSP): Likewise.
8170 [POSIX || POSIX2008] (VLNEXT): Likewise.
8171 [POSIX || POSIX2008] (VREPRINT): Likewise.
8172 [POSIX || POSIX2008] (VSTATUS): Likewise.
8173 [POSIX || POSIX2008] (VWERASE): Likewise.
8174 (B*): Change to B[0123456789]*.
8175 * conform/data/time.h-data [POSIX || UNIX98]
8176 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8177 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8178 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8179 [POSIX] (tm_*): Do not allow.
8180
686554bf
JM
81812014-06-07 Joseph Myers <joseph@codesourcery.com>
8182
8183 * Makefile (install): Don't set LANGUAGE.
8184 * Makefile.in (install): Likewise.
8185 * assert/Makefile (test-assert-ENV): Remove variable.
8186 (test-assert-perr-ENV): Likewise.
8187 * elf/Makefile (neededtest4-ENV): Likewise.
8188 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8189 [$(cross-compiling) = no]: Don't set LANGUAGE.
8190 * io/ftwtest-sh (LANG): Remove variable.
8191 * libio/Makefile (tst-widetext-ENV): Likewise.
8192 * manual/install.texi (Running make install): Don't refer to
8193 environment settings for make install.
8194 * INSTALL: Regenerated.
8195 * nptl/tst-tls6.sh: Don't set LANG.
8196 * posix/globtest.sh (LANG): Remove variable.
8197 * string/Makefile (tester-ENV): Likewise.
8198 (inl-tester-ENV): Likewise.
8199 (noinl-tester-ENV): Likewise.
8200 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8201 [$(cross-compiling) = no]: Don't set LANGUAGE.
8202 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8203 without explicit environment settings.
8204
68e6b6b1
RM
82052014-06-06 Roland McGrath <roland@hack.frob.com>
8206
8207 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8208 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8210 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8211
4d3ae034
CM
82122014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8213
8214 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8215 other files in the crypt directory.
8216 * crypt/crypt.c: Remove duplicate includes.
8217 * crypt/crypt-entry.c: Likewise.
8218 * crypt/crypt_util.c: Likewise.
8219
8540f6d2
JM
82202014-06-06 Joseph Myers <joseph@codesourcery.com>
8221
8222 * Makeconfig (run-program-env): New variable.
8223 (run-program-prefix-before-env): Likewise.
8224 (run-program-prefix-after-env): Likewise.
8225 (run-program-prefix): Define in terms of new variables.
8226 (built-program-cmd-before-env): New variable.
8227 (built-program-cmd-after-env): Likewise.
8228 (built-program-cmd): Define in terms of new variables.
8229 (test-program-prefix-before-env): New variable.
8230 (test-program-prefix-after-env): Likewise.
8231 (test-program-prefix): Define in terms of new variables.
8232 (test-program-cmd-before-env): New variable.
8233 (test-program-cmd-after-env): Likewise.
8234 (test-program-cmd): Define in terms of new variables.
8235 * Rules (make-test-out): Use $(run-program-env).
8236 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8237 (help): Do not mention environment variables. Mention
8238 --timeoutfactor option.
8239 (timeoutfactor): New variable.
8240 (blacklist_exports): Remove function.
8241 (exports): Remove variable.
8242 (command): Do not include ${exports}.
8243 * manual/install.texi (Configuring and compiling): Do not mention
8244 test wrappers preserving environment variables. Mention that last
8245 assignment to a variable must take precedence.
8246 * INSTALL: Regenerated.
8247 * benchtests/Makefile (run-bench): Use $(run-program-env).
8248 * catgets/Makefile ($(objpfx)test1.cat): Use
8249 $(built-program-cmd-before-env), $(run-program-env) and
8250 $(built-program-cmd-after-env).
8251 ($(objpfx)test2.cat): Do not specify environment variables
8252 explicitly.
8253 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8254 $(run-program-env) and $(built-program-cmd-after-env).
8255 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8256 $(run-program-env) and $(test-program-cmd-after-env).
8257 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8258 explicitly.
8259 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8260 run_program_env and test_program_cmd_after_env arguments.
8261 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8262 * elf/tst-pathopt.sh: Use run_program_env argument.
8263 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8264 $(test-wrapper-env) and $(run-program-env).
8265 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8266 run_program_env arguments.
8267 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8268 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8269 $(test-program-prefix-before-env), $(run-program-env) and
8270 $(test-program-prefix-after-env).
8271 ($(objpfx)tst-gettext2.out): Likewise.
8272 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8273 run_program_env and test_program_prefix_after_env arguments.
8274 * intl/tst-gettext2.sh: Likewise.
8275 * intl/tst-gettext4.sh: Do not set environment variables
8276 explicitly.
8277 * intl/tst-gettext6.sh: Likewise.
8278 * intl/tst-translit.sh: Likewise.
8279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8280 $(test-program-prefix-before-env), $(run-program-env) and
8281 $(test-program-prefix-after-env).
8282 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8283 run_program_env and test_program_prefix_after_env arguments.
8284 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8285 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8286 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8287 explicitly with each use of ${test_wrapper_env}.
8288 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8289 $(test-program-prefix-before-env), $(run-program-env) and
8290 $(test-program-prefix-after-env).
8291 * posix/tst-getconf.sh: Do not set environment variables
8292 explicitly.
8293 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8294 run_program_env and test_program_prefix_after_env arguments.
8295 * stdio-common/tst-printf.sh: Do not set environment variables
8296 explicitly.
8297 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8298 $(test-program-prefix-before-env), $(run-program-env) and
8299 $(test-program-prefix-after-env).
8300 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8301 run_program_env and test_program_prefix_after_env arguments.
8302 Split $test calls into $test_pre and $test.
8303 * timezone/Makefile (build-testdata): Use
8304 $(built-program-cmd-before-env), $(run-program-env) and
8305 $(built-program-cmd-after-env).
8306
ed36bfa1
AZ
83072014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8308
8309 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8310 strlen for non SHARED builds.
8311
fc75bf46
SP
83122014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
8314 * nptl/allocatestack.c (check_list): Inlined function...
8315 (__reclaim_stacks): ... here.
8316
d89b3d80
OB
83172014-06-05 Ondřej Bílka <neleai@seznam.cz>
8318
8319 [BZ #15698]
8320 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8321 memory overrun.
8322
2bf18041
JM
83232014-06-05 Joseph Myers <joseph@codesourcery.com>
8324
8325 * Rules (make-test-out): Include
8326 LOCPATH=$(common-objpfx)localedata in default environment.
8327 * debug/Makefile (tst-chk1-ENV): Remove variable.
8328 (tst-chk2-ENV): Likewise.
8329 (tst-chk3-ENV): Likewise.
8330 (tst-chk4-ENV): Likewise.
8331 (tst-chk5-ENV): Likewise.
8332 (tst-chk6-ENV): Likewise.
8333 (tst-lfschk1-ENV): Likewise.
8334 (tst-lfschk2-ENV): Likewise.
8335 (tst-lfschk3-ENV): Likewise.
8336 (tst-lfschk4-ENV): Likewise.
8337 (tst-lfschk5-ENV): Likewise.
8338 (tst-lfschk6-ENV): Likewise.
8339 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8340 (tst-iconv7-ENV): Likewise.
8341 * intl/Makefile (LOCPATH-ENV): Likewise.
8342 (tst-codeset-ENV): Likewise.
8343 (tst-gettext3-ENV): Likewise.
8344 (tst-gettext5-ENV): Likewise.
8345 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8346 (tst-fopenloc-ENV): Likewise.
8347 (tst-fgetws-ENV): Remove variable.
8348 (tst-ungetwc1-ENV): Likewise.
8349 (tst-ungetwc2-ENV): Likewise.
8350 (bug-ungetwc2-ENV): Likewise.
8351 (tst-swscanf-ENV): Likewise.
8352 (bug-ftell-ENV): Likewise.
8353 (tst-fgetwc-ENV): Likewise.
8354 (tst-fseek-ENV): Likewise.
8355 (tst-ftell-partial-wide-ENV): Likewise.
8356 (tst-ftell-active-handler-ENV): Likewise.
8357 (tst-ftell-append-ENV): Likewise.
8358 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8359 (tst-regexloc-ENV): Likewise.
8360 (bug-regex1-ENV): Likewise.
8361 (tst-regex-ENV): Likewise.
8362 (tst-regex2-ENV): Likewise.
8363 (bug-regex5-ENV): Likewise.
8364 (bug-regex6-ENV): Likewise.
8365 (bug-regex17-ENV): Likewise.
8366 (bug-regex18-ENV): Likewise.
8367 (bug-regex19-ENV): Likewise.
8368 (bug-regex20-ENV): Likewise.
8369 (bug-regex22-ENV): Likewise.
8370 (bug-regex23-ENV): Likewise.
8371 (bug-regex25-ENV): Likewise.
8372 (bug-regex26-ENV): Likewise.
8373 (bug-regex30-ENV): Likewise.
8374 (bug-regex32-ENV): Likewise.
8375 (bug-regex33-ENV): Likewise.
8376 (bug-regex34-ENV): Likewise.
8377 (bug-regex35-ENV): Likewise.
8378 (tst-rxspencer-ENV): Likewise.
8379 (tst-rxspencer-no-utf8-ENV): Likewise.
8380 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8381 (tst-sscanf-ENV): Likewise.
8382 (tst-swprintf-ENV): Likewise.
8383 (tst-swscanf-ENV): Likewise.
8384 (test-vfprintf-ENV): Likewise.
8385 (scanf13-ENV): Likewise.
8386 (bug14-ENV): Likewise.
8387 (tst-grouping-ENV): Likewise.
8388 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8389 (tst-strtod3-ENV): Likewise.
8390 (tst-strtod4-ENV): Likewise.
8391 (tst-strtod5-ENV): Likewise.
8392 (testmb2-ENV): Likewise./
8393 * string/Makefile (tst-strxfrm-ENV): Likewise.
8394 (tst-strxfrm2-ENV): Likewise.
8395 (bug-strcoll1-ENV): Likewise.
8396 (test-strcasecmp-ENV): Likewise.
8397 (test-strncasecmp-ENV): Likewise.
8398 * time/Makefile (tst-strptime-ENV): Likewise.
8399 (tst-ftime_l-ENV): Likewise.
8400 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8401 (tst-mbrtowc-ENV): Likewise.
8402 (tst-wcrtomb-ENV): Likewise.
8403 (tst-mbrtowc2-ENV): Likewise.
8404 (tst-c16c32-1-ENV): Likewise.
8405 (tst-mbsnrtowcs-ENV): Likewise.
8406
cd1fb604
OB
84072014-06-05 Ondřej Bílka <neleai@seznam.cz>
8408
8409 * manual/resource.texi (How to get information about the memory
8410 subsystem?): Fix typo.
8411 Reported by Peon de la Parra Ivan <peon@keba.com>
8412
b42eca7d
GY
84132014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8414
8415 [BZ #16882]
8416 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8417 (pthread_spin_lock): Branch out of spin loop to proper location.
8418 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8419 (pthread_spin_lock): Likewise.
8420
902b71f9
DM
8421 * nptl/tst-spin4.c: New test.
8422 * nptl/Makefile (tests): Add tst-spin4.
8423
f9d2d032
AS
84242014-06-03 Andreas Schwab <schwab@suse.de>
8425
8426 [BZ #15946]
8427 * resolv/res_send.c (send_dg): Reload file descriptor after
8428 calling reopen.
8429
cf7bfd28
SL
84302014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8431
8432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8433
111cc714
RH
84342014-06-03 Richard Henderson <rth@redhat.com>
8435
89b4bd6b
RH
8436 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8437 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8438 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8439 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8440 in the SAVE_PID block.
8441 (__libc_vfork): New alias.
71840409 8442 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8443
111cc714
RH
8444 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8445 child in registers, not on the stack. Remove RESET_PID conditionals.
8446 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8447
ccc39911
MS
84482014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8449
8450 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8451
693096cc
W
84522014-06-03 Wilco <wdijkstr@arm.com>
8453
8454 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8455 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8456 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8457 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8458 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8459 Likewise.
8460
0b4366bc
W
84612014-06-03 Wilco <wdijkstr@arm.com>
8462
8463 * sysdeps/aarch64/fpu/math_private.h
8464 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8465 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8466 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8468 Fix declarations.
8469
8747cd03
KS
84702014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8471
8472 * crypt/crypt-private.h: Include ufc-crypt.h.
8473 (__b64_from_24bit): Declare extern.
8474 * crypt/crypt_util.c(__b64_from_24bit): New function.
8475 (b64t): New static const variable.
8476 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8477 (b64t): Remove variable.
8478 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8479 * crypt/sha256-crypt.c: Include crypt-private.h.
8480 (b64t): Remove variable.
8481 (__sha256_crypt_r): Remove b64_from_24bit and replace
8482 with __b64_from_24bit.
8483 * crypt/sha512-crypt.c: Likewise.
8484
d936d379
RM
84852014-06-02 Roland McGrath <roland@hack.frob.com>
8486
8487 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8488 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8489 Label the code __libc_vfork rather than __vfork.
8490 [!NOT_IN_libc] (vfork): Define as weak alias.
8491 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8492 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8493 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8494
9fa76613
SP
84952014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
8497 * malloc/malloc.c (malloc_info): Fix format specifier for
8498 n_mmaps.
8499
a88dadbe
W
85002014-06-02 Wilco <wdijkstr@arm.com>
8501
8502 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8503 FPCR write.
8504
c95b3011
W
85052014-06-02 Wilco <wdijkstr@arm.com>
8506
8507 [BZ #17009]
8508 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8509 Rewrite to reduce FPCR/FPSR accesses.
8510
6b4d7a90
DM
85112014-06-01 David S. Miller <davem@davemloft.net>
8512
8513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8514
30f3d07c
DM
85152014-05-31 David S. Miller <davem@davemloft.net>
8516
8517 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8518 to occur in round to nearest mode when |x| >= 2.0
8519
74f31c18
RH
85202014-05-30 Richard Henderson <rth@twiddle.net>
8521
f0712b54
RH
8522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8523 (PSEUDO_RET_NOERRNO): Remove.
8524 (ret): Don't redefine.
8525 (ret_NOERRNO): Define in terms of ret.
8526 (ret_ERRVAL): Likewise.
8527
74f31c18
RH
8528 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8529 use of PSEUDO_RET; perform the error check directly.
8530
30477995
MM
85312014-05-30 Marko Myllynen <myllynen@redhat.com>
8532
8533 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8534 with __int128_t.
8535
62a58816
SP
85362014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 * malloc/malloc (malloc_info): Fix formatting.
8539
4d653a59
SP
85402014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8541 Roland McGrath <roland@hack.frob.com>
8542
8543 * malloc/malloc (malloc_info): Also print mmapped statistics.
8544
5190c17f
RM
85452014-05-30 Roland McGrath <roland@hack.frob.com>
8546
8547 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8548 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8549
987c0269
OB
85502014-05-30 Ondřej Bílka <neleai@seznam.cz>
8551
8552 * malloc/malloc.c (malloc_info): Inline mi_arena.
8553
af4e8ef9
RH
85542014-05-29 Richard Henderson <rth@twiddle.net>
8555
1670e207
RH
8556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8557 Remove comma before expanding ASM_ARGS_##nr.
8558 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8559 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8560 of ASM_ARGS_##nr.
8561 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8562 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8563 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8564 (ASM_ARGS_1): Add leading comma.
8565
11a28aee
RH
8566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8567 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8568 to __errno_location.
8569 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8570 Remove the expected plt for __errno_location.
8571
a17e5ffb 8572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8573 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8574 call to __read_tp.
8575
b5be4597
RH
8576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8577 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8578 it and break it down.
8579 (DOCARGS_0, DOCARGS_1): Do nothing.
8580 (DOCARGS_2): Update to store into the new stack frame.
8581 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8582 (UNDOCARGS_1): Update to restore from the new stack frame.
8583 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8584 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8585
645d44ab
RH
8586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8587 (SINGLE_THREAD_P): New parameter for result regno.
8588 (PSEUDO): Update to match; use cbz instead of beq.
8589
a8b4f04a
RH
8590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8591 Use ENTRY to define the _nocancel entry point. Share the syscall
8592 and syscall error check paths with the cancel path.
8593 (PSEUDO_END): New.
8594
af4e8ef9
RH
8595 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8596 whitespace; tabs before and after asm mnemonics.
8597
26b0d2e1
EW
85982014-05-29 Eric Wong <normalperson@yhbt.net>
8599
8600 [BZ #15132]
8601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8602 Call fstat64 or stat64 internally, depending on arguments passed.
8603 Replace stat buffer argument with file descriptor argument.
8604 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8606 Pass fd to __internal_statvfs instead of calling fstat64.
8607 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8608 Pass fd to __internal_statvfs64 instead of calling fstat64.
8609 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8610 Pass -1 to __internal_statvfs instead of calling stat64.
8611 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8612 Pass -1 to __internal_statvfs64 instead of calling stat64.
8613
1efe2bd9
RM
86142014-05-28 Roland McGrath <roland@hack.frob.com>
8615
0d3b7a19
RM
8616 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8617 that was previously under [RESET_PID].
8618 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8619
1efe2bd9
RM
8620 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8621 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8622
a6bea3ca
RM
86232014-05-27 Roland McGrath <roland@hack.frob.com>
8624
30b6629e
RM
8625 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8626
a6bea3ca
RM
8627 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8628 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8629
3dfb9a5c
OB
86302014-05-27 Ondřej Bílka <neleai@seznam.cz>
8631
8632 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8633
774f9285
AS
86342014-05-27 Andreas Schwab <schwab@suse.de>
8635
8636 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8637 TLS_INIT_TP macro.
8638 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8639 * elf/rtld.c (init_tls, dl_main): Likewise.
8640 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8641 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8642 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8643 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8644 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8645 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8646 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8647 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8648 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8649 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8650 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8651 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8652 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8653 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8654 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8655 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8656 * sysdeps/generic/tls.h: Update description.
8657
36ffe739
WN
86582014-05-27 Will Newton <will.newton@linaro.org>
8659
8660 [BZ #16990]
8661 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8662 and restore r2 rather than just restoring.
8663
2482ae43
SP
86642014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
8666 [BZ #16724]
8667 * libio/tst-ftell-append.c: New test case.
8668 * libio/Makefile (tests): Add test case.
8669 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8670 append mode.
8671 * libio/wfileops.c (do_ftell_wide): Likewise.
8672
3d1024e8
AZ
86732014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8674
bab90016
AZ
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8676
c7a8d667
AZ
8677 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8678 ...
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8681 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8682 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8684 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8685 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8688 Moved ...
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8691 Moved ...
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8693 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8694 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8695 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8696 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8697 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8698 ...
8699 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8700 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8701 Moved ...
8702 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8703 here.
8704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8705 ...
8706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8707 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8709
daee7851
AZ
8710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8711 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8713 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8714
50a40819
AZ
8715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8716 merge into ...
8717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8719 ...
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8722 ...
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8725 Moved ...
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8727 here.
8728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8729 Moved ...
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8732 Moved ...
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8734
8464c2a1
AZ
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8736 conditional [RESET_PID].
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8739 removed.
8740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8741 removed.
8742
3d1024e8
AZ
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8744 <tcb-offsets.h>.
8745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8746 (__libc_vfork): New strong alias.
8747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8748 removed.
8749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8750 Removed.
8751
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8753 <tcb-offsets.h>.
8754 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8755 (__libc_vfork): New strong alias.
8756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8757 removed.
8758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8759 removed.
8760
fdfd175d
CD
87612014-05-26 Carlos O'Donell <carlos@redhat.com>
8762
8763 * malloc/malloc.c (mi_arena): New function.
8764 (malloc_info): Remove nested function mi_arena. Call non-nosted
8765 function mi_arena.
8766
d298c416
AZ
87672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8768
8769 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8770 by insrwi.
8771 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8772 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8773 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8774 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8775 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8776 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8778
b60ea6ff
AS
87792014-05-26 Andreas Schwab <schwab@suse.de>
8780
8781 [BZ #16984]
8782 * locale/programs/repertoire.c (repertoire_read): Add slash
8783 between I18NPATH element and file name.
8784 * locale/programs/locfile.c (locfile_read): Likewise.
8785
67365926
SL
87862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8787
8788 * nptl/pthread_mutexattr_settype.c
8789 (__pthread_mutexattr_settype):
8790 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8791
f8bdf1f0
SL
87922014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8793
8794 * nptl/tst-mutex5 (do_test):
8795 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8796
15eaf6ff
SP
87972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8798
8799 * benchtests/README: Document 'init' directive.
8800 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8801 BENCH_INIT.
8802 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8803 (parse_file): Recognize 'init' directive.
8804
75f11331
KM
88052014-05-26 Kyle McMartin <kyle@redhat.com>
8806
8807 [BZ #16796]
8808 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8809 alignment of struct pthread.
8810
c3ec475c
SP
88112014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8812
8813 [BZ #16878]
8814 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8815 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8816 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8817 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8818
82aab97c
RH
88192014-05-25 Richard Henderson <rth@twiddle.net>
8820
aa2f176d
RH
8821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8822 (SINGLE_THREAD_P_PIC): Remove.
8823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8824 (SINGLE_THREAD_P_PIC): Remove.
8825
ca3cfa40
RH
8826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8827 branch to syscall error ...
8828 (PSEUDO): ... here.
8829 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8830 from __local_syscall_error to .Lsyscall_error.
8831 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8832 (SYSCALL_ERROR): Update label name.
8833
6e6c2d01
RH
8834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8835 Do not use DOARGS/UNDOARGS.
8836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8837 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8838 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8839 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8840 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8841
c69abcee
RH
8842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8843 block comment.
8844
82aab97c
RH
8845 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8846 define if !NOT_IN_libc.
8847 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8848 define with non-default symbol versions.
8849
8820e3ac
RH
88502014-05-23 Richard Henderson <rth@twiddle.net>
8851
900e445f
RH
8852 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8853 (vfork, __vfork): Define via compat_symbol.
8854
8820e3ac
RH
8855 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8856 [!HAVE_IFUNC] (vfork_compat): Remove.
8857 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8858
e59252a5
JM
88592014-05-23 Joseph Myers <joseph@codesourcery.com>
8860
8861 [BZ #16978]
8862 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8863 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8864 variable.
8865
132c7f5f
RH
88662014-05-23 Richard Henderson <rth@twiddle.net>
8867
bc89e962
RH
8868 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8869 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8870 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8871 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8872
8873 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8874 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8875 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8876 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8877 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8878 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8880 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8881 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8882 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8883 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8884 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8885 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8886 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8887 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8888 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8889 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8890 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8891 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8894 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8895 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8912 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8913 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8914 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8915 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8916 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8917 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8920 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8922 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8924 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8926 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8928 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8929
e2fa4bc2
RH
8930 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8931 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8932 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8933 before exiting on error.
8934 (__libc_vfork): New strong alias.
8935 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8936 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8937
279b24e2
RH
8938 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8939 that was previously under [RESET_PID].
8940 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8941
132c7f5f
RH
8942 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8943
b72592e7
JM
89442014-05-23 Joseph Myers <joseph@codesourcery.com>
8945
8946 [BZ #16977]
8947 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8948 value when x - 1 is zero.
8949 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8950 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8951 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8952 0.0L for an argument of 1.0L.
8953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8954 Likewise.
8955 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8956 value when x - 1 is zero.
8957 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8958 * sysdeps/i386/fpu/libm-test-ulps: Update.
8959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8960
2302d679
RV
89612014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8962
8963 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8964 alphasort and versionsort.
8965
32999d63
AZ
89662014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8967
8968 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8969 macro.
8970 [copysignf]: Likewise.
8971
019324d0
SP
89722014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8973
8974 * crypt/md5-crypt.c: Fix formatting.
8975
34fff5c2
KS
89762014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8977
8978 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8979 (b64_from_24bit): New function.
8980
3d2badac
AZ
89812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8982
8983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8984 libc_hidden_builtin_def to ifunc.
8985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8986 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8987
f7bb179f 89882014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8989
8990 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8991 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8992
4134b50d
JM
89932014-05-21 Joseph Myers <joseph@codesourcery.com>
8994
bb7d0337
JM
8995 * nscd/Depend (linuxthreads): Remove.
8996 (nptl): Add.
8997 * resolv/Depend (linuxthreads): Remove.
8998 * rt/Depend (linuxthreads): Remove.
8999
4134b50d
JM
9000 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9001 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9002 $(common-objpfx)elf/.
9003 (link-libc-before-gnulib): Likewise.
9004 (elfobjdir): Remove variable.
9005 * Makefile (install): Use $(elf-objpfx) instead of
9006 $(common-objpfx)elf/.
9007 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9008 $(elfobjdir)/.
9009 (link-libc-deps): Likewise.
9010 ($(common-objpfx)libc.so): Likewise.
9011 ($(common-objpfx)linkobj/libc.so): Likewise.
9012 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9013 instead of $(common-objpfx)elf/.
9014 (symbolic-link-list): Likewise.
9015 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9016 [$(cross-compiling) = no]: Likewise.
9017 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9018 $(elfobjdir)/.
9019 (static-gnulib-arch): Likewise.
9020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9021 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9022 $(common-objpfx)elf/.
9023
3612eb8f
RH
90242014-05-21 Richard Henderson <rth@redhat.com>
9025
a6b3657b
RH
9026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9027 (SINGLE_THREAD_P): Use the correct width load. Fold
9028 into the ldr offset.
9029
3612eb8f
RH
9030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9031 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9032
175cef41
JM
90332014-05-20 Joseph Myers <joseph@codesourcery.com>
9034
9035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9036 (libgcc_s_resume): Use __attribute_used__.
9037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9038 Likewise.
9039
e13bccd3
AZ
90402014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9041
9042 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9043 optimization when used with float constants.
9044
7c112a38
AZ
9045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9046
ae75a883
AJ
90472014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9048
9049 [BZ #16915]
9050 * locale/nl_langinfo_l.c: Make direct reference to every
9051 _nl_current_CATEGORY symbol.
9052 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9053 (tests-static): Add tst-langinfo-static.
9054 (tests-special): Add tst-langinfo-static.out.
9055 ($(objpfx)tst-langinfo.out): Redirect output.
9056 ($(objpfx)tst-langinfo-static.out): New.
9057 * localedata/tst-langinfo.sh: Send output to stdout.
9058 * localedata/tst-langinfo-static.c: New file.
9059
4406c41c
AJ
9060 [BZ #16965]
9061 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9062 when the shift amount is modulo the limb size.
9063
4c0a1e63
RH
90642014-05-20 Richard Henderson <rth@redhat.com>
9065
de9d8f20
RH
9066 [BZ #16967]
9067 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9068 Change type of sa_flags from unsigned int to int.
9069
4c0a1e63
RH
9070 [BZ #16966]
9071 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9072
9073 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9074
a60339aa
WN
90752014-05-20 Will Newton <will.newton@linaro.org>
9076
9077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9078 Test the return value of the system call in the nocancel case.
9079
7d05a816
YR
90802014-05-20 Will Newton <will.newton@linaro.org>
9081 Yvan Roux <yvan.roux@linaro.org>
9082
9083 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9084 #include of asm/ptrace.h.
9085 (PTRACE_GET_THREAD_AREA): Remove #undef.
9086 (PTRACE_GETHBPREGS): Likewise.
9087 (PTRACE_SETHBPREGS): Likewise.
9088 (struct user_regs_struct): New structure.
9089 (struct user_fpsimd_struct): New structure.
9090 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9091 #include of asm/ptrace.h and second #include of sys/user.h.
9092 (PTRACE_GET_THREAD_AREA): Remove #undef.
9093 (PTRACE_GETHBPREGS): Likewise.
9094 (PTRACE_SETHBPREGS): Likewise.
9095 (ELF_NGREG): Use new struct user_regs_struct.
9096 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9097
af121e37
AZ
90982014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9099
9100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9102
834caf06
JM
91032014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9104
9105 [BZ #16958]
9106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9107 membar to avoid block loads/stores to overlap previous stores.
9108
e184a918
RH
91092014-05-17 Richard Henderson <rth@redhat.com>
9110
9111 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9112 Create the __##syscall_name##_nocancel entry point.
9113 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9114 Remove; let the sysdep-cancel.h code create it.
9115
f56c7a6a
DM
91162014-05-17 David S. Miller <davem@davemloft.net>
9117
9118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9119 Protect with __USE_GNU.
9120 (TIOCSET_TEMPT): Likewise.
9121 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9123 these are already provided in bits/ioctl-types.h
9124
f75616b2
RM
91252014-05-16 Roland McGrath <roland@hack.frob.com>
9126
3edeca86
RM
9127 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9128 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9129
f75616b2
RM
9130 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9131 Use wait4 regardless of [__NR_waitpid].
9132
deb0f7f6
MR
91332014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9134
9135 PR libgcc/60166
9136 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9137 (_FP_NANSIGN_Q): Set the quiet bit.
9138
79520f4b
JM
91392014-05-16 Joseph Myers <joseph@codesourcery.com>
9140
9141 * benchtests/Makefile
9142 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9143 not $(common-objpfx)math/libm.so.
9144 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9145 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9146 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9147 $(common-objpfx)dlfcn/libdl.so.
9148 ($(objpfx)tst-audit8): Depend on $(libm), not
9149 $(common-objpfx)math/libm.so.
9150 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9151 not $(common-objpfx)dlfcn/libdl.so.
9152 * math/Makefile
9153 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9154 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9155 [$(build-shared) = yes].
9156 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9157 $(common-objpfx)nptl/libpthread.so.
9158 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9159 $(common-objpfx)math/libm.so$(libm.so-version) or
9160 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9161 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9162 $(common-objpfx)dlfcn/libdl.so.
9163 * setjmp/Makefile (link-libm): Remove variable.
9164 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9165 * stdio-common/Makefile (link-libm): Remove variable.
9166 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9167 * stdlib/Makefile (link-libm): Remove variable.
9168 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9169 ($(objpfx)tst-strtod-round): Likewise.
9170 ($(objpfx)tst-tininess): Likewise.
9171 ($(objpfx)tst-strtod-underflow): Likewise.
9172 ($(objpfx)tst-strtod6): Likewise.
9173 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9174 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9175 $(common-objpfx)dlfcn/libdl.so.
9176
026b0fe4
AZ
91772014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9178
9179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9180 BSD terminal modes definitions.
9181
def4bcb2
RM
91822014-05-16 Roland McGrath <roland@hack.frob.com>
9183
fe39b021
RM
9184 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9185 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9186
1d1fc46e 9187 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9188 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9189 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9190 Don't do #include_next.
9191 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9192 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9193 Don't do #include_next.
9194 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9195 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9196 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9197 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9198
c72399fb
AM
91992014-05-16 Allan McRae <allan@archlinux.org>
9200
d51d659d
AM
9201 * po/sv.po: Update Swedish translation from translation project.
9202
c72399fb
AM
9203 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9204 in sed expression.
9205
d0583c40
AJ
92062014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9207
9208 [BZ #16917]
9209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9210 errno if the TIOCGPTN ioctl fails with an error different than
9211 EINVAL.
9212 * login/tst-ptsname.c: New file.
9213 * login/Makefile (tests): Add tst-ptsname.
9214
d16e6ec7
AJ
9215 [BZ #16943]
9216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9217 and prlimit64.
9218
cf26a0cb
SP
92192014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9220
9221 [BZ #16849]
9222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9223 herrno to return EAI_AGAIN.
9224
5675da1e
RM
92252014-05-14 Roland McGrath <roland@hack.frob.com>
9226
a5d87b3d
RM
9227 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9228 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9229 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9232 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9236 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9244 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9246 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9248 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9250 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9256 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9258 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9260 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9262 Moved ...
9263 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9275 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9277 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9279 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9283 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9285 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9287 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9289 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9291 Moved ...
9292 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9294 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9298 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9300 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9304 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9306 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9308 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9310 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9312 Moved ...
9313 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9315 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9316
039890a6
RM
9317 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9318 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9319 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9320 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9321 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9323 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9325 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9327 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9329 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9331 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9333 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9335 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9337 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9339 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9341 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9343 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9348
65c89320
RM
9349 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9350 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9351
348f8e8c
RM
9352 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9353 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9354 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9356 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9358 Moved ...
9359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9361 Moved ...
9362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9364 Moved ...
9365 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9367 Moved ...
9368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9369 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9370 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9372 Moved ...
9373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9375 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9379 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9381 Moved ...
9382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9384 Moved ...
9385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9386 ... here.
9387 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9390 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9392 Moved ...
9393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9394 ... here.
9395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9396 Moved ...
9397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9399 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9401 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9406 Moved ...
9407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9409 Moved ...
9410 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9412 Moved ...
9413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9414 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9415 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9417 Moved ...
9418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9420 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9423 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9424 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9426 Moved ...
9427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9429 Moved ...
9430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9431 ... here.
9432 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9433 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9435 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9437 Moved ...
9438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9439 ... here.
9440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9441 Moved ...
9442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9444 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9445 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9446 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9450 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9452 Moved ...
9453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9455 Moved ...
9456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9458 Moved ...
9459 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9460 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9461 Moved ...
9462 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9464 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9466 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9468 Moved ...
9469 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9470 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9471 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9474 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9475 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9477 Moved ...
9478 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9480 Moved ...
9481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9482 ... here.
9483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9484 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9486 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9488 Moved ...
9489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9490 ... here.
9491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9492 Moved ...
9493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9495 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9499 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9502 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9503 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9504
5085af05
RM
9505 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9506 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9507
708f0813
RM
9508 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9509 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9510
c96067bc
RM
9511 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9512 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9515 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9517 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9519 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9525 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9527 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9529 Moved ...
9530 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9534 Moved ...
9535 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9537 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9539 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9543 Moved ...
9544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9546 Moved ...
9547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9553 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9555 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9557 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9559 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9561 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9564
ec136444
RM
9565 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9566 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9567 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9568 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9569 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9570
2fbdf533
RM
9571 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9572 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9574 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9575 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9576 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9577 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9578 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9579 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9580 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9581
4c68138b
RM
9582 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9584
4eaae765
RM
9585 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9586 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9587 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9588 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9590 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9591 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9592 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9594 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9596 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9598 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9600 Update #include.
9601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9602 Likewise.
9603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9604 Likewise.
9605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9606 Likewise.
9607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9608 Likewise.
9609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9610 Likewise.
9611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9612 Likewise.
9613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9614 Likewise.
9615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9616 Likewise.
9617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9618 Likewise.
4ef6befa
RM
9619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9634
941d7dfd
RM
9635 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9636 that was previously under [RESET_PID].
9637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9638 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9639 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9640
1b731c35
RM
9641 * sysdeps/i386/nptl/Implies: New file.
9642 * sysdeps/x86_64/nptl/Implies: New file.
9643 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9644 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9645 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9646 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9647
e2787137
RM
9648 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9649 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9650 (__libc_vfork): New strong alias.
9651 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9652 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9653
9654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9655 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9656 (__libc_vfork): New strong alias.
9657 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9658 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9659
5675da1e
RM
9660 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9661 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9662 (__libc_vfork): New strong alias.
9663 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9664 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9665 * nptl/pt-vfork.c: New file.
9666 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9667 (libpthread: GLIBC_2.20): New version set (empty).
9668
4f02e2b8
WN
96692014-05-14 Will Newton <will.newton@linaro.org>
9670
9671 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9672 rather than #if.
9673
0bf061d3
JM
96742014-05-14 Joseph Myers <joseph@codesourcery.com>
9675
1a84c3d6
JM
9676 [BZ #16564]
9677 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9678 arguments with exponent 65 or above.
9679 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9680 arguments 0x1p113L or above.
9681 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9682 to arguments 0x1p107L or above.
9683 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9684 positive arguments with exponent 65 or above.
9685 * math/auto-libm-test-in: Add more tests of log1p.
9686 * math/auto-libm-test-out: Regenerated.
9687
01dbacd2
JM
9688 [BZ #16928]
9689 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9690 non-finite arguments is +0.
9691 * math/s_cacosf.c (__cacosf): Likewise.
9692 * math/s_cacosl.c (__cacosl): Likewise.
9693 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9694 * sysdeps/i386/fpu/libm-test-ulps: Update.
9695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9696
913d03c8
JM
9697 [BZ #16927]
9698 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9699 value.
9700 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9701 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9702 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9703 for explicit high bit of mantissa when testing for argument equal
9704 to 1.
9705 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9706 * sysdeps/i386/fpu/libm-test-ulps: Update.
9707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9708
0bf061d3
JM
9709 [BZ #16516]
9710 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9711 (__erf): Scale by 16 instead of 8 in potentially underflowing
9712 case. Ensure exception if result actually underflows.
9713 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9714 (__erff): Scale by 16 instead of 8 in potentially underflowing
9715 case. Ensure exception if result actually underflows.
9716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9717 (efx8): Remove variable.
9718 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9719 case. Ensure exception if result actually underflows.
9720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9721 (efx8): Remove variable.
9722 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9723 case. Ensure exception if result actually underflows.
9724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9725 (efx8): Remove variable.
9726 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9727 case. Ensure exception if result actually underflows.
9728 * math/auto-libm-test-in: Add more tests of erf.
9729 * math/auto-libm-test-out: Regenerated.
9730
73ba67cb
AS
97312014-05-14 Andreas Schwab <schwab@suse.de>
9732
3d8c8bff
AS
9733 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9734 Remove code conditionalized on USE___THREAD.
9735
73ba67cb
AS
9736 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9737 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9738 not definedness.
9739
5c521ecd
JM
97402014-05-14 Joseph Myers <joseph@codesourcery.com>
9741
5e7698c6
JM
9742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9743 Define unconditionally.
9744 (__ASSUME_O_CLOEXEC): Likewise.
9745 (__ASSUME_SOCK_CLOEXEC): Likewise.
9746 (__ASSUME_IN_NONBLOCK): Likewise.
9747 (__ASSUME_PIPE2): Likewise.
9748 (__ASSUME_EVENTFD2): Likewise.
9749 (__ASSUME_SIGNALFD4): Likewise.
9750 (__ASSUME_DUP3): Likewise.
9751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9752 (__ASSUME_DUP3): Do not define.
9753 (__ASSUME_EVENTFD2): Likewise.
9754 (__ASSUME_IN_NONBLOCK): Likewise.
9755 (__ASSUME_O_CLOEXEC): Likewise.
9756 (__ASSUME_PIPE2): Likewise.
9757 (__ASSUME_SIGNALFD4): Likewise.
9758 (__ASSUME_SOCK_CLOEXEC): Likewise.
9759 (__ASSUME_UTIMES): Undefine.
9760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9761 (__ASSUME_UTIMES): Do not define.
9762 (__ASSUME_O_CLOEXEC): Likewise.
9763 (__ASSUME_SOCK_CLOEXEC): Likewise.
9764 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9765 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9766 0x020621].
9767 (__ASSUME_PIPE2): Likewise.
9768 (__ASSUME_EVENTFD2): Likewise.
9769 (__ASSUME_SIGNALFD4): Likewise.
9770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9771 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9772 Do not define.
9773 (__ASSUME_EVENTFD2): Likewise.
9774 (__ASSUME_SIGNALFD4): Likewise.
9775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9776 (__ASSUME_32BITUIDS): Likewise.
9777 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9778 (__ASSUME_IPC64): Likewise.
9779 (__ASSUME_ST_INO_64_BIT): Likewise.
9780 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9781 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9783 (__ASSUME_UTIMES): Do not define.
9784 (__ASSUME_PSELECT): Likewise.
9785 (__ASSUME_PPOLL): Likewise.
9786 (__ASSUME_O_CLOEXEC): Likewise.
9787 (__ASSUME_SOCK_CLOEXEC): Likewise.
9788 (__ASSUME_IN_NONBLOCK): Likewise.
9789 (__ASSUME_PIPE2): Likewise.
9790 (__ASSUME_EVENTFD2): Likewise.
9791 (__ASSUME_SIGNALFD4): Likewise.
9792 (__ASSUME_DUP3): Likewise.
9793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9794 (__ASSUME_UTIMES): Likewise.
9795 (__ASSUME_O_CLOEXEC): Likewise.
9796 (__ASSUME_SOCK_CLOEXEC): Likewise.
9797 (__ASSUME_IN_NONBLOCK): Likewise.
9798 (__ASSUME_PIPE2): Likewise.
9799 (__ASSUME_EVENTFD2): Likewise.
9800 (__ASSUME_SIGNALFD4): Likewise.
9801 (__ASSUME_DUP3): Likewise.
9802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9803 (__ASSUME_UTIMES): Likewise.
9804 (__ASSUME_O_CLOEXEC): Likewise.
9805 (__ASSUME_SOCK_CLOEXEC): Likewise.
9806 (__ASSUME_IN_NONBLOCK): Likewise.
9807 (__ASSUME_PIPE2): Likewise.
9808 (__ASSUME_EVENTFD2): Likewise.
9809 (__ASSUME_SIGNALFD4): Likewise.
9810 (__ASSUME_DUP3): Likewise.
9811 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9812 Likewise.
9813 (__ASSUME_UTIMES): Likewise.
9814 (__ASSUME_EVENTFD2): Likewise.
9815 (__ASSUME_SIGNALFD4): Likewise.
9816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9817 (__ASSUME_O_CLOEXEC): Likewise.
9818 (__ASSUME_SOCK_CLOEXEC): Likewise.
9819 (__ASSUME_IN_NONBLOCK): Likewise.
9820 (__ASSUME_PIPE2): Likewise.
9821 (__ASSUME_EVENTFD2): Likewise.
9822 (__ASSUME_SIGNALFD4): Likewise.
9823 (__ASSUME_DUP3): Likewise.
9824 (__ASSUME_UTIMES): Undefine.
9825
5c521ecd
JM
9826 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9827 feclearexcept. Remove symbol versioning code.
9828 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9829 symbol versioning code.
9830 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9831 symbol versioning code.
9832 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9833 feupdateenv. Remove symbol versioning code.
9834 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9835 fegetexceptflag. Remove symbol versioning code.
9836 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9837 fesetexceptflag. Remove symbol versioning code.
9838 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9839 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9840 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9841 (__posix_fadvise64_l32): Remove prototype.
9842 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9843 code.
9844
5da9dfad
RM
98452014-05-13 Roland McGrath <roland@hack.frob.com>
9846
9847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9848 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9849 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9850 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9851
893b4f37
SK
98522014-05-13 Sami Kerola <kerolasa@iki.fi>
9853
9854 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9855 current working directory
9856
e0db6517
RM
98572014-05-13 Roland McGrath <roland@hack.frob.com>
9858
58aa195d
RM
9859 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9860 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9861 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9862 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9863 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9864 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9865 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9892 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9893 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9894 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9895 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9896 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9897 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9898 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9899 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9900 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9901
8c6d01f0
RM
9902 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9903 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9904
9905 * sysdeps/unix/sysv/linux/arm/Makefile
9906 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9907 Add rt-aeabi_unwind_cpp_pr1.
9908 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9909 Add nptl-aeabi_unwind_cpp_pr1.
9910 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9911 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9912 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9913 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9914 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9915 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9916
9917 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9918 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9919 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9920 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9921
bba6da4e
RM
9922 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9923 Deconditionalize the code that was previously under [RESET_PID].
9924 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9925
e0db6517
RM
9926 * sysdeps/generic/exit-thread.h: New file.
9927 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9928 * include/unistd.h (__exit_thread): Remove declaration.
9929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9930 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9931 * csu/libc-start.c: Include <exit-thread.h>.
9932 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9933 * nptl/pthread_create.c: Include <exit-thread.h>.
9934 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9935 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9936 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9937 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9938 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9939 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9940 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9941 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9942 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9943 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9944 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9945 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9946 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9947 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9948 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9949 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9950 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9951
01eb16fd
AS
99522014-05-13 Andreas Schwab <schwab@suse.de>
9953
9954 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9955
637461d9
JM
99562014-05-12 Joseph Myers <joseph@codesourcery.com>
9957
9958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9959 (__ASSUME_UTIMES): Do not condition on kernel version.
9960 (__ASSUME_PSELECT): Define unconditionally.
9961 (__ASSUME_PPOLL): Likewise.
9962 (__ASSUME_ATFCTS): Likewise.
9963 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9964 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9965 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9966 (__ASSUME_UTIMENSAT): Define unconditionally.
9967 (__ASSUME_PRIVATE_FUTEX): Likewise.
9968 (__ASSUME_FALLOCATE): Likewise.
9969 (__ASSUME_O_CLOEXEC): Likewise.
9970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9971 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9972 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9973 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9974 (__ASSUME_IN_NONBLOCK): Likewise.
9975 (__ASSUME_PIPE2): Likewise.
9976 (__ASSUME_EVENTFD2): Likewise.
9977 (__ASSUME_SIGNALFD4): Likewise.
9978 (__ASSUME_DUP3): Likewise.
9979 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9980 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9981 (__ASSUME_AT_RANDOM): Likewise.
9982 (__ASSUME_PREADV): Likewise.
9983 (__ASSUME_PWRITEV): Likewise.
9984 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9985 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9986 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9988 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9990 (__ASSUME_O_CLOEXEC): Define unconditionally.
9991 (__ASSUME_PSELECT): Do not undefine conditionally.
9992 (__ASSUME_PPOLL): Likewise.
9993 (__ASSUME_ATFCTS): Likewise.
9994 (__ASSUME_SET_ROBUST_LIST): Likewise.
9995 (__ASSUME_UTIMENSAT): Likewise.
9996 (__ASSUME_FDATASYNC): Define unconditionally.
9997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9998 (__ASSUME_SIGFRAME_V2): Likewise.
9999 )__ASSUME_EVENTFD2): Likewise.
10000 (__ASSUME_SIGNALFD4): Likewise.
10001 (__ASSUME_PSELECT): Do not undefine conditionally.
10002 (__ASSUME_PPOLL): Likewise.
10003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10004 (__ASSUME_PSELECT): Define unconditionally.
10005 (__ASSUME_PPOLL): Likewise.
10006 (__ASSUME_O_CLOEXEC): Likewise.
10007 (__ASSUME_SOCK_CLOEXEC): Likewise.
10008 (__ASSUME_IN_NONBLOCK): Likewise.
10009 (__ASSUME_PIPE2): Likewise.
10010 (__ASSUME_EVENTFD2): Likewise.
10011 (__ASSUME_SIGNALFD4): Likewise.
10012 (__ASSUME_DUP3): Likewise.
10013 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10014 (__ASSUME_O_CLOEXEC): Likewise.
10015 (__ASSUME_SOCK_CLOEXEC): Likewise.
10016 (__ASSUME_IN_NONBLOCK): Likewise.
10017 (__ASSUME_PIPE2): Likewise.
10018 (__ASSUME_EVENTFD2): Likewise.
10019 (__ASSUME_SIGNALFD4): Likewise.
10020 (__ASSUME_DUP3): Likewise.
10021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10022 (__ASSUME_EVENTFD2): Likewise.
10023 (__ASSUME_SIGNALFD4): Likewise.
10024 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10025
315eb1d8
AS
100262014-05-12 Andreas Schwab <schwab@suse.de>
10027
10028 [BZ #16932]
10029 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10030 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10031 than maximum RPC packet size.
10032 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10033 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10034 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10035 (_nss_nis_getservbyport_r): Likewise.
10036
91df99f7
WN
100372014-05-12 Will Newton <will.newton@linaro.org>
10038
10039 * malloc/Makefile (tests): Add tst-mallopt.
10040 * malloc/tst-mallopt.c: New file.
10041
0a982a29
RM
100422014-05-09 Roland McGrath <roland@hack.frob.com>
10043
10044 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10045 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10046
0ded08a5
AZ
100472014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10048
10049 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10050 (tst-tlsmod6.so): Likewise.
10051
55d4d550
RM
100522014-05-09 Roland McGrath <roland@hack.frob.com>
10053
10054 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10055
77d08aca
JM
100562014-05-09 Joseph Myers <joseph@codesourcery.com>
10057
10058 [BZ #16064]
10059 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10060 and <dl-procinfo.h>.
10061 (__fegetenv): Save SSE state in envp->__eip if supported.
10062 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10063 envp->__eip if supported.
10064 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10065 and <dl-procinfo.h>.
10066 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10067 __data_offset and __data_selector in environment to 0. Set SSE
10068 state if supported.
10069 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10070 test-fenv-sse.
10071 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10072 -mfpmath=sse.
10073 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10074
28162f4d
WN
100752014-05-09 Will Newton <will.newton@linaro.org>
10076
10077 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10078 and libc_relro_required for ARM.
10079 * sysdeps/arm/preconfigure: Regenerate.
10080
5a414ff7
DV
100812014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10082 Stefan Liebler <stli@linux.vnet.ibm.com>
10083
10084 * config.make.in (enable-lock-elision): New Makefile variable.
10085 * configure.ac: Likewise.
10086 * configure: Regenerate.
10087 * sysdeps/s390/configure.ac:
10088 Add check for gcc transactions support.
10089 * sysdeps/s390/configure: Regenerate.
10090 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10091 Build elision files if enabled.
10092 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10093 Add lock elision support for s390.
10094 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10095 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10096 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10097 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10098 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10099 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10101 Likewise.
10102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10103 Likewise.
10104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10105 Likewise.
10106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10107 Likewise.
10108 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10109 (__lll_timedlock_elision, __lll_lock_elision)
10110 (__lll_unlock_elision, __lll_trylock_elision)
10111 (lll_timedlock_elision, lll_lock_elision)
10112 (lll_unlock_elision, lll_trylock_elision): Add.
10113 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10114 (pthread_mutex_t): Add lock elision support for s390.
10115
1a2f40e5
W
101162014-05-14 Wilco <wdijkstr@arm.com>
10117
10118 * sysdeps/arm/fclrexcpt.c: Cleanup.
10119 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10120 * sysdeps/arm/feenablxcpt.c: Cleanup.
10121 * sysdeps/arm/fegetenv.c: Cleanup.
10122 * sysdeps/arm/fegetexcept.c: Cleanup.
10123 * sysdeps/arm/fegetround.c: Cleanup.
10124 * sysdeps/arm/feholdexcpt.c: Cleanup.
10125 * sysdeps/arm/fesetenv.c: Cleanup.
10126 * sysdeps/arm/fesetround.c: Cleanup.
10127 * sysdeps/arm/feupdateenv.c: Cleanup.
10128 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10129 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10130 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10131 * sysdeps/arm/ftestexcept.c: Cleanup.
10132 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10133 * sysdeps/arm/setfpucw.c: Cleanup.
10134
f63c86fe
WN
101352014-05-09 Will Newton <will.newton@linaro.org>
10136
10137 * sysdeps/arm/armv7/strcmp.S: New file.
10138 * NEWS: Mention addition of ARMv7 optimized strcmp.
10139
7a1a51b5
RM
101402014-05-08 Roland McGrath <roland@hack.frob.com>
10141
95afbbe5
RM
10142 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10143 look for %.ac rather than %.in.
10144
10145 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10146 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10147 * sysdeps/mach/hurd/configure: Regenerated.
10148 * sysdeps/unix/sysv/linux/configure: Regenerated.
10149
7a1a51b5
RM
10150 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10151
5057ad3b
SE
101522014-05-07 Steve Ellcey <sellcey@mips.com>
10153
10154 [BZ# 16922]
10155 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10156 (LONG_SUB): Ditto.
10157 (PTR_SUB): Ditto.
10158
8dc97517
AS
101592014-05-07 Andreas Schwab <schwab@suse.de>
10160
10161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10162 when skipping over non-matching result from nscd.
10163
ce0c5b8f
OB
101642014-05-07 Ondřej Bílka <neleai@seznam.cz>
10165
10166 [BZ #16876]
10167 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10168
a1189263
OB
10169 [BZ #16877]
10170 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10171 nscd security class.
ce0c5b8f 10172
0f58d252
RM
101732014-05-06 Roland McGrath <roland@hack.frob.com>
10174
10175 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10176 * sysdeps/arm/unwind.h: ... here.
10177
83df9ad0
AJ
101782014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10179
ce0c5b8f
OB
10180 [BZ# 16916]
10181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10182 Define.
83df9ad0 10183
f360f94a
VR
101842014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10185
10186 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10187 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10188 multiarch strncpy for PPC64.
10189 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10192 multiarch optimizations.
10193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10194 (__libc_ifunc_impl_list): Likewise.
10195 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10197 multiarch stpncpy for PPC64.
10198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10199 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10200
978a41c3
AS
102012014-05-06 Andreas Schwab <schwab@suse.de>
10202
10203 [BZ #16912]
10204 * gmon/mcount.c (_MCOUNT_DECL): Use
10205 atomic_compare_and_exchange_bool_acq instead of
10206 catomic_compare_and_exchange_bool_acq.
10207
eb1ed03d
RM
102082014-05-05 Roland McGrath <roland@hack.frob.com>
10209
fe658845
RM
10210 * elf/Makefile (others, install-bin): Remove pldd.
10211 (pldd-modules): Variable removed.
10212 ($(objpfx)pldd): Target removed.
10213 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10214 (others, install-bin): Append pldd here.
10215 ($(objpfx)pldd): New target.
10216
eb1ed03d
RM
10217 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10218 to 0, so the first #if test emitted later doesn't see it undefined.
10219 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10220 * sysdeps/gnu/errlist.c: Regenerated.
10221
19c4bec0
AZ
102222014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10223
10224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10225 [libc_hidden_builtin_def]: Define to empty value.
10226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10227 [libc_hidden_builtin_def]: Likewise.
10228 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10229 [libc_hidden_builtin_def]: Likewise.
10230 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10231 [libc_hidden_builtin_def]: Likewise.
10232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10233 __redirect_memcpy and define ifunc as default hidden symbol.
10234 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10235 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10236
7776e669
AC
102372014-05-04 Adam Conrad <adconrad@0c3.net>
10238
10239 * locale/iso-4217.def: Reintroduce XDR currency.
10240
d69aeb12
AM
102412014-05-04 Allan McRae <allan@archlinux.org>
10242
10243 * po/eo.po: Update Esperanto translation from translation project.
10244
8f1df5cf
CD
102452014-05-02 Carlos O'Donell <carlos@redhat.com>
10246
10247 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10248 and FEATURE_INDEX_MAX to 1.
10249 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10250
13e402e7
SE
102512014-05-01 Steve Ellcey <sellcey@mips.com>
10252
10253 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10254 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10255 * iconvdata/big5.c (ONE_DIRECTION): Define.
10256 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10257 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10258 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10259 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10260 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10261 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10262 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10263 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10264 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10265 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10266 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10267 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10268 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10269 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10270 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10271 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10272 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10273 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10274 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10275 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10276 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10277 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10278 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10279 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10280 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10281 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10282 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10283 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10284 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10285 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10286 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10287 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10288 * iconvdata/johab.c (ONE_DIRECTION): Define.
10289 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10290 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10291 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10292 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10293 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10294 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10295 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10296 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10297 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10298 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10299
c727f032
RM
103002014-05-01 Roland McGrath <roland@hack.frob.com>
10301
8f2f08d0
RM
10302 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10303 (_IO_JUMPS_OFFSET): Define to 0.
10304
c727f032
RM
10305 * nptl/sysdeps/pthread/bits/libc-lock.h
10306 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10307 (__libc_lock_define_initialized_recursive): Always define using
10308 initializer. Modern compilers treat uninitialized (implicit zero) and
10309 explicit zero initializers the same (i.e. put the datum in bss).
10310
a849e800
AS
103112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10312
10313 * nscd/nscd-client.h: Include <string.h>.
10314
5331255b
DM
103152014-05-01 David S. Miller <davem@davemloft.net>
10316
10317 [BZ #16885]
10318 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10319 multiple zero bytes exist at the end of a string.
10320 Reported by Aurelien Jarno <aurelien@aurel32.net>
10321
10322 * string/test-strcmp.c (check): Add explicit test for situations where
10323 there are multiple zero bytes after the first.
10324
4fdfe821
AS
103252014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10326
10327 [BZ #16890]
10328 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10329 when compiling wprintf.
10330 * stdio-common/tstdiomisc.c (t3): New function.
10331 (main): Call it.
10332
0cdddc25
SE
103332014-05-01 Steve Ellcey <sellcey@mips.com>
10334
10335 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10336 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10337 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10338 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10339
6426d77e
SE
103402014-05-01 Steve Ellcey <sellcey@mips.com>
10341
10342 * stdlib/longlong.h: Updated from GCC.
10343
6d96f5e4
WN
103442014-05-01 Will Newton <will.newton@linaro.org>
10345 Bernard Ogden <bernie.ogden@linaro.org>
10346
7470db0c
WN
10347 * NEWS: Update fixed bug list.
10348
6d96f5e4
WN
10349 [BZ #15119]
10350 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10351
211d653c
DM
103522014-04-30 David S. Miller <davem@davemloft.net>
10353
4fa262fa
DM
10354 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10355 (libc_feholdexcept_setround_sparc_ctx): New function.
10356 (libc_fesetenv_sparc_ctx): Likewise.
10357 (libc_feupdateenv_sparc_ctx): Likewise.
10358 (libc_feholdsetround_sparc_ctx): Likewise.
10359 (libc_feholdexcept_setround_ctx): Define.
10360 (libc_feholdexcept_setroundf_ctx): Likewise.
10361 (libc_feholdexcept_setroundl_ctx): Likewise.
10362 (libc_fesetenv_ctx): Likewise.
10363 (libc_fesetenvf_ctx): Likewise.
10364 (libc_fesetenvl_ctx): Likewise.
10365 (libc_feupdateenv_ctx): Likewise.
10366 (libc_feupdateenvf_ctx): Likewise.
10367 (libc_feupdateenvl_ctx): Likewise.
10368 (libc_feresetround_ctx): Likewise.
10369 (libc_feresetroundf_ctx): Likewise.
10370 (libc_feresetroundl_ctx): Likewise.
10371 (libc_feholdsetround_ctx): Likewise.
10372 (libc_feholdsetroundf_ctx): Likewise.
10373 (libc_feholdsetroundl_ctx): Likewise.
10374
1d3d93ef
DM
10375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10376 with __USE_GNU instead of XOPEN cpp guards.
10377
8aa583c3
DM
10378 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10379 0.
10380
211d653c
DM
10381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10382 with XOPEN cpp guards.
10383
60c8f1f6
JB
103842014-04-30 Julian Brown <julian@codesourcery.com>
10385
10386 [BZ #16888]
10387 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10388 handling.
10389
9a461d46
JM
103902014-04-30 Joseph Myers <joseph@codesourcery.com>
10391
d0f5b3f8
JM
10392 [BZ #9894]
10393 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10394 Change to 2.6.32.
10395 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10396 * sysdeps/unix/sysv/linux/configure: Regenerated.
10397 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10398 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10399 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10400 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10401 * README: Update reference to required Linux kernel version.
10402 * manual/install.texi (Linux): Update reference to required Linux
10403 kernel headers version.
10404 * INSTALL: Regenerated.
10405
9a461d46
JM
10406 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10407 header inclusion.
10408 [POSIX] (limits.h): Likewise.
10409 [POSIX] (math.h): Likewise.
10410 [POSIX] (sys/wait.h): Likewise.
10411 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10412 function.
10413 [POSIX] (stddef.h): Do not allow header inclusion.
10414
1775babf
AZ
104152014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10416
57f41c40 10417 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10418
8f630cca
YY
104192014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10420
10421 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10422 Return immediately after lll_futex_wake.
10423
1cdeb237
SP
104242014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10425
bc8f194c
SP
10426 [BZ #16791]
10427 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10428 structure.
10429 (datahead_init_pos): Call datahead_init_common early.
10430 (datahead_init_neg): Likewise.
10431
1cdeb237
SP
10432 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10433 datahead_init_neg): New functions.
10434 * nscd/aicache.c (addhstaiX): Use them.
10435 * nscd/grpcache.c (cache_addgr): Likewise.
10436 * nscd/hstcache.c (cache_addhst): Likewise.
10437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10438 * nscd/netgroupcache.c (do_notfound): Likewise.
10439 (addgetnetgrentX): Likewise.
10440 (addinnetgrX): Likewise.
10441 * nscd/pwdcache.c (cache_addpw): Likewise.
10442 * nscd/servicescache.c (cache_addserv): Likewise.
10443
16b293a7
SP
104442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10445 Atsushi Onoe <atsushi@onoe.org>
10446
10447 [BZ #14308]
10448 [BZ #12994]
10449 [BZ #13651]
10450 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10451 one response is valid.
10452 * resolv/res_send.c (send_dg): Check for validity of other
10453 response if the current response is a referral.
10454
a28a9b94
SE
104552014-04-29 Steve Ellcey <sellcey@mips.com>
10456
10457 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10458
2ca180e9
SL
104592014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10460
10461 [BZ #16823]
10462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10463 Always divide by positive zero when computing -Inf result.
10464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10465 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10466
18f2945a
AZ
104672014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10468
10469 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10470 FPSCR if value do not change.
10471 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10472 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10473 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10474 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10476 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10477 function.
10478
5abebba4
CD
104792014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10480
10481 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10482 * sysdeps/unix/sysv/linux/hppa: Move directory from
10483 ports/systeps/unix/sysv/linux/hppa.
10484 * README: Update listing for hppa-*-linux-gnu.
10485
f7ed60c2
OB
104862014-04-28 Ondřej Bílka <neleai@seznam.cz>
10487
fff763a5
OB
10488 [BZ #16754]
10489 * manual/stdio.texi (Hook functions): Fix types of stream hook
10490 functions.
f7ed60c2
OB
10491 [BZ #16854]
10492 * socket/sys/socket.h: Fix typo in comment.
10493
df639d73
WD
104942014-04-28 Wilco <wdijkstr@arm.com>
10495
f7ed60c2 10496 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10497 * sysdeps/arm/math_private.h: New file.
10498 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10499
48332d82
L
105002014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10501
10502 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10503 with __int128_t.
10504 (La_x86_64_retval): Likewise.
10505
e5e0d9a4
IB
105062014-04-24 Ian Bolton <ian.bolton@arm.com>
10507
10508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10509 fpsr if value didn't change.
10510 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10511 to fpcr if value didn't change.
10512 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10513 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10514 fpsr or fpcr if value didn't change.
10515 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10516 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10517 fpcr if value didn't change.
10518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10519 to fpsr if value didn't change.
10520
bacc75f7
SP
105212014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10522
10523 * nptl/tst-sem3.c: Use test-skeleton.c
10524 (main): Rename to do_test. Use return instead of
10525 exit.
10526 * nptl/tst-sem4.c: Use test-skeleton.c
10527 (main): Rename to do_test.
10528
a059d359
DM
105292014-04-22 David S. Miller <davem@davemloft.net>
10530
10531 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10532 (struct sigaction): New struct member __glibc_reserved0, change
10533 type of sa_flags to int.
10534
ea6c92f3
YZ
105352014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10536
10537 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10538 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10539
766c4a36
SP
105402014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10541
10542 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10543 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10544
140cc7ab
VK
105452014-04-22 Will Newton <will.newton@linaro.org>
10546 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10547
10548 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10549 (__longjmp): Add longjmp and longjmp_target SystemTap
10550 probes.
10551 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10552 (__sigsetjmp): Add setjmp SystemTap probe.
10553
c54e5cf7
CD
105542014-04-17 Carlos O'Donell <carlos@redhat.com>
10555
10556 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10557 match manual order.
10558
75ffb047
AZ
105592014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10560
10561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10562
2cd925f7
AZ
10563 * sysdeps/powerpc/fpu/fenv_private.h
10564 (libc_feholdexcept_setroundl_ctx): Define to
10565 libc_feholdexcept_setround_ppc_ctx.
10566 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10567 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10568 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10569 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10570
39e6cd8d
IB
105712014-04-17 Ian Bolton <ian.bolton@arm.com>
10572
10573 * sysdeps/aarch64/math-tests.h: New file.
10574
f9281df9
SY
105752014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10576
10577 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10578 New.
10579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10580 Check and set bit_AVX2_Usable.
10581 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10582 macro.
10583 (bit_AVX2): Likewise.
10584 (index_AVX2_Usable): Likewise.
10585 (CPUID_AVX2): Likewise.
10586 (HAS_AVX2): Likewise.
10587
37d35007
WN
105882014-04-17 Will Newton <will.newton@linaro.org>
10589
7c677662
WN
10590 * manual/setjmp.texi (System V contexts): Add note that
10591 calling setcontext on a context created by a call to a
10592 signal handler is undefined. Update text to note that
10593 setcontext from a signal handler is possible but not
10594 recommended.
10595
37d35007 10596 [BZ #16629]
e04a4e9d
WN
10597 * stdlib/tst-setcontext.c: Include signal.h.
10598 (main): Check that the signal stack before and
10599 after swapcontext is the same.
10600
37d35007
WN
10601 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10602 Re-implement to restore registers in user code and avoid
10603 rt_sigreturn system call.
10604
423a7160
W
106052014-04-17 Wilco <wdijkstr@arm.com>
10606
10607 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10608 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10609 * math/test-fenv.c: Skip exception trap tests on targets which only
10610 support non-stop mode.
10611
bc93ab29
IB
106122014-04-17 Ian Bolton <ian.bolton@arm.com>
10613 Wilco Dijkstra <wilco.dijkstra@arm.com>
10614
10615 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10616 (libc_feholdsetround_aarch64_ctx)
10617 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10618 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10619 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10620 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10621 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10622 (libc_feresetround_noexl_ctx): Define.
10623
95fc5fa3
RH
106242014-04-16 Richard Henderson <rth@redhat.com>
10625
ddb04724
RH
10626 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10627
d77c0899
RH
10628 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10629 unwind tables.
10630
a3df56fc
RH
10631 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10632 const from the non-libc, non-ldso copy.
10633
95fc5fa3
RH
10634 * sysdeps/alpha/libm-test-ulps: Regenerate.
10635
7e0b6763
IB
106362014-04-16 Ian Bolton <ian.bolton@arm.com>
10637 Wilco Dijkstra <wilco.dijkstra@arm.com>
10638
10639 * sysdeps/aarch64/fpu/math_private.h: New file.
10640
a9ea2e0c
MS
106412014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10642
10643 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10644
ea8ba7cd
IZ
106452014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10646
7e54fd04 10647 [BZ #16275]
ea8ba7cd
IZ
10648 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10649 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10651 Intel MPX bound registers before _dl_profile_fixup.
10652 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10653 registers after _dl_profile_fixup. Save and restore bound
10654 registers bnd0/bnd1 when calling _dl_call_pltexit.
10655 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10656 (LR_BND_OFFSET): Likewise.
10657 (LRV_BND0_OFFSET): Likewise.
10658 (LRV_BND1_OFFSET): Likewise.
10659
9f2a4fbc
ST
106602014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10661
10662 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10663 to...
10664 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10665 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10666 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10667 fields.
9f2a4fbc 10668
fd15a59b
ST
106692014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10670
10671 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10672
f19dfa0a
SL
106732014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10674
10675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10676
4fa8bc3b
SL
106772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10678
10679 [BZ #14770]
10680 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10681 * sysdeps/s390/configure: Regenerate.
10682
8ea587db
SL
10683 [BZ #16824]
10684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10685 Set round-to-nearest internally to reduce error accumulation.
10686
aa5f0ff1
AM
106872014-04-16 Alan Modra <amodra@gmail.com>
10688
10689 [BZ #16740]
10690 [BZ #16619]
10691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10692 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10693 * NEWS: Update fixed bug list.
aa5f0ff1 10694
bb9c256f
SP
106952014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10696
10697 * benchtests/Makefile: Depend on libraries in build directory.
10698 (bench-math): Separate out math tests.
10699 (bench-pthread): Separate out pthread tests.
10700 (bench): Include math and pthread tests.
10701
f737dfd0
CD
107022014-04-14 Carlos O'Donell <carlos@redhat.com>
10703
10704 [BZ #16831]
10705 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10706 _dl_debug_initialize.
10707
0699f766
CD
10708 * configure.ac: Remove SELinux header check.
10709 * configure: Regenerate.
10710 * nscd/selinux.c (perms): Array of const char* to permission names.
10711 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10712 default policy. Call string_to_security_class and string_to_av_perm to
10713 translate strings. Enforce default policy and call avs_has_perm with
10714 results of translated strings.
10715
809bd45f
DM
107162014-04-13 David S. Miller <davem@davemloft.net>
10717
10718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10719
89e691f2
AM
107202014-04-12 Allan McRae <allan@archlinux.org>
10721
10722 [BZ #16838]
10723 * manual/string.texi (Collation Functions): Fix qsort argument
10724 order in example.
10725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10726
9c9daaeb
CM
107272014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10728
10729 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10730 Make the test a no-op if there are no exceptions defined.
10731
95561fb9
PP
107322014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10733
fe8d072c 10734 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10735 enable-hardcoded-path-in-tests
10736
970c602a
WN
107372014-04-11 Will Newton <will.newton@linaro.org>
10738
10739 * benchtests/Makefile (extra-objs): Add json-lib.o.
10740 (bench-func): Tidy up JSON output.
10741 * benchtests/bench-skeleton.c: Include json-lib.h.
10742 (main): Use JSON library functions to do output of
10743 benchmark results.
10744 * benchtests/bench-timing-type.c (main): Output the
10745 timing type simply, leaving formatting to the user.
10746 * benchtests/json-lib.c: New file.
10747 * benchtests/json-lib.h: Likewise.
10748
36875b06
TR
107492014-04-11 Torvald Riegel <triegel@redhat.com>
10750
10751 [BZ #15215]
10752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10753 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10754 memory barriers. Add comments.
10755 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10756 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10757 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10758 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10759 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10760 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10761
579db35a
SL
107622014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10763
10764 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10765 * sysdeps/s390/s390-64/configure.ac: ... this ...
10766 * sysdeps/s390/configure.ac: ... to here.
10767 * sysdeps/s390/s390-32/configure: Delete file.
10768 * sysdeps/s390/s390-64/configure: Delete file.
10769 * sysdeps/s390/configure: Regenerate.
10770
c12e9f37
JAPH
107712014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10772
10773 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10774
439bda32
WN
107752014-04-11 Will Newton <will.newton@linaro.org>
10776
10777 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10778 to zero if it is not defined elsewhere. (mtrim): Test
10779 the value of MALLOC_DEBUG with #if rather than #ifdef.
10780
6a5d6ea1
TR
107812014-04-10 Torvald Riegel <triegel@redhat.com>
10782
10783 * benchtests/pthread_once-inputs: New file.
10784 * benchtests/pthread_once-source.c: New file.
10785 * benchtests/README: Update documentation.
10786
a4c75cfd
IZ
107872014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10788 H.J. Lu <hongjiu.lu@intel.com>
10789
7e54fd04 10790 [BZ #16275]
a4c75cfd
IZ
10791 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10792 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10793 * sysdeps/x86_64/configure: Regenerated.
10794 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10795 macro.
10796 (REGISTER_SAVE_RAX): Likewise.
10797 (REGISTER_SAVE_RCX): Likewise.
10798 (REGISTER_SAVE_RDX): Likewise.
10799 (REGISTER_SAVE_RSI): Likewise.
10800 (REGISTER_SAVE_RDI): Likewise.
10801 (REGISTER_SAVE_R8): Likewise.
10802 (REGISTER_SAVE_R9): Likewise.
10803 (REGISTER_SAVE_BND0): Likewise.
10804 (REGISTER_SAVE_BND1): Likewise.
10805 (REGISTER_SAVE_BND2): Likewise.
10806 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10807 bound registers when calling _dl_fixup.
10808
27822ce6
AZ
108092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10810
10811 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
10812 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10813 of its definition.
27822ce6
AZ
10814 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10815 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10816 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10817 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10818 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10819 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10820 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10821
a88ddc90
PTB
108222014-04-09 Peter Brett <peter@peter-b.co.uk>
10823
10824 [BZ #15514]
10825 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10826 pathconf(_PC_NAME_MAX).
10827
01f8eac2
AZ
108282014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10829
10830 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10831 Remove macro usage.
10832 (__PTHREAD_SPINS): Move definition to ...
10833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10834 (__PTHREAD_SPINS): ... here.
10835 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10836 (__PTHREAD_SPIN): Likewise.
10837 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10838 (__PTHREAD_SPIN): Likewise.
10839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10840 (__PTHREAD_SPIN): Likewise.
10841 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10842 (__PTHREAD_SPIN): Likewise.
10843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10844 (__PTHREAD_SPIN): Likewise.
10845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10846 (__PTHREAD_SPIN): Likewise.
10847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10848 (__PTHREAD_SPIN): Likewise.
10849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10850 (__PTHREAD_SPIN): Likewise.
10851 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10852 (__PTHREAD_SPIN): Likewise.
10853 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10854 (__PTHREAD_SPIN): Likewise.
10855 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10856 (__PTHREAD_SPIN): Likewise.
10857 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10858 (__PTHREAD_SPIN): Likewise.
10859
de21c33c
AZ
10860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10861 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10862 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10864 imply folder.
10865 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10866 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10867 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10868 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10869 correct imply path.
10870 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10871 strlen symbol for non multi-arch builds.
10872 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10873 missing hidden_def and weak_alias.
10874
862c472e
CD
108752014-04-08 Carlos O'Donell <carlos@redhat.com>
10876
10877 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10878
8667f90e
WN
108792014-04-07 Will Newton <will.newton@linaro.org>
10880
10881 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10882 and contents. [!_LIBC] Remove #ifndef and contents.
10883 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10884 * string/memccpy.c (__memccpy): Use ANSI prototype.
10885 * string/memfrob.c (memfrob): Likewise.
10886 * string/strcoll.c (STRCOLL): Likewise.
10887 * string/strlen.c (strlen): Likewise.
10888 * string/strtok.c (STRTOK): Likewise.
10889 * string/strcat.c: Remove unused #include of memcopy.h.
10890 (strcat): Use ANSI prototype.
10891 * string/strchr.c: Remove unused #include of memcopy.h.
10892 (strchr): Use ANSI prototype.
10893 * string/strcmp.c: Remove unused #include of memcopy.h.
10894 (strcmp): Use ANSI prototype.
10895 * string/strcpy.c: Remove unused #include of memcopy.h.
10896 (strcpy): Use ANSI prototype.
10897
7ffa9423
AZ
108982014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10899
10900 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10901 * config.make.in (config-extra-cppflags): Set it from
10902 libc_extra_cppflags.
10903 * configure.ac (libc_extra_cflags): Make it accumulate over
10904 configure fragments.
10905 (libc_extra_cppflags): New flag.
10906 * configure. Regenerate.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
10908 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10909 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10911
8bd70862
AZ
10912 [BZ #16815]
10913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10914 result for FE_DOWNWARD rounding mode.
10915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10916 Likewise.
10917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10918
d42f3448
CM
109192014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10920
10921 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10922 in function argument name.
10923
1c21d115
DS
109242014-04-03 David Svoboda <svoboda@cert.org>
10925
10926 [BZ #5666]
10927 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10928 explicitly.
10929
fcccd512
RM
109302014-04-03 Roland McGrath <roland@hack.frob.com>
10931
10932 * elf/dl-unmap-segments.h: New file.
10933 * sysdeps/generic/ldsodefs.h
10934 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10935 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10936 * elf/dl-fptr.c: Likewise.
10937 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10938 * sysdeps/aarch64/tlsdesc.c: Likewise.
10939 * sysdeps/arm/tlsdesc.c: Likewise.
10940 * sysdeps/i386/tlsdesc.c: Likewise.
10941 * sysdeps/tile/dl-runtime.c: Likewise.
10942 * sysdeps/x86_64/tlsdesc.c: Likewise.
10943 * elf/dl-load.h: New file.
10944 * elf/dl-load.c: Include it.
10945 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10946 Macros moved to dl-load.h.
10947 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10948 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10949 Use _dl_unmap_segments in place of __munmap.
10950 Break out segment-mapping loop into ...
10951 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10952
f6488e2b
WN
109532014-04-03 Will Newton <will.newton@linaro.org>
10954
10955 * elf/dl-lookup.c (do_lookup_x): Remove comment
10956 referring to nested function and move variable
10957 declarations down to before first use.
10958
6f05bafe
JM
109592014-04-02 Joseph Myers <joseph@codesourcery.com>
10960
a84e78c8
JM
10961 [BZ #16799]
10962 [BZ #16800]
10963 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10964 with 0 numerator.
10965 * math/s_catanf.c (__catanf): Likewise.
10966 * math/s_catanh.c (__catanh): Likewise.
10967 * math/s_catanhf.c (__catanhf): Likewise.
10968 * math/s_catanhl.c (__catanhl): Likewise.
10969 * math/s_catanl.c (__catanl): Likewise.
10970 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10971 by positive zero when computing -Inf result.
10972 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10973 (catanh_test): Likewise.
10974 * sysdeps/i386/fpu/libm-test-ulps: Update.
10975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10976
6f05bafe
JM
10977 [BZ #16789]
10978 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10979 instead of using underflowing value in computing result.
10980 * math/s_clog10.c (__clog10): Likewise.
10981 * math/s_clog10f.c (__clog10f): Likewise.
10982 * math/s_clog10l.c (__clog10l): Likewise.
10983 * math/s_clogf.c (__clogf): Likewise.
10984 * math/s_clogl.c (__clogl): Likewise.
10985 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10986 (clog10_test): Likewise.
10987 * sysdeps/i386/fpu/libm-test-ulps: Update.
10988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10989
b0abbc21
AM
109902014-04-02 Alan Modra <amodra@gmail.com>
10991
10992 [BZ #16739]
10993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10994 output when value is near a power of two. Use int64_t for lx and
10995 remove casts. Use decimal rather than hex exponent constants.
10996 Don't use long double multiplication when double will suffice.
10997 * math/libm-test.inc (nextafter_test_data): Add tests.
10998 * NEWS: Add 16739 and 16786 to bug list.
10999
af6b1797
AM
11000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11001
483818d7
AM
11002 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11003
f6c55796
WN
110042014-04-01 Will Newton <will.newton@linaro.org>
11005
11006 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11007 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11008
13f7fe35
FW
110092014-04-01 Florian Weimer <fweimer@redhat.com>
11010
11011 [BZ #13347]
11012 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11013 * nptl/tst-setuid2.c: New file.
11014 * nptl/Makefile (xtests): Add tst-setuid2.
11015
c859b32e
AM
110162014-04-01 Alan Modra <amodra@gmail.com>
11017
11018 [BZ #16786]
11019 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11020
54fa2475
JM
110212014-03-31 Joseph Myers <joseph@codesourcery.com>
11022
8795b4a4
JM
11023 [BZ #6803]
11024 [BZ #6804]
11025 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11026 set errno as appropriate.
11027 * math/w_scalbf.c (__scalbf): Likewise.
11028 * math/w_scalbl.c (__scalbl): Likewise.
11029 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11030 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11031 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11032 Add more NaN tests.
11033
54fa2475
JM
11034 [BZ #16349]
11035 * math/w_atan2.c: Include <errno.h>.
11036 (__atan2): Set errno for result underflowing to zero.
11037 * math/w_atan2f.c: Include <errno.h>.
11038 (__atan2f): Set errno for result underflowing to zero.
11039 * math/w_atan2l.c: Include <errno.h>.
11040 (__atan2l): Set errno for result underflowing to zero.
11041 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11042 tests.
11043 * math/auto-libm-test-out: Regenerated.
11044
757d9dd5
AZ
110452014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11046
11047 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11048 Encode instruction correctly in little endian.
11049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11050 Likewise.
11051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11052 Likewise.
11053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11054 Likewise.
11055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11056 Likewise.
11057
d7a68734
JM
110582014-03-31 Joseph Myers <joseph@codesourcery.com>
11059
47c5adeb
JM
11060 [BZ #9894]
11061 * sysdeps/unix/sysv/linux/kernel-features.h
11062 [__sparc__ && !__arch64__ && !__sparc_v9__]
11063 (__ASSUME_SET_ROBUST_LIST): Do not define.
11064 [__sparc__ && !__arch64__ && !__sparc_v9__]
11065 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11066 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11067 Likewise.
11068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11069 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11070 (__ASSUME_REQUEUE_PI): Likewise.
11071 (__ASSUME_SET_ROBUST_LIST): Likewise.
11072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11073 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11074 Undefine.
11075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11077 Likewise.
11078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11079 Likewise.
11080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11081 Likewise.
11082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11084 Undefine.
11085 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11086 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11087 Likewise.
11088
d7a68734
JM
11089 [BZ #16648]
11090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11091 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11092 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11093
c760f5c2
WN
110942014-03-31 Will Newton <will.newton@linaro.org>
11095
11096 * benchtests/Makefile (bench): Add ffs and ffsll to list
11097 of tests.
11098 * benchtests/ffs-inputs: New file.
11099 * benchtests/ffsll-inputs: Likewise.
11100
ea6029b1
JM
111012014-03-29 Joseph Myers <joseph@codesourcery.com>
11102
11103 [BZ #16770]
11104 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11105 too large before casting to int.
11106 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11107 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11108 * math/libm-test.inc (scalb_test_data): Add more tests.
11109
cf806aff
SP
111102014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11111
56737508
SP
11112 * benchtests/Makefile (DETAILED_OPT): New make option.
11113 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11114 set.
11115 * benchtests/bench-skeleton.c: Include stdbool.h.
11116 (main): Store and print timings per input.
11117 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11118 member to each argument value.
11119 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11120 (_print_arg_data): Initialize per-input timing to 0.
11121
cb5e4aad
SP
11122 * benchtests/Makefile (timing-type): New binary.
11123 (bench-clean): Also remove bench-timing-type.
11124 (bench): New target for timing-type.
11125 (bench-func): Print output in JSON format.
11126 * benchtests/bench-skeleton.c (main): Print output in JSON
11127 format.
11128 * benchtests/bench-timing-type.c: New file.
11129 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11130 (TIMING_PRINT_STATS): Remove.
11131 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11132 name separately.
11133
cf806aff
SP
11134 * benchtests/bench-modf.c: Remove.
11135 * benchtests/modf-inputs: New inputs file.
11136
289e0779
JM
111372014-03-28 Joseph Myers <joseph@codesourcery.com>
11138
11139 [BZ #16362]
11140 * math/s_clog10.c (M_PI_LOG10E): New macro.
11141 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11142 imaginary parts are 0.
11143 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11144 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11145 imaginary parts are 0.
11146 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11147 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11148 imaginary parts are 0.
11149 * math/libm-test.inc (clog10_test_data): Update expected results
11150 for when real and imaginary parts are 0.
11151
277ae3f1
PP
111522014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11153
11154 * elf/dl-load.c: Finish conversion of __builtin_expect into
11155 __glibc_{un}likely.
11156
03a7091f
JM
111572014-03-27 Joseph Myers <joseph@codesourcery.com>
11158
11159 [BZ #16348]
11160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11161 1+x for argument with exponent below -67.
11162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11163 Likewise.
11164 * math/auto-libm-test-in: Add more tests of exp.
11165 * math/auto-libm-test-out: Regenerated.
11166
ea7d8b95
SP
111672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11168
dd3022d7
SP
11169 [BZ #16759]
11170 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11171 (nscd_getnetgrent): Use it.
11172
ea7d8b95
SP
11173 [BZ #16760]
11174 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11175 of stpcpy.
11176
df5b85da
AK
111772014-03-27 Andi Kleen <ak@linux.intel.com>
11178
57f41c40
AS
11179 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11180 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11181 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11182 (lll_robust_unlock): Remove out of line section. Use cfi
11183 intrinsics.
df5b85da 11184 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11185 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11186 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11187 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11188 (lll_robust_unlock): Remove out of line section. Use cfi
11189 intrinsics.
df5b85da
AK
11190 (LLL_STUB_UNWIND_INFO*): Remove.
11191
fbd6b5a4
SP
111922014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11193
11194 [BZ #16758]
11195 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11196 blank values.
11197
1b26b855
PP
111982014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11199
11200 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11201
9be36fb8
JM
112022014-03-26 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #16198]
11205 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11206 fnstenv.
11207 * math/test-fenv-preserve.c: New file.
11208 * math/Makefile (tests): Add test-fenv-preserve.
11209
60a2f3c1
WN
112102014-03-26 Will Newton <will.newton@linaro.org>
11211
11212 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11213
a5e5f1e2
RM
112142014-03-25 Roland McGrath <roland@hack.frob.com>
11215
11216 * scripts/versionlist.awk: Partition the version sets and emit all
11217 GLIBC_* (sorted) before all others (sorted).
11218
00f4012a
JM
112192014-03-25 Joseph Myers <joseph@codesourcery.com>
11220
11221 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11222 GLIBC_2.2.5 version.
11223
7bc5a741
AZ
112242014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11225
11226 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11227 calls.
11228
7578473b
AZ
11229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11230 previous change.
11231
f3f1dab3
AZ
11232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11233
6da36183
AS
112342014-03-25 Andreas Schwab <schwab@suse.de>
11235
11236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11237 label to be used after in6ailist is initialized.
11238
f3f1dab3 112392014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11240
7578473b 11241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11242 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11243
046651c1
JM
112442014-03-25 Joseph Myers <joseph@codesourcery.com>
11245
11246 [BZ #16357]
11247 [BZ #16599]
11248 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11249 min_plus_half.
11250 (fp_formats): Update initializers.
11251 (init_fp_formats): Initialize new field.
11252 (output_for_one_input_case): Allow underflow for results up to
11253 min_plus_half.
11254 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11255 * math/auto-libm-test-in: Don't mark some underflows from asin and
11256 atanh as spurious.
11257 * math/auto-libm-test-out: Regenerated.
11258 * sysdeps/i386/fpu/libm-test-ulps: Update.
11259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11260
003e49ed
AS
112612014-03-25 Andreas Schwab <schwab@suse.de>
11262
11263 * libio/Makefile (tst-ftell-partial-wide-ENV)
11264 (tst-ftell-active-handler-ENV): Define.
11265
de031874
SL
112662014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11267
11268 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11269
55a81e3b
PP
112702014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11271
11272 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11273
f3426898
JM
112742014-03-24 Joseph Myers <joseph@codesourcery.com>
11275
11276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11277 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11279
a42faf59
PP
112802014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11281
11282 [BZ #16634]
a42faf59 11283 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11284 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11285 (open_path): Change from boolean 'secure' to complete flag 'mode'
11286 (_dl_map_object): Adjust.
a42faf59
PP
11287 * elf/Makefile (tests): Add tst-dlopen-aout.
11288 * elf/tst-dlopen-aout.c: New test.
11289
50936127
SL
112902014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11291
11292 [BZ #16714]
11293 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11294 (struct stat): Rename member pad0 to __glibc_reserved0.
11295
26011b5c
SL
11296 [BZ #16712]
11297 * sysdeps/s390/s390-32/bits/wordsize.h
11298 (__WORDSIZE32_SIZE_ULONG): New define.
11299 * sysdeps/s390/s390-64/bits/wordsize.h
11300 (__WORDSIZE32_SIZE_ULONG): Likewise.
11301 * sysdeps/generic/stdint.h (SIZE_MAX):
11302 Define as UL if __WORDSIZE32_SIZE_ULONG.
11303
a2d86bf1
SL
11304 [BZ #16713]
11305 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11306 (__glibc_reserved0): New variable.
11307 (sa_flags): Change type to int.
11308
78b6eebc
SL
11309 * posix/Makefile (before-compile): Use += before-compile instead
11310 of a :=.
11311
f1399b5a
SL
11312 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11313 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11314
a071766e
AS
113152014-03-20 Andreas Schwab <schwab@suse.de>
11316
11317 [BZ #16743]
11318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11319 non-matching result from nscd.
11320
27c673b8
SP
113212014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11322
11323 * scripts/bench.py: Moved to ...
11324 * benchtests/scripts/bench.py: ... here.
11325 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11326
44152e4b
AS
113272014-03-24 Andreas Schwab <schwab@suse.de>
11328
11329 [BZ #16002]
11330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11331 alloca_account and account alloca use for struct in6ailist.
11332
b376a11a
JM
113332014-03-24 Joseph Myers <joseph@codesourcery.com>
11334
11335 [BZ #16284]
11336 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11337 rounding mode to recompute results that overflow to infinity or
11338 underflow to zero.
11339 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11340 bug 16284.
11341 * math/auto-libm-test-out: Regenerated.
11342 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11343 (ccosh_test): Likewise.
11344 (csin_test_data): Use plus_oflow.
11345 (csin_test): Use ALL_RM_TEST.
11346 (csinh_test_data): Use plus_oflow.
11347 (csinh_test): Use ALL_RM_TEST.
11348 * sysdeps/i386/fpu/libm-test-ulps: Update.
11349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11350
f7be7376
JM
113512014-03-21 Joseph Myers <joseph@codesourcery.com>
11352
1ca2d03e
JM
11353 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11354 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11355 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11356
f7be7376
JM
11357 [BZ #16731]
11358 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11359 when x - 1 is zero.
11360 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11361 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11362 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11364 argument is 1.
11365 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11366 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11367 zero.
11368 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11369 * sysdeps/i386/fpu/libm-test-ulps: Update.
11370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11371
fdf4534d
SP
113722014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11373
df26ea53
SP
11374 * scripts/bench.pl: Remove file.
11375 * scripts/bench.py: New benchmark script.
11376 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11377 * benchtests/README: Mention python dependency.
11378 * scripts/pylintrc: New file.
11379 * scripts/pylint: New file.
11380
fdf4534d
SP
11381 * bits/mathdef.h: Use #ifdef instead of #if.
11382 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11383 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11384 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11385 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11386 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11388
6f23d093
AZ
113892014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11390 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11391
11392 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11394 and strpbrk-ppc64 objects.
11395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11396 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11397 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11398 multiarch strpbrk for POWER7.
11399 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11400 multiarch strpbrk for PPC64.
11401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11402 ifunc selector.
11403 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11404 strpbrk for POWER7.
11405
8c92dfff
JM
114062014-03-20 Joseph Myers <joseph@codesourcery.com>
11407
11408 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11409 (atan_test): Likewise.
11410 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11411 (atanh_test): Use ALL_RM_TEST.
11412 (atan2_test_data): Likewise.
11413 (cabs_test): Likewise.
11414 (cacosh_test): Likewise.
11415 (carg_test): Likewise.
11416 (casin_test): Likewise.
11417 (casinh_test): Likewise.
11418 (cbrt_test): Likewise.
11419 (csqrt_test): Likewise.
11420 (erf_test): Likewise.
11421 (erfc_test): Likewise.
11422 (pow10_test): Likewise.
11423 (exp2_test): Likewise.
11424 (hypot_test): Likewise.
11425 (j0_test): Likewise.
11426 (j1_test): Likewise.
11427 (lgamma_test): Likewise.
11428 (gamma_test): Likewise.
11429 (sincos_test): Likewise.
11430 (tanh_test): Likewise.
11431 (y0_test): Likewise.
11432 (y1_test): Likewise.
11433 * sysdeps/i386/fpu/libm-test-ulps: Update.
11434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435
6eaf95cb
AZ
114362014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11437
a387428c
SP
11438 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11440 and strcspn-ppc64 objects.
11441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11442 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11443 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11444 multiarch strcspn for POWER7.
11445 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11446 multiarch strcspn for PPC64.
11447 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11448 ifunc selector.
11449 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11450 strcspn for POWER7.
11451
ae3a5dff
JM
114522014-03-20 Joseph Myers <joseph@codesourcery.com>
11453
11454 * math/gen-libm-test.pl (generate_testfile): Expect only function
11455 name as argument to AUTO_TESTS_* and pass results for all rounding
11456 modes to parse_args.
11457 (parse_auto_input): Separate inputs of automatic tests from
11458 outputs before storing in %auto_tests.
11459 * math/libm-test.inc (acos_test_data): Update call to
11460 AUTO_TESTS_f_f.
11461 (acos_test): Use ALL_RM_TEST.
11462 (acos_tonearest_test_data): Remove.
11463 (acos_test_tonearest): Likewise.
11464 (acos_towardzero_test_data): Likewise.
11465 (acos_test_towardzero): Likewise.
11466 (acos_downward_test_data): Likewise.
11467 (acos_test_downward): Likewise.
11468 (acos_upward_test_data): Likewise.
11469 (acos_test_upward): Likewise.
11470 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11471 (asin_test_data): Likewise.
11472 (asin_test): Use ALL_RM_TEST.
11473 (asin_tonearest_test_data): Remove.
11474 (asin_test_tonearest): Likewise.
11475 (asin_towardzero_test_data): Likewise.
11476 (asin_test_towardzero): Likewise.
11477 (asin_downward_test_data): Likewise.
11478 (asin_test_downward): Likewise.
11479 (asin_upward_test_data): Likewise.
11480 (asin_test_upward): Likewise.
11481 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11482 (atan_test_data): Likewise.
11483 (atanh_test_data): Likewise.
11484 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11485 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11486 (carg_test_data): Likewise.
11487 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11488 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11489 (ccosh_test_data): Likewise.
11490 (cexp_test_data): Likewise.
11491 (clog_test_data): Likewise.
11492 (clog10_test_data): Likewise.
11493 (cos_test_data): Update call to AUTO_TESTS_f_f.
11494 (cos_test): Use ALL_RM_TEST.
11495 (cos_tonearest_test_data): Remove.
11496 (cos_test_tonearest): Likewise.
11497 (cos_towardzero_test_data): Likewise.
11498 (cos_test_towardzero): Likewise.
11499 (cos_downward_test_data): Likewise.
11500 (cos_test_downward): Likewise.
11501 (cos_upward_test_data): Likewise.
11502 (cos_test_upward): Likewise.
11503 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11504 (cosh_test): Use ALL_RM_TEST.
11505 (cosh_tonearest_test_data): Remove.
11506 (cosh_test_tonearest): Likewise.
11507 (cosh_towardzero_test_data): Likewise.
11508 (cosh_test_towardzero): Likewise.
11509 (cosh_downward_test_data): Likewise.
11510 (cosh_test_downward): Likewise.
11511 (cosh_upward_test_data): Likewise.
11512 (cosh_test_upward): Likewise.
11513 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11514 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11515 (ctan_test_data): Likewise.
11516 (ctan_test): Use ALL_RM_TEST.
11517 (ctan_tonearest_test_data): Remove.
11518 (ctan_test_tonearest): Likewise.
11519 (ctan_towardzero_test_data): Likewise.
11520 (ctan_test_towardzero): Likewise.
11521 (ctan_downward_test_data): Likewise.
11522 (ctan_test_downward): Likewise.
11523 (ctan_upward_test_data): Likewise.
11524 (ctan_test_upward): Likewise.
11525 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11526 (ctanh_test): Use ALL_RM_TEST.
11527 (ctanh_tonearest_test_data): Remove.
11528 (ctanh_test_tonearest): Likewise.
11529 (ctanh_towardzero_test_data): Likewise.
11530 (ctanh_test_towardzero): Likewise.
11531 (ctanh_downward_test_data): Likewise.
11532 (ctanh_test_downward): Likewise.
11533 (ctanh_upward_test_data): Likewise.
11534 (ctanh_test_upward): Likewise.
11535 (erf_test_data): Update call to AUTO_TESTS_f_f.
11536 (erfc_test_data): Likewise.
11537 (exp_test_data): Likewise.
11538 (exp_test): Use ALL_RM_TEST.
11539 (exp_tonearest_test_data): Remove.
11540 (exp_test_tonearest): Likewise.
11541 (exp_towardzero_test_data): Likewise.
11542 (exp_test_towardzero): Likewise.
11543 (exp_downward_test_data): Likewise.
11544 (exp_test_downward): Likewise.
11545 (exp_upward_test_data): Likewise.
11546 (exp_test_upward): Likewise.
11547 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11548 (exp10_test): Use ALL_RM_TEST.
11549 (exp10_tonearest_test_data): Remove.
11550 (exp10_test_tonearest): Likewise.
11551 (exp10_towardzero_test_data): Likewise.
11552 (exp10_test_towardzero): Likewise.
11553 (exp10_downward_test_data): Likewise.
11554 (exp10_test_downward): Likewise.
11555 (exp10_upward_test_data): Likewise.
11556 (exp10_test_upward): Likewise.
11557 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11558 (expm1_test_data): Likewise.
11559 (expm1_test): Use ALL_RM_TEST.
11560 (expm1_tonearest_test_data): Remove.
11561 (expm1_test_tonearest): Likewise.
11562 (expm1_towardzero_test_data): Likewise.
11563 (expm1_test_towardzero): Likewise.
11564 (expm1_downward_test_data): Likewise.
11565 (expm1_test_downward): Likewise.
11566 (expm1_upward_test_data): Likewise.
11567 (expm1_test_upward): Likewise.
11568 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11569 (fma_test): Use ALL_RM_TEST.
11570 (fma_towardzero_test_data): Remove.
11571 (fma_test_towardzero): Likewise.
11572 (fma_downward_test_data): Likewise.
11573 (fma_test_downward): Likewise.
11574 (fma_upward_test_data): Likewise.
11575 (fma_test_upward): Likewise.
11576 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11577 (j0_test_data): Update call to AUTO_TESTS_f_f.
11578 (j1_test_data): Likewise.
11579 (jn_test_data): Update call to AUTO_TESTS_if_f.
11580 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11581 (log_test_data): Update call to AUTO_TESTS_f_f.
11582 (log10_test_data): Likewise.
11583 (log1p_test_data): Likewise.
11584 (log2_test_data): Likewise.
11585 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11586 (pow_tonearest_test_data): Likewise.
11587 (sin_test_data): Update call to AUTO_TESTS_f_f.
11588 (sin_test): Use ALL_RM_TEST.
11589 (sin_tonearest_test_data): Remove.
11590 (sin_test_tonearest): Likewise.
11591 (sin_towardzero_test_data): Likewise.
11592 (sin_test_towardzero): Likewise.
11593 (sin_downward_test_data): Likewise.
11594 (sin_test_downward): Likewise.
11595 (sin_upward_test_data): Likewise.
11596 (sin_test_upward): Likewise.
11597 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11598 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11599 (sinh_test): Use ALL_RM_TEST.
11600 (sinh_tonearest_test_data): Remove.
11601 (sinh_test_tonearest): Likewise.
11602 (sinh_towardzero_test_data): Likewise.
11603 (sinh_test_towardzero): Likewise.
11604 (sinh_downward_test_data): Likewise.
11605 (sinh_test_downward): Likewise.
11606 (sinh_upward_test_data): Likewise.
11607 (sinh_test_upward): Likewise.
11608 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11609 (sqrt_test): Use ALL_RM_TEST.
11610 (sqrt_tonearest_test_data): Remove.
11611 (sqrt_test_tonearest): Likewise.
11612 (sqrt_towardzero_test_data): Likewise.
11613 (sqrt_test_towardzero): Likewise.
11614 (sqrt_downward_test_data): Likewise.
11615 (sqrt_test_downward): Likewise.
11616 (sqrt_upward_test_data): Likewise.
11617 (sqrt_test_upward): Likewise.
11618 (tan_test_data): Update call to AUTO_TESTS_f_f.
11619 (tan_test): Use ALL_RM_TEST.
11620 (tan_tonearest_test_data): Remove.
11621 (tan_test_tonearest): Likewise.
11622 (tan_towardzero_test_data): Likewise.
11623 (tan_test_towardzero): Likewise.
11624 (tan_downward_test_data): Likewise.
11625 (tan_test_downward): Likewise.
11626 (tan_upward_test_data): Likewise.
11627 (tan_test_upward): Likewise.
11628 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11629 (tgamma_test_data): Likewise.
11630 (y0_test_data): Likewise.
11631 (y1_test_data): Likewise.
11632 (yn_test_data): Update call to AUTO_TESTS_if_f.
11633 (main): Do not call removed functions.
11634
d71aeee8
JM
116352014-03-19 Joseph Myers <joseph@codesourcery.com>
11636
11637 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11638 (ldexp_test_data): Remove.
11639 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11640 scalbn_test_data.
11641 (scalb_test): Use ALL_RM_TEST.
11642
baaf1ded
AS
116432014-03-19 Andreas Schwab <schwab@suse.de>
11644
11645 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11646
b1115e91
JM
116472014-03-19 Joseph Myers <joseph@codesourcery.com>
11648
11649 [BZ #16649]
11650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11654 (__ASSUME_PREADV): Undefine.
11655 (__ASSUME_PWRITEV): Likewise.
11656
0283ecca
RM
116572014-03-18 Roland McGrath <roland@hack.frob.com>
11658
7d375303
RM
11659 * bits/mman-linux.h: Add comment about non-Linux use.
11660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11661 bits/mman-linux.h resting place.
11662
0283ecca
RM
11663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11664 * bits/mman-linux.h: ... here.
11665
aebe1003
AZ
116662014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11667
11668 * conform/conformtest.pl: Add standard definition when calling C
11669 preprocessor on data files.
11670 (checknamespace): Remove unused variable.
11671
b29b6bb8
JM
116722014-03-18 Joseph Myers <joseph@codesourcery.com>
11673
11674 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11675 minus_oflow, plus_uflow and minus_uflow in expected results.
11676 * math/libm-test.inc (scalbn_test_data): Add more tests of
11677 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11678 minus_uflow.
11679 (scalbn_test): Use ALL_RM_TEST.
11680 (scalbln_test_data): Add more tests of negative arguments. Use
11681 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11682 (scalbln_test): Use ALL_RM_TEST.
11683
c8f8fa15
RM
116842014-03-18 Roland McGrath <roland@hack.frob.com>
11685
11686 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11687
fede7a5f
WN
116882014-03-18 Will Newton <will.newton@linaro.org>
11689
11690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11691 inaccurate comment.
11692
80cf0a58
JM
116932014-03-18 Joseph Myers <joseph@codesourcery.com>
11694
11695 * Makerules [!subdir] (check-abi): Exit with error status if a
11696 test failed.
11697
b3620862
JM
116982014-03-17 Joseph Myers <joseph@codesourcery.com>
11699
11700 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11701 for rint. Include results for all rounding modes.
11702 (nearbyint_test): Use ALL_RM_TEST.
11703 (rint_test_data): Include all tests used for nearbyint.
11704
788bba36
WN
117052014-03-17 Will Newton <will.newton@linaro.org>
11706
04ec140a
WN
11707 * nptl/sysdeps/pthread/pthread.h: Revert previous
11708 change.
11709
7579d8d5
WN
11710 * sysdeps/generic/ldsodefs.h: Revert previous
11711 change.
11712
c15cf13a
WN
11713 * libio/genops.c: Revert previous change.
11714 * libio/libioP.h: Likewise.
11715 * stdio-common/vfprintf.c: Likewise.
11716
d0ac1324
WN
11717 * sysdeps/generic/math_private.h: Revert previous
11718 change.
11719
9290130a
WN
11720 * sysdeps/generic/math_private.h: Check whether
11721 HAVE_RM_CTX is defined with #ifdef rather
11722 than #if.
11723
afb466fc
WN
11724 * argp/argp-fmtstream.h: Check whether
11725 __STRICT_ANSI__ is defined with #ifdef rather
11726 than #if.
11727 * argp/argp.h: Likewise.
11728
f7efd7c3
WN
11729 * libio/genops.c: Check whether
11730 _IO_JUMPS_OFFSET is defined with #ifdef rather
11731 than #if.
11732 * libio/libioP.h: Likewise.
11733 * stdio-common/vfprintf.c: Likewise.
11734
53f1bed3
WN
11735 * sysdeps/generic/ldsodefs.h: Check whether
11736 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11737 than #if.
11738
788bba36
WN
11739 * nptl/sysdeps/pthread/pthread.h: Check
11740 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11741 its value.
11742
fcd89ebe
SP
117432014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11744
ae42bbc5
SP
11745 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11746 setting O_APPEND.
11747 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11748 test case.
11749
ea33158c
SP
11750 [BZ #16680]
11751 * libio/fileops.c (_IO_file_open): Seek to end of file but
11752 don't cache the offset.
11753 (get_file_offset): Remove function.
11754 (do_ftell): Use cached offset when available.
11755 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11756 don't cache the offset.
11757 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11758 case.
11759 (do_one_test): Call it.
11760 (do_ftell_test): Fix up expected old offset for a+ mode.
11761 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11762 available.
11763
b1dbb426
SP
11764 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11765 up test status with function return status.
11766 (do_write_test): Likewise.
11767 (do_append_test): Likewise.
11768
fcd89ebe
SP
11769 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11770 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11771 Remove.
11772
9962a2d3
JM
117732014-03-17 Joseph Myers <joseph@codesourcery.com>
11774
11775 * math/gen-libm-test.pl (parse_args): Handle results specified for
11776 each rounding mode separately.
11777 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11778 tests and results from lrint_tonearest_test_data,
11779 lrint_towardzero_test_data, lrint_downward_test_data and
11780 lrint_upward_test_data.
11781 (lrint_test): Use ALL_RM_TEST.
11782 (lrint_tonearest_test_data): Remove.
11783 (lrint_test_tonearest): Likewise.
11784 (lrint_towardzero_test_data): Likewise.
11785 (lrint_test_towardzero): Likewise.
11786 (lrint_downward_test_data): Likewise.
11787 (lrint_test_downward): Likewise.
11788 (lrint_upward_test_data): Likewise.
11789 (lrint_test_upward): Likewise.
11790 (llrint_test_data): Merge in per-rounding-mode tests and results
11791 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11792 llrint_downward_test_data and llrint_upward_test_data.
11793 (llrint_test): Use ALL_RM_TEST.
11794 (llrint_tonearest_test_data): Remove.
11795 (llrint_test_tonearest): Likewise.
11796 (llrint_towardzero_test_data): Likewise.
11797 (llrint_test_towardzero): Likewise.
11798 (llrint_downward_test_data): Likewise.
11799 (llrint_test_downward): Likewise.
11800 (llrint_upward_test_data): Likewise.
11801 (llrint_test_upward): Likewise.
11802 (rint_test_data): Merge in per-rounding-mode tests and results
11803 from rint_tonearest_test_data, rint_towardzero_test_data,
11804 rint_downward_test_data and rint_upward_test_data. Add
11805 per-rounding-mode results for tests not in those arrays.
11806 (rint_test): Use ALL_RM_TEST.
11807 (rint_tonearest_test_data): Remove.
11808 (rint_test_tonearest): Likewise.
11809 (rint_towardzero_test_data): Likewise.
11810 (rint_test_towardzero): Likewise.
11811 (rint_downward_test_data): Likewise.
11812 (rint_test_downward): Likewise.
11813 (rint_upward_test_data): Likewise.
11814 (rint_test_upward): Likewise.
11815 (main): Don't call removed functions.
11816
5006148e
RM
118172014-03-14 Roland McGrath <roland@hack.frob.com>
11818
11819 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11820 "Compiled on ..." crapola. It is anti-useful.
11821
d6fe5e58
JM
118222014-03-14 Joseph Myers <joseph@codesourcery.com>
11823
11824 * scripts/evaluate-test.sh: Handle fourth argument to determine
11825 whether test run should stop on failure.
11826 * Makeconfig (stop-on-test-failure): New variable.
11827 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11828 $(stop-on-test-failure).
11829 * Makefile (tests): Give a summary of results from testing and
11830 exit with failure status if they include an ERROR or FAIL.
11831 (xtests): Likewise.
11832 * manual/install.texi (Configuring and compiling): Mention
11833 stop-on-test-failure=y.
11834 * INSTALL: Regenerated.
11835
498a2233
RM
118362014-03-14 Roland McGrath <roland@hack.frob.com>
11837
22dbc19d
RM
11838 * scripts/versionlist.awk: New file.
11839 * Makerules [$(build-shared) = yes]
11840 (postclean-generated): Add Versions.def, not Versions.def.v and
11841 Versions.def.v.i.
11842 ($(common-objpfx)Versions.def.v.i): Target removed.
11843 ($(common-objpfx)Versions.def): New target.
11844 ($(common-objpfx)Versions.all): Depend on that rather that
11845 $(common-objpfx)Versions.def.v.
11846 * Versions.def: File removed.
11847
498a2233
RM
11848 * Makeconfig (+gccwarn): Add -Wundef.
11849 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11850 a dl-sysdep.h breaking its contract.
11851 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11852 * include/stackinfo.h: New file.
11853 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11854 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11855 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11856 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11857 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11858 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11859 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11860 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11861 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11862 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11863 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11864 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11865 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11866 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11867 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11868
c7de5025
AZ
118692014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11870
11871 [BZ #16707]
11872 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11873 implementation.
11874 * math/libm-test.inc (round_test_data): Add more tests.
11875
98fb27a3
AZ
11876 [BZ #16706]
11877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11878 implementation.
11879 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11880
374f7f61
AZ
11881 [BZ #16701]
11882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11883 implementation.
11884 * math/libm-test.inc (ceil_test_data): Add more tests.
11885
4655c291
AZ
11886 * math/libm-test.inc (trunc_test_data): Add more tests related to
11887 BZ#16414.
11888
d7329d4b
RM
118892014-03-14 Roland McGrath <roland@hack.frob.com>
11890
11891 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11892 with #if rather than #ifdef.
11893 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11894
aa4de9ce
L
118952014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11896
11897 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11898 first. Disable AVX-512 GCC support if assembler doesn't support
11899 it.
11900 * sysdeps/x86_64/configure: Regenerated.
11901
2e03fae7
CD
119022014-03-13 Carlos O'Donell <carlos@redhat.com>
11903
11904 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11905 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11906 (__old_pthread_attr_setstack): Likewise.
11907 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11908 [!_STACK_GROWS_DOWN]: Likewise.
11909
43ca83ec
MF
119102014-03-13 Mike Frysinger <vapier@gentoo.org>
11911
11912 * config.make.in (have-bash2): Delete.
11913 * configure.ac (libc_cv_have_bash2): Delete.
11914 * configure: Regenerate.
11915 * elf/Makefile (common-ldd-rewrite): Rename to ...
11916 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11917 (sh-ldd-rewrite): Delete.
11918 (bash-ldd-rewrite): Delete.
11919 (have-bash2): Delete checks.
57f41c40
AS
11920 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11921 ldd-rewrite.
c66e48b4
MF
11922
11923 * config.make.in (have-ksh): Delete.
11924 (KSH): Delete.
11925 * configure.ac (libc_cv_have_ksh): Delete.
11926 * configure: Regenerate.
11927
b93834ef
MF
11928 * elf/Makefile: Delete $(have-ksh) check.
11929 ($(objpfx)sotruss): Change KSH to BASH.
11930 * elf/sotruss.ksh: Rename to ...
11931 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11932 function style to match POSIX. Drop ksh vim mode setting.
11933
f3a4632a
MF
11934 * manual/time.texi (Specifying the Time Zone with TZ): Change
11935 Tuesday to Thursday.
11936
5896c8bd
MF
11937 * debug/tst-longjmp_chk2.c: Update header comment.
11938 (stackoverflow_handler): Add comment. Call assert on pass value.
11939
2d63a517
IZ
119402014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11941
7e54fd04 11942 [BZ #16194]
2d63a517
IZ
11943 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11944 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11945 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11946 (La_x86_64_vector): Add zmm.
11947 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11948 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11949 ($(objpfx)tst-audit10): New target.
11950 ($(objpfx)tst-audit10.out): Likewise.
11951 (tst-audit10-ENV): New.
11952 (AVX512-CFLAGS): Likewise.
11953 (CFLAGS-tst-audit10.c): Likewise.
11954 (CFLAGS-tst-auditmod10a.c): Likewise.
11955 (CFLAGS-tst-auditmod10b.c): Likewise.
11956 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11957 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11958 * sysdeps/x86_64/configure: Regenerated.
11959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11960 AVX-512 zmm register support.
11961 (_dl_x86_64_save_sse): Likewise.
11962 (_dl_x86_64_restore_sse): Likewise.
11963 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11964 size vector registers.
11965 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11966 (ZMM_SIZE): Likewise.
11967 * sysdeps/x86_64/tst-audit10.c: New file.
11968 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11969 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11970
44c4e5d5
RM
119712014-03-13 Roland McGrath <roland@hack.frob.com>
11972
11973 * configure.ac (HAVE_EHDR_START): New check.
11974 * configure: Regenerated.
11975 * config.h.in (HAVE_EHDR_START): New #undef.
11976 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11977 assuming the lowest-addressed segment maps the start of the file.
11978
acd6e389
JM
119792014-03-13 Joseph Myers <joseph@codesourcery.com>
11980
11981 * INSTALL: Regenerated.
11982
6f918f36
WN
119832014-03-13 Will Newton <will.newton@linaro.org>
11984
11985 * manual/setjmp.texi (System V contexts): Improve
11986 clarity and grammar of documentation.
11987
798212a0
PP
119882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11989
11990 [BZ #16381]
798212a0 11991 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11992 (tests-pie): Add tst-pie2.
798212a0
PP
11993 * elf/tst-pie2.c: New file.
11994 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11995 for ET_EXEC.
11996 * elf/rtld.c (map_doit): Load executable as lt_executable.
11997 (dl_main): Likewise.
11998
abe6d90c
JM
119992014-03-12 Joseph Myers <joseph@codesourcery.com>
12000
12001 [BZ #16642]
12002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12003 (__ASSUME_PSELECT): Undefine.
12004
dd3946c6
AZ
120052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12006
12007 [BZ #16689]
12008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12009 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12010 static build.
12011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12012 selector for static builds.
12013
c44496df
SP
120142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12015
12016 [BZ #16695]
12017 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12018 key in the buffer.
12019
27c7220a
AZ
120202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12021
57f41c40
AS
12022 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12023 IFUNC selector for static builds.
27c7220a 12024
600fa361
JM
120252014-03-11 Joseph Myers <joseph@codesourcery.com>
12026
76c96cf7
JM
12027 * sysdeps/mips/math_private.h [__mips_hard_float]
12028 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12029 libc_feresetround_mips_ctx.
12030 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12031 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12032 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12033
600fa361
JM
12034 [BZ #16677]
12035 * math/s_nextafter.c (__nextafter): Do not return value from
12036 overflowing computation.
12037 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12038 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12040 Likewise.
12041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12042 Likewise.
12043 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12044 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12045
d7706c32
RM
120462014-03-11 Roland McGrath <roland@hack.frob.com>
12047
12048 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12049 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12050 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12051 the new mov targetting sp.
12052
4facea47
AZ
120532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12054
12055 [BZ #16683]
12056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12057 Define it for static builds as well.
12058 (NO_BZERO_IMPL): Likewise.
12059
e65caf1f
VR
120602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12061
12062 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12063 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12064 multiarch strspn for PPC64.
12065 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12066 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12068 (__libc_ifunc_impl_list): Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12070 multiarch optimizations
12071 * string/strspn.c (strspn): Using macro to redefine symbol name.
12072
ba9cc071
AZ
120732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12075
12076 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12077 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12078 multiarch strncat for PPC64.
12079 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12080 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12082 (__libc_ifunc_impl_list): Likewise.
12083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12084 multiarch optimizations
12085
8b4ff974
SP
120862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12087
12088 [BZ #16639]
12089 * nscd/nscd.service: Make service type forking.
12090
54b46a4b
AZ
120912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12092
12093 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12094 sign in non default rounding modes.
12095 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12096
e9996ef7
JM
120972014-03-08 Joseph Myers <joseph@codesourcery.com>
12098
12099 * math/libm-test.inc (ALL_RM_TEST): New macro.
12100 (ceil_test): Use ALL_RM_TEST.
12101 (cimag_test): Likewise.
12102 (conj_test): Likewise.
12103 (copysign_test): Likewise.
12104 (cproj_test): Likewise.
12105 (creal_test): Likewise.
12106 (fabs_test): Likewise.
12107 (floor_test): Likewise.
12108 (fmax_test): Likewise.
12109 (fmin_test): Likewise.
12110 (fmod_test): Likewise.
12111 (fpclassify_test): Likewise.
12112 (frexp_test): Likewise.
12113 (ilogb_test): Likewise.
12114 (isfinite_test): Likewise.
12115 (finite_test): Likewise.
12116 (isgreater_test): Likewise.
12117 (isgreaterequal_test): Likewise.
12118 (isinf_test): Likewise.
12119 (isless_test): Likewise.
12120 (islessequal_test): Likewise.
12121 (islessgreater_test): Likewise.
12122 (isnan_test): Likewise.
12123 (isnormal_test): Likewise.
12124 (issignaling_test): Likewise.
12125 (isunordered_test): Likewise.
12126 (logb_test): Likewise.
12127 (logb_downward_test_data): Remove.
12128 (logb_test_downward): Likewise.
12129 (lround_test): Use ALL_RM_TEST.
12130 (llround_test): Likewise.
12131 (modf_test): Likewise.
12132 (nexttoward_test): Likewise.
12133 (remainder_test): Likewise.
12134 (drem_test): Likewise.
12135 (remainder_tonearest_test_data): Likewise.
12136 (remainder_test_tonearest): Likewise.
12137 (drem_test_tonearest): Likewise.
12138 (remainder_towardzero_test_data): Likewise.
12139 (remainder_test_towardzero): Likewise.
12140 (drem_test_towardzero): Likewise.
12141 (remainder_downward_test_data): Likewise.
12142 (remainder_test_downward): Likewise.
12143 (drem_test_downward): Likewise.
12144 (remainder_upward_test_data): Likewise.
12145 (remainder_test_upward): Likewise.
12146 (drem_test_upward): Likewise.
12147 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12148 (round_test): Use ALL_RM_TEST.
12149 (signbit_test): Likewise.
12150 (trunc_test): Likewise.
12151 (significand_test): Likewise.
12152 (main): Don't call removed functions.
12153
bc61d27c
JM
121542014-03-07 Joseph Myers <joseph@codesourcery.com>
12155
5c780849
JM
12156 [BZ #16674]
12157 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12158 || __USE_XOPEN2K8].
12159 (ILL_ILLOPN): Likewise.
12160 (ILL_ILLADR): Likewise.
12161 (ILL_ILLTRP): Likewise.
12162 (ILL_PRVOPC): Likewise.
12163 (ILL_PRVREG): Likewise.
12164 (ILL_COPROC): Likewise.
12165 (ILL_BADSTK): Likewise.
12166 (FPE_INTDIV): Likewise.
12167 (FPE_INTOVF): Likewise.
12168 (FPE_FLTDIV): Likewise.
12169 (FPE_FLTOVF): Likewise.
12170 (FPE_FLTUND): Likewise.
12171 (FPE_FLTRES): Likewise.
12172 (FPE_FLTINV): Likewise.
12173 (FPE_FLTSUB): Likewise.
12174 (SEGV_MAPERR): Likewise.
12175 (SEGV_ACCERR): Likewise.
12176 (BUS_ADRALN): Likewise.
12177 (BUS_ADRERR): Likewise.
12178 (BUS_OBJERR): Likewise.
12179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12180 (TRAP_TRACE): Likewise.
12181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12182 __USE_XOPEN2K8].
12183 (CLD_KILLED): Likewise.
12184 (CLD_DUMPED): Likewise.
12185 (CLD_TRAPPED): Likewise.
12186 (CLD_STOPPED): Likewise.
12187 (CLD_CONTINUED): Likewise.
12188 (POLL_IN): Likewise.
12189 (POLL_OUT): Likewise.
12190 (POLL_MSG): Likewise.
12191 (POLL_ERR): Likewise.
12192 (POLL_PRI): Likewise.
12193 (POLL_HUP): Likewise.
12194 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12195 Likewise.
12196 (ILL_ILLOPN): Likewise.
12197 (ILL_ILLADR): Likewise.
12198 (ILL_ILLTRP): Likewise.
12199 (ILL_PRVOPC): Likewise.
12200 (ILL_PRVREG): Likewise.
12201 (ILL_COPROC): Likewise.
12202 (ILL_BADSTK): Likewise.
12203 (FPE_INTDIV): Likewise.
12204 (FPE_INTOVF): Likewise.
12205 (FPE_FLTDIV): Likewise.
12206 (FPE_FLTOVF): Likewise.
12207 (FPE_FLTUND): Likewise.
12208 (FPE_FLTRES): Likewise.
12209 (FPE_FLTINV): Likewise.
12210 (FPE_FLTSUB): Likewise.
12211 (SEGV_MAPERR): Likewise.
12212 (SEGV_ACCERR): Likewise.
12213 (BUS_ADRALN): Likewise.
12214 (BUS_ADRERR): Likewise.
12215 (BUS_OBJERR): Likewise.
12216 (BUS_MCEERR_AR): Likewise.
12217 (BUS_MCEERR_AO): Likewise.
12218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12219 (TRAP_TRACE): Likewise.
12220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12221 __USE_XOPEN2K8].
12222 (CLD_KILLED): Likewise.
12223 (CLD_DUMPED): Likewise.
12224 (CLD_TRAPPED): Likewise.
12225 (CLD_STOPPED): Likewise.
12226 (CLD_CONTINUED): Likewise.
12227 (POLL_IN): Likewise.
12228 (POLL_OUT): Likewise.
12229 (POLL_MSG): Likewise.
12230 (POLL_ERR): Likewise.
12231 (POLL_PRI): Likewise.
12232 (POLL_HUP): Likewise.
12233 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12234 (ILL_ILLOPN): Likewise.
12235 (ILL_ILLADR): Likewise.
12236 (ILL_ILLTRP): Likewise.
12237 (ILL_PRVOPC): Likewise.
12238 (ILL_PRVREG): Likewise.
12239 (ILL_COPROC): Likewise.
12240 (ILL_BADSTK): Likewise.
12241 (FPE_INTDIV): Likewise.
12242 (FPE_INTOVF): Likewise.
12243 (FPE_FLTDIV): Likewise.
12244 (FPE_FLTOVF): Likewise.
12245 (FPE_FLTUND): Likewise.
12246 (FPE_FLTRES): Likewise.
12247 (FPE_FLTINV): Likewise.
12248 (FPE_FLTSUB): Likewise.
12249 (SEGV_MAPERR): Likewise.
12250 (SEGV_ACCERR): Likewise.
12251 (BUS_ADRALN): Likewise.
12252 (BUS_ADRERR): Likewise.
12253 (BUS_OBJERR): Likewise.
12254 (BUS_MCEERR_AR): Likewise.
12255 (BUS_MCEERR_AO): Likewise.
12256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12257 (TRAP_TRACE): Likewise.
12258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12259 __USE_XOPEN2K8].
12260 (CLD_KILLED): Likewise.
12261 (CLD_DUMPED): Likewise.
12262 (CLD_TRAPPED): Likewise.
12263 (CLD_STOPPED): Likewise.
12264 (CLD_CONTINUED): Likewise.
12265 (POLL_IN): Likewise.
12266 (POLL_OUT): Likewise.
12267 (POLL_MSG): Likewise.
12268 (POLL_ERR): Likewise.
12269 (POLL_PRI): Likewise.
12270 (POLL_HUP): Likewise.
12271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12272 Likewise.
12273 (ILL_ILLOPN): Likewise.
12274 (ILL_ILLADR): Likewise.
12275 (ILL_ILLTRP): Likewise.
12276 (ILL_PRVOPC): Likewise.
12277 (ILL_PRVREG): Likewise.
12278 (ILL_COPROC): Likewise.
12279 (ILL_BADSTK): Likewise.
12280 (ILL_BADIADDR): Likewise.
12281 (ILL_BREAK): Likewise.
12282 (FPE_INTDIV): Likewise.
12283 (FPE_INTOVF): Likewise.
12284 (FPE_FLTDIV): Likewise.
12285 (FPE_FLTOVF): Likewise.
12286 (FPE_FLTUND): Likewise.
12287 (FPE_FLTRES): Likewise.
12288 (FPE_FLTINV): Likewise.
12289 (FPE_FLTSUB): Likewise.
12290 (FPE_DECOVF): Likewise.
12291 (FPE_DECDIV): Likewise.
12292 (FPE_DECERR): Likewise.
12293 (FPE_INVASC): Likewise.
12294 (FPE_INVDEC): Likewise.
12295 (SEGV_MAPERR): Likewise.
12296 (SEGV_ACCERR): Likewise.
12297 (SEGV_PSTKOVF): Likewise.
12298 (BUS_ADRALN): Likewise.
12299 (BUS_ADRERR): Likewise.
12300 (BUS_OBJERR): Likewise.
12301 (BUS_MCEERR_AR): Likewise.
12302 (BUS_MCEERR_AO): Likewise.
12303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12304 (TRAP_TRACE): Likewise.
12305 (TRAP_BRANCH): Likewise.
12306 (TRAP_HWBKPT): Likewise.
12307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12308 __USE_XOPEN2K8].
12309 (CLD_KILLED): Likewise.
12310 (CLD_DUMPED): Likewise.
12311 (CLD_TRAPPED): Likewise.
12312 (CLD_STOPPED): Likewise.
12313 (CLD_CONTINUED): Likewise.
12314 (POLL_IN): Likewise.
12315 (POLL_OUT): Likewise.
12316 (POLL_MSG): Likewise.
12317 (POLL_ERR): Likewise.
12318 (POLL_PRI): Likewise.
12319 (POLL_HUP): Likewise.
12320 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12321 (ILL_ILLOPN): Likewise.
12322 (ILL_ILLADR): Likewise.
12323 (ILL_ILLTRP): Likewise.
12324 (ILL_PRVOPC): Likewise.
12325 (ILL_PRVREG): Likewise.
12326 (ILL_COPROC): Likewise.
12327 (ILL_BADSTK): Likewise.
12328 (FPE_INTDIV): Likewise.
12329 (FPE_INTOVF): Likewise.
12330 (FPE_FLTDIV): Likewise.
12331 (FPE_FLTOVF): Likewise.
12332 (FPE_FLTUND): Likewise.
12333 (FPE_FLTRES): Likewise.
12334 (FPE_FLTINV): Likewise.
12335 (FPE_FLTSUB): Likewise.
12336 (SEGV_MAPERR): Likewise.
12337 (SEGV_ACCERR): Likewise.
12338 (BUS_ADRALN): Likewise.
12339 (BUS_ADRERR): Likewise.
12340 (BUS_OBJERR): Likewise.
12341 (BUS_MCEERR_AR): Likewise.
12342 (BUS_MCEERR_AO): Likewise.
12343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12344 (TRAP_TRACE): Likewise.
12345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12346 __USE_XOPEN2K8].
12347 (CLD_KILLED): Likewise.
12348 (CLD_DUMPED): Likewise.
12349 (CLD_TRAPPED): Likewise.
12350 (CLD_STOPPED): Likewise.
12351 (CLD_CONTINUED): Likewise.
12352 (POLL_IN): Likewise.
12353 (POLL_OUT): Likewise.
12354 (POLL_MSG): Likewise.
12355 (POLL_ERR): Likewise.
12356 (POLL_PRI): Likewise.
12357 (POLL_HUP): Likewise.
12358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12359 (ILL_ILLOPN): Likewise.
12360 (ILL_ILLADR): Likewise.
12361 (ILL_ILLTRP): Likewise.
12362 (ILL_PRVOPC): Likewise.
12363 (ILL_PRVREG): Likewise.
12364 (ILL_COPROC): Likewise.
12365 (ILL_BADSTK): Likewise.
12366 (FPE_INTDIV): Likewise.
12367 (FPE_INTOVF): Likewise.
12368 (FPE_FLTDIV): Likewise.
12369 (FPE_FLTOVF): Likewise.
12370 (FPE_FLTUND): Likewise.
12371 (FPE_FLTRES): Likewise.
12372 (FPE_FLTINV): Likewise.
12373 (FPE_FLTSUB): Likewise.
12374 (SEGV_MAPERR): Likewise.
12375 (SEGV_ACCERR): Likewise.
12376 (BUS_ADRALN): Likewise.
12377 (BUS_ADRERR): Likewise.
12378 (BUS_OBJERR): Likewise.
12379 (BUS_MCEERR_AR): Likewise.
12380 (BUS_MCEERR_AO): Likewise.
12381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12382 (TRAP_TRACE): Likewise.
12383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12384 __USE_XOPEN2K8].
12385 (CLD_KILLED): Likewise.
12386 (CLD_DUMPED): Likewise.
12387 (CLD_TRAPPED): Likewise.
12388 (CLD_STOPPED): Likewise.
12389 (CLD_CONTINUED): Likewise.
12390 (POLL_IN): Likewise.
12391 (POLL_OUT): Likewise.
12392 (POLL_MSG): Likewise.
12393 (POLL_ERR): Likewise.
12394 (POLL_PRI): Likewise.
12395 (POLL_HUP): Likewise.
12396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12397 (ILL_ILLOPN): Likewise.
12398 (ILL_ILLADR): Likewise.
12399 (ILL_ILLTRP): Likewise.
12400 (ILL_PRVOPC): Likewise.
12401 (ILL_PRVREG): Likewise.
12402 (ILL_COPROC): Likewise.
12403 (ILL_BADSTK): Likewise.
12404 (FPE_INTDIV): Likewise.
12405 (FPE_INTOVF): Likewise.
12406 (FPE_FLTDIV): Likewise.
12407 (FPE_FLTOVF): Likewise.
12408 (FPE_FLTUND): Likewise.
12409 (FPE_FLTRES): Likewise.
12410 (FPE_FLTINV): Likewise.
12411 (FPE_FLTSUB): Likewise.
12412 (SEGV_MAPERR): Likewise.
12413 (SEGV_ACCERR): Likewise.
12414 (BUS_ADRALN): Likewise.
12415 (BUS_ADRERR): Likewise.
12416 (BUS_OBJERR): Likewise.
12417 (BUS_MCEERR_AR): Likewise.
12418 (BUS_MCEERR_AO): Likewise.
12419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12420 (TRAP_TRACE): Likewise.
12421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12422 __USE_XOPEN2K8].
12423 (CLD_KILLED): Likewise.
12424 (CLD_DUMPED): Likewise.
12425 (CLD_TRAPPED): Likewise.
12426 (CLD_STOPPED): Likewise.
12427 (CLD_CONTINUED): Likewise.
12428 (POLL_IN): Likewise.
12429 (POLL_OUT): Likewise.
12430 (POLL_MSG): Likewise.
12431 (POLL_ERR): Likewise.
12432 (POLL_PRI): Likewise.
12433 (POLL_HUP): Likewise.
12434 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12435 (ILL_ILLOPN): Likewise.
12436 (ILL_ILLADR): Likewise.
12437 (ILL_ILLTRP): Likewise.
12438 (ILL_PRVOPC): Likewise.
12439 (ILL_PRVREG): Likewise.
12440 (ILL_COPROC): Likewise.
12441 (ILL_BADSTK): Likewise.
12442 (ILL_DBLFLT): Likewise.
12443 (ILL_HARDWALL): Likewise.
12444 (FPE_INTDIV): Likewise.
12445 (FPE_INTOVF): Likewise.
12446 (FPE_FLTDIV): Likewise.
12447 (FPE_FLTOVF): Likewise.
12448 (FPE_FLTUND): Likewise.
12449 (FPE_FLTRES): Likewise.
12450 (FPE_FLTINV): Likewise.
12451 (FPE_FLTSUB): Likewise.
12452 (SEGV_MAPERR): Likewise.
12453 (SEGV_ACCERR): Likewise.
12454 (BUS_ADRALN): Likewise.
12455 (BUS_ADRERR): Likewise.
12456 (BUS_OBJERR): Likewise.
12457 (BUS_MCEERR_AR): Likewise.
12458 (BUS_MCEERR_AO): Likewise.
12459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12460 (TRAP_TRACE): Likewise.
12461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12462 __USE_XOPEN2K8].
12463 (CLD_KILLED): Likewise.
12464 (CLD_DUMPED): Likewise.
12465 (CLD_TRAPPED): Likewise.
12466 (CLD_STOPPED): Likewise.
12467 (CLD_CONTINUED): Likewise.
12468 (POLL_IN): Likewise.
12469 (POLL_OUT): Likewise.
12470 (POLL_MSG): Likewise.
12471 (POLL_ERR): Likewise.
12472 (POLL_PRI): Likewise.
12473 (POLL_HUP): Likewise.
12474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12475 (ILL_ILLOPN): Likewise.
12476 (ILL_ILLADR): Likewise.
12477 (ILL_ILLTRP): Likewise.
12478 (ILL_PRVOPC): Likewise.
12479 (ILL_PRVREG): Likewise.
12480 (ILL_COPROC): Likewise.
12481 (ILL_BADSTK): Likewise.
12482 (FPE_INTDIV): Likewise.
12483 (FPE_INTOVF): Likewise.
12484 (FPE_FLTDIV): Likewise.
12485 (FPE_FLTOVF): Likewise.
12486 (FPE_FLTUND): Likewise.
12487 (FPE_FLTRES): Likewise.
12488 (FPE_FLTINV): Likewise.
12489 (FPE_FLTSUB): Likewise.
12490 (SEGV_MAPERR): Likewise.
12491 (SEGV_ACCERR): Likewise.
12492 (BUS_ADRALN): Likewise.
12493 (BUS_ADRERR): Likewise.
12494 (BUS_OBJERR): Likewise.
12495 (BUS_MCEERR_AR): Likewise.
12496 (BUS_MCEERR_AO): Likewise.
12497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12498 (TRAP_TRACE): Likewise.
12499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12500 __USE_XOPEN2K8].
12501 (CLD_KILLED): Likewise.
12502 (CLD_DUMPED): Likewise.
12503 (CLD_TRAPPED): Likewise.
12504 (CLD_STOPPED): Likewise.
12505 (CLD_CONTINUED): Likewise.
12506 (POLL_IN): Likewise.
12507 (POLL_OUT): Likewise.
12508 (POLL_MSG): Likewise.
12509 (POLL_ERR): Likewise.
12510 (POLL_PRI): Likewise.
12511 (POLL_HUP): Likewise.
12512 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12514
bc61d27c
JM
12515 [BZ #16670]
12516 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12517 before #include of <time.h>.
12518 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12519 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12520 (test-xfail-UNIX98/sched.h/conform): Likewise.
12521
302949e2
MS
125222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12523
12524 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12525 error absence of trapping exception support.
12526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12527
a00f522a
JM
125282014-03-07 Joseph Myers <joseph@codesourcery.com>
12529
6f99f280
JM
12530 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12531 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12532 * timezone/Makefile (testdata): Move definition above include of
12533 Rules.
12534 (test-zones): New variable.
12535 (tests-special): Add zone files.
12536 (build-testdata): Use $(evaluate-test).
12537
0b20a9e8
JM
12538 * elf/Makefile (tests-special): Rename tests to end with .out.
12539 ($(objpfx)noload-mem): Likewise.
12540 ($(objpfx)tst-leaks1-mem): Likewise.
12541 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12542 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12543 $(objpfx)test-iconvconfig.out.
12544 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12545 set -e inside subshell and redirect output to file.
12546 * iconvdata/Makefile (generated): Rename tests to end with .out.
12547 Correct type.
12548 (tests-special): Rename tests to end with .out.
12549 ($(objpfx)mtrace-tst-loading): Likewise.
12550 * intl/Makefile (generated): Likewise.
12551 (tests-special): Likewise.
12552 ($(objpfx)mtrace-tst-gettext): Likewise.
12553 * misc/Makefile (generated): Likewise.
12554 (tests-special): Likewise.
12555 ($(objpfx)tst-error1-mem): Likewise.
12556 * nptl/Makefile (tests-special): Likewise.
12557 ($(objpfx)tst-stack3-mem): Likewise.
12558 (generated): Likewise.
12559 * posix/Makefile (generated): Likewise.
12560 (tests-special): Likewise.
12561 (xtests-special): Likewise.
12562 ($(objpfx)tst-fnmatch-mem): Likewise.
12563 ($(objpfx)bug-regex2-mem): Likewise.
12564 ($(objpfx)bug-regex14-mem): Likewise.
12565 ($(objpfx)bug-regex21-mem): Likewise.
12566 ($(objpfx)bug-regex31-mem): Likewise.
12567 ($(objpfx)tst-vfork3-mem): Likewise.
12568 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12569 ($(objpfx)tst-pcre-mem): Likewise.
12570 ($(objpfx)tst-boost-mem): Likewise.
12571 ($(objpfx)bug-ga2-mem): Likewise.
12572 ($(objpfx)bug-glob2-mem): Likewise.
12573 * resolv/Makefile (generate): Likewise.
12574 (tests-special): Likewise.
12575 (xtests-special): Likewise.
12576 (generated): Likewise.
12577 ($(objpfx)mtrace-tst-leaks): Likewise.
12578 ($(objpfx)mtrace-tst-leaks2): Likewise.
12579
265d52ab
JM
12580 * scripts/merge-test-results.sh: New file.
12581 * Makefile (tests-special-notdir): New variable.
12582 (tests): Run merge-test-results.sh.
12583 (xtests): Likewise.
12584 * Rules (tests-special-notdir): New variable.
12585 (xtests-special-notdir): Likewise.
12586 (tests): Run merge-test-results.sh
12587 (xtests): Likewise.
12588
54ee292d
JM
12589 * Makeconfig (test-xfail-name): New variable.
12590 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12591 compute variable name for expected failures.
12592 * conform/Makefile (conformtest-headers-data): New variable.
12593 (conformtest-standards): Likewise.
12594 (conformtest-headers-ISO): Likewise.
12595 (conformtest-headers-ISO99): Likewise.
12596 (conformtest-headers-ISO11): Likewise.
12597 (conformtest-headers-POSIX): Likewise.
12598 (conformtest-headers-XPG3): Likewise.
12599 (conformtest-headers-XPG4): Likewise.
12600 (conformtest-headers-UNIX98): Likewise.
12601 (conformtest-headers-XOPEN2K): Likewise.
12602 (conformtest-headers-POSIX2008): Likewise.
12603 (conformtest-headers-XOPEN2K8): Likewise.
12604 (conformtest-header-list-base): Likewise.
12605 (conformtest-header-list-tests): Likewise.
12606 (conformtest-header-base): Likewise.
12607 (conformtest-header-tests): Likewise.
12608 (tests-special): Add $(conformtest-header-list-tests). If
12609 [$(fast-check) && !$(cross-compiling)], add
12610 $(conformtest-header-tests) instead of
12611 $(objpfx)run-conformtest.out.
12612 (generated): Add $(conformtest-header-list-base). If
12613 [$(fast-check) && !$(cross-compiling)], add
12614 $(conformtest-header-base). Remove previous setting.
12615 ($(conformtest-header-list-tests)): New target.
12616 (test-xfail-run-conformtest): Remove variable.
12617 ($(objpfx)run-conformtest.out): Remove target.
12618 (test-xfail-ISO11/complex.h/conform): New variable.
12619 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12620 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12621 (test-xfail-XPG3/varargs.h/conform): Likewise.
12622 (test-xfail-XPG4/varargs.h/conform): Likewise.
12623 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12624 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12625 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12626 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12627 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12628 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12629 (test-xfail-XPG3/ftw.h/conform): Likewise.
12630 (test-xfail-XPG3/grp.h/conform): Likewise.
12631 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12632 (test-xfail-XPG3/limits.h/conform): Likewise.
12633 (test-xfail-XPG3/pwd.h/conform): Likewise.
12634 (test-xfail-XPG3/search.h/conform): Likewise.
12635 (test-xfail-XPG3/signal.h/conform): Likewise.
12636 (test-xfail-XPG3/stdio.h/conform): Likewise.
12637 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12638 (test-xfail-XPG3/string.h/conform): Likewise.
12639 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12640 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12641 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12642 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12643 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12644 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12645 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12646 (test-xfail-XPG3/termios.h/conform): Likewise.
12647 (test-xfail-XPG3/time.h/conform): Likewise.
12648 (test-xfail-XPG3/unistd.h/conform): Likewise.
12649 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12650 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12651 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12652 (test-xfail-XPG4/netdb.h/conform): Likewise.
12653 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12654 (test-xfail-XPG4/signal.h/conform): Likewise.
12655 (test-xfail-XPG4/stdio.h/conform): Likewise.
12656 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12657 (test-xfail-XPG4/stropts.h/conform): Likewise.
12658 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12659 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12660 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12661 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12662 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12663 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12664 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12665 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12666 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12667 (test-xfail-XPG4/termios.h/conform): Likewise.
12668 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12669 (test-xfail-XPG4/unistd.h/conform): Likewise.
12670 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12671 (test-xfail-POSIX/sched.h/conform): Likewise.
12672 (test-xfail-POSIX/signal.h/conform): Likewise.
12673 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12674 (test-xfail-POSIX/tar.h/conform): Likewise.
12675 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12676 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12677 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12678 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12679 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12680 (test-xfail-UNIX98/sched.h/conform): Likewise.
12681 (test-xfail-UNIX98/signal.h/conform): Likewise.
12682 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12683 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12684 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12685 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12686 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12687 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12688 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12689 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12690 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12691 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12692 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12693 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12694 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12695 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12696 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12697 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12698 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12699 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12700 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12701 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12702 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12703 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12704 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12705 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12706 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12707 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12708 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12709 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12710 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12711 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12712 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12713 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12714 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12715 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12716 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12717 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12718 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12719 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12720 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12721 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12722 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12723 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12724 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12725 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12726 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12727 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12728 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12729 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12730 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12731 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12732 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12733 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12734 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12735 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12736 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12737 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12738 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12739 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12740 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12741 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12742 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12743 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12744 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12745 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12746 (conformtest-cc-flags): Likewise.
12747 ($(conformtest-header-tests): New target.
12748 * conform/check-header-lists.sh: New file.
12749 * conform/run-conformtest.sh: Remove.
12750
a00f522a
JM
12751 * conform/conformtest.pl: Allow ' and \ in values given for
12752 constants.
12753 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12754 inclusion.
12755 [POSIX] (sys/types.h): Likewise.
12756 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12757 inclusion.
12758 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12759 inclusion.
12760 * conform/data/signal.h-data (SIGIO): Remove expectation.
12761 [XPG3] (SIGBUS): Do not expect.
12762 [POSIX || XPG3] (SIGPOLL): Likewise.
12763 [POSIX || XPG3] (SIGPROF): Likewise.
12764 [POSIX || XPG3] (SIGSYS): Likewise.
12765 [XPG3] (SIGTRAP): Likewise.
12766 [POSIX || XPG3] (SIGURG): Likewise.
12767 [POSIX || XPG3] (SIGVTALRM): Likewise.
12768 [POSIX || XPG3] (SIGXCPU): Likewise.
12769 [POSIX || XPG3] (SIGXFSZ): Likewise.
12770 [POSIX] (SA_SIGINFO): Expect.
12771 [XPG3] (siginfo_t): Do not expect type or contents.
12772 [POSIX] (si_pid): Do not expect element.
12773 [POSIX] (si_uid): Likewise.
12774 [POSIX] (si_addr): Likewise.
12775 [POSIX] (si_status): Likewise.
12776 [POSIX] (si_band): Likewise.
12777 [XPG4] (si_value): Likewise.
12778 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12779 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12780 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12781 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12782 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12783 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12784 [POSIX || XPG3] (ILL_COPROC): Likewise.
12785 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12786 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12787 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12788 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12789 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12790 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12791 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12792 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12793 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12794 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12795 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12796 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12797 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12798 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12799 [POSIX || XPG3] (CLD_EXITED): Likewise.
12800 [POSIX || XPG3] (CLD_KILLED): Likewise.
12801 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12802 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12803 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12804 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12805 [POSIX || XPG3] (POLL_IN): Likewise.
12806 [POSIX || XPG3] (POLL_OUT): Likewise.
12807 [POSIX || XPG3] (POLL_MSG): Likewise.
12808 [POSIX || XPG3] (POLL_ERR): Likewise.
12809 [POSIX || XPG3] (POLL_PRI): Likewise.
12810 [POSIX || XPG3] (POLL_HUP): Likewise.
12811 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12812 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12813 (SIG*): Do not allow.
12814 [XPG3] (si_*): Likewise.
12815 [XPG3] (SI_*): Likewise.
12816 [XPG3 || XPG4] (sigev_*): Likewise.
12817 [XPG3 || XPG4] (SIGEV_*): Likewise.
12818 [XPG3 || XPG4] (sival_*): Likewise.
12819 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12820 [POSIX || XPG3] (BUS_*): Likewise.
12821 [POSIX || XPG3] (CLD_*): Likewise.
12822 [POSIX || XPG3] (FPE_*): Likewise.
12823 [POSIX || XPG3] (ILL_*): Likewise.
12824 [POSIX || XPG3] (POLL_*): Likewise.
12825 [POSIX || XPG3] (SEGV_*): Likewise.
12826 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12827 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12828 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12829 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12830 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12831 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12832 Specify type and value.
12833 (TVERSLEN): Likewise.
12834 (REGTYPE): Likewise.
12835 (AREGTYPE): Likewise.
12836 (LNKTYPE): Likewise.
12837 (SYMTYPE): Likewise.
12838 (CHRTYPE): Likewise.
12839 (BLKTYPE): Likewise.
12840 (DIRTYPE): Likewise.
12841 (FIFOTYPE): Likewise.
12842 (CONTTYPE): Likewise.
12843 (TSUID): Likewise.
12844 (TSGID): Likewise.
12845 (TSVTX): Likewise.
12846 (TUREAD): Likewise.
12847 (TUWRITE): Likewise.
12848 (TUEXEC): Likewise.
12849 (TGREAD): Likewise.
12850 (TGWRITE): Likewise.
12851 (TGEXEC): Likewise.
12852 (TOREAD): Likewise.
12853 (TOWRITE): Likewise.
12854 (TOEXEC): Likewise.
12855 [POSIX] (TSVTX): Expect constant.
12856
aa97dee1
JM
128572014-03-06 Joseph Myers <joseph@codesourcery.com>
12858
f214606a
JM
12859 * Makefile (tests): Change dependencies to ....
12860 (tests-special): ... additions to this variable.
12861 (tests): Depend on $(tests-special).
12862 * Makerules (check-abi-list): New variable.
12863 (check-abi): Depend on $(check-abi-list).
12864 [$(subdir) = elf] (tests-special): Add
12865 $(objpfx)check-abi-libc.out.
12866 [$(build-shared) = yes && subdir] (tests-special): Add
12867 $(check-abi-list).
12868 [$(build-shared) = yes && subdir] (tests): Do not depend on
12869 check-abi.
12870 * Rules (tests): Depend on $(tests-special).
12871 (xtests): Depend on $(xtests-special).
12872 * catgets/Makefile (tests): Change dependencies to ....
12873 (tests-special): ... additions to this variable.
12874 * conform/Makefile (tests): Change dependencies to ....
12875 (tests-special): ... additions to this variable.
12876 * elf/Makefile (tests): Change dependencies to ....
12877 (tests-special): ... additions to this variable.
12878 * grp/Makefile (tests): Change dependencies to ....
12879 (tests-special): ... additions to this variable.
12880 * iconv/Makefile (xtests): Change dependencies to ....
12881 (xtests-special): ... additions to this variable.
12882 * iconvdata/Makefile (tests): Change dependencies to ....
12883 (tests-special): ... additions to this variable.
12884 * intl/Makefile (tests): Change dependencies to ....
12885 (tests-special): ... additions to this variable. Also add
12886 $(objpfx)tst-gettext.out.
12887 * io/Makefile (tests): Change dependencies to ....
12888 (tests-special): ... additions to this variable.
12889 * libio/Makefile (tests): Change dependencies to ....
12890 (tests-special): ... additions to this variable.
12891 * malloc/Makefile (tests): Change dependencies to ....
12892 (tests-special): ... additions to this variable.
12893 * misc/Makefile (tests): Change dependencies to ....
12894 (tests-special): ... additions to this variable.
12895 * nptl/Makefile (tests): Change dependencies to ....
12896 (tests-special): ... additions to this variable.
12897 * nptl_db/Makefile (tests): Change dependencies to ....
12898 (tests-special): ... additions to this variable.
12899 * posix/Makefile (tests): Change dependencies to ....
12900 (tests-special): ... additions to this variable.
12901 (xtests): Change dependencies to ....
12902 (xtests-special): ... additions to this variable.
12903 * resolv/Makefile (tests): Change dependencies to ....
12904 (tests-special): ... additions to this variable.
12905 (xtests): Change dependencies to ....
12906 (xtests-special): ... additions to this variable.
12907 * stdio-common/Makefile (tests): Change dependencies to ....
12908 (tests-special): ... additions to this variable.
12909 (do-tst-unbputc): Remove target.
12910 (do-tst-printf): Likewise.
12911 * stdlib/Makefile (tests): Change dependencies to ....
12912 (tests-special): ... additions to this variable.
12913 * string/Makefile (tests): Change dependencies to ....
12914 (tests-special): ... additions to this variable.
12915 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12916 (tests-special): ... additions to this variable.
12917
81700b53
JM
12918 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12919 whole file.
12920 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12921 whole file.
12922 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12923 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12924
2ea18461
JM
12925 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12926 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12927 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12928 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12929 * conform/data/libgen.h-data [XPG3]: Likewise.
12930 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12931 * conform/data/ndbm.h-data [XPG3]: Likewise.
12932 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12933 * conform/data/netdb.h-data [XPG3]: Likewise.
12934 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12935 * conform/data/poll.h-data [XPG3]: Likewise.
12936 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12937 * conform/data/strings.h-data [XPG3]: Likewise.
12938 * conform/data/stropts.h-data [XPG3]: Likewise.
12939 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12940 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12941 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12942 Likewise.
12943 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12944 * conform/data/sys/time.h-data [XPG3]: Likewise.
12945 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12946 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12947 * conform/data/sys/un.h-data [XPG3]: Likewise.
12948 * conform/data/syslog.h-data [XPG3]: Likewise.
12949 * conform/data/ucontext.h-data [XPG3]: Likewise.
12950 * conform/data/utmpx.h-data [XPG3]: Likewise.
12951 * conform/data/varargs.h-data [UNIX98]: Enable file.
12952
355bc986
JM
12953 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12954
215db402
JM
12955 * math/libm-test.inc (struct test_f_f_data): Move expected results
12956 into structure for each rounding mode.
12957 (struct test_ff_f_data): Likewise.
12958 (struct test_ff_f_data_nexttoward): Likewise.
12959 (struct test_fi_f_data): Likewise.
12960 (struct test_fl_f_data): Likewise.
12961 (struct test_if_f_data): Likewise.
12962 (struct test_fff_f_data): Likewise.
12963 (struct test_c_f_data): Likewise.
12964 (struct test_f_f1_data): Likewise.
12965 (struct test_fF_f1_data): Likewise.
12966 (struct test_ffI_f1_data): Likewise.
12967 (struct test_c_c_data): Likewise.
12968 (struct test_cc_c_data): Likewise.
12969 (struct test_f_i_data): Likewise.
12970 (struct test_ff_i_data): Likewise.
12971 (struct test_f_l_data): Likewise.
12972 (struct test_f_L_data): Likewise.
12973 (struct test_fFF_11_data): Likewise.
12974 (RM_): New macro.
12975 (RM_FE_DOWNWARD): Likewise.
12976 (RM_FE_TONEAREST): Likewise.
12977 (RM_FE_TOWARDZERO): Likewise.
12978 (RM_FE_UPWARD): Likewise.
12979 (RUN_TEST_LOOP_f_f): Update references to expected results.
12980 (RUN_TEST_LOOP_2_f): Likewise.
12981 (RUN_TEST_LOOP_fff_f): Likewise.
12982 (RUN_TEST_LOOP_c_f): Likewise.
12983 (RUN_TEST_LOOP_f_f1): Likewise.
12984 (RUN_TEST_LOOP_fF_f1): Likewise.
12985 (RUN_TEST_LOOP_fI_f1): Likewise.
12986 (RUN_TEST_LOOP_ffI_f1): Likewise.
12987 (RUN_TEST_LOOP_c_c): Likewise.
12988 (RUN_TEST_LOOP_cc_c): Likewise.
12989 (RUN_TEST_LOOP_f_i): Likewise.
12990 (RUN_TEST_LOOP_f_i_tg): Likewise.
12991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12992 (RUN_TEST_LOOP_f_b): Likewise.
12993 (RUN_TEST_LOOP_f_b_tg): Likewise.
12994 (RUN_TEST_LOOP_f_l): Likewise.
12995 (RUN_TEST_LOOP_f_L): Likewise.
12996 (RUN_TEST_LOOP_fFF_11): Likewise.
12997 * math/gen-libm-test.pl (parse_args): Output four copies of
12998 expected results for each test.
12999
67737b8f
JM
13000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13001 (__ASSUME_UTIMES): Remove.
13002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13003 (__ASSUME_UTIMES): Likewise.
13004
aa97dee1
JM
13005 * math/gen-auto-libm-tests.c: Update comment on output format.
13006 (output_for_one_input_case): Generate before-rounding and
13007 after-rounding information as conditions on output flags not
13008 floating-point format.
13009 * math/auto-libm-test-out: Regenerated.
13010 * math/gen-libm-test.pl (cond_value): New function.
13011 (or_cond_value): Use cond_value.
13012 (generate_testfile): Handle conditional exceptions.
13013
e6b6a857
JM
130142014-03-05 Joseph Myers <joseph@codesourcery.com>
13015
2f0a0f44
JM
13016 * math/libm-test.inc (max_valid_error): New variable.
13017 (init_max_error): Take new argument specifying whether function
13018 results are exactly determined. Set max_valid_error and bound
13019 other variables for errors based on this argument.
13020 (set_max_error): Do not record results above max_valid_error.
13021 (check_float_internal): Only accept errors of up to 0.5ulps if
13022 also at most max_valid_error.
13023 (START): Take new argument EXACT and pass it to init_max_error.
13024 (acos_test): Update call to START.
13025 (acos_test_tonearest): Likewise.
13026 (acos_test_towardzero): Likewise.
13027 (acos_test_downward): Likewise.
13028 (acos_test_upward): Likewise.
13029 (acosh_test): Likewise.
13030 (asin_test): Likewise.
13031 (asin_test_tonearest): Likewise.
13032 (asin_test_towardzero): Likewise.
13033 (asin_test_downward): Likewise.
13034 (asin_test_upward): Likewise.
13035 (asinh_test): Likewise.
13036 (atan_test): Likewise.
13037 (atanh_test): Likewise.
13038 (atan2_test): Likewise.
13039 (cabs_test): Likewise.
13040 (cacos_test): Likewise.
13041 (cacosh_test): Likewise.
13042 (carg_test): Likewise.
13043 (casin_test): Likewise.
13044 (casinh_test): Likewise.
13045 (catan_test): Likewise.
13046 (catanh_test): Likewise.
13047 (cbrt_test): Likewise.
13048 (ccos_test): Likewise.
13049 (ccosh_test): Likewise.
13050 (ceil_test): Likewise.
13051 (cexp_test): Likewise.
13052 (cimag_test): Likewise.
13053 (clog_test): Likewise.
13054 (clog10_test): Likewise.
13055 (conj_test): Likewise.
13056 (copysign_test): Likewise.
13057 (cos_test): Likewise.
13058 (cos_test_tonearest): Likewise.
13059 (cos_test_towardzero): Likewise.
13060 (cos_test_downward): Likewise.
13061 (cos_test_upward): Likewise.
13062 (cosh_test): Likewise.
13063 (cosh_test_tonearest): Likewise.
13064 (cosh_test_towardzero): Likewise.
13065 (cosh_test_downward): Likewise.
13066 (cosh_test_upward): Likewise.
13067 (cpow_test): Likewise.
13068 (cproj_test): Likewise.
13069 (creal_test): Likewise.
13070 (csin_test): Likewise.
13071 (csinh_test): Likewise.
13072 (csqrt_test): Likewise.
13073 (ctan_test): Likewise.
13074 (ctan_test_tonearest): Likewise.
13075 (ctan_test_towardzero): Likewise.
13076 (ctan_test_downward): Likewise.
13077 (ctan_test_upward): Likewise.
13078 (ctanh_test): Likewise.
13079 (ctanh_test_tonearest): Likewise.
13080 (ctanh_test_towardzero): Likewise.
13081 (ctanh_test_downward): Likewise.
13082 (ctanh_test_upward): Likewise.
13083 (erf_test): Likewise.
13084 (erfc_test): Likewise.
13085 (exp_test): Likewise.
13086 (exp_test_tonearest): Likewise.
13087 (exp_test_towardzero): Likewise.
13088 (exp_test_downward): Likewise.
13089 (exp_test_upward): Likewise.
13090 (exp10_test): Likewise.
13091 (exp10_test_tonearest): Likewise.
13092 (exp10_test_towardzero): Likewise.
13093 (exp10_test_downward): Likewise.
13094 (exp10_test_upward): Likewise.
13095 (pow10_test): Likewise.
13096 (exp2_test): Likewise.
13097 (expm1_test): Likewise.
13098 (expm1_test_tonearest): Likewise.
13099 (expm1_test_towardzero): Likewise.
13100 (expm1_test_downward): Likewise.
13101 (expm1_test_upward): Likewise.
13102 (fabs_test): Likewise.
13103 (fdim_test): Likewise.
13104 (floor_test): Likewise.
13105 (fma_test): Likewise.
13106 (fma_test_towardzero): Likewise.
13107 (fma_test_downward): Likewise.
13108 (fma_test_upward): Likewise.
13109 (fmax_test): Likewise.
13110 (fmin_test): Likewise.
13111 (fmod_test): Likewise.
13112 (fpclassify_test): Likewise.
13113 (frexp_test): Likewise.
13114 (hypot_test): Likewise.
13115 (ilogb_test): Likewise.
13116 (isfinite_test): Likewise.
13117 (finite_test): Likewise.
13118 (isgreater_test): Likewise.
13119 (isgreaterequal_test): Likewise.
13120 (isinf_test): Likewise.
13121 (isless_test): Likewise.
13122 (islessequal_test): Likewise.
13123 (islessgreater_test): Likewise.
13124 (isnan_test): Likewise.
13125 (isnormal_test): Likewise.
13126 (issignaling_test): Likewise.
13127 (isunordered_test): Likewise.
13128 (j0_test): Likewise.
13129 (j1_test): Likewise.
13130 (jn_test): Likewise.
13131 (ldexp_test): Likewise.
13132 (lgamma_test): Likewise.
13133 (gamma_test): Likewise.
13134 (lrint_test): Likewise.
13135 (lrint_test_tonearest): Likewise.
13136 (lrint_test_towardzero): Likewise.
13137 (lrint_test_downward): Likewise.
13138 (lrint_test_upward): Likewise.
13139 (llrint_test): Likewise.
13140 (llrint_test_tonearest): Likewise.
13141 (llrint_test_towardzero): Likewise.
13142 (llrint_test_downward): Likewise.
13143 (llrint_test_upward): Likewise.
13144 (log_test): Likewise.
13145 (log10_test): Likewise.
13146 (log1p_test): Likewise.
13147 (log2_test): Likewise.
13148 (logb_test): Likewise.
13149 (logb_test_downward): Likewise.
13150 (lround_test): Likewise.
13151 (llround_test): Likewise.
13152 (modf_test): Likewise.
13153 (nearbyint_test): Likewise.
13154 (nextafter_test): Likewise.
13155 (nexttoward_test): Likewise.
13156 (pow_test): Likewise.
13157 (pow_test_tonearest): Likewise.
13158 (pow_test_towardzero): Likewise.
13159 (pow_test_downward): Likewise.
13160 (pow_test_upward): Likewise.
13161 (remainder_test): Likewise.
13162 (drem_test): Likewise.
13163 (remainder_test_tonearest): Likewise.
13164 (drem_test_tonearest): Likewise.
13165 (remainder_test_towardzero): Likewise.
13166 (drem_test_towardzero): Likewise.
13167 (remainder_test_downward): Likewise.
13168 (drem_test_downward): Likewise.
13169 (remainder_test_upward): Likewise.
13170 (drem_test_upward): Likewise.
13171 (remquo_test): Likewise.
13172 (rint_test): Likewise.
13173 (rint_test_tonearest): Likewise.
13174 (rint_test_towardzero): Likewise.
13175 (rint_test_downward): Likewise.
13176 (rint_test_upward): Likewise.
13177 (round_test): Likewise.
13178 (scalb_test): Likewise.
13179 (scalbn_test): Likewise.
13180 (scalbln_test): Likewise.
13181 (signbit_test): Likewise.
13182 (sin_test): Likewise.
13183 (sin_test_tonearest): Likewise.
13184 (sin_test_towardzero): Likewise.
13185 (sin_test_downward): Likewise.
13186 (sin_test_upward): Likewise.
13187 (sincos_test): Likewise.
13188 (sinh_test): Likewise.
13189 (sinh_test_tonearest): Likewise.
13190 (sinh_test_towardzero): Likewise.
13191 (sinh_test_downward): Likewise.
13192 (sinh_test_upward): Likewise.
13193 (sqrt_test): Likewise.
13194 (sqrt_test_tonearest): Likewise.
13195 (sqrt_test_towardzero): Likewise.
13196 (sqrt_test_downward): Likewise.
13197 (sqrt_test_upward): Likewise.
13198 (tan_test): Likewise.
13199 (tan_test_tonearest): Likewise.
13200 (tan_test_towardzero): Likewise.
13201 (tan_test_downward): Likewise.
13202 (tan_test_upward): Likewise.
13203 (tanh_test): Likewise.
13204 (tgamma_test): Likewise.
13205 (trunc_test): Likewise.
13206 (y0_test): Likewise.
13207 (y1_test): Likewise.
13208 (yn_test): Likewise.
13209 (significand_test): Likewise.
13210
e6b6a857
JM
13211 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13212 individual tests in comment.
13213 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13214 (prev_max_error): New variable.
13215 (prev_real_max_error): Likewise.
13216 (prev_imag_max_error): Likewise.
13217 (compare_ulp_data): Don't refer to test names in comment.
13218 (find_test_ulps): Remove function.
13219 (find_function_ulps): Likewise.
13220 (find_complex_function_ulps): Likewise.
13221 (init_max_error): Take function name as argument. Look up ulps
13222 for that function.
13223 (print_ulps): Remove function.
13224 (print_max_error): Use prev_max_error instead of calling
13225 find_function_ulps.
13226 (print_complex_max_error): Use prev_real_max_error and
13227 prev_imag_max_error instead of calling find_complex_function_ulps.
13228 (check_float_internal): Take max_ulp parameter instead of calling
13229 find_test_ulps. Don't call print_ulps.
13230 (check_float): Update call to check_float_internal.
13231 (check_complex): Update calls to check_float_internal.
13232 (START): Pass argument to init_max_error.
13233 * math/gen-libm-test.pl (%results): Don't include "kind"
13234 information.
13235 (parse_ulps): Don't handle ulps of individual tests.
13236 (print_ulps_file): Likewise.
13237 (output_ulps): Likewise.
13238 * math/README.libm-test: Update.
13239 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13240 individual tests.
13241 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13242 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13243 * sysdeps/arm/libm-test-ulps: Likewise.
13244 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13245 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13246 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13248 * sysdeps/microblaze/libm-test-ulps: Likewise.
13249 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13250 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13252 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13254 * sysdeps/sh/libm-test-ulps: Likewise.
13255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13256 * sysdeps/tile/libm-test-ulps: Likewise.
13257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13258
45adef3c
JM
132592014-03-04 Joseph Myers <joseph@codesourcery.com>
13260
13261 * math/libm-test.inc (print_complex_max_error): Check separately
13262 whether real and imaginary errors are within allowed range and
13263 pass 0 to print_complex_function_ulps instead of value within
13264 allowed range.
13265
000232b9
SP
132662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13267
d4b17258
SP
13268 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13269 formatting.
13270 (get_handles_fopen): Likewise.
13271 (do_write_test): Likewise.
13272
091eff71
SP
13273 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13274
fa3cd248
SP
13275 * libio/fileops.c (do_ftell): Use cached offset when
13276 available.
13277 * libio/iofwide.c (do_ftell_wide): Likewise.
13278 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13279 _IO_file_attach.
13280 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13281
000232b9
SP
13282 [BZ #16532]
13283 * libio/libioP.h (get_file_offset): New function.
13284 * libio/fileops.c (get_file_offset): Likewise.
13285 (do_ftell): Likewise.
13286 (_IO_new_file_seekoff): Split out ftell logic.
13287 * libio/wfileops.c (do_ftell_wide): Likewise.
13288 (_IO_wfile_seekoff): Split out ftell logic.
13289 * libio/tst-ftell-active-handler.c: New test case.
13290 * libio/Makefile (tests): Add it.
13291
116f4d1a
RM
132922014-03-03 Roland McGrath <roland@hack.frob.com>
13293
13294 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13295 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13296
532a6035
SP
132972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13298
13299 [BZ #16639]
13300 * nscd/connections.c (nscd_init): Call do_exit.
13301 (start_threads): Call do_exit and notify_parent.
13302 (begin_drop_privileges): Call do_exit.
13303 (finish_drop_privileges): Likewise.
13304 * nscd/selinux.c (preserve_capabilities): Likewise.
13305 (install_real_capabilities): Likewise.
13306 (nscd_selinux_enabled): Likewise.
13307 (avc_create_thread): Likewise.
13308 (avc_alloc_lock): Likewise.
13309 (nscd_avc_init): Likewise.
13310 * nscd/nscd.c (parent_fd): New static variable.
13311 (main): Create a pipe between parent and child processes.
13312 Skip closing parent_fd.
13313 (monitor_child): New function.
13314 (do_exit): Likewise.
13315 (notify_parent): Likewise.
13316 * nscd/nscd.h (notify_parent): Likewise.
13317 (do_exit): Likewise.
13318
d6285c9f
CD
133192014-03-03 Carlos O'Donell <carlos@redhat.com>
13320
13321 * malloc/malloc.c (__libc_calloc): Revert last change.
13322
2b85d2a0
AZ
133232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13324
13325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13326
c7debbdf
RS
133272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13328
13329 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13331 implementation.
13332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13333 (__libc_ifunc_impl_list): Likewise.
13334 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13335 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13336 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13337 * string/strrchr.c: Define STRRCHR.
13338
235eed86
OB
133392014-02-28 Ondřej Bílka <neleai@seznam.cz>
13340
13341 * benchtest/bench-strtok.c (simple_strtok): Delete.
13342 (strtok_string): Use as benchmark.
13343 * string/strtok (STRTOK): New macro.
13344
8e25d1e7
CD
133452014-02-28 Carlos O'Donell <carlos@redhat.com>
13346
ef563f92
CD
13347 * manual/threads.texi: Add header and standard comments to all
13348 functions.
13349
8e25d1e7
CD
13350 * elf/dl-lookup.c (check_match): New function.
13351 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13352 (do_lookup_x): Remove nested function check_match. Use non-nested
13353 function check_match.
13354
ff71cc37
RM
133552014-02-28 Roland McGrath <roland@hack.frob.com>
13356
f08e9a26
RM
13357 * csu/Makefile (generated, before-compile): Use += rather than =.
13358 * catgets/Makefile (generated, generated-dirs): Likewise.
13359 * debug/Makefile (generated): Likewise.
13360 * dlfcn/Makefile (generated): Likewise.
13361 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13362 * iconvdata/Makefile (before-compile, generated): Likewise.
13363 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13364 * libio/Makefile (generated): Likewise.
13365 * malloc/Makefile (generated): Likewise.
13366 * manual/Makefile (generated, generated-dirs): Likewise.
13367 * misc/Makefile (generated): Likewise.
13368 * posix/Makefile (generated): Likewise.
13369 * resolv/Makefile (generated): Likewise.
13370 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13371 * timezone/Makefile (generated, generated-dirs): Likewise.
13372
ff71cc37
RM
13373 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13374
fe13a20c
AZ
133752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13376
57f41c40
AS
13377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13378 power8 implementation.
13379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13380 file: POWER8 llround ifunc implementation.
13381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13382 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13384 POWER8 llround implementation.
13385
57f41c40
AS
13386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13387 power8 implementation.
13388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13389 file: POWER8 llrint ifunc implementation.
13390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13391 Add POWER8 implementation.
1ad8950a
AZ
13392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13393 POWER8 llrint implementation.
13394
57f41c40
AS
13395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13396 power8 implementation.
13397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13398 file: POWER8 finite ifunc implementation.
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13400 Add POWER8 implementation.
cac626d6
AZ
13401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13402 Likewise.
13403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13404 POWER8 finite implementation.
13405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13406
57f41c40
AS
13407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13408 power8 implementation.
13409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13410 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13412 POWER8 implementation.
13413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13414 Likewise.
57f41c40
AS
13415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13416 isinf implementation.
4393fc11
AZ
13417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13418
57f41c40
AS
13419 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13420 (INIT_ARCH): Add hwcap2 initialization.
13421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13422 power8 implementation.
13423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13424 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13426 POWER8 implementation.
13427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13428 Likewise.
57f41c40
AS
13429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13430 isnan implementation.
487972ae
AZ
13431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13432
7d92b787
JY
134332014-02-27 Joey Ye <joey.ye@arm.com>
13434
13435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13436 (_FP_NANFRAC_Q): Set to zero.
13437
1cadc858
SP
134382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13439
13440 [BZ #16623]
13441 * math/auto-libm-test-in: New test inputs.
13442 * math/auto-libm-test-out: Regenerate.
13443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13444 and DA.
13445 (__cos): Likewise.
13446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13447
f8c17e79
JM
134482014-02-27 Joseph Myers <joseph@codesourcery.com>
13449
13450 * scripts/evaluate-test.sh: Take new argument indicating whether
13451 failure is expected.
13452 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13453 indicating whether failure is expected.
13454 * conform/Makefile (test-xfail-run-conformtest): New variable.
13455 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13456 level.
13457 * posix/Makefile (test-xfail-annexc): New variable.
13458 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13459
a5f891ac
JM
134602014-02-26 Joseph Myers <joseph@codesourcery.com>
13461
13462 * argp/Makefile: Include Makeconfig immediately after defining
13463 subdir.
13464 * assert/Makefile: Likewise.
13465 * benchtests/Makefile: Likewise.
13466 * catgets/Makefile: Likewise.
13467 * conform/Makefile: Likewise.
13468 * crypt/Makefile: Likewise.
13469 * csu/Makefile: Likewise.
13470 (all): Remove target.
13471 * ctype/Makefile: Include Makeconfig immediately after defining
13472 subdir.
13473 * debug/Makefile: Likewise.
13474 * dirent/Makefile: Likewise.
13475 * dlfcn/Makefile: Likewise.
13476 * gmon/Makefile: Likewise.
13477 * gnulib/Makefile: Likewise.
13478 * grp/Makefile: Likewise.
13479 * gshadow/Makefile: Likewise.
13480 * hesiod/Makefile: Likewise.
13481 * hurd/Makefile: Likewise.
13482 (all): Remove target.
13483 * iconvdata/Makefile: Include Makeconfig immediately after
13484 defining subdir.
13485 * inet/Makefile: Likewise.
13486 * intl/Makefile: Likewise.
13487 * io/Makefile: Likewise.
13488 * libio/Makefile: Likewise.
13489 (all): Remove target.
13490 * locale/Makefile: Include Makeconfig immediately after defining
13491 subdir.
13492 * login/Makefile: Likewise.
13493 * mach/Makefile: Likewise.
13494 (all): Remove target.
13495 * malloc/Makefile: Include Makeconfig immediately after defining
13496 subdir.
13497 (all): Remove target.
13498 * manual/Makefile: Include Makeconfig immediately after defining
13499 subdir.
13500 * math/Makefile: Likewise.
13501 * misc/Makefile: Likewise.
13502 * nis/Makefile: Likewise.
13503 * nss/Makefile: Likewise.
13504 * po/Makefile: Likewise.
13505 (all): Remove target.
13506 * posix/Makefile: Include Makeconfig immediately after defining
13507 subdir.
13508 * pwd/Makefile: Likewise.
13509 * resolv/Makefile: Likewise.
13510 * resource/Makefile: Likewise.
13511 * rt/Makefile: Likewise.
13512 * setjmp/Makefile: Likewise.
13513 * shadow/Makefile: Likewise.
13514 * signal/Makefile: Likewise.
13515 * socket/Makefile: Likewise.
13516 * soft-fp/Makefile: Likewise.
13517 * stdio-common/Makefile: Likewise.
13518 * stdlib/Makefile: Likewise.
13519 * streams/Makefile: Likewise.
13520 * string/Makefile: Likewise.
13521 * sunrpc/Makefile: Likewise.
13522 (all): Remove target.
13523 * sysvipc/Makefile: Include Makeconfig immediately after defining
13524 subdir.
13525 * termios/Makefile: Likewise.
13526 * time/Makefile: Likewise.
13527 * timezone/Makefile: Likewise.
13528 (all): Remove target.
13529 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13530 subdir.
13531 * wctype/Makefile: Likewise.
13532
5b456e9d
SE
135332014-02-26 Steve Ellcey <sellcey@mips.com>
13534
13535 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13536 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13537 (libc_feholdexcept_setround_mips): Ditto.
13538 (libc_feholdsetround): New.
13539 (libc_feholdsetroundf): New.
13540 (libc_feholdsetroundl): New.
13541 (libc_feupdateenv_test_mips): New.
13542 (libc_feupdateenv_test): New.
13543 (libc_feupdateenv_testf): New.
13544 (libc_feupdateenv_testl): New.
13545 (libc_feresetround): New.
13546 (libc_feresetroundf): New.
13547 (libc_feresetroundl): New.
13548 (libc_fetestexcept_mips): New.
13549 (libc_fetestexcept): New.
13550 (libc_fetestexceptf): New.
13551 (libc_fetestexceptl): New.
13552 (HAVE_RM_CTX): New.
13553 (libc_feholdexcept_setround_mips_ctx): New.
13554 (libc_feholdexcept_setround_ctx): New.
13555 (libc_feholdexcept_setroundf_ctx): New.
13556 (libc_feholdexcept_setroundl_ctx): New.
13557 (libc_fesetenv_mips_ctx): New.
13558 (libc_fesetenv_ctx): New.
13559 (libc_fesetenv_ctxf): New.
13560 (libc_fesetenv_ctxl): New.
13561 (libc_feupdateenv_mips_ctx): New.
13562 (libc_feupdateenv_ctx): New.
13563 (libc_feupdateenvf_ctx): New.
13564 (libc_feupdateenvl_ctx): New.
13565 (libc_feholdsetround_mips_ctx): New.
13566 (libc_feholdsetround_ctx): New.
13567 (libc_feholdsetroundf_ctx): New.
13568 (libc_feholdsetroundl_ctx): New.
13569 (libc_feresetround_mips_ctx): New.
13570 (libc_feresetround_ctx): New.
13571 (libc_feresetroundf_ctx): New.
13572 (libc_feresetroundl_ctx): New.
13573
085d0e35
CD
135742014-02-26 Carlos O'Donell <carlos@redhat.com>
13575
f067bf1f
CD
13576 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13577
085d0e35
CD
13578 * manual/ipc.texi: New file.
13579 * manual/Makefile (chapters): Add ipc.
13580 * manual/job.texi: Add "Inter-Process Communication" to next.
13581 * manual/process.texi: Add "Inter-Process Communication" to prev.
13582
86e58c08
AZ
135832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13584
13585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13586
4248f0da
OB
135872014-02-26 Ondřej Bílka <neleai@seznam.cz>
13588
13589 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13590
cf822e3c
OB
13591 * manual/arith.texi: Fix spaces after sentences.
13592 * manual/charset.texi: Likewise.
13593 * manual/errno.texi: Likewise.
13594 * manual/install.texi: Likewise.
13595 * manual/llio.texi: Likewise.
13596 * manual/locale.texi: Likewise.
13597 * manual/maint.texi: Likewise.
13598 * manual/math.texi: Likewise.
13599 * manual/memory.texi: Likewise.
13600 * manual/message.texi: Likewise.
13601 * manual/probes.texi: Likewise.
13602 * manual/resource.texi: Likewise.
13603 * manual/signal.texi: Likewise.
13604 * manual/socket.texi: Likewise.
13605 * manual/stdio.texi: Likewise.
13606 * manual/string.texi: Likewise.
13607 * manual/time.texi: Likewise.
13608 * manual/users.texi: Likewise.
13609
ade40b10
CD
136102014-02-25 Carlos O'Donell <carlos@redhat.com>
13611
13612 [BZ #16632]
13613 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13614 _DEFAULT_SOURCE is defined.
13615
d0503676
CD
136162014-02-25 Ulrich Drepper <drepper@gmail.com>
13617 Carlos O'Donell <carlos@redhat.com>
13618
13619 [BZ #16613]
13620 * elf/dl-tls.c (_dl_count_modids): New function.
13621 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13622 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13623 audit library and increment generation counter.
13624 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13625 * elf/tst-audit9.c: New file.
13626 * elf/tst-auditmod9a.c: New file.
13627 * elf/tst-auditmod9b.c: New file.
13628 * elf/Makefile: Add rules to build and run tst-audit9.
13629
4cbf380c
FW
136302014-02-25 Florian Weimer <fweimer@redhat.com>
13631
13632 [BZ #15347]
13633 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13634
80a56cc3
WN
136352014-02-25 Will Newton <will.newton@linaro.org>
13636
13637 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13638 (__longjmp): Restore sp and lr before restoring callee
13639 saved registers. Add longjmp and longjmp_target
13640 SystemTap probe point.
13641 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13642 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13643 Define to zero to match jmpbuf layout.
13644 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13645 (__sigsetjmp): Save sp and lr before saving callee
13646 saved registers. Add setjmp SystemTap probe point.
13647
3ea0f74e
SL
136482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13649
13650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13651
b04acb26
AS
136522014-02-24 Andreas Schwab <schwab@suse.de>
13653
13654 [BZ #15804]
13655 * elf/pldd.c (wait_for_ptrace_stop): New function.
13656 (main): Call it after attaching.
13657
098ad55c
RM
136582014-02-22 Roland McGrath <roland@hack.frob.com>
13659
d4ec6ae1
RM
13660 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13661 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13662 Versions files is now verboten.
13663 * hurd/Versions (libc: GLIBC_2.0):
13664 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13665 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13666 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13667 * mach/Versions: Likewise.
13668
098ad55c
RM
13669 * csu/Versions: Remove unused %include.
13670 * resolv/Versions: Likewise.
13671
acd7f096
JM
136722014-02-21 Joseph Myers <joseph@codesourcery.com>
13673
f0881698
JM
13674 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13675 ($(objpfx)check-local-headers.out): Likewise.
13676 ($(objpfx)begin-end-check.out): Likewise.
13677 * Makerules (check-abi-%.out): Likewise.
13678 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13679 ($(objpfx)test2.cat): Likewise.
13680 ($(objpfx)de/libc.cat): Likewise.
13681 ($(objpfx)test-gencat.out): Likewise.
13682 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13683 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13684 ($(objpfx)noload-mem): Likewise.
13685 ($(objpfx)tst-pathopt.out): Likewise.
13686 ($(objpfx)tst-rtld-load-self.out): Likewise.
13687 ($(objpfx)tst-array1-cmp.out): Likewise.
13688 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13689 ($(objpfx)tst-array2-cmp.out): Likewise.
13690 ($(objpfx)tst-array3-cmp.out): Likewise.
13691 ($(objpfx)tst-array4-cmp.out): Likewise.
13692 ($(objpfx)tst-array5-cmp.out): Likewise.
13693 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13694 ($(objpfx)check-textrel.out): Likewise.
13695 ($(objpfx)check-execstack.out): Likewise.
13696 ($(objpfx)check-localplt.out): Likewise.
13697 ($(objpfx)order2-cmp.out): Likewise.
13698 ($(objpfx)tst-leaks1-mem): Likewise.
13699 ($(objpfx)tst-leaks1-static-mem): Likewise.
13700 ($(objpfx)tst-initorder-cmp.out): Likewise.
13701 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13702 ($(objpfx)tst-unused-dep.out): Likewise.
13703 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13705 * iconv/Makefile (test-iconvconfig): Likewise.
13706 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13707 ($(objpfx)iconv-test.out): Likewise.
13708 ($(objpfx)tst-tables.out): Likewise.
13709 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13710 ($(objpfx)tst-gettext.out): Likewise.
13711 ($(objpfx)tst-translit.out): Likewise.
13712 ($(objpfx)tst-gettext2.out): Likewise.
13713 ($(objpfx)tst-gettext4.out): Likewise.
13714 ($(objpfx)tst-gettext6.out): Likewise.
13715 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13716 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13717 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13718 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13720 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13721 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13722 ($(objpfx)wordexp-tst.out): Likewise.
13723 ($(objpfx)annexc.out): Likewise.
13724 ($(objpfx)tst-fnmatch-mem): Likewise.
13725 ($(objpfx)bug-regex2-mem): Likewise.
13726 ($(objpfx)bug-regex14-mem): Likewise.
13727 ($(objpfx)bug-regex21-mem): Likewise.
13728 ($(objpfx)bug-regex31-mem): Likewise.
13729 ($(objpfx)tst-vfork3-mem): Likewise.
13730 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13731 ($(objpfx)tst-pcre-mem): Likewise.
13732 ($(objpfx)tst-boost-mem): Likewise.
13733 ($(objpfx)tst-getconf.out): Likewise.
13734 ($(objpfx)bug-ga2-mem): Likewise.
13735 ($(objpfx)bug-glob2-mem): Likewise.
13736 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13737 ($(objpfx)mtrace-tst-leaks2): Likewise.
13738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13739 ($(objpfx)tst-printf.out): Likewise.
13740 ($(objpfx)tst-setvbuf1.out): Likewise.
13741 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13742 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13743 ($(objpfx)tst-fmtmsg.out): Likewise.
13744 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13745 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13746
acd7f096
JM
13747 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13748 * bits/sigaction.h [__USE_MISC]: Likewise.
13749 * bits/waitstatus.h: Update #endif comments.
13750 * ctype/ctype.h: Likewise.
13751 * dirent/dirent.h: Likewise.
13752 [__USE_MISC]: Remove redundant conditionals.
13753 * grp/grp.h: Update #endif comments.
13754 [__USE_GNU]: Remove redundant conditionals.
13755 [__USE_MISC]: Likewise.
13756 * inet/netinet/in.h [__USE_GNU]: Likewise.
13757 * io/sys/stat.h [__USE_MISC]: Likewise.
13758 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13759 * libio/bits/stdio.h: Update #endif comments.
13760 [__USE_MISC]: Remove redundant conditionals.
13761 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13762 * libio/stdio.h: Update #endif comments.
13763 [__USE_MISC]: Remove redundant conditionals.
13764 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13765 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13766 * math/math.h: Update #else and #endif comments.
13767 [__USE_MISC]: Remove redundant conditionals.
13768 * misc/sys/uio.h: Update #endif comments.
13769 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13770 * posix/glob.h [__USE_MISC]: Likewise.
13771 * posix/sys/types.h: Update #endif comments.
13772 [__USE_MISC]: Remove redundant conditionals.
13773 * posix/sys/wait.h: Update #endif comments.
13774 [__USE_MISC]: Remove redundant conditionals.
13775 * posix/unistd.h: Update #endif comments.
13776 [__USE_MISC]: Remove redundant conditionals.
13777 * pwd/pwd.h [__USE_GNU]: Likewise.
13778 [__USE_MISC]: Likewise.
13779 * resolv/netdb.h [__USE_GNU]: Likewise.
13780 * signal/signal.h: Update #endif comments.
13781 [__USE_MISC]: Remove redundant conditionals.
13782 * stdlib/stdlib.h: Update #else and #endif comments.
13783 [__USE_MISC]: Remove redundant conditionals.
13784 [__USE_GNU]: Likewise.
13785 * string/bits/string2.h [__USE_MISC]: Likewise.
13786 * string/string.h: Update #endif comments.
13787 [__USE_MISC]: Remove redundant conditionals.
13788 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13789 Likewise.
13790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13791 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13792 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13793 Likewise.
13794 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13795 Likewise.
13796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13797 comments.
13798 [__USE_MISC]: Remove redundant conditionals.
13799 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13800 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13801 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13802 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13804 Likewise.
13805 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13806 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13807 Likewise.
13808 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13809 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13810 Likewise.
13811 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13812 Likewise.
13813 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13814 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13815 Likewise.
13816 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13817 Likewise.
13818 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13819 * sysdeps/x86/bits/string.h: Update #endif comments.
13820 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13821 conditionals.
13822 * time/sys/time.h: Update #endif comments.
13823 * time/time.h: Likewise.
13824 [__USE_MISC]: Remove redundant conditionals.
13825
a5d82e4e
YG
138262014-02-21 Yury Gribov <y.gribov@samsung.com>
13827
13828 [BZ #16600]
13829 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13830
9a80491d
AS
138312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13832
13833 * Versions.def (librt): Add GLIBC_2.17.
13834
105fa381
AC
138352014-02-21 Adam Conrad <adconrad@0c3.net>
13836
13837 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13838 synonym for _SYS_AUXV_H to allow direct inclusion.
13839 * sysdeps/sparc/bits/hwcap.h: Likewise.
13840 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13841 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13842 * sysdeps/sparc/sysdep.h: Likewise.
13843
b8cd1c4e
SP
138442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13845
13846 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13847
bd939d23
RS
138482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13849
13850 * benchtests/bench-strrchr.c: Print length instead of position.
13851
5d7b57ca
JM
138522014-02-20 Joseph Myers <joseph@codesourcery.com>
13853
bc688c10
JM
13854 [BZ #16611]
13855 * sysdeps/unix/sysv/linux/kernel-features.h
13856 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13857 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13858 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13859 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13860 Likewise.
13861 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13862 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13863 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13864 (__ASSUME_SENDMMSG): Define instead of using previous
13865 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13867 (__ASSUME_SENDMMSG_SYSCALL): Define.
13868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13869 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13870 Likewise.
13871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13872 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13873 Likewise.
13874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13875 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13876 Likewise.
13877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13878 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13879 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13880 [__ASSUME_SENDMMSG]: Change conditionals to
13881 [__ASSUME_SENDMMSG_SOCKETCALL].
13882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13883 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13884 Define.
13885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13886 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13887 Likewise.
13888 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13889 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13891 [!__ASSUME_SENDMMSG]: Change conditional to
13892 [!__ASSUME_SENDMMSG_SOCKETCALL].
13893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13894 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13895 Define.
13896
0e31b18c
JM
13897 [BZ #16610]
13898 * sysdeps/unix/sysv/linux/kernel-features.h
13899 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13900 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13901 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13902 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13903 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13904 [__i386__ || __sparc__]
13905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13906 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13907 (__ASSUME_RECVMMSG): Define instead of using previous
13908 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13909 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13910 (__ASSUME_RECVMMSG_SYSCALL): Define.
13911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13913 Likewise.
13914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13916 Likewise.
13917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13919 Likewise.
13920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13921 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13922 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13923 [__ASSUME_RECVMMSG]: Change condition to
13924 [__ASSUME_RECVMMSG_SOCKETCALL].
13925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13927 Define.
13928 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13929 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13931 Likewise.
13932 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13933 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13934 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13935 [!__ASSUME_RECVMMSG]: Change condition to
13936 [!__ASSUME_RECVMMSG_SOCKETCALL].
13937 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13938 (__ASSUME_RECVMMSG_SYSCALL): Define.
13939
dd481ccf
JM
13940 [BZ #16609]
13941 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13942 __powerpc__ || __s390__ || __sh__ || __sparc__]
13943 (__ASSUME_SOCKETCALL): Define.
13944 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13945 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13946 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13947 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13948 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13949 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13950 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13951 (__ASSUME_ACCEPT4): Define instead of using previous
13952 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13953 __powerpc__ || __sparc__ || __s390__)] condition.
13954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13955 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13956 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13957 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13958 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13959 [!__ASSUME_ACCEPT4]: Change condition to
13960 [!__ASSUME_ACCEPT4_SOCKETCALL].
13961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13962 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13963 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13965 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13966 __ASSUME_ACCEPT4_SYSCALL.
13967 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13968 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13970 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13971 __ASSUME_ACCEPT4_SYSCALL.
13972 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13973 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13975 [__ASSUME_ACCEPT4]: Change condition to
13976 [__ASSUME_ACCEPT4_SOCKETCALL].
13977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13978 (__ASSUME_SOCKETCALL): Define.
13979 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13981 (__ASSUME_SOCKETCALL): Define.
13982 (__ASSUME_ACCEPT4): Remove.
13983 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13984 Define.
13985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13986 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13987 Likewise.
13988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13990
5d7b57ca
JM
13991 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13992 macro.
13993 (HWCAP_ARM_LPAE): Likewise.
13994 (HWCAP_ARM_EVTSTRM): Likewise.
13995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13996 Add vpfd32, lpae and evtstrm.
13997 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13998 Increase to 22.
13999
63689d61
JM
140002014-02-19 Joseph Myers <joseph@codesourcery.com>
14001
14002 * math/auto-libm-test-in: Add tests of clog10.
14003 * math/auto-libm-test-out: Regenerated.
14004 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14005 * sysdeps/i386/fpu/libm-test-ulps: Update.
14006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14007
ab09bf61
AS
140082014-02-18 Andreas Schwab <schwab@suse.de>
14009
14010 [BZ #16574]
14011 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14012 Store non-zero if the second buffer was newly allocated.
14013 (send_dg): Likewise.
14014 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14015 to send_vc and send_dg.
14016 (res_nsend): Pass NULL for ansp2_malloced.
14017 * resolv/res_query.c (__libc_res_nquery): Add parameter
14018 answerp2_malloced and pass it down to __libc_res_nsend.
14019 (res_nquery): Pass additional NULL to __libc_res_nquery.
14020 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14021 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14022 second answer buffer if answerp2_malloced was set.
14023 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14024 (__libc_res_nquerydomain): Add parameter
14025 answerp2_malloced and pass it down to __libc_res_nquery.
14026 (res_nquerydomain): Pass additional NULL to
14027 __libc_res_nquerydomain.
14028 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14029 additional NULL to __libc_res_nsend and __libc_res_nquery.
14030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14031 additional NULL to __libc_res_nsearch.
14032 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14033 parameter of __libc_res_nsearch to check for separately allocated
14034 second buffer.
14035 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14036 __libc_res_nquery.
14037 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14038 additional NULL to __libc_res_nquery.
14039 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14040 __libc_res_nsearch.
14041 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14042 * include/resolv.h: Update prototypes of __libc_res_nquery,
14043 __libc_res_nsearch, __libc_res_nsend.
14044
a4fb7861
JM
140452014-02-18 Joseph Myers <joseph@codesourcery.com>
14046
c6af2d89
JM
14047 * math/auto-libm-test-in: Add tests of fma.
14048 * math/auto-libm-test-out: Regenerated.
14049 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14050 (fma_towardzero_test_data): Likewise.
14051 (fma_downward_test_data): Likewise.
14052 (fma_upward_test_data): Likewise.
14053 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14054 mpc_mode.
14055 (rounding_modes): Add values for new field.
14056 (func_calc_method): Add value mpfr_fff_f.
14057 (func_calc_desc): Add mpfr_fff_f union field.
14058 (test_function): Add field exact_args.
14059 (FUNC): Add macro argument EXACT_ARGS.
14060 (FUNC_mpfr_f_f): Update call to FUNC.
14061 (FUNC_mpfr_f_f): Likewise.
14062 (FUNC_mpfr_ff_f): Likewise.
14063 (FUNC_mpfr_if_f): Likewise.
14064 (FUNC_mpc_c_f): Likewise.
14065 (FUNC_mpc_c_c): Likewise.
14066 (test_functions): Add fma. Update calls to FUNC.
14067 (handle_input_arg): Add argument exact_args.
14068 (add_test): Update call to handle_input_arg.
14069 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14070 (output_for_one_input_case): Update call to calc_generic_results.
14071 Recalculate exact zero results in each rounding mode.
14072
a4fb7861
JM
14073 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14074 non-negative before setting low bit.
14075 * math/auto-libm-test-in: Mark one asin test possibly having
14076 spurious underflow.
14077 * math/auto-libm-test-out: Regenerated.
14078 * sysdeps/i386/fpu/libm-test-ulps: Update.
14079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14080
ef114eaf
DH
140812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14082
2b7f4f2c
SP
14083 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14084 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14085 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14086 * README: Add missing listing for microblaze*-*-linux-gnu.
14087
8125aedc
AM
140882014-02-16 Ondřej Bílka <neleai@seznam.cz>
14089
14090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14091 duplicate code
14092
c70a4b1d
MF
140932014-02-16 Mike Frysinger <vapier@gentoo.org>
14094
14095 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14096 * sysdeps/unix/sysv/linux/ia64: Move directory from
14097 ports/sysdeps/unix/sysv/linux/ia64.
14098 * README: Update listing for ia64-*-linux-gnu.
14099
591aeaf7
TD
141002014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14101 Joseph Myers <joseph@codesourcery.com>
14102
14103 * Makeconfig (test-name): New variable.
14104 (evaluate-test): Likewise.
14105 * Makerules (do-test-clean): Remove .test-result files.
14106 (common-mostlyclean): Likewise.
14107 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14108 * scripts/evaluate-test.sh: New file.
14109
6e89caf1
JM
141102014-02-14 Joseph Myers <joseph@codesourcery.com>
14111
7f98f180
JM
14112 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14113 separate $(objpfx)tst-fopenloc-cmp.out and
14114 $(objpfx)tst-fopenloc-mem.out targets.
14115 (tests): Update dependencies.
14116 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14117 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14118 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14119 (tst-rxspencer-no-utf8-ARGS): New variable.
14120 (tst-rxspencer-no-utf8-ENV): Likewise.
14121 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14122 instead of $(objpfx)tst-rxspencer-mem.
14123 ($(objpfx)tst-rxspencer-mem): Change target to
14124 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14125 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14126 * posix/tst-rxspencer-no-utf8.c: New file.
14127
6e89caf1
JM
14128 * elf/Makefile ($(objpfx)order.out): Remove rule.
14129 [$(run-built-tests) = yes] (tests): Depend on
14130 $(objpfx)order-cmp.out.
14131 ($(objpfx)order-cmp.out): New rule.
14132 [$(run-built-tests) = yes] (tests): Depend on
14133 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14134 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14135 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14136 $(objpfx)tst-array5-static-cmp.out.
14137 ($(objpfx)tst-array1.out): Remove rule.
14138 ($(objpfx)tst-array1-cmp.out): New rule.
14139 ($(objpfx)tst-array1-static.out): Remove rule.
14140 ($(objpfx)tst-array1-static-cmp.out): New rule.
14141 ($(objpfx)tst-array2.out): Remove rule.
14142 ($(objpfx)tst-array2-cmp.out): New rule.
14143 ($(objpfx)tst-array3.out): Remove rule.
14144 ($(objpfx)tst-array3-cmp.out): New rule.
14145 ($(objpfx)tst-array4.out): Remove rule.
14146 ($(objpfx)tst-array4-cmp.out): New rule.
14147 ($(objpfx)tst-array5.out): Remove rule.
14148 ($(objpfx)tst-array5-cmp.out): New rule.
14149 ($(objpfx)tst-array5-static.out): Remove rule.
14150 ($(objpfx)tst-array5-static-cmp.out): New rule.
14151 [$(run-built-tests) = yes] (tests): Depend on
14152 $(objpfx)order2-cmp.out.
14153 ($(objpfx)order2.out): Remove rule.
14154 ($(objpfx)order2-cmp.out): New rule.
14155 ($(objpfx)tst-initorder.out): Remove rule.
14156 [$(run-built-tests) = yes] (tests): Depend on
14157 $(objpfx)tst-initorder-cmp.out.
14158 ($(objpfx)tst-initorder-cmp.out): New rule.
14159 ($(objpfx)tst-initorder2.out): Remove rule.
14160 [$(run-built-tests) = yes] (tests): Depend on
14161 $(objpfx)tst-initorder2-cmp.out.
14162 ($(objpfx)tst-initorder2-cmp.out): New rule.
14163 [$(run-built-tests) = yes] (tests): Depend on
14164 $(objpfx)tst-unused-dep-cmp.out.
14165 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14166 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14167 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14168 on $(objpfx)tst-setvbuf1-cmp.out.
14169 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14170 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14171 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14172 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14173 ($(objpfx)tst-svc.out): Remove rule.
14174 ($(objpfx)tst-svc-cmp.out): New rule.
14175
ed9a38e2
JM
141762014-02-13 Joseph Myers <joseph@codesourcery.com>
14177
14178 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14179 * ctype/ctype.h [__USE_MISC]: Likewise.
14180 * dirent/dirent.h [__USE_MISC]: Likewise.
14181 * grp/grp.h [__USE_MISC]: Likewise.
14182 * io/fcntl.h [__USE_MISC]: Likewise.
14183 * io/sys/stat.h [__USE_MISC]: Likewise.
14184 * libio/stdio.h [__USE_MISC]: Likewise.
14185 * posix/unistd.h [__USE_MISC]: Likewise.
14186 * pwd/pwd.h [__USE_MISC]: Likewise.
14187 * stdlib.h [__USE_MISC]: Likewise.
14188 * string/bits/string2.h [__USE_MISC]: Likewise.
14189 * string/string.h [__USE_MISC]: Likewise.
14190 * time/time.h [__USE_MISC]: Likewise.
14191
d6680619
AS
141922014-02-13 Andreas Schwab <schwab@suse.de>
14193
14194 [BZ #16574]
14195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14196 second answer buffer if it was separately allocated.
14197
ace614b8
JM
141982014-02-12 Joseph Myers <joseph@codesourcery.com>
14199
743151ae
JM
14200 * sysdeps/mips/math-tests.h: Include <features.h>.
14201 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14202 (ROUNDING_TESTS_long_double): Do not define.
14203 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14204 (EXCEPTION_TESTS_long_double): Likewise.
14205 * sysdeps/mips/mips64/libm-test-ulps: Update.
14206
498afc54
JM
14207 * include/features.h (__USE_BSD): Remove macro definitions.
14208 (__USE_SVID): Likewise.
14209 (_BSD_SOURCE): Likewise.
14210 (_SVID_SOURCE): Likewise.
14211 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14212 from definition of _DEFAULT_SOURCE.
14213 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14214 [_DEFAULT_SOURCE].
14215 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14216 * bits/mman.h [__USE_BSD]: Likewise.
14217 * bits/termios.h [__USE_BSD]: Likewise.
14218 * bits/waitstatus.h [__USE_BSD]: Likewise.
14219 * ctype/ctype.h [__USE_SVID]: Likewise.
14220 * dirent/dirent.h [__USE_BSD]: Likewise.
14221 * grp/grp.h [__USE_SVID]: Likewise.
14222 [__USE_BSD]: Likewise.
14223 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14224 * io/fcntl.h [__USE_BSD]: Likewise.
14225 * io/ftw.h [__USE_BSD]: Likewise.
14226 * io/sys/stat.h [__USE_BSD]: Likewise.
14227 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14228 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14229 * libio/stdio.h [__USE_SVID]: Likewise.
14230 [__USE_BSD]: Likewise.
14231 * math/math.h [__USE_SVID]: Likewise.
14232 [__USE_BSD]: Likewise.
14233 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14234 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14235 * misc/search.h [__USE_SVID]: Likewise.
14236 * misc/sys/mman.h [__USE_BSD]: Likewise.
14237 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14238 * misc/sys/uio.h [__USE_BSD]: Likewise.
14239 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14240 * posix/glob.h [__USE_BSD]: Likewise.
14241 * posix/regex.h [__USE_BSD]: Likewise.
14242 * posix/sys/types.h [__USE_BSD]: Likewise.
14243 [__USE_SVID]: Likewise.
14244 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14245 * posix/sys/wait.h [__USE_BSD]: Likewise.
14246 [__USE_SVID]: Likewise.
14247 * posix/unistd.h [__USE_BSD]: Likewise.
14248 [__USE_SVID]: Likewise.
14249 * pwd/pwd.h [__USE_SVID]: Likewise.
14250 * resolv/netdb.h [__USE_BSD]: Likewise.
14251 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14252 * signal/signal.h [__USE_BSD]: Likewise.
14253 [__USE_SVID]: Likewise.
14254 * socket/sys/socket.h [__USE_BSD]: Likewise.
14255 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14256 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14257 [__USE_SVID]: Likewise.
14258 * string/bits/string2.h [__USE_BSD]: Likewise.
14259 [__USE_SVID]: Likewise.
14260 * string/bits/string3.h [__USE_BSD]: Likewise.
14261 * string/endian.h [__USE_BSD]: Likewise.
14262 * string/string.h [__USE_SVID]: Likewise.
14263 [__USE_BSD]: Likewise.
14264 * string/strings.h [__USE_BSD]: Likewise.
14265 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14266 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14268 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14269 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14270 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14271 Likewise.
14272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14273 Likewise.
14274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14278 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14279 Likewise.
14280 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14281 Likewise.
14282 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14283 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14285 Likewise.
14286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14287 Likewise.
14288 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14289 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14290 * termios/termios.h [__USE_BSD]: Likewise.
14291 * time/sys/time.h [__USE_BSD]: Likewise.
14292 * time/time.h [__USE_BSD]: Likewise.
14293 [__USE_SVID]: Likewise.
14294
dd7b064c
JM
14295 * Makefile (subdir_targets): Remove subdir_lint.out.
14296
a2c4c199
JM
14297 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14298 (do-tst-printf): Likewise.
14299 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14300 $(objpfx)tst-printf.out.
14301
8756f740
JM
14302 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14303
1b6dd3f1
JM
14304 * Makerules (check-abi-%): Change target to
14305 $(objpfx)check-abi-%.out.
14306 (check-abi target): Update dependencies.
14307 (check-abi-pattern variable): Redirect output of diff to $@.
14308 (check-abi variable): Likewise.
14309 * elf/Makefile (check-abi): Update dependencies.
14310
ace614b8
JM
14311 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14312 unused.
14313 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14314 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14315 subnormal range.
14316 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14317 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14318 value has largest subnormal exponent.
14319 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14320 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14321 * sysdeps/aarch64/soft-fp/sfp-machine.h
14322 (_FP_TININESS_AFTER_ROUNDING): New macro.
14323 * sysdeps/alpha/soft-fp/sfp-machine.h
14324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14325 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14326 Likewise.
14327 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14329 * sysdeps/mips/soft-fp/sfp-machine.h
14330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14331 * sysdeps/powerpc/soft-fp/sfp-machine.h
14332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14333 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14334 Likewise.
14335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14339 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14340 Likewise.
14341
fbfdf9cb
DAS
143422014-02-12 Dylan Alex Simon <dylan@dylex.net>
14343
14344 [BZ #16545]
14345 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14346 model 1.
14347
68b7efaa
RH
143482014-02-12 Richard Henderson <rth@redhat.com>
14349
c70a4b1d 14350 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14351 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14352 * sysdeps/unix/sysv/linux/alpha: Move directory from
14353 ports/sysdeps/unix/sysv/linux/alpha.
14354 * README: Update listing for alpha-*-linux-gnu.
14355
cb4a2928
JM
143562014-02-11 Joseph Myers <joseph@codesourcery.com>
14357
c941736c
JM
14358 * include/features.h: Update comment documenting feature test
14359 macros.
14360 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14361 _DEFAULT_SOURCE.
14362 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14363 (_SVID_SOURCE): Likewise.
14364 (_DEFAULT_SOURCE): Update description of default features.
14365 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14366 with _GNU_SOURCE.
14367 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14368 (S_ISVTX): Likewise.
14369 * manual/math.texi (Mathematical Constants): Likewise.
14370 * manual/signal.texi (Interrupted Primitives): Likewise.
14371 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14372 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14373 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14374 Don't refer to _SVID_SOURCE in warning text.
14375
e8d8d7ec
JM
14376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14377
cb4a2928
JM
14378 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14379 already defined.
14380 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14381 * sysdeps/mips/dl-lookup.c: Remove.
14382 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14383
7e6424e3
AK
143842014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14385
14386 [BZ #16447]
14387 * math/auto-libm-test-in: Add testcase for expl.
14388 * math/auto-libm-test-out: Regenerate.
14389 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14390 calculation of unsafe.
14391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14392
75eff3fe
MS
143932014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14394
14395 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14396 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14397 ports/sysdeps/unix/sysv/linux/aarch64.
14398 * README: Update listing for aarch64*-*-linux-gnu.
14399
d35f1e80
WN
144002014-02-11 Will Newton <will.newton@linaro.org>
14401
14402 * manual/probes.texi (Mathematical Function Probes): Use
14403 "triggered" instead of "hit".
14404
7b3436d4
WN
14405 * manual/probes.texi (Internal Probes): Add documentation
14406 of setjmp, longjmp and longjmp_target probes.
14407
b4f12ca3
WN
14408 * include/stap-probe.h: Add comment about probe argument
14409 format.
14410
c13a72b7
WN
14411 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14412 definition. (tr_where, tr_freehook, tr_mallochook,
14413 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14414
195b8165
DM
144152014-02-11 David S. Miller <davem@davemloft.net>
14416
14417 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14418 processing int_tests.
14419
2ad7600b
JM
144202014-02-10 Joseph Myers <joseph@codesourcery.com>
14421
14422 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14423 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14424 * sysdeps/unix/sysv/linux/mips: Move directory from
14425 ports/sysdeps/unix/sysv/linux/mips.
14426 * README: Update listing for mips-*-linux-gnu and
14427 mips64-*-linux-gnu.
14428
73588a72
AS
144292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14430
14431 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14432 * sysdeps/unix/sysv/linux/m68k: Move directory from
14433 ports/sysdeps/unix/sysv/linux/m68k.
14434 * README: Update listing for m68k-*-linux-gnu.
14435
4372980f
CM
144362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14437
14438 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14439 * sysdeps/unix/sysv/linux/generic: Move directory from
14440 ports/sysdeps/unix/sysv/linux/generic.
14441 * sysdeps/unix/sysv/linux/tile: Move directory from
14442 ports/sysdeps/unix/sysv/linux/tile.
14443 * README: Update listing for tile*-*-linux-gnu.
14444
a1ffb40e
OB
144452014-02-10 Ondřej Bílka <neleai@seznam.cz>
14446
57f41c40
AS
14447 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14448 __builtin_expect.
a1ffb40e
OB
14449 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14450 * catgets/open_catalog.c (__open_catalog): Likewise.
14451 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14452 * debug/confstr_chk.c: Likewise.
14453 * debug/fread_chk.c (__fread_chk): Likewise.
14454 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14455 * debug/getgroups_chk.c: Likewise.
14456 * debug/mbsnrtowcs_chk.c: Likewise.
14457 * debug/mbsrtowcs_chk.c: Likewise.
14458 * debug/mbstowcs_chk.c: Likewise.
14459 * debug/memcpy_chk.c: Likewise.
14460 * debug/memmove_chk.c: Likewise.
14461 * debug/mempcpy_chk.c: Likewise.
14462 * debug/memset_chk.c: Likewise.
14463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14464 * debug/strcat_chk.c (__strcat_chk): Likewise.
14465 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14466 * debug/strncat_chk.c (__strncat_chk): Likewise.
14467 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14468 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14469 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14470 * debug/wcpncpy_chk.c: Likewise.
14471 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14472 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14473 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14474 * debug/wcsncpy_chk.c: Likewise.
14475 * debug/wcsnrtombs_chk.c: Likewise.
14476 * debug/wcsrtombs_chk.c: Likewise.
14477 * debug/wcstombs_chk.c: Likewise.
14478 * debug/wmemcpy_chk.c: Likewise.
14479 * debug/wmemmove_chk.c: Likewise.
14480 * debug/wmempcpy_chk.c: Likewise.
14481 * debug/wmemset_chk.c: Likewise.
14482 * dirent/scandirat.c (SCANDIRAT): Likewise.
14483 * dlfcn/dladdr1.c (dladdr1): Likewise.
14484 * dlfcn/dladdr.c (dladdr): Likewise.
14485 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14486 * dlfcn/dlerror.c (__dlerror): Likewise.
14487 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14488 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14489 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14490 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14491 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14492 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14493 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14494 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14495 Likewise.
14496 * elf/dl-conflict.c: Likewise.
14497 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14498 * elf/dl-dst.h: Likewise.
14499 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14500 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14502 * elf/dl-init.c (call_init, _dl_init): Likewise.
14503 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14504 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14505 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14506 Likewise.
a1ffb40e
OB
14507 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14508 Likewise.
14509 * elf/dl-minimal.c (__libc_memalign): Likewise.
14510 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14511 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14512 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14513 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14514 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14515 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14516 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14517 * elf/dl-writev.h (_dl_writev): Likewise.
14518 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14519 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14520 (dl_main): Likewise.
a1ffb40e
OB
14521 * elf/setup-vdso.h (setup_vdso): Likewise.
14522 * grp/compat-initgroups.c (compat_call): Likewise.
14523 * grp/fgetgrent.c (fgetgrent): Likewise.
14524 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14525 * grp/putgrent.c (putgrent): Likewise.
14526 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14527 Likewise.
14528 * hurd/hurdinit.c: Likewise.
14529 * iconvdata/8bit-gap.c (struct): Likewise.
14530 * iconvdata/ansi_x3.110.c : Likewise.
14531 * iconvdata/big5.c : Likewise.
14532 * iconvdata/big5hkscs.c : Likewise.
14533 * iconvdata/cp1255.c: Likewise.
14534 * iconvdata/cp1258.c : Likewise.
14535 * iconvdata/cp932.c : Likewise.
14536 * iconvdata/euc-cn.c: Likewise.
14537 * iconvdata/euc-jisx0213.c : Likewise.
14538 * iconvdata/euc-jp.c: Likewise.
14539 * iconvdata/euc-jp-ms.c : Likewise.
14540 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14541 * iconvdata/gb18030.c : Likewise.
14542 * iconvdata/gbbig5.c (const): Likewise.
14543 * iconvdata/gbgbk.c: Likewise.
14544 * iconvdata/gbk.c : Likewise.
14545 * iconvdata/ibm1364.c : Likewise.
14546 * iconvdata/ibm930.c : Likewise.
14547 * iconvdata/ibm932.c: Likewise.
14548 * iconvdata/ibm933.c : Likewise.
14549 * iconvdata/ibm935.c : Likewise.
14550 * iconvdata/ibm937.c : Likewise.
14551 * iconvdata/ibm939.c : Likewise.
14552 * iconvdata/ibm943.c: Likewise.
14553 * iconvdata/iso_11548-1.c: Likewise.
14554 * iconvdata/iso-2022-cn.c : Likewise.
14555 * iconvdata/iso-2022-cn-ext.c : Likewise.
14556 * iconvdata/iso-2022-jp-3.c: Likewise.
14557 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14558 * iconvdata/iso-2022-kr.c : Likewise.
14559 * iconvdata/iso646.c (gconv_end): Likewise.
14560 * iconvdata/iso_6937-2.c : Likewise.
14561 * iconvdata/iso_6937.c : Likewise.
14562 * iconvdata/iso8859-1.c: Likewise.
14563 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14564 * iconvdata/shift_jisx0213.c : Likewise.
14565 * iconvdata/sjis.c : Likewise.
14566 * iconvdata/t.61.c : Likewise.
14567 * iconvdata/tcvn5712-1.c : Likewise.
14568 * iconvdata/tscii.c: Likewise.
14569 * iconvdata/uhc.c : Likewise.
14570 * iconvdata/unicode.c (gconv_end): Likewise.
14571 * iconvdata/utf-16.c (gconv_end): Likewise.
14572 * iconvdata/utf-32.c (gconv_end): Likewise.
14573 * iconvdata/utf-7.c (base64): Likewise.
14574 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14575 * iconv/gconv_close.c (__gconv_close): Likewise.
14576 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14577 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14578 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14579 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14580 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14581 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14582 * iconv/iconv.c (iconv): Likewise.
14583 * iconv/iconv_close.c: Likewise.
14584 * iconv/loop.c (SINGLE): Likewise.
14585 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14586 * include/atomic.h: Likewise.
14587 * inet/inet6_option.c (option_alloc): Likewise.
14588 * intl/bindtextdom.c (set_binding_values): Likewise.
14589 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14590 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14591 * intl/localealias.c (read_alias_file): Likewise.
14592 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14593 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14594 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14595 * libio/fmemopen.c (fmemopen): Likewise.
14596 * libio/iofgets.c (_IO_fgets): Likewise.
14597 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14598 * libio/iofgetws.c (fgetws): Likewise.
14599 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14600 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14601 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14602 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14603 * locale/findlocale.c (_nl_find_locale): Likewise.
14604 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14605 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14606 Likewise.
14607 * locale/setlocale.c (setlocale): Likewise.
14608 * login/programs/pt_chown.c (main): Likewise.
14609 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14610 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14611 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14612 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14613 * math/e_exp2l.c: Likewise.
14614 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14615 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14616 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14617 * math/s_catan.c (__catan): Likewise.
14618 * math/s_catanf.c (__catanf): Likewise.
14619 * math/s_catanh.c (__catanh): Likewise.
14620 * math/s_catanhf.c (__catanhf): Likewise.
14621 * math/s_catanhl.c (__catanhl): Likewise.
14622 * math/s_catanl.c (__catanl): Likewise.
14623 * math/s_ccosh.c (__ccosh): Likewise.
14624 * math/s_ccoshf.c (__ccoshf): Likewise.
14625 * math/s_ccoshl.c (__ccoshl): Likewise.
14626 * math/s_cexp.c (__cexp): Likewise.
14627 * math/s_cexpf.c (__cexpf): Likewise.
14628 * math/s_cexpl.c (__cexpl): Likewise.
14629 * math/s_clog10.c (__clog10): Likewise.
14630 * math/s_clog10f.c (__clog10f): Likewise.
14631 * math/s_clog10l.c (__clog10l): Likewise.
14632 * math/s_clog.c (__clog): Likewise.
14633 * math/s_clogf.c (__clogf): Likewise.
14634 * math/s_clogl.c (__clogl): Likewise.
14635 * math/s_csin.c (__csin): Likewise.
14636 * math/s_csinf.c (__csinf): Likewise.
14637 * math/s_csinh.c (__csinh): Likewise.
14638 * math/s_csinhf.c (__csinhf): Likewise.
14639 * math/s_csinhl.c (__csinhl): Likewise.
14640 * math/s_csinl.c (__csinl): Likewise.
14641 * math/s_csqrt.c (__csqrt): Likewise.
14642 * math/s_csqrtf.c (__csqrtf): Likewise.
14643 * math/s_csqrtl.c (__csqrtl): Likewise.
14644 * math/s_ctan.c (__ctan): Likewise.
14645 * math/s_ctanf.c (__ctanf): Likewise.
14646 * math/s_ctanh.c (__ctanh): Likewise.
14647 * math/s_ctanhf.c (__ctanhf): Likewise.
14648 * math/s_ctanhl.c (__ctanhl): Likewise.
14649 * math/s_ctanl.c (__ctanl): Likewise.
14650 * math/w_pow.c: Likewise.
14651 * math/w_powf.c: Likewise.
14652 * math/w_powl.c: Likewise.
14653 * math/w_scalb.c (sysv_scalb): Likewise.
14654 * math/w_scalbf.c (sysv_scalbf): Likewise.
14655 * math/w_scalbl.c (sysv_scalbl): Likewise.
14656 * misc/error.c (error_tail): Likewise.
14657 * misc/pselect.c (__pselect): Likewise.
14658 * nis/nis_callback.c (__nis_create_callback): Likewise.
14659 * nis/nis_call.c (__nisfind_server): Likewise.
14660 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14661 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14663 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14664 * nis/nis_lookup.c (nis_lookup): Likewise.
14665 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14666 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14667 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14668 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14669 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14670 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14671 * nis/nss_compat/compat-initgroups.c (add_group)
14672 (internal_getgrent_r): Likewise.
14673 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14674 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14675 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14676 (internal_getspnam_r): Likewise.
14677 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14678 (_nss_nis_getaliasbyname_r): Likewise.
14679 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14680 (_nss_nis_getntohost_r): Likewise.
14681 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14682 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14683 (_nss_nis_getgrgid_r): Likewise.
14684 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14685 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14686 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14687 (_nss_nis_gethostbyname4_r): Likewise.
14688 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14689 (initgroups_netid): Likewise.
a1ffb40e 14690 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14691 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14692 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14693 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14694 (_nss_nis_getprotobynumber_r): Likewise.
14695 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14696 (_nss_nis_getsecretkey): Likewise.
14697 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14698 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14699 (_nss_nis_getpwuid_r): Likewise.
14700 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14701 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14702 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14703 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14704 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14705 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14706 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14707 Likewise.
57f41c40
AS
14708 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14709 (_nss_nisplus_getntohost_r): Likewise.
14710 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14711 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14712 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14713 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14714 Likewise.
57f41c40
AS
14715 * nis/nss_nisplus/nisplus-initgroups.c
14716 (_nss_nisplus_initgroups_dyn): Likewise.
14717 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14718 (_nss_nisplus_getnetbyaddr_r): Likewise.
14719 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14720 (_nss_nisplus_getprotobynumber_r): Likewise.
14721 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14722 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14723 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14724 Likewise.
57f41c40
AS
14725 * nis/nss_nisplus/nisplus-service.c
14726 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14727 (_nss_nisplus_getservbyport_r): Likewise.
14728 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14729 (_nss_nisplus_getspnam_r): Likewise.
14730 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14731 Likewise.
a1ffb40e
OB
14732 * nscd/aicache.c (addhstaiX): Likewise.
14733 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14734 * nscd/connections.c (register_traced_file, send_ro_fd)
14735 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14736 (main_loop_epoll): Likewise.
a1ffb40e
OB
14737 * nscd/grpcache.c (addgrbyX): Likewise.
14738 * nscd/hstcache.c (addhstbyX): Likewise.
14739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14740 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14741 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14742 (addinnetgrX): Likewise.
14743 * nscd/nscd-client.h (__nscd_acquire_maplock)
14744 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14745 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14746 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14748 Likewise.
14749 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14750 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14751 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14752 (__nscd_get_map_ref): Likewise.
a1ffb40e 14753 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14754 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14755 Likewise.
a1ffb40e
OB
14756 * nscd/pwdcache.c (addpwbyX): Likewise.
14757 * nscd/selinux.c (preserve_capabilities): Likewise.
14758 * nscd/servicescache.c (addservbyX): Likewise.
14759 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14760 * posix/fnmatch.c (fnmatch): Likewise.
14761 * posix/getopt.c (_getopt_internal_r): Likewise.
14762 * posix/glob.c (glob, glob_in_dir): Likewise.
14763 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14765 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14766 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14767 * resolv/res_init.c: Likewise.
14768 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14769 * resolv/res_query.c (__libc_res_nquery): Likewise.
14770 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14771 Likewise.
14772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14773 * stdio-common/perror.c (perror): Likewise.
14774 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14775 * stdio-common/tmpnam.c (tmpnam): Likewise.
14776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14777 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14778 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14779 Likewise.
a1ffb40e
OB
14780 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14781 * stdlib/putenv.c (putenv): Likewise.
14782 * stdlib/setenv.c (__add_to_environ): Likewise.
14783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14784 * stdlib/strtol_l.c (INTERNAL): Likewise.
14785 * string/memmem.c (memmem): Likewise.
14786 * string/strerror.c (strerror): Likewise.
14787 * string/strnlen.c (__strnlen): Likewise.
14788 * string/test-memmem.c (simple_memmem): Likewise.
14789 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14790 * sunrpc/pm_getport.c (__get_socket): Likewise.
14791 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14792 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14793 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14794 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14795 Likewise.
14796 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14799 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14801 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14802 Likewise.
14803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14804 Likewise.
a1ffb40e
OB
14805 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14806 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14808 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14809 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14813 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14817 Likewise.
14818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14819 Likewise.
14820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14821 Likewise.
14822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14824 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14826 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14828 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
14837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14838 Likewise.
a1ffb40e
OB
14839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14840 Likewise.
14841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14842 Likewise.
14843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14844 Likewise.
14845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14847 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14848 Likewise.
14849 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14850 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14851 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14852 * sysdeps/posix/sleep.c: Likewise.
14853 * sysdeps/posix/tempname.c: Likewise.
14854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14855 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14856 Likewise.
57f41c40
AS
14857 * sysdeps/powerpc/powerpc32/dl-machine.h
14858 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
14859 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14861 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14862 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14863 Likewise.
14864 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14866 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14868 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14869 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14870 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14871 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14873 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14875 (elf_machine_lazy_rel): Likewise.
a1ffb40e 14876 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14878 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14879 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14880 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14881 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14882 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14883 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14884 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14887 Likewise.
14888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14889 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14890 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14891 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14892 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14893 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14894 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14895 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14898 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14899 Likewise.
14900 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14901 (__posix_fallocate64_l64): Likewise.
14902 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14903 (posix_fallocate): Likewise.
57f41c40
AS
14904 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14905 Likewise.
a1ffb40e 14906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
14907 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14908 (getifaddrs_internal): Likewise.
a1ffb40e
OB
14909 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14911 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14913 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14914 (__posix_fallocate64_l64): Likewise.
14915 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14916 Likewise.
14917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
14918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14919 (__get_clockfreq): Likewise.
a1ffb40e
OB
14920 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14921 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14922 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14925 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14926 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14928 Likewise.
14929 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14930 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14931 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14934 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14936 Likewise.
14937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14938 (posix_fallocate): Likewise.
14939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14940 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14941 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14942 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14943 (elf_machine_rela, elf_machine_rela_relative)
14944 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14945 * time/asctime.c (asctime_internal): Likewise.
14946 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14947 * time/tzset.c (__tzset_parse_tz): Likewise.
14948 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14949 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14950 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14951 * wcsmbs/wcsmbsload.h: Likewise.
14952
f3d338c9
OB
14953 [BZ #15894]
14954 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14955
57f41c40
AS
14956 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14957 (arena_get2): Remove THREAD_STATS conditionals.
14958 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14959 (__malloc_stats, int): Likewise.
bdfe308a 14960
d674667c
MF
149612014-02-08 Mike Frysinger <vapier@gentoo.org>
14962
14963 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14964 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14965
6349768c
MF
14966 * manual/setjmp.texi: Fix typos/grammar errors.
14967
0b7c7473
MF
14968 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14969 Only return early when n is <= 0. Delete unused return statement.
14970
ac8cc9e3
MF
14971 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14972 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14973 * debug/tst-longjmp_chk3.c: New file.
14974
c5bb8e23
MF
14975 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14976 (test_main): Replace code with set_fortify_handler call.
14977 * debug/test-strcpy_chk.c: Likewise.
14978 * debug/tst-chk1.c: Likewise.
14979 * debug/tst-longjmp_chk.c: Likewise.
14980 * test-skeleton.c: Include fcntl.h & paths.h
14981 (set_fortify_handler): Define.
14982
10444e42
MF
14983 * debug/tst-longjmp_chk.c: Add header comment and include
14984 ../test-skeleton.c.
14985 (do_test): Mark static.
14986 (TEST_FUNCTION): Define.
14987
1e805e8d
MF
14988 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14989 (IP_PMTUDISC_INTERFACE): Likewise.
14990 (IP_MULTICAST_IF): Likewise.
14991 (IP_MULTICAST_TTL): Likewise.
14992 (IP_MULTICAST_LOOP): Likewise.
14993 (IP_ADD_MEMBERSHIP): Likewise.
14994 (IP_DROP_MEMBERSHIP): Likewise.
14995 (IP_UNBLOCK_SOURCE): Likewise.
14996 (IP_BLOCK_SOURCE): Likewise.
14997 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14998 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14999 (IP_MSFILTER): Likewise.
15000 (MCAST_JOIN_GROUP): Likewise.
15001 (MCAST_BLOCK_SOURCE): Likewise.
15002 (MCAST_UNBLOCK_SOURCE): Likewise.
15003 (MCAST_LEAVE_GROUP): Likewise.
15004 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15005 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15006 (MCAST_MSFILTER): Likewise.
15007 (IP_MULTICAST_ALL): Likewise.
15008 (IP_UNICAST_IF): Likewise.
15009
73f79bb7
MF
15010 * timezone/Makefile: Delete $(have-ksh) check.
15011 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15012 * timezone/tzselect.ksh: Add +x mode bits.
15013
8da79b60
MF
15014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15015 (ANON_INODE_FS_MAGIC): Likewise.
15016 (BDEVFS_MAGIC): Likewise.
15017 (BINFMTFS_MAGIC): Likewise.
15018 (BTRFS_TEST_MAGIC): Likewise.
15019 (CRAMFS_MAGIC_WEND): Likewise.
15020 (DEBUGFS_MAGIC): Likewise.
15021 (ECRYPTFS_SUPER_MAGIC): Likewise.
15022 (EXT3_SUPER_MAGIC): Likewise.
15023 (EXT4_SUPER_MAGIC): Likewise.
15024 (FUTEXFS_SUPER_MAGIC): Likewise.
15025 (HOSTFS_SUPER_MAGIC): Likewise.
15026 (HUGETLBFS_MAGIC): Likewise.
15027 (MINIX3_SUPER_MAGIC): Likewise.
15028 (MTD_INODE_FS_MAGIC): Likewise.
15029 (NILFS_SUPER_MAGIC): Likewise.
15030 (OPENPROM_SUPER_MAGIC): Likewise.
15031 (PIPEFS_MAGIC): Likewise.
15032 (PSTOREFS_MAGIC): Likewise.
15033 (QNX6_SUPER_MAGIC): Likewise.
15034 (RAMFS_MAGIC): Likewise.
15035 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15036 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15037 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15038 (SECURITYFS_MAGIC): Likewise.
15039 (SELINUX_MAGIC): Likewise.
15040 (SMACK_MAGIC): Likewise.
15041 (SOCKFS_MAGIC): Likewise.
15042 (SQUASHFS_MAGIC): Likewise.
15043 (STACK_END_MAGIC): Likewise.
15044 (TMPFS_MAGIC): Likewise.
15045 (USBDEVICE_SUPER_MAGIC): Likewise.
15046 (V9FS_MAGIC): Likewise.
15047 (XENFS_SUPER_MAGIC): Likewise.
15048 (CRAMFS_MAGIC): Fix typo in comment.
15049 (EXT2_SUPER_MAGIC): Update comment.
15050 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15051
464263cc
JM
150522014-02-08 Joseph Myers <joseph@codesourcery.com>
15053
c6bfe5c4
JM
15054 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15055 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15056 * sysdeps/unix/sysv/linux/arm: Move directory from
15057 ports/sysdeps/unix/sysv/linux/arm.
15058 * README: Update listing for arm-*-linux-gnueabi.
15059
464263cc
JM
15060 * README: Remove mention of am33.
15061
32749f6c
RM
150622014-02-07 Roland McGrath <roland@hack.frob.com>
15063
15064 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15065 than the comma operator, to avoid "rhs of comma has no effect"
15066 compiler warnings.
15067 (__sigfillset, __sigandset, __sigorset): Likewise.
15068 * include/signal.h (__sigemptyset): Likewise.
15069 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15070
d5b396c1
AM
150712014-02-07 Allan McRae <allan@archlinux.org>
15072
15073 * version.h (RELEASE): Set to "development".
15074 (VERSION): Set to "2.19.90"
15075 * NEWS: Add 2.20 section.
15076
3bfff2ed
CD
150772014-02-06 Carlos O'Donell <carlos@redhat.com>
15078
15079 [BZ #16529]
15080 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15081
ee7cc385
SP
150822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15083
15084 * manual/contrib.texi: Update entry for Carlos O'Donell,
15085 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15086
f877c4f2
CD
150872014-02-05 Carlos O'Donell <carlos@rehdat.com>
15088
27e839f6
CD
15089 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15090
f877c4f2
CD
15091 * sysdeps/unix/sysv/linux/kernel-features.h
15092 [__LINUX_KERNEL_VERSION >= 0x020621]
15093 (__ASSUME_PROC_PID_TASK_COMM): Define.
15094
68159946
SP
150952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15096
ba17cdbd
SP
15097 [BZ #16398]
15098 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15099 conversion when destination buffer does not have enough space.
15100 * libio/tst-ftell-partial-wide.c: New test case.
15101 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15102
68159946
SP
15103 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15104 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15105 Leonard and Allan McRae.
15106
2b528732
DM
151072014-02-04 David S. Miller <davem@davemloft.net>
15108
15109 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15110 32-bit.
15111
0ff82463
AZ
151122014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15113
57f41c40
AS
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15115 New file
c01603f7
AZ
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15117 New file
57f41c40
AS
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15119 New file.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15121 New file.
c01603f7
AZ
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15123 New file.
57f41c40
AS
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15125 New file.
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15127 New file.
c01603f7
AZ
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15129 New file.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15131 New file.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15133 New file.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15135 New file.
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15137 New file.
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15139 New file.
15140
151412014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15142
0ff82463
AZ
15143 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15144 * shlib-versions: Likewise.
15145
1695c773
AZ
151462014-02-04 Roland McGrath <roland@hack.frob.com>
15147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15148
15149 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15150 (abilist-pattern): New variable, set to %-le.abilist.
15151
15152 * Makerules (abilist-pattern): New variable.
15153 (vpath): Use $(abilist-pattern) in place of %.abilist.
15154 (check-abi-% pattern rule): Likewise.
15155 (check-abi, update-abi): Likewise.
15156
6c0ce4b4
EW
151572014-02-04 Eric Wong <normalperson@yhbt.net>
15158
15159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15160
481e3524
CD
151612014-02-03 Carlos O'Donell <carlos@redhat.com>
15162
15163 * manual/startup.texi: Add next, previous, and top entries for
15164 the `Program Arguments' and `Environment Variables' nodes.
15165
375592d3
AO
151662014-02-03 Alexandre Oliva <aoliva@redhat.com>
15167
15168 * manual/macros.texi: Add comments before MTASC-safety macros.
15169
f54838ba
AO
15170 * manual/users.texi: Document MTASC-safety properties.
15171
57f41c40
AS
15172 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15173 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15174 @deftypefun, and add @safety note.
15175 * manual/signal.texi: Move comments that analyze the above
15176 functions to their home place.
15177
fd3daba4
AM
151782014-02-03 Allan McRae <allan@archlinux.org>
15179
15180 * po/sl.po: Update Slovenian translation from translation project.
15181
597636d7
AO
151822014-02-02 Alexandre Oliva <aoliva@redhat.com>
15183
15184 * manual/time.texi (timegm): Add missing blank after @c.
15185 Reported by Joseph Myers <joseph@codesourcery.com>.
15186
ee196e3c
AO
151872014-02-01 Alexandre Oliva <aoliva@redhat.com>
15188
15189 * manual/check-safety.sh: New.
15190 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15191
f8d529d5
AO
15192 * manual/terminal.texi: Document MTASC-safety properties.
15193
de55fdf4
AO
15194 * manual/filesys.texi: Document MTASC-safety properties.
15195
c3299c08
AO
15196 * manual/errno.texi: Document MTASC-safety properties.
15197
06e90b14
AO
15198 * manual/intro.texi: Document safety identifiers and
15199 conditionals.
15200
1acd4371
AO
15201 * manual/string.texi (wcstok): Fix prototype.
15202 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15203
23e5b8cb
AO
15204 * manual/time.texi: Document MTASC-safety properties.
15205
11087373
AO
15206 * manual/string.texi: Document MTASC-safety properties.
15207
5da2c93d
AO
15208 * manual/threads.texi: Document MTASC-safety properties.
15209
171e9210
AO
15210 * manual/stdio.texi: Document MTASC-safety properties.
15211
d9e02532
AO
15212 * manual/syslog.texi: Document MTASC-safety properties.
15213
6af8bab7
AO
15214 * manual/sysinfo.texi: Document MTASC-safety properties.
15215
663b02d7
AO
15216 * manual/startup.texi: Document MTASC-safety properties.
15217
973f180b
AO
15218 * manual/socket.texi: Document MTASC-safety properties.
15219
8f3c25c8
AO
15220 * manual/signal.texi: Document MTASC-safety properties.
15221
542210fb
AO
152222014-01-31 Alexandre Oliva <aoliva@redhat.com>
15223
15224 * manual/setjmp.texi: Document MTASC-safety properties.
15225
433c45a2
AO
15226 * manual/search.texi: Document MTASC-safety properties.
15227
c8ce789c
AO
15228 * manual/resource.texi: Document MTASC-safety properties.
15229
19f5d29c
AO
15230 * manual/process.texi: Document MTASC-safety properties.
15231
e2dfb7f4
AO
15232 * manual/platform.texi: Document MTASC-safety properties.
15233
8c1413f5
AO
15234 * manual/pipe.texi: Document MTASC-safety properties.
15235
03483ada
AO
15236 * manual/pattern.texi: Document MTASC-safety properties.
15237
29e7e2df
AO
15238 * manual/message.texi: Document MTASC-safety properties.
15239
9f529d7c
AO
15240 [BZ #12751]
15241 * manual/memory.texi: Document MTASC-safety properties.
15242
27aaa791
AO
15243 * manual/math.texi: Document MTASC-safety properties.
15244
f2d58726
AO
15245 * manual/locale.texi: Document MTASC-safety properties.
15246
2cc3615c
AO
15247 * manual/llio.texi: Document MTASC-safety properties.
15248
d9f0ec97
AO
15249 * manual/libdl.texi: New.
15250
e7c4409a
AO
15251 * manual/lang.texi: Document MTASC-safety properties.
15252
27bdc63c
AO
15253 * manual/job.texi: Document MTASC-safety properties.
15254
a7b90ea9
AO
15255 * manual/getopt.texi: Document MTASC-safety properties.
15256
c49130e3
AO
15257 * manual/ctype.texi: Document MTASC-safety properties.
15258
0d23a5c1
MR
152592014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15260
15261 [BZ #16046]
15262 * csu/libc-tls.c (static_map): Remove variable.
15263 (__libc_setup_tls): Use main executable's link map for TLS data.
15264 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15265 casing for LM_ID_BASE and GL(dl_nns).
15266 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15267 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15268 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15269 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15270 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15271 member.
15272 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15273 l_phnum members.
15274
0037bb60
AO
152752014-01-30 Alexandre Oliva <aoliva@redhat.com>
15276
15277 * manual/debug.texi: Document MTASC-safety properties.
15278
409e00bd
L
152792014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 [BZ #16510]
15282 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15283 of __x86_64__ when disabling x87 inline functions.
15284
86e60666
AO
152852014-01-29 Alexandre Oliva <aoliva@redhat.com>
15286
15287 * manual/charset.texi: Document MTASC-safety properties.
15288
76167637
AO
15289 * manual/crypt.texi: Document MTASC-safety properties.
15290
e567f2a0
AO
15291 * manual/conf.texi: Document MTASC-safety properties.
15292
b719dafd
AO
15293 * manual/arith.texi: Document MTASC-safety properties.
15294
4a16c662
AO
15295 * manual/argp.texi: Document MTASC-safety properties.
15296
0a57b83e
AO
15297 * manual/macros.texi: Introduce macros to document multi
15298 thread, asynchronous signal and asynchronous cancellation
15299 safety properties.
15300 * manual/intro.texi: Introduce the properties themselves.
15301
feab2397
KK
153022014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15303
15304 * sysdeps/sh/sh4/Makefile: New file.
15305
1c0d11bc
AS
153062014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15307
15308 * math/gen-libm-test.pl ($srcdir): New variable.
15309 ($auto_input): Use it.
15310
af37a8a3
SP
153112014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15312
d7b00f98
SP
15313 [BZ #16506]
15314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15315 access beyond array bounds when parsing netgroups file.
15316
af37a8a3
SP
15317 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15318 the old buffer before realloc.
15319
0c00f062
AM
153202014-01-27 Allan McRae <allan@archlinux.org>
15321
15322 * po/fr.po: Update French translation from translation project.
15323
7d69a1b0
KK
153242014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15325
15326 * sysdeps/sh/libm-test-ulps: Regenerate.
15327
6e697ff7
DM
153282014-01-24 David S. Miller <davem@davemloft.net>
15329
15330 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15331
9cadb35c
KK
153322014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15333
15334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15335 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15336
5d41dadf
SP
153372013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15338
15339 [BZ #16474]
15340 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15341 string pointers after reallocation.
15342
0bad441c
KK
153432014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15344
15345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15346 __SH4A__ instead of __SH_FPU_ANY__.
15347
7007c661
KK
153482014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15349
15350 * sysdeps/sh/fpu_control.h: New file.
15351 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15353 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15354 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15355 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15356 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15357 * sysdeps/sh/sys/ucontext.h: Remove.
15358 * sysdeps/sh/sys: Remove directory.
15359
0f0c35e4
AK
153602014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15361
15362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15363 s390/sys/ucontext.h.
15364 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15366
4959e284
L
153672014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15368
15369 [BZ #15605]
15370 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15371
d98720e0
AZ
153722014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15373
15374 [BZ#16431]
15375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15376 Adjust the vDSO correctly for internal calls.
15377 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15378
91cbd0bc
AM
153792014-01-20 Allan McRae <allan@archlinux.org>
15380
15381 * po/ca.po: Update Catalan translation from translation project.
15382
7a02cfad
MF
153832014-01-16 Mike Frysinger <vapier@gentoo.org>
15384
15385 * sysdeps/s390/sotruss-lib.c: New file.
15386
736c304a
AZ
153872014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15388
15389 [BZ#16430]
6e077ee5 15390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15391 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15392 local calls issues by not having a PLT stub required for IFUNC calls.
15393 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15394
94d0cea0
JM
153952014-01-16 Joseph Myers <joseph@codesourcery.com>
15396
15397 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15398 * math/test-fpucw-static.c: Likewise.
15399
980cb518
SP
154002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15401
15402 [BZ #16453]
15403 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15404
2393fc01
AZ
154052014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15406
15407 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15408 implementation for powerpc.
15409
d359bcc2
OB
154102014-01-15 Ondřej Bílka <neleai@seznam.cz>
15411
15412 [BZ #14782]
15413 * sysdeps/posix/system.c (__libc_system): Do not enable
15414 asynchronous cancellation.
15415
7beb48cb
AK
154162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15417
15418 [BZ #16427]
15419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15420 handling only for numbers special also in the IEEE case.
15421
c20d5bf5
AK
154222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15423
15424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15425
e83bd4ee
AM
154262014-01-11 Allan McRae <allan@archlinux.org>
15427
76d0ea69
AM
15428 * po/bg.po: Update Bulgarian translation from translation project.
15429
e83bd4ee
AM
15430 * po/de.po: Update German translation from translation project.
15431
bc2ba20a
RM
154322014-01-10 Roland McGrath <roland@hack.frob.com>
15433
15434 * sysdeps/generic/gcc-compat.h: New file.
15435
649ecea2
SP
154362014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15437
15438 * benchtests/asin-inputs: Correct slow inputs.
15439 * benchtests/acos-inputs: Likewise.
15440
1b19c006
AM
154412014-01-10 Allan McRae <allan@archlinux.org>
15442
a46dab08
AM
15443 * po:sv.po: Update Swedish translation from translation project.
15444
421df74a
AM
15445 * po/vi.po: Update Vietnamese translation from translation project.
15446
d61c51a7
AM
15447 * po/eo.po: Update Esperanto translation from translation project.
15448
0339a319
AM
15449 * po/cs.po: Update Czech translation from translation project.
15450
94ad3e99
AM
15451 * po/nl.po: Update Dutch translation from translation project.
15452
e349ca71
AM
15453 * po/pl.po: Update Polish translation from translation project.
15454
ddf930c1
AM
15455 * po/ru.po: Update Russian translation from translation project.
15456
1b19c006
AM
15457 * po/uk.po: Update Ukrainian translation from translation project.
15458
9f236c49
BM
154592014-01-08 Brooks Moses <bmoses@google.com>
15460
15461 * elf/dl-load.c: Fix comment typo.
15462
cd6701cf
CD
154632014-01-08 Carlos O'Donell <carlos@redhat.com>
15464
15465 * po/header.pot: Rename to...
15466 * po/pot.header: ... this.
15467 * po/Makefile: Use pot.header.
15468
66671c84
YK
154692014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15470 Maxim Kuvyrkov <maxim@kugelworks.com>
15471
15472 [BZ #16394]
cd6701cf
CD
15473 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15474 SRC and DEST against LEN.
66671c84 15475
38f34581
AZ
154762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15477
15478 [BZ #16414]
15479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15480 implementation.
15481 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15482
154832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15484
15485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15486
4c327f2a
JM
154872014-01-08 Joseph Myers <joseph@codesourcery.com>
15488
15489 [BZ #16408]
15490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15491 for large positive arguments.
15492
b821f414
JM
154932014-01-07 Joseph Myers <joseph@codesourcery.com>
15494
1f0f2067
JM
15495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15496
a5a326f6
JM
15497 * math/auto-libm-test-in: Mark various tests with
15498 xfail-rounding:ldbl-128ibm.
15499 * math/auto-libm-test-out: Regenerated.
15500
b821f414
JM
15501 [BZ #16407]
15502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15503 Increase overflow threshold.
15504
94c8a4bc
OB
155052014-01-07 Ondřej Bílka <neleai@seznam.cz>
15506
15507 [BZ #14286]
15508 * stdio-common/vfprintf.c: Check for integer overflow.
15509
87ded0c3
AK
155102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15511
15512 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15513 the first argument and return value of __tls_get_addr_internal.
15514
c5eebdd0
AK
155152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15516
15517 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15518 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15519
05d138ef
AK
155202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15521
15522 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15523 * sysdeps/s390/rtld-global-offsets.sym: New file.
15524 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15525 GLIBC_2.19 symbol.
15526 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15529 ... this.
15530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15532 ... this.
15533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15534 Regenerate.
15535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15536 Regenerate.
15537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15538 halfs of GPRs for high_gprs contexts.
15539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15540 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15541 field.
15542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15543 uc_flags field.
15544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15545 64 bit versions:
15546 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15547 for high GPRs (uc_high_gprs) and for future extensions
15548 (__reserved).
15549 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15550 for future extensions (__reserved).
15551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15552 64 bit versions:
15553 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15554 SC_HIGHGPRS offset definition.
15555 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15557
93a45ff1
AK
15558 * Versions.def: Add GLIBC_2.19 for libpthread.
15559 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15560 siglongjmp for libpthread with GLIBC_2.19 symver.
15561 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15562 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15563 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15564 * sysdeps/s390/__longjmp.c: New file.
15565 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15566 * sysdeps/s390/longjmp.c: New file.
15567 * sysdeps/s390/setjmp.S: New file.
15568 * sysdeps/s390/sigjmp.S: New file.
15569 * sysdeps/s390/v1-longjmp.c: New file.
15570 * sysdeps/s390/v1-setjmp.h: New file.
15571 * sysdeps/s390/v1-sigjmp.c: New file.
15572 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15573 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15574 GLIBC_2.19 version.
15575 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15576 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15577 versioned symbols for ____longjmp_chk.
15578 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15579 Likewise.
15580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15581 Regenerate.
15582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15583 Regenerate.
15584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15585 Regenerate.
15586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15587 Regenerate.
15588 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15589 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15590 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15591 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15592 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15593 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15594 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15595 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15596 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15597 * sysdeps/s390/rtld-__longjmp.c: New file.
15598 * sysdeps/s390/rtld-setjmp.S: New file.
15599
eb3fc44b
JM
156002014-01-06 Joseph Myers <joseph@codesourcery.com>
15601
15602 [BZ #16400]
15603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15604 Return -__logl (x) for small positive arguments without evaluating
15605 a polynomial.
15606
9341dde4
MF
156072014-01-06 Mike Frysinger <vapier@gentoo.org>
15608
15609 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15610 Rename to ...
15611 (__ptrace_peeksiginfo_args): ... this.
15612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15615
4cff0293
AM
156162014-01-06 Allan McRae <allan@archlinux.org>
15617
15618 * inet/netinet/in.h: Fix typo in comment.
15619
75595dcf
AJ
156202014-01-05 Andreas Jaeger <aj@suse.de>
15621
15622 * sysdeps/i386/fpu/libm-test-ulps: Update.
15623
79c1e109
AM
156242014-01-05 Allan McRae <allan@archlinux.org>
15625
dd804818
AM
15626 * po/libc.pot: Regenerated.
15627
79c1e109
AM
15628 * malloc/memusagestat.c: Fix gettext call formatting.
15629
0c813d1f
SK
156302014-01-04 Sami Kerola <kerolasa@iki.fi>
15631
15632 * nscd/nscd.c: Improve usage() output.
15633
20f4a8d9
MF
156342014-01-04 Mike Frysinger <vapier@gentoo.org>
15635
15636 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15637 * sysdeps/unix/sysv/linux/configure: Regenerated.
15638 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15639 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15640
22562bb2
JM
156412014-01-03 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #16390]
15644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15645 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15646
d7ad2d9b
AZ
156472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648
15649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15650 extra tokens at end of #undef directive.
15651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15654
7dd009d8
JM
156552014-01-03 Joseph Myers <joseph@codesourcery.com>
15656
24db925a
JM
15657 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15658
7dd009d8
JM
15659 * math/auto-libm-test-in: Mark various tests with
15660 xfail-rounding:ldbl-128ibm.
15661 * math/auto-libm-test-out: Regenerated.
15662
396e3ecf
JM
156632014-01-02 Joseph Myers <joseph@codesourcery.com>
15664
819e5d50
JM
15665 [BZ #16386]
15666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15667 numbers with subnormal high part when calculating exponent.
15668
90b6a1e5
JM
15669 [BZ #16385]
15670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15671 fabs.
15672
396e3ecf
JM
15673 [BZ #16384]
15674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15675 M_LN2l.
15676 (__ieee754_acoshl): Use __log1pl not __log1p.
15677
6c8dbf00
OB
156782013-01-02 Ondřej Bílka <neleai@seznam.cz>
15679
57f41c40
AS
15680 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15681 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15682 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15683 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15684 (reused_arena, arena_get2): Convert to GNU style.
15685 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15686 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15687 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15688 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15689 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15690 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15691 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15692 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15693 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15694 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15695 * malloc/malloc.h: Likewise.
57f41c40
AS
15696 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15697 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15698 * malloc/mcheck.h: Likewise.
57f41c40
AS
15699 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15700 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15701 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15702 * malloc/morecore.c (__default_morecore): Likewise.
15703 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15704 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15705 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15706 (print_and_abort): Likewise.
6c8dbf00
OB
15707 * malloc/obstack.h: Likewise.
15708 * malloc/set-freeres.c (__libc_freeres): Likewise.
15709 * malloc/tst-mallocstate.c (main): Likewise.
15710 * malloc/tst-mtrace.c (main): Likewise.
15711 * malloc/tst-realloc.c (do_test): Likewise.
15712
d4124212
SP
157132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15714
9a3c6a6f
SP
15715 [BZ #16366]
15716 * nscd/netgroupcache.c (do_notfound): New function.
15717 (addgetnetgrentX): Use it.
15718
d4124212
SP
15719 [BZ # 16365]
15720 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15721 NSS_STATUS_NOTFOUND.
15722
97b9a009
JM
157232014-01-01 Joseph Myers <joseph@codesourcery.com>
15724
15725 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15727
d4697bc9
AM
157282014-01-01 Allan McRae <allan@archlinux.org>
15729
ddb3687f
AM
15730 * scripts/update-copyrights: Update configure input file suffix.
15731
88726d48
AM
15732 * NEWS: Update copyright year.
15733 * catgets/gencat.c: Likewise.
15734 * csu/version.c: Likewise.
15735 * debug/catchsegv.sh: Likewise.
15736 * debug/pcprofiledump.c: Likewise.
15737 * debug/xtrace.sh: Likewise.
15738 * elf/ldconfig.c: Likewise.
15739 * elf/ldd.bash.in: Likewise.
15740 * elf/pldd.c: Likewise.
15741 * elf/sotruss.ksh: Likewise.
15742 * elf/sprof.c: Likewise.
15743 * iconv/iconv_prog.c: Likewise.
15744 * iconv/iconvconfig.c: Likewise.
15745 * locale/programs/locale.c: Likewise.
15746 * locale/programs/localedef.c: Likewise.
15747 * login/programs/pt_chown.c: Likewise.
15748 * malloc/memusage.sh: Likewise.
15749 * malloc/memusagestat.c: Likewise.
15750 * malloc/mtrace.pl: Likewise.
15751 * manual/libc.texinfo: Likewise.
15752 * nscd/nscd.c: Likewise.
15753 * nss/getent.c: Likewise.
15754 * nss/makedb.c: Likewise.
15755 * posix/getconf.c: Likewise.
15756 * scripts/test-installation.pl: Likewise.
15757
d4697bc9
AM
15758 * All files with FSF copyright notices: Update copyright dates
15759 using scripts/update-copyrights.
15760 * intl/plural.c: Regenerated.
15761 * locale/programs/charmap-kw.h: Likewise.
15762 * locale/programs/locfile-kw.h: Likewise.
15763
c8590f9d
MF
157642013-12-31 Mike Frysinger <vapier@gentoo.org>
15765
15766 * sysdeps/unix/sysv/linux/configure: Regenerated.
15767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15768 the linux/fanotify.h header.
15769 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15770 HAVE_LINUX_FANOTIFY_H is defined.
15771
b19221b9
SP
157722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15773
dd1d85e5
SP
15774 * benchtests/cos-inputs: New inputs.
15775 * benchtests/sin-inputs: Likewise.
15776
1acbb90f
SP
15777 * benchtests/atan-inputs: New inputs. Fix name of multiple
15778 precision fallback inputs.
15779
4c012ed3
SP
15780 * benchtests/atanh-inputs: New inputs.
15781 * benchtests/tanh-inputs: Likewise.
15782
eff98324
SP
15783 * benchtests/acosh-inputs: New inputs.
15784 * benchtests/asinh-inputs: Likewise.
15785
ce641152
SP
15786 * benchtests/cosh-inputs: New inputs.
15787 * benchtests/sinh-inputs: Likewise.
15788
b19221b9
SP
15789 * benchtests/acos-inputs: Add more inputs.
15790 * benchtests/asin-inputs: Likewise.
15791
030a4976 157922013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15793
030a4976 15794 [BZ #16375]
9dcc8f11
VS
15795 * manual/arith.texi: Fix spelling.
15796 * manual/charset.texi: Likewise.
15797 * manual/errno.texi: Likewise.
15798 * manual/filesys.texi: Likewise.
15799 * manual/lang.texi: Likewise.
15800 * manual/llio.texi: Likewise.
15801 * manual/locale.texi: Likewise.
15802 * manual/message.texi: Likewise.
15803 * manual/resource.texi: Likewise.
15804 * manual/search.texi: Likewise.
15805 * manual/setjmp.texi: Likewise.
15806 * manual/stdio.texi: Likewise.
15807 * manual/string.texi: Likewise.
15808 * manual/sysinfo.texi: Likewise.
15809 * manual/time.texi: Likewise.
15810
11520a57
CD
158112013-12-27 Carlos O'Donell <carlos@redhat.com>
15812
15813 * po/sl.po: New file.
15814
471103ae
MF
158152013-12-27 Mike Frysinger <vapier@gentoo.org>
15816
15817 * .gitignore: Add core/.gdbinit/.gdb_history.
15818
6c9642ed
AM
158192013-12-27 Allan McRae <allan@archlinux.org>
15820
15821 [BZ #16369]
15822 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15823 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15824
3f637079
BM
158252013-12-24 Brooks Moses <bmoses@google.com>
15826
15827 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15828 all compilers that claim C++98 compliance, not just GCC.
15829 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15830 Likewise.
15831
abc26e99
MK
158322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15833
15834 * NEWS: Restore accidentally deleted bug-fix entries.
15835
362b47fe
MK
158362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15837 Ondřej Bílka <neleai@seznam.cz>
15838
15839 [BZ #15073]
15840 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 15841 have_lock.
362b47fe 15842
b9bcbbcb
OB
158432013-12-23 Ondřej Bílka <neleai@seznam.cz>
15844
15845 [BZ #12986]
15846 * manual/stdio.texi (String Input Conversions): Clarify that character
15847 classes are not supported.
15848
fb55fcd2
AZ
158492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15850
15851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15852
ef7344f0
JM
158532013-12-22 Joseph Myers <joseph@codesourcery.com>
15854
4f40e4b3
JM
15855 [BZ #16337]
15856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15857 Calculate results for small negative arguments directly rather
15858 than using reflection formula with special underflow handling.
15859
ef7344f0
JM
15860 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15861 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15862 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15863 (fchflags): Likewise.
15864 (revoke): Likewise.
15865 (setlogin): Likewise.
15866 (sigaltstack): Likewise.
15867 (wait4): Likewise.
15868 (sigblock): Remove.
15869 (sigsetmask): Likewise.
15870 (wait3): Likewise.
15871 (waitpid): Likewise.
15872 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15873 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15874 file.
15875 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15876 * sysdeps/unix/bsd/Makefile: ... here.
15877 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15878 * sysdeps/unix/bsd/Versions: ... here.
15879 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15880 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15881 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15882 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15883 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15884 * sysdeps/unix/bsd/sigblock.c: ... here.
15885 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15886 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15887 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15888 * sysdeps/unix/bsd/sigvec.c: ... here.
15889 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15890 * sysdeps/unix/bsd/tcdrain.c: ... here.
15891 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15892 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15893 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15894 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15895 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15896 * sysdeps/unix/bsd/wait.c: ... here.
15897 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15898 * sysdeps/unix/bsd/wait3.c: ... here.
15899 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15900 * sysdeps/unix/bsd/waitpid.c: ... here.
15901
5b0626b9
JM
159022013-12-21 Joseph Myers <joseph@codesourcery.com>
15903
15904 [BZ #16356]
15905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15906 round-to-nearest for [!USE_AS_EXPM1L].
15907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15908 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15909 more tests of exp and exp10. Expect some exp10 tests to miss
15910 exceptions or fail in directed rounding modes.
15911 * math/auto-libm-test-out: Regenerated.
15912 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15913 (exp10_test_tonearest): New function.
15914 (exp10_towardzero_test_data): New array.
15915 (exp10_test_towardzero): New function.
15916 (exp10_downward_test_data): New array.
15917 (exp10_test_downward): New function.
15918 (exp10_upward_test_data): New array.
15919 (exp10_test_upward): New function.
15920 (main): Call the new functions.
15921 * sysdeps/i386/fpu/libm-test-ulps: Update.
15922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15923
7fda5682
JM
159242013-12-20 Joseph Myers <joseph@codesourcery.com>
15925
31e3a405
JM
15926 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15927 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15928 * math/auto-libm-test-out: Regenerated.
15929 * math/libm-test.inc (acosh_test_data): Add more tests.
15930 (atanh_test_data): Likewise.
15931 (ceil_test_data): Likewise.
15932 (copysign_test_data): Likewise.
15933 * sysdeps/i386/fpu/libm-test-ulps: Update.
15934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15935
85bff96a
JM
15936 * timezone/checktab.awk: Update from tzcode 2013i.
15937 * timezone/private.h: Likewise.
15938 * timezone/scheck.c: Likewise.
15939 * timezone/tzfile.h: Likewise.
15940 * timezone/tzselect.ksh: Likewise.
15941 * timezone/zdump.c: Likewise.
15942 * timezone/zic.c: Likewise.
15943
b7867a3b
JM
15944 * math/auto-libm-test-in: Add tests of cpow.
15945 * math/auto-libm-test-out: Regenerated.
15946 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 15947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
15948 mpc_cc_c.
15949 (func_calc_desc): Add mpc_cc_c union field.
15950 (test_functions): Add cpow.
15951 (special_fill_2pi): New function.
15952 (special_real_inputs): Add 2pi.
15953 (calc_generic_results): Handle mpc_cc_c.
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956
7fda5682
JM
15957 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15958 csqrt, ctan and ctanh.
15959 * math/auto-libm-test-out: Regenerated.
15960 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15961 (TEST_COND_x86): Likewise.
15962 (ccos_test_data): Use AUTO_TESTS_c_c.
15963 (ccosh_test_data): Likewise.
15964 (cexp_test_data): Likewise.
15965 (clog_test_data): Likewise.
15966 (csqrt_test_data): Likewise.
15967 (ctan_test_data): Likewise.
15968 (ctan_tonearest_test_data): Likewise.
15969 (ctan_towardzero_test_data): Likewise.
15970 (ctan_downward_test_data): Likewise.
15971 (ctan_upward_test_data): Likewise.
15972 (ctanh_test_data): Likewise.
15973 (ctanh_tonearest_test_data): Likewise.
15974 (ctanh_towardzero_test_data): Likewise.
15975 (ctanh_downward_test_data): Likewise.
15976 (ctanh_upward_test_data): Likewise.
15977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15978 mpc_c_c.
15979 (func_calc_desc): Add mpc_c_c union field.
15980 (FUNC_mpc_c_c): New macro.
15981 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15982 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15983 ctanh.
15984 (special_fill_min_subnorm_p120): New function.
15985 (special_real_inputs): Add min_subnorm_p120.
15986 (calc_generic_results): Handle mpc_c_c.
15987 * sysdeps/i386/fpu/libm-test-ulps: Update.
15988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15989
5ff8d60e
SP
159902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15991
57f41c40
AS
15992 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15993 (do_sin_slow): New functions.
15994 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15995 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15996
84ba214c
SP
15997 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15998 Use M to change sign of result instead of X. Assume X is
15999 positive.
16000 (csloww1): Likewise.
16001 (__sin): Adjust.
16002 (__cos): Adjust.
16003
975195e4
SP
16004 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16005 arguments A and DA.
16006 (__sin): Adjust.
16007 (__cos): Likewise.
16008
5ff8d60e
SP
16009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16010 (__cos): Likewise.
16011 (sloww1): Don't adjust sign of DX.
16012 (csloww1): Likewise.
16013 (sloww2): Use X directly and don't adjust sign of DX.
16014 (csloww2): Likewise.
16015
eb983568
JM
160162013-12-19 Joseph Myers <joseph@codesourcery.com>
16017
64a17f1a
JM
16018 * math/auto-libm-test-in: Add tests of cabs and carg.
16019 * math/auto-libm-test-out: Regenerated.
16020 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16021 (carg_test_data): Likewise.
16022 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16023 mpc_c_f.
16024 (func_calc_desc): Add mpc_c_f union field.
16025 (test_functions): Add cabs and carg.
16026 (calc_generic_results): Handle mpc_c_f.
16027
eb983568
JM
16028 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16029 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16030 as a macro and a compat symbol.
16031 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16032 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16034 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16035 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16037 not use .hidden.
16038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16039 Likewise.
16040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16041 Likewise.
16042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16043 Likewise.
16044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16045 Likewise.
16046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16047 Likewise.
16048 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16049 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16050 from GLIBC_2.3.2.
16051
6eeb678a
AZ
160522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16053
16054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16055
6f6fc482
JM
160562013-12-19 Joseph Myers <joseph@codesourcery.com>
16057
21fea2e2
JM
16058 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16059 trailing whitespace removed.
16060 * scripts/config.guess: Update to version 2013-11-29.
16061 * scripts/config.sub: Update to version 2013-10-01.
16062
6f6fc482
JM
16063 * math/auto-libm-test-in: Add tests of sincos.
16064 * math/auto-libm-test-out: Regenerated.
16065 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16067 mpfr_f_11.
16068 (func_calc_desc): Add mpfr_f_11 union field.
16069 (test_functions): Add sincos.
16070 (calc_generic_results): Handle mpfr_f_11.
16071 * sysdeps/i386/fpu/libm-test-ulps: Update.
16072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16073
83f5c32d
AS
160742013-12-19 Andreas Schwab <schwab@suse.de>
16075
16076 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16077 CALL_MCOUNT.
16078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16079 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16080 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16081
c688b419
JM
160822013-12-19 Joseph Myers <joseph@codesourcery.com>
16083
335ee092
JM
16084 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16087
f88acd39
JM
16088 [BZ #16293]
16089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16090 round-to-nearest mode when using frndint.
16091 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16092 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16094 Likewise.
16095 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16096 sinh test to fail.
16097 * math/auto-libm-test-out: Regenerated.
16098 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16099 (TEST_COND_x86): Likewise.
16100 (expm1_tonearest_test_data): New array.
16101 (expm1_test_tonearest): New function.
16102 (expm1_towardzero_test_data): New array.
16103 (expm1_test_towardzero): New function.
16104 (expm1_downward_test_data): New array.
16105 (expm1_test_downward): New function.
16106 (expm1_upward_test_data): New array.
16107 (expm1_test_upward): New function.
16108 (main): Run the new test functions.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16111
c688b419
JM
16112 * include/features.h: Update comment documenting feature test
16113 macros. Mention _DEFAULT_SOURCE in comment.
16114 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16115 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16116 _BSD_SOURCE and _SVID_SOURCE.
16117 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16118 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16119 !_SVID_SOURCE]: Likewise.
16120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16121 (__USE_POSIX_IMPLICITLY): Define.
16122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16123 (_POSIX_SOURCE): Undefine and redefine.
16124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16125 (_POSIX_C_SOURCE): Likewise.
16126 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16127 (Feature Test Macros): Update documentation of default features.
16128
9f6e964c
RS
161292013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16130
16131 * benchtests/Makefile: Add bench-strtok.
16132 * benchtests/bench-strtok.c: New file: strtok benchtest.
16133
ee0a148a
AM
161342013-12-19 Allan McRae <allan@archlinux.org>
16135
16136 * manual/install.texi: Suppress menu for plain text output.
16137 * INSTALL: Regenerated.
16138
b9ab448f
BM
161392013-12-18 Brooks Moses <bmoses@google.com>
16140
16141 [BZ #15846]
16142 * misc/getauxval.c: Include errno.h.
16143 (__getauxval): Set errno to ENOENT if the requested type is not
16144 found.
16145 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16146 don't declare with __attribute_const__.
16147 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16148 * manual/startup.texi: Document that getauxval sets errno.
16149
23776487
JM
161502013-12-18 Joseph Myers <joseph@codesourcery.com>
16151
f889953b
JM
16152 * math/auto-libm-test-in: Add tests of jn and yn.
16153 * math/auto-libm-test-out: Regenerated.
16154 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16155 (yn_test_data): Likewise.
16156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16157 mpfr_if_f.
16158 (func_calc_desc): Add mpfr_if_f union field.
16159 (FUNC_mpfr_if_f): New macro.
16160 (test_functions): Add jn and yn.
16161 (calc_generic_results): Assert type of second input for
16162 mpfr_ff_f. Handle mpfr_if_f.
16163 (output_for_one_input_case): Disable all checking for arguments
16164 fitting floating-point types in case of an integer argument.
16165 * sysdeps/i386/fpu/libm-test-ulps: Update.
16166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16167
23776487
JM
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16169 Don't expect fegetround reference in libm.so.
16170
cb756c6d
MS
161712013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16172
16173 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16174 $(config-cflags-nofma).
16175
2dec468f
JM
161762013-12-18 Joseph Myers <joseph@codesourcery.com>
16177
5953eb3a
JM
16178 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16179 * math/auto-libm-test-out: Regenerated.
16180
2dec468f
JM
16181 [BZ #16338]
16182 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16183 to determine exponent and adjust argument to have exponent of -1.
16184 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16185 log2.
16186 * math/auto-libm-test-out: Regenerated.
16187 * sysdeps/i386/fpu/libm-test-ulps: Update.
16188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16189
4d84e6ad
OB
161902013-12-18 Ondřej Bílka <neleai@seznam.cz>
16191
16192 * manual/probes.texi: Remove cases when per-thread arenas are
16193 disabled.
16194
1818483b
AS
161952013-12-18 Andreas Schwab <schwab@suse.de>
16196
16197 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16198 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16199 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16200 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16201 * sysdeps/i386/i686/multiarch/Makefile: Update.
16202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16203
25de95bf
JM
162042013-12-17 Joseph Myers <joseph@codesourcery.com>
16205
16206 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16207 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16208
674762d9
PE
162092013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16210
ed27ed83 16211 [BZ #15968]
0748546f
PE
16212 Support TZ transition times < 00:00:00.
16213 This is needed for version-3 tz-format files; it supports time
16214 stamps past 2037 for America/Godthab (the only entry in the tz
16215 database for which this change is relevant).
16216 * manual/time.texi (TZ Variable): Document transition times
16217 from -167:59:59 through -00:00:01.
16218 * time/tzset.c (tz_rule): Time of day is now signed.
16219 (__tzset_parse_tz): Parse negative time of day.
16220
4480e934
PE
16221 Document TZ transition times >= 25:00:00.
16222 * manual/time.texi (TZ Variable): Document transition times from
16223 25:00:00 through 167:59:59. These are already supported, and this
16224 support will help with version-3 tz-format files.
16225
69947401
PE
16226 * manual/time.texi (TZ Variable): Modernize North America example
16227 to reflect current (i.e., 2007-and-later) daylight saving rules.
16228
674762d9
PE
16229 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16230
7011c262
JM
162312013-12-17 Joseph Myers <joseph@codesourcery.com>
16232
2fc6557e
JM
16233 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16234 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16237 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16238 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16239 * sysdeps/unix/bsd/clock.c: Likewise.
16240 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16241 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16242 * sysdeps/unix/bsd/init-posix.c: Likewise.
16243 * sysdeps/unix/bsd/poll.c: Likewise.
16244 * sysdeps/unix/bsd/ptsname.c: Likewise.
16245 * sysdeps/unix/bsd/seekdir.c: Likewise.
16246 * sysdeps/unix/bsd/setegid.c: Likewise.
16247 * sysdeps/unix/bsd/seteuid.c: Likewise.
16248 * sysdeps/unix/bsd/setgid.c: Likewise.
16249 * sysdeps/unix/bsd/setrgid.c: Likewise.
16250 * sysdeps/unix/bsd/setruid.c: Likewise.
16251 * sysdeps/unix/bsd/setsid.c: Likewise.
16252 * sysdeps/unix/bsd/setuid.c: Likewise.
16253 * sysdeps/unix/bsd/sigaction.c: Likewise.
16254 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16255 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16256 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16257 * sysdeps/unix/bsd/telldir.c: Likewise.
16258 * sysdeps/unix/bsd/times.c: Likewise.
16259 * sysdeps/unix/bsd/usleep.c: Likewise.
16260
029c7b25
JM
16261 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16262 ($(objpfx)libbsd-compat.a): Remove rule.
16263
7011c262
JM
16264 * include/features.h (__FAVOR_BSD): Do not define.
16265 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16266 features conflicting with POSIX.
16267 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16268 (_BSD_SOURCE): Remove description of not being a subset of other
16269 feature test macros.
16270 * manual/job.texi (getpgrp): Do not document BSD version.
16271 (getpgid): Do not document by reference to BSD getpgrp.
16272 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16273 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16274 * signal/signal.h [__FAVOR_BSD]: Likewise.
16275 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16276 instead of making contents conditional on [__FAVOR_BSD].
16277 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16278
affb6f78
AZ
162792013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16280
16281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16282
c88769dd
JM
162832013-12-17 Joseph Myers <joseph@codesourcery.com>
16284
6432a540
JM
16285 [BZ #16314]
16286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16287 values below 2**-450, not 2**-500.
16288 * math/auto-libm-test-in: Don't allow spurious underflow from
16289 hypot.
16290 * math/auto-libm-test-out: Regenerated.
16291
c88769dd
JM
16292 [BZ #16316]
16293 [BZ #16330]
16294 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16295 values of ha and hb and sort them after adjusting subnormal
16296 arguments.
16297 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16298 Likewise.
16299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16300 values of ea and eb and sort them after adjusting subnormal
16301 arguments.
16302 * math/auto-libm-test-in: Do not expect some hypot tests of
16303 subnormals to fail. Add more hypot tests.
16304 * math/auto-libm-test-out: Regenerated.
16305
29618f6b
KK
163062013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16307
16308 [BZ #13304]
16309 * sysdeps/sh/s_fma.c: New file.
16310 * sysdeps/sh/s_fmaf.c: New file.
16311 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16312 version.
16313 * sysdeps/sh/Implies: Add sh/soft-fp.
16314
eacfdfbf
RM
163152013-12-16 Roland McGrath <roland@hack.frob.com>
16316
16317 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16318 level of indirection to members `objname', `errstring', `malloced'.
16319 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16320 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16321 it as the __longjmp argument (just pass 1 instead).
16322 (_dl_catch_error): Initialize C with argument pointers and address of
16323 volatile local ERRCODE rather than copying values out of C at return.
16324
ff362e5b
JM
163252013-12-16 Joseph Myers <joseph@codesourcery.com>
16326
16327 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16328 * math/auto-libm-test-out: Regenerated.
16329 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16330 (hypot_test_data): Likewise.
16331 (pow_test_data): Likewise.
16332 (pow_tonearest_test_data): Likewise.
16333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16334 mpfr_ff_f.
16335 (func_calc_desc): Add mpfr_ff_f union field.
16336 (FUNC_mpfr_ff_f): New macro.
16337 (test_functions): Add atan2, hypot and pow.
16338 (special_fill_min): New function.
16339 (special_fill_minus_min): Likewise.
16340 (special_fill_min_subnorm): Likewise.
16341 (special_fill_minus_min_subnorm): Likewise.
16342 (special_real_inputs): Add min, -min, min_subnorm and
16343 -min_subnorm.
16344 (calc_generic_results): Handle mpfr_ff_f.
16345 * sysdeps/i386/fpu/libm-test-ulps: Update.
16346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347
5764c27f
WN
163482013-12-16 Will Newton <will.newton@linaro.org>
16349
16350 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16351 (Aligned Memory Blocks): Add documentation for aligned_alloc
16352 and suggest it as an alternative to posix_memalign.
16353 (Hooks for Malloc): Document __memalign_hook is also called
16354 for aligned_alloc. (Summary of Malloc): Add summary for
16355 aligned alloc. Document __memalign_hook is also called
16356 for aligned_alloc.
16357
0a096e44
WN
163582013-12-16 Will Newton <will.newton@linaro.org>
16359
16360 * manual/memory.texi (Malloc Examples): Clarify default
16361 alignment documentation. Suggest posix_memalign rather
16362 than memalign or valloc.
16363 (Aligned Memory Blocks): Remove suggestion to use memalign
16364 or valloc. Remove obsolete comment about BSD.
16365 Document memalign errno values and mark the function obsolete.
16366 Document posix_memalign returned error codes. Mark valloc
16367 as obsolete. (Hooks for Malloc): __memalign_hook is also
16368 called for posix_memalign and valloc.
16369 (Summary of Malloc): Add posix_memalign to function summary.
16370 __memalign_hook is also called for posix_memalign and valloc.
16371
8d561986
SP
163722013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16373
16374 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16375 TAYLOR_SIN.
16376 (__sin): Adjust.
16377 (__cos): Likewise.
16378 (sloww): Use mynumber union. Expand ternary operator into
16379 if-else statements.
16380 (cslow): use mynumber union.
16381
73616a74
AM
163822013-12-16 Allan McRae <allan@archlinux.org>
16383
9e8ac24b
AM
16384 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16385 * configure: Regenerated.
16386
6f8e37eb
AM
16387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16388
8894bad3
AM
16389 [BZ #14120]
16390 * configure.ac: Added --enable-maintainer-mode. Check for
16391 autoconf when enabled.
16392 * configure: Regenerated.
16393
73616a74
AM
16394 * nscd/nscd.service: New file.
16395 * nscd/nscd.tmpfiles: New file.
16396
584b18eb
OB
163972013-12-14 Ondřej Bílka <neleai@seznam.cz>
16398
16399 [BZ #12100]
16400 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16401 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16402 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16403 (strstr): Add __strstr_sse2_unaligned ifunc.
16404 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16405 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16406 (strcasestr): Remove __strcasestr_sse42 ifunc.
16407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16410
8a5c7897
KK
164112013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16412
16413 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16414 * sysdeps/sh/bits/fenv.h: ... here.
16415 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16416
fd712ef3
AZ
164172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16418
16419 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16420
42fcb46c
AZ
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16422 hypotf multiarch implementations.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16426 multiarch hypot for PPC64.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16430 multiarch hypotf for PPC64.
16431
83efded4
AZ
16432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16433 modff multiarch implementations.
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16437 multiarch modf for PPC64.
16438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16441 multiarch modff for PPC64.
16442
43e246d2
AZ
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16444 and logl multiarch implementations.
16445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16448 multiarch logb for PPC64.
16449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16452 multiarch logb for PPC64.
16453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16456 multiarch logb for PPC64.
16457
8fdad123
AZ
16458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16459 isinff multiarch implementation.
16460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16461 file.
16462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16464 multiarch isinf for PPC64.
16465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16466 file.
16467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16468 multiarch isinff for PPC64.
16469
1481d706
AZ
16470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16471 finitef multiarch implementation.
16472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16473 file.
16474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16476 multiarch finite for PPC64.
16477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16478 file.
16479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16480 multiarch finitef for PPC64.
16481
5ccd5fc8
AZ
16482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16483 lrint multiarch implementation.
16484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16485 file.
16486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16488 multiarch llrint for PPC64.
16489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16490 multiarch lrint for PPC64.
16491
2568f3fa
AZ
16492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16493 copysignf multiarch implementation.
16494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16495 file.
16496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16497 file.
16498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16499 multiarch copysign for PPC64.
16500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16501 multiarch copysignf for PPC64.
16502
1cb341fd
AZ
16503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16504 multiarch implementation.
16505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16506 file.
16507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16508 file.
16509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16510 file.
16511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16512 file.
16513 multiarch llround for PPC64.
16514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16515 multiarch trunc for PPC64.
16516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16517 multiarch truncf for PPC64.
16518
59a3e194
AZ
16519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16520 multiarch implementation.
16521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16522 file.
16523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16524 file.
16525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16526 file.
16527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16528 file.
16529 multiarch llround for PPC64.
16530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16531 multiarch round for PPC64.
16532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16533 multiarch roundf for PPC64.
16534
357fd3b4
AZ
16535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16536 multiarch implementation.
16537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16538 file.
16539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16540 file.
16541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16542 file.
16543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16544 file.
16545 multiarch llround for PPC64.
16546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16547 multiarch floor for PPC64.
16548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16549 multiarch floorf for PPC64.
16550
96770f12
AZ
16551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16552 multiarch implementation.
16553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16554 file.
16555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16556 file.
16557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16558 file.
16559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16560 file.
16561 multiarch llround for PPC64.
16562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16563 multiarch ceil for PPC64.
16564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16565 multiarch ceilf for PPC64.
16566
c3627f6e
AZ
16567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16568 multiarch implementation.
16569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16570 file.
16571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16572 file.
16573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16574 file.
16575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16576 multiarch llround for PPC64.
16577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16578 multiarch lround for PPC64.
16579
b2284ad7
AZ
16580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16581 multiarch implementation.
16582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16585 file.
16586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16589 multiarch isnan for PPC64.
16590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16591 multiarch isnanf for PPC64.
16592
69bbc63d
AZ
16593 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16594 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16595 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16596 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16597 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16599
c24517c9
AZ
16600 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16604
a52374e8
AZ
16605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16606 multiarch implementations.
16607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16608 (__libc_ifunc_impl_list): Likewise.
16609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16610 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16612 multiarch stpcpy for PPC64.
16613
7f5ec113
AZ
16614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16615 multiarch implementations.
16616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16617 (__libc_ifunc_impl_list): Likewise.
16618 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16620 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16621 multiarch strcpy for PPC64.
16622
e28bcd42
AZ
16623 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16624 redefine function name.
16625 (_wordcopy_fwd_dest_aligned): Likewise.
16626 (_wordcopy_bwd_aligned): Likewise.
16627 (_wordcopy_bwd_dest_aligned): Likewise.
16628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16629 multiarch implementations.
16630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16631 (__libc_ifunc_impl_list): Likewise.
16632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16636 multiarch wcscpy for PPC64.
16637
92cacfce
AZ
16638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16639 multiarch implementations.
16640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16641 (__libc_ifunc_impl_list): Likewise.
16642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16644 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16646 multiarch wcscpy for PPC64.
16647
7b714620
AZ
16648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16649 multiarch implementations.
16650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16651 (__libc_ifunc_impl_list): Likewise.
16652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16654 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16656 multiarch wcsrchr for PPC64.
16657
16fd2ae3
AZ
16658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16659 multiarch implementations.
16660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16661 (__libc_ifunc_impl_list): Likewise.
16662 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16663 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16664 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16666 multiarch wcschr for PPC64.
16667
9ee2969b
AZ
16668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16669 multiarch implementations.
16670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16671 (__libc_ifunc_impl_list): Likewise.
16672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16674 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16675 multiarch strchrnul for PPC64.
16676
372dc060
AZ
16677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16678 implementations.
16679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16680 (__libc_ifunc_impl_list): Likewise.
16681 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16682 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16683 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16684 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16685 strchr for PPC64.
16686
24c2c3b9
AZ
16687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16688 implementations.
16689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16690 (__libc_ifunc_impl_list): Likewise.
16691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16694 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16695 strncmp for PPC64.
16696
1c92d9a0
AZ
16697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16698 multiarch implementations.
16699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16700 (__libc_ifunc_impl_list): Likewise.
16701 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16702 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16703 strncasecmp for PPC64.
16704 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16706 multiarch strncasecmp_l for PPC64.
16707
17de3ee3
AZ
16708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16709 multiarch implementations.
16710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16711 (__libc_ifunc_impl_list): Likewise.
16712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16714 multiarch strcasecmp for PPC64.
16715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16716 file.
16717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16718 multiarch strcasecmp_l for PPC64.
16719
62982bf9
AZ
16720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16721 implementations.
16722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16723 (__libc_ifunc_impl_list): Likewise.
16724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16725 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16726 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16727 strnlen for PPC64.
16728
a65f4904
AZ
16729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16730 implementations.
16731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16732 (__libc_ifunc_impl_list): Likewise.
16733 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16734 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16735 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16736 strlen for PPC64.
16737
1fd005ad
AZ
16738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16739 implementations.
16740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16741 (__libc_ifunc_impl_list): Likewise.
16742 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16743 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16745 rawmemrchr for PPC64.
16746
cd05ba91
AZ
16747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16748 implementation.
16749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16750 (__libc_ifunc_impl_list): Likewise.
16751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16752 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16753 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16754 memrchr for PPC64.
16755
870f8676
AZ
16756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16757 implementation.
16758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16759 (__libc_ifunc_impl_list): Likewise.
16760 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16761 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16762 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16763 memchr for PPC64.
16764
f00be62b
AZ
16765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16766 implementation.
16767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16768 (__libc_ifunc_impl_list): Likewise.
16769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16772 mempcpy for PPC64.
16773
8a29a3d0
AZ
16774 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16775 avoid cretion of __bzero symbol.
16776 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16777 Likewise.
16778 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16779 Likewise.
16780 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16781 Likewise.
16782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16783 multiarch implementations.
16784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16785 (__libc_ifunc_impl_list): Likewise.
16786 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16787 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16788 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16789 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16790 bzero for PPC32.
16791 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16792 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16793 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16795 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16796 memset for PPC64.
16797 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16798
07253fcf
AZ
16799 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16801 implementations.
16802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16803 (__libc_ifunc_impl_list): Likewise.
16804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16807 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16808 memcmp for PPC64.
16809
b5beafbc
AZ
16810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16811 multiarch for POWER/PPC64.
16812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16813 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16821 memcpy for PPC64.
16822
5e6a4d4b
AZ
16823 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16824 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16825 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16827 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16828 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16830 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16831 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16832 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16833 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16834 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16836 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16837 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16845
ddfab6dc
KK
168462013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16847
16848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16849
19b5525e
SP
168502013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16851
16852 * benchtests/Makefile (bench): Add exp2 and log2.
16853 (LDLIBS-bench-exp2): Add -lm.
16854 (LDLIBS-bench-log2): Likewise.
16855 * benchtests/exp2-inputs: New inputs file.
16856 * benchtests/log2-inputs: New inputs file.
16857 * benchtests/log-inputs: Add new inputs.
16858 * benchtests/tan-inputs: Likewise.
16859
196f7f5d
SP
168602013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16861
7a74607f
SP
16862 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16863 definition...
57f41c40
AS
16864 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16865 (csloww2): ... from here.
7a74607f 16866
196f7f5d
SP
16867 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16868 instead of structures.
16869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16870 (POLYNOMIAL): Likewise.
16871 (TAYLOR_SLOW): Likewise.
16872 (__sin): Likewise.
16873 (__cos): Likewise.
16874 (slow1): Likewise.
16875 (slow2): Likewise.
16876 (sloww): Likewise.
16877 (sloww1); Likewise.
16878 (sloww2): Likewise.
16879 (bsloww1): Likewise.
16880 (bsloww2): Likewise.
16881 (cslow2): Likewise.
16882 (csloww): Likewise.
16883 (csloww1): Likewise.
16884 (csloww2): Likewise.
16885
0dfa665c
OB
168862013-12-10 Ondřej Bílka <neleai@seznam.cz>
16887
16888 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
16889 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16890 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
16891 * malloc/hooks.c (realloc_check): Likewise.
16892
5782a80f
OB
16893 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16894 * malloc/arena.c: Remove PER_THREAD conditional.
16895 [!PER_THREAD]: Remove code.
16896 (ptmalloc_unlock_all2): Likewise.
16897 (ptmalloc_init): Likewise.
16898 (_int_new_arena): Likewise.
16899 (arena_get2): Likewise.
16900 * malloc/hooks.c (__malloc_get_state): Likewise.
16901 (__malloc_set_state): Likewise.
16902 * malloc/malloc.c: Likewise.
16903 (struct malloc_state): Likewise.
16904 (struct malloc_par): Likewise.
16905 (__libc_realloc): Likewise.
16906 (__libc_mallopt): Likewise.
16907
aeb95445
AZ
169082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16909
16910 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16911
e8349efd
OB
169122013-12-09 Ondřej Bílka <neleai@seznam.cz>
16913
16914 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16915 macro to a function. Check for zero perturb_byte.
16916 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16917
f3eeb3fc 16918 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
16919 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16920 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
16921 force_reg by atomic_forced_read.
16922 * malloc/arena.c (ptmalloc_init): Likewise.
16923 * malloc/hooks.c (top_check): Likewise.
16924
be2f9009
AZ
169252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16926
16927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16928
e7b914bd
MT
169292013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16930
16931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16932
9f0be4f8
JM
169332013-12-08 Joseph Myers <joseph@codesourcery.com>
16934
16935 * math/auto-libm-test-in: Add tests of lgamma.
16936 * math/auto-libm-test-out: Regenerated.
16937 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16938 (M_LOG_2_SQRT_PIl): Likewise.
16939 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16941 mpfr_f_f1.
16942 (func_calc_desc): Add mpfr_f_f1 union field.
16943 (ARGS1): New macro.
16944 (ARGS2): Likewise.
16945 (ARGS3): Likewise.
16946 (ARGS4): Likewise.
16947 (RET1): Likewise.
16948 (RET2): Likewise.
16949 (CALC): Likewise.
16950 (FUNC): Likewise.
16951 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16952 (test_functions): Add lgamma.
16953 (calc_generic_results): Handle mpfr_f_f1.
16954 * sysdeps/i386/fpu/libm-test-ulps: Update.
16955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16956
24eeafdb
AZ
169572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16958
16959 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16960 __mpn_add_n for PowerPC64/POWER7.
16961 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16962 __mpn_sub_n for PowerPC64/POWER7.
16963
4a2c0fd4
AZ
16964 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16965 __mpn_addmul_1 for PowerPC64.
16966 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16967 __mpn_submul_1 for PowerPC64.
16968 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16969 for PowerPC64.
16970 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16971 for PowerPC64.
16972
4b5b548c
FS
169732013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16974
16975 [BZ #15089]
16976 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16977
0a3ac0aa
AZ
169782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16979
16980 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16981
ccdc8438
AZ
16982 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16983 add multiarch folders.
16984 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16985 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16986 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16987 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16988 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16989 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16990 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16991 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16992 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16993 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16994 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17001
2e973d99
AZ
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17003 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17005 New file.
17006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17007 New file.
17008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17009 multiarch __ieee754_hypot for PowerPC32.
17010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17011 New file.
17012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17013 New file.
17014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17015 multiarch __ieee754_hypotf for PowerPC32.
17016
2d9470b2
AZ
17017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17018 long_double_symbol only if __logbl is defined.
17019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17020 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17022 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17024 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17026 path for implementation.
17027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17030 logb, and logbl multiarch implementations for PowerPC32.
17031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17032 file.
17033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17034 file.
17035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17036 multiarch logb for PowerPC32.
17037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17038 file.
17039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17040 file.
17041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17042 multiarch logbf for PowerPC32.
17043 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17045 file.
17046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17047 multiarch logbl implementation for PowerPC32.
17048
5212ffce
AZ
17049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17050 and modff multiarch implementations.
17051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17052 New file.
17053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17054 New file.
17055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17056 multiarch modf for PowerPC32.
17057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17058 New file.
17059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17060 New file.
17061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17062 multiarch modff for PowerPC32.
17063
79dccf31
AZ
17064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17065 and lrintf multiarch implementations.
17066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17067 New file.
17068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17069 New file.
17070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17071 multiarch lrint for PowerPC32.
17072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17073 file: multiarch lrintf for PowerPC32.
17074
deb66480
AZ
17075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17076 and lroundf multiarch implementations.
17077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17078 New file.
17079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17080 New file.
17081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17082 New file.
17083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17084 multiarch lround for PowerPC32.
17085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17086 file: multiarch lroundf for PowerPC32.
17087
264b036b
AZ
17088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17089 copysign and copysignf multiarch implementations.
17090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17091 New file.
17092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17093 New file.
17094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17095 file: multiarch copysign for PowerPC32.
17096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17097 file: multiarch copysignf for PowerPC32.
17098
d47db6c9
AZ
17099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17100 and truncf multiarch implementations.
17101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17102 New file.
17103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17104 file.
17105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17106 multiarch trunc for PowerPC32.
17107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17108 New file.
17109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17110 New file.
17111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17112 multiarch truncf for PowerPC32.
17113
ddb60b5a
AZ
17114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17115 and roundf multiarch implementations.
17116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17117 New file.
17118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17119 file.
17120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17121 multiarch round for PowerPC32.
17122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17123 New file.
17124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17125 New file.
17126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17127 multiarch roundf for PowerPC32.
17128
bedcf49b
AZ
17129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17130 and floorf multiarch implementations.
17131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17132 New file.
17133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17134 file.
17135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17136 multiarch floor for PowerPC32.
17137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17138 New file.
17139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17140 New file.
17141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17142 multiarch floorf for PowerPC32.
17143
35ae5b40
AZ
17144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17145 and ceilf multiarch implementations.
17146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17147 New file.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17149 file.
17150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17151 multiarch ceil for PowerPC32.
17152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17153 New file.
17154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17155 file.
17156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17157 multiarch ceilf for PowerPC32.
17158
ae1a4cd9
AZ
17159 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17160 is defined.
17161 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17162 FINITEF is defined.
17163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17164 and finitef multiarch implementations.
17165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17166 New file.
17167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17168 file.
17169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17170 multiarch finite for PowerPC32.
17171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17172 New file.
17173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17174 file: multiarch finitef for PowerPC32.
17175
64fffd65
AZ
17176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17177 and isinff multiarch implementations.
17178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17179 file.
17180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17181 file.
17182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17183 multiarch isinf for PowerPC32.
17184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17185 New file.
17186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17187 multiarch isinff for PowerPC32.
17188
8e4e7ba2
AZ
17189 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17190 alias when __isnan is defined.
17191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17192 and isnanf multiarch implementations.
17193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17194 file.
17195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17196 file.
17197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17198 file.
17199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17200 file.
17201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17202 multiarch isnan for PowerPC32.
17203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17204 New file.
17205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17206 New file.
17207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17208 multiarch isnanf for PowerPC32.
17209
ddba588e
AZ
17210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17211 and sqrtf multiarch implementations.
17212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17213 file.
17214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17215 file.
17216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17217 multiarch sqrt for PowerPC32.
17218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17219 file.
17220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17221 file.
17222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17223 multiarch sqrtf for PowerPC32.
17224
0f96a2f0
AZ
17225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17226 and llroundf multiarch implementations.
17227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17228 New file.
17229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17230 New file.
17231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17232 New file.
17233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17234 file: multiarch llround for PowerPC32.
17235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17236 file: multiarch llroundf for PowerPC32.
17237
c9b5d79e
AZ
17238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17239 multiarch PowerPC32 fpu implementations.
17240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17241 New file.
17242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17243 New file.
17244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17245 multiarch llrint for PowerPC32.
17246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17247 New file.
17248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17249 New file.
17250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17251 file.
17252
9cbb3aab
AZ
17253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17254
ea5a72f8
AZ
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17256 file.
17257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17258 file.
17259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17260 file.
17261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17262 multiarch wordcopy for PPC32.
17263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17264 wordcopy objects.
17265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17266 (__libc_ifunc_impl_list): Likewise.
17267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17268 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17270 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17272 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17273
93be09e7
AZ
17274 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17276 file.
17277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17278 file.
17279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17280 file.
17281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17282 multiarch wcscpy for PPC32.
17283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17284 multiarch objects.
17285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17286 (__libc_ifunc_impl_list): Likewise.
17287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17288 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17289 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17290 sysdeps/powerpc/power6/wcscpy.c.
17291
bb04e529
AZ
17292 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17294 file.
17295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17296 file.
17297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17298 file.
17299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17300 multiarch wcsrchr for PPC32.
17301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17302 multiarch objects.
17303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17304 (__libc_ifunc_impl_list): Likewise.
17305 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17306 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17307 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17308 sysdeps/powerpc/power6/wcsrchr.c.
17309
05b5cd1c
AZ
17310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17311 file.
17312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17313 file.
17314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17316 multiarch wcschr for PPc32.
17317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17318 multiarch objects.
17319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17320 (__libc_ifunc_impl_list): Likewise.
17321 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17322 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17323 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17324 sysdeps/powerpc/power6/wcschr.c.
17325
ba964147
AZ
17326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17328 file.
17329 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17330 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17331 file: multiarch strchr for PPC32.
17332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17333 multiarch objects.
17334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17335 (__libc_ifunc_impl_list): Likewise.
17336
31c81aaa
AZ
17337 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17338 name.
17339 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17340 file.
17341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17342 file.
17343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17344 multiarch strchrnul for PPC32.
17345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17346 multiarch objects.
17347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17348 (__libc_ifunc_impl_list): Likewise.
17349
0d0607d9
AZ
17350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17351 file.
17352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17353 multiarch strncasecmp for PPC32.
17354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17355 file.
17356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17357 multiarch strncasecmp_l for PPC32.
17358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17359 strncasecmp multiarch objects.
17360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17361 (__libc_ifunc_impl_list): Likewise.
17362
4dfd5c86
AZ
17363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17364 file.
17365 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17366 multiarch strncasecmp for PPC32.
17367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17368 New file.
17369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17370 multiarch strcasecmp_l for PPC32.
17371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17372 multiarch objects.
17373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17374 (__libc_ifunc_impl_list): Likewise.
17375
a19e01a3
AZ
17376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17377 file.
17378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17379 file.
17380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17381 multiarch strncmp for PPC32.
17382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17383 multiarch objects.
17384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17385 (__libc_ifunc_impl_list): Likewise.
17386
ae9cf7a2
AZ
17387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17388 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17389 file.
17390 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17393 multiarch objects.
17394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17395 (__libc_ifunc_impl_list): Likewise.
17396
3148bb7d
AZ
17397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17398 file.
17399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17400 file.
17401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17403 multiarch objects.
17404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17405 (__libc_ifunc_impl_list): Likewise.
17406
7af8b946
AZ
17407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17408 file.
17409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17410 file.
17411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17412 multiarch rawmemchr for PPC32.
17413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17414 multiarch objects.
17415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17416 (__libc_ifunc_impl_list): Likewise.
17417
03a6aa6a
AZ
17418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17419 file.
17420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17421 file.
17422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17423 file: memrchr multiarch for PPC32.
17424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17425 multiarch objects.
17426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17427 (__libc_ifunc_impl_list): Likewise.
17428
1c62e6d9
AZ
17429 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17431 file.
17432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17434 multiarch memchr for PPC32.
17435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17436 multiarch objects.
17437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17438 (__libc_ifunc_impl_list): Likewise.
17439
87da8bdb
AZ
17440 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17442 file.
17443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17444 file.
17445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17446 file: multiarch mempcpy for PPC32.
17447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17448 multiarch objects.
17449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17450 (__libc_ifunc_impl_list): Likewise.
17451
20ed4714
AZ
17452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17454 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17456 multiarch bzero for PPC32.
17457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17458 file.
17459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17460 file.
17461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17462 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17463 file: multiarch memset for PPC32.
17464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17466 memset multiarch objects.
17467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17468 (__libc_ifunc_impl_list): Likewise.
17469
ab3e3a46
AZ
17470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17471 file.
17472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17474 memcmp for PPC32.
17475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17477 multiarch objects.
17478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17479 (__libc_ifunc_impl_list): Likewise.
17480
930de6f0
AZ
17481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17484 file.
17485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17486 file.
17487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17488 file.
17489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17490 multiarch memcpy for PPC32.
17491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17492 multiarch objects.
17493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17494 (__libc_ifunc_impl_list): Likewise.
17495
4c628e00
AZ
17496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17497 support multiarch for POWER/PPC32.
17498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17499 Likewise.
17500 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17502 Implies file to make multiarch folder appers before the fpu and
17503 default folder for power4 configuration.
17504
f4479220
SP
175052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17506
17507 * scripts/bench.pl: Append volatile keyword to type.
17508
8517800f
KK
175092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17510
17511 * sysdeps/sh/sotruss-lib.c: New file.
17512 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17513
180138f1
AZ
175142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17515
17516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17517
bbf37bdc
JM
175182013-12-05 Joseph Myers <joseph@codesourcery.com>
17519
e47cc4e0
JM
17520 [BZ #6810]
17521 * math/w_tgamma.c: Include <errno.h>.
17522 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17523 * math/w_tgammaf.c: Include <errno.h>.
17524 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17525 * math/w_tgammal.c: Include <errno.h>.
17526 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17527 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17528 underflow. Add more tgamma tests.
17529 * math/auto-libm-test-out: Regenerated.
17530 * sysdeps/i386/fpu/libm-test-ulps: Update.
17531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17532
bbf37bdc
JM
17533 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17534 sin, sinh, tan, tanh, tgamma, y0 and y1.
17535 * math/auto-libm-test-out: Regenerated.
17536 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17537 (TEST_COND_x86): Likewise.
17538 (M_E2l): Remove macro.
17539 (M_E3l): Likewise.
17540 (M_2_SQRT_PIl): Likewise.
17541 (M_SQRT_PIl): Likewise.
17542 (M_1_DIV_El): Likewise.
17543 (log_test_data): Use AUTO_TESTS_f_f.
17544 (log10_test_data): Likewise.
17545 (log1p_test_data): Likewise.
17546 (log2_test_data): Likewise.
17547 (sin_test_data): Likewise.
17548 (sin_tonearest_test_data): Likewise.
17549 (sin_towardzero_test_data): Likewise.
17550 (sin_downward_test_data): Likewise.
17551 (sin_upward_test_data): Likewise.
17552 (sinh_test_data): Likewise.
17553 (sinh_tonearest_test_data): Likewise.
17554 (sinh_towardzero_test_data): Likewise.
17555 (sinh_downward_test_data): Likewise.
17556 (sinh_upward_test_data): Likewise.
17557 (tan_test_data): Likewise.
17558 (tan_tonearest_test_data): Likewise.
17559 (tan_towardzero_test_data): Likewise.
17560 (tan_downward_test_data): Likewise.
17561 (tan_upward_test_data): Likewise.
17562 (tanh_test_data): Likewise.
17563 (tgamma_test_data): Likewise.
17564 (y0_test_data): Likewise.
17565 (y1_test_data): Likewise.
17566 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17567 (special_real_inputs): Add pi/4.
17568 * sysdeps/i386/fpu/libm-test-ulps: Update.
17569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17570
eb5ad6b9
AZ
175712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17572
17573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17574 "longjmp_target" static probes.
17575 (__longjmp): Rename to __longjmp_symbol.
17576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17577 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17578 on which longjmp to generate.
17579 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17581 probe.
17582 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17583 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17586 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17589 __longjmp_symbol based on which __longjmp to generate.
17590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17591 probe.
17592 (setjmp): Rename to setjmp_symbol.
17593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17594 (_setjmp): Rename to _setjmp_symbol.
17595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17596 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17597 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17598 which setjmp to generate.
17599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17600 "longjmp_target" static probes.
17601
d136c6dc
SP
176022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17603
9298ecba
SP
17604 * benchtests/README: Add note about output arguments.
17605 * benchtests/bench-sincos.c: Remove file.
17606 * benchtests/sincos-inputs: New file.
17607 * scripts/bench.pl: Identify output arguments and define
17608 static variables for them.
17609
232983e9
SP
17610 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17611
d136c6dc
SP
17612 [BZ #15941]
17613 * Makefile (INSTALL): Add install-plain.texi as the primary
17614 dependency.
17615 * manual/install-plain.texi: New file.
17616 * manual/install.texi: Include node directive only for
17617 non-plaintext output.
17618
699ff837
JM
176192013-12-04 Joseph Myers <joseph@codesourcery.com>
17620
ab07cea8
JM
17621 * stdlib/longlong.h: Update from GCC.
17622
699ff837
JM
17623 [BZ #6807]
17624 [BZ #15901]
17625 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17626 * math/w_j0f.c (y0f): Likewise.
17627 * math/w_j0l.c (__y0l): Likewise.
17628 * math/w_j1.c (y1): Likewise.
17629 * math/w_j1f.c (y1f): Likewise.
17630 * math/w_j1l.c (__y1l): Likewise
17631 * math/w_jn.c (yn): Likewise.
17632 * math/w_jnf.c (ynf): Likewise.
17633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17634 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17635 value for Bessel function domain errors outside _SVID_ mode.
17636 Adjust sign of return value for yn (negative integer, 0).
17637 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17638 by zero in return for negative x and set sign appropriately for
17639 negative n.
17640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17642 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17643 expectations in error cases.
17644 (y1_test_data): Likewise.
17645 (yn_test_data): Likewise.
17646 * sysdeps/i386/fpu/libm-test-ulps: Update.
17647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17648
5b118558
UW
176492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17650
17651 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17652 "64" to "64-v1". Add "64-v2".
17653 (abi-64-options): Rename to ...
17654 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17655 (abi-64-condition): Rename to ...
17656 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17657 (abi-64-ld-soname): Rename to ...
17658 (abi-64-v1-ld-soname): ... this.
17659 (abi-64-v2-options): Define.
17660 (abi-64-v2-condition): Likewise.
17661 (abi-64-v2-ld-soname): Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17663 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17667
61cd8fe4
UW
176682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17669 Alan Modra <amodra@gmail.com>
17670
17671 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17672 New versions for use with the ELFv2 ABI.
17673 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17674 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17675 declaration.
17676 (struct La_ppc64v2_retval): Likewise.
17677 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17678 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17679 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17680 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17681 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17683 Do not save or restore CR.
17684 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17685 (_dl_profile_resolve): Do no save or restore CR. Support extended
17686 return values for ELFv2 ABI. Fix location of FPR return registers.
17687 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17688 updated values for _CALL_ELF == 2.
17689 (La_regs, La_retval, int_retval): Likewise.
17690
8b8a692c
UW
176912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17692
17693 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17694 (FRAME_MIN_SIZE_PARM): Likewise.
17695 (FRAME_BACKCHAIN): Likewise.
17696 (FRAME_CR_SAVE): Likewise.
17697 (FRAME_LR_SAVE): Likewise.
17698 (FRAME_TOC_SAVE): Likewise.
17699 (FRAME_PARM_SAVE): Likewise.
17700 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17701 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17702 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17703 (call_mcount_parm_offset): New macro.
17704 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17705 (PROF): Use symbolic stack frame offsets.
17706 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17708 Redefine in terms of FRAME_MIN_SIZE.
17709 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17710 (_dl_profile_resolve): Likewise. Update comment.
17711 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17712 symbols stack frame offsets.
17713 (__sigsetjmp): Likewise.
17714 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17715 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17717 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17718
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17720 (FRAME_BACKCHAIN): Remove.
17721 (FRAME_CR_SAVE): Likewise.
17722 (FRAME_LR_SAVE): Likewise.
17723 (FRAME_COMPILER_DW): Likewise.
17724 (FRAME_LINKER_DW): Likewise.
17725 (FRAME_TOC_SAVE): Likewise.
17726 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17727 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17728 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17729 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17731 (CHECK_SP): Use symbolic stack frame offsets.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17733 zone" instead of caller's parameter save area for temp storage.
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17735 Likewise. Also, use symbolic stack frame offsets.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17737 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17738 our own stack frame instead of the caller's.
17739 (__socket): Use symbolic stack frame offsets.
17740
122b66de
UW
177412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17742 Alan Modra <amodra@gmail.com>
17743
17744 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17745 Define.
57f41c40
AS
17746 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17747 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17748 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17749 New function.
17750 (elf_machine_fixup_plt): Call it.
17751 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17752 reloc arguments.
17753 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17755 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17756 r2 before calling target.
17757
696caf1d
UW
177582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17759 Alan Modra <amodra@gmail.com>
17760
17761 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17762 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17763 versions of macros to support ELFv2 ABI.
17764 (LOCALENTRY): New macro.
17765 (ENTRY, EALIGN): Use it.
17766 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17767 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17768 fall through into ENTRY entry point.
17769 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17770 Only define if _CALL_ELF != 2.
17771
17772 (elf_machine_matches_host): Verify ABI version matches.
17773 (RTLD_START): Use LOCALENTRY.
17774 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17775 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17776 (PLT_ENTRY_WORDS): New macro.
17777 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17778 (elf_machine_runtime_setup): Support ELFv2 ABI.
17779 (elf_machine_fixup_plt): Likewise.
17780 (elf_machine_plt_conflict): Likewise.
17781 (resolve_ifunc): Likewise.
17782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17784 Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17786 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17788 (makecontext): Support ELFv2 ABI.
17789 * elf/elf.h (EF_PPC64_ABI): Define.
17790
d31beafa
UW
177912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17792
57f41c40
AS
17793 * sysdeps/powerpc/powerpc64/sysdep.h
17794 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17795 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17796 (ENTRY) [ASSEMBLER]: ... but instead here ...
17797 (EALIGN) [ASSEMBLER]: ... and here.
17798 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17799 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17800 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17801 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17802 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
17803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17804 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
17805 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17807 Use PPC64_LOAD_FUNCPTR.
17808
b525166b
UW
17809 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17810
7ec07d9a
AM
178112013-12-04 Alan Modra <amodra@gmail.com>
17812
17813 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17814 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17815 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17816 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17817
17818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17819 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17820 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17821 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17822 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17823 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17824
5162e7dd
UW
178252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17826
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17828 (__makecontext): Fix incorrect CFI when backtracing out of
17829 context created via makecontext.
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17831 (__setcontext): Fix incorrect CFI during switch to new context.
17832 (__novec_setcontext): Likewise.
17833
19e3372b
OB
178342013-12-04 Ondřej Bílka <neleai@seznam.cz>
17835
17836 [BZ #4772]
17837 * time/strptime_l.c (__strptime_internal): Allow modifiers
17838 in strptime.
17839 * time/tst-strptime.c (day_tests): Add testcase.
17840
ecaf142d
SP
178412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17842
17843 * scripts/bench.pl: Skip over blank lines.
17844
fbf964ae
PE
178452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17846
17847 [BZ #926]
17848 * manual/time.texi (Calendar Time): Clarify what timezone functions
17849 use.
17850
fa60a674
AZ
178512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17852
17853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17854
d674f0ef
OB
178552013-12-04 Ondřej Bílka <neleai@seznam.cz>
17856
17857 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17858 implementation.
17859 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17860 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17861 * debug/memset_chk.c (__memset_chk): Likewise.
17862 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17863 * debug/strncpy_chk.c: Likewise.
17864
17dea188
JM
178652013-12-03 Joseph Myers <joseph@codesourcery.com>
17866
749008ff
JM
17867 [BZ #15268]
17868 [BZ #15425]
17869 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17870 (__ieee754_exp): For possibly underflowing results, check size of
17871 result and force underflow exception if required.
17872 * math/auto-libm-test-in: Add more tests of exp.
17873 * math/auto-libm-test-out: Regenerated.
17874 * sysdeps/i386/fpu/libm-test-ulps: Update.
17875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876
17dea188
JM
17877 [BZ #16283]
17878 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17879 * math/w_exp2f.c (__exp2f): Likewise.
17880 * math/w_exp2l.c (__exp2l): Likewise.
17881 * math/auto-libm-test-in: Do not allow missing errno on exp2
17882 underflow.
17883 * math/auto-libm-test-out: Regenerated.
17884
b20de2c3
OB
178852013-12-03 Ondřej Bílka <neleai@seznam.cz>
17886
17887 [BZ #16274]
17888 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17889 handle filename validation.
17890 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17891 (do_open): Delete.
17892
d8e2dbe3
JM
178932013-12-03 Joseph Myers <joseph@codesourcery.com>
17894
34e16df5
JM
17895 [BZ #6786]
17896 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17897 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17898 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17899 <float.h>.
17900 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17902 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17904 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17907 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17908 Add more erfc tests.
17909 * math/auto-libm-test-out: Regenerated.
17910 * sysdeps/i386/fpu/libm-test-ulps: Update.
17911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17912
d8e2dbe3
JM
17913 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17914 exp2, expm1, j0 and j1.
17915 * math/auto-libm-test-out: Regenerated.
17916 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17917 (erfc_test_data): Likewise.
17918 (exp_test_data): Likewise.
17919 (exp_tonearest_test_data): Likewise.
17920 (exp_towardzero_test_data): Likewise.
17921 (exp_downward_test_data): Likewise.
17922 (exp_upward_test_data): Likewise.
17923 (exp10_test_data): Likewise.
17924 (exp2_test_data): Likewise.
17925 (expm1_test_data): Likewise.
17926 (j0_test_data): Likewise.
17927 (j1_test_data): Likewise.
17928 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17929 (input_flag_type): Add flag_xfail_rounding.
17930 (input_flags): Add xfail-rounding.
17931 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17932 (output_for_one_input_case): Handle flag_xfail_rounding.
17933 * sysdeps/i386/fpu/libm-test-ulps: Update.
17934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17935
18d14251
AJ
179362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17937
3d2e6075 17938 [BZ #16289]
18d14251
AJ
17939 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17940 division by 0.
17941
520d437b
SP
179422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17943
17944 [BZ #16195]
17945 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17946 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17947 (STAP_PROBE0): New macro.
17948 (STAP_PROBE1): Likewise.
17949 (STAP_PROBE2): Likewise.
17950 (STAP_PROBE3): Likewise.
17951 (STAP_PROBE4): Likewise.
17952
416e0145
OB
179532013-12-02 Ondřej Bílka <neleai@seznam.cz>
17954
17955 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17956
9d17796a
SE
179572013-12-02 Steve Ellcey <sellcey@mips.com>
17958
17959 * benchtests/Makefile (bench): Add sqrt.
17960 (LDLIBS-bench-sqrt): New.
17961 * benchtests/sqrt-input: New.
17962
f524d6a8
PS
179632013-12-02 Pavel Simerda <psimerda@redhat.com>
17964
639a0ef8
PS
17965 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17966 (GAIH_EAI): Likewise.
17967 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17968 (gaih_inet): Likewise.
17969 (getaddrinfo): Don't use GAIH_EAI.
17970
f524d6a8
PS
17971 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17972 (struct gaih): Remove definition.
17973
df3aedaf
SP
179742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17975
17976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17977 Use HERRNOP directly.
17978
1ab19dec
AZ
179792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17980
b42ad38d 17981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17982
176b0c79
JM
179832013-11-30 Joseph Myers <joseph@codesourcery.com>
17984
17985 * math/gen-auto-libm-tests.c (test_functions): Add more
17986 single-argument functions.
17987 (special_fill_pi_2): New function.
17988 (special_fill_minus_pi_2): Likewise.
17989 (special_fill_pi_6): Likewise.
17990 (special_fill_minus_pi_6): Likewise.
17991 (special_fill_pi_3): Likewise.
17992 (special_fill_2pi_3): Likewise.
17993 (special_fill_e): Likewise.
17994 (special_fill_1_e): Likewise.
17995 (special_fill_e_minus_1): Likewise.
17996 (special_real_inputs): Add more special inputs.
17997 (output_for_one_input_case): Do not require ERANGE on underflow to
17998 zero if round-to-nearest result does not underflow to zero, unless
17999 exact results required.
18000 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18001 atan, atanh, cbrt, cos and cosh.
18002 * math/auto-libm-test-out: Regenerated.
18003 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18004 (acos_tonearest_test_data): Likewise.
18005 (acos_towardzero_test_data): Likewise.
18006 (acos_downward_test_data): Likewise.
18007 (acos_upward_test_data): Likewise.
18008 (acosh_test_data): Likewise.
18009 (asin_test_data): Likewise.
18010 (asin_tonearest_test_data): Likewise.
18011 (asin_towardzero_test_data): Likewise.
18012 (asin_upward_test_data): Likewise.
18013 (asinh_test_data): Likewise.
18014 (atan_test_data): Likewise.
18015 (atanh_test_data): Likewise.
18016 (cbrt_test_data): Likewise.
18017 (cos_test_data): Likewise.
18018 (cos_tonearest_test_data): Likewise.
18019 (cos_towardzero_test_data): Likewise.
18020 (cos_downward_test_data): Likewise.
18021 (cos_upward_test_data): Likewise.
18022 (cosh_test_data): Likewise.
18023 (cosh_tonearest_test_data): Likewise.
18024 (cosh_towardzero_test_data): Likewise.
18025 (cosh_downward_test_data): Likewise.
18026 (cosh_upward_test_data): Likewise.
18027 * sysdeps/i386/fpu/libm-test-ulps: Update.
18028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18029
ffb536d0
JM
180302013-11-29 Joseph Myers <joseph@codesourcery.com>
18031
2a77a467
JM
18032 [BZ #6787]
18033 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18034 * math/w_exp10f.c (__exp10f): Likewise.
18035 * math/w_exp10l.c (__exp10l): Likewise.
18036 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18037 errno settings in existing tests.
18038
ea3bc4e8
JM
18039 [BZ #14032]
18040 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18041 precision control set to double precision.
18042 * sysdeps/i386/fpu/w_sqrt.c: New file.
18043 * math/auto-libm-test-in: Add more tests.
18044 * math/auto-libm-test-out: Update.
18045
0712c9d8
JM
18046 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18047 (sqrt_test_tonearest): New function.
18048 (sqrt_towardzero_test_data): New variable.
18049 (sqrt_test_towardzero): New function.
18050 (sqrt_downward_test_data): New variable.
18051 (sqrt_test_downward): New function.
18052 (sqrt_upward_test_data): New variable.
18053 (sqrt_test_upward): New function.
18054 (main): Call the new functions.
18055
ffb536d0
JM
18056 * math/gen-auto-libm-tests.c: New file.
18057 * math/auto-libm-test-in: Likewise.
18058 * math/auto-libm-test-out: New generated file.
18059 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18060 variables.
18061 (%beautify): Add generated representations of zero.
18062 (top level): Set $auto_input and call parse_auto_input.
18063 (beautify): Remove trailing "f" from hex float constants.
18064 (parse_args): Handle XFAIL_TEST.
18065 (convert_condition): New function.
18066 (or_value): Likewise.
18067 (or_cond_value): Likewise.
18068 (generate_testfile): Handle AUTO_TESTS_* lines.
18069 (parse_auto_input): New function.
18070 * math/libm-test.inc (XFAIL_TEST): New macro.
18071 (ERRNO_UNCHANGED): Update value.
18072 (ERRNO_EDOM): Likewise.
18073 (ERRNO_ERANGE): Likewise.
18074 (IGNORE_RESULT): Likewise.
18075 (TEST_COND_flt_32): New macro.
18076 (TEST_COND_dbl_64): Likewise.
18077 (TEST_COND_ldbl_96_intel): Likewise.
18078 (TEST_COND_ldbl_96_m68k): Likewise.
18079 (TEST_COND_ldbl_128): Likewise.
18080 (TEST_COND_ldbl_128ibm): Likewise.
18081 (TEST_COND_long32): Likewise.
18082 (TEST_COND_long64): Likewise.
18083 (TEST_COND_before_rounding): Likewise.
18084 (TEST_COND_after_rounding): Likewise.
18085 (enable_test): Handle XFAIL_TEST flag.
18086 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18087 with finite results.
18088 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18089 auto-libm-test-out.
18090
acd98a8e
AK
180912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18093
18094 [BZ #16214]
18095 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18096 __tls_get_addr_internal instead of __tls_get_offset in order to
18097 avoid GOT pointer dependency. Make rtld export
18098 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18099 __tls_get_addr since we are a __tls_get_offset platform.
18100 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18101 GOT pointer being set up before.
18102 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18103
3c1c46a6
JM
181042013-11-28 Joseph Myers <joseph@codesourcery.com>
18105
7475aef5
JM
18106 * manual/math.texi (Errors in Math Functions): Document accuracy
18107 goals.
18108
8bca7cd8
JM
18109 [BZ #15004]
18110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18126
91a1f3fe
JM
18127 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18128 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18129 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18130 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18131 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18132 Likewise.
18133 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18134 Likewise.
18135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18136 Likewise.
18137 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18138 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18139 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18140 atomic-feupdateenv and flt-rounds.
18141 * sysdeps/powerpc/nofpu/Versions (libc): Add
18142 __atomic_feholdexcept, __atomic_feclearexcept,
18143 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18145 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18147 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18148 here.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18150 Update.
18151
c5df7609
JM
18152 * manual/arith.texi (FP Exceptions): Document that exceptions may
18153 not be raised when matherr is used.
18154 (Math Error Reporting): Document overflow in directed rounding
18155 modes. Document that errno may not be set when finite values are
18156 returned on overflow. Document intent to set errno on underflow
18157 only for underflow to zero.
18158
3c1c46a6
JM
18159 [BZ #16271]
18160 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18161 round-to-nearest then adjust result for other rounding modes.
18162 * include/fenv.h (fegetround): Use libm_hidden_proto.
18163 * math/fegetround.c (fegetround): Use libm_hidden_def.
18164 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18165 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18166 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18168 Likewise.
18169 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18171 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18172 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18173
5a4c6d53
SP
181742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18175
18176 [BZ #16077]
18177 * nss/Versions (libnss_files): Add
18178 _nss_files_gethostbyname3_r.
18179 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18180 New function.
18181 (HOST_DB_LOOKUP): Remove macro.
18182 (_nss_files_gethostbyname_r): Implement function without the
18183 HOST_DB_LOOKUP macro.
18184 (_nss_files_gethostbyname2_r): Likewise.
18185
897b98ba
OB
181862013-11-28 Ondřej Bílka <neleai@seznam.cz>
18187
18188 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18189
6f476861
UB
181902013-11-26 Uros Bizjak <ubizjak@gmail.com>
18191
18192 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18193 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18194 warning.
18195
bd12ab55
AZ
181962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18197
18198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18199 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18200 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18201 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18203 __fe_nomask_env_priv and attribute_hidden.
18204 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18205 (libc_feupdateenv_test_ppc): Likewise.
18206 (libc_feresetround_ppc): Likewise.
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18208 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18209 compat_symbol macro.
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18211 (__fe_nomask_env): Likewise.
18212 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18213
52bb6543
OB
182142013-11-26 Ondřej Bílka <neleai@seznam.cz>
18215
18216 * string/Makefile: Remove ifunc tests.
18217 * string/test-string.h: Define TEST_IFUNC.
18218 * string/test-bcopy-ifunc.c: Remove.
18219 * string/test-bzero-ifunc.c: Likewise.
18220 * string/test-memccpy-ifunc.c: Likewise.
18221 * string/test-memchr-ifunc.c: Likewise.
18222 * string/test-memcmp-ifunc.c: Likewise.
18223 * string/test-memcpy-ifunc.c: Likewise.
18224 * string/test-memmem-ifunc.c: Likewise.
18225 * string/test-memmove-ifunc.c: Likewise.
18226 * string/test-mempcpy-ifunc.c: Likewise.
18227 * string/test-memrchr-ifunc.c: Likewise.
18228 * string/test-memset-ifunc.c: Likewise.
18229 * string/test-rawmemchr-ifunc.c: Likewise.
18230 * string/test-stpcpy-ifunc.c: Likewise.
18231 * string/test-stpncpy-ifunc.c: Likewise.
18232 * string/test-strcasecmp-ifunc.c: Likewise.
18233 * string/test-strcasestr-ifunc.c: Likewise.
18234 * string/test-strcat-ifunc.c: Likewise.
18235 * string/test-strchr-ifunc.c: Likewise.
18236 * string/test-strchrnul-ifunc.c: Likewise.
18237 * string/test-strcmp-ifunc.c: Likewise.
18238 * string/test-strcpy-ifunc.c: Likewise.
18239 * string/test-strcspn-ifunc.c: Likewise.
18240 * string/test-strlen-ifunc.c: Likewise.
18241 * string/test-strncasecmp-ifunc.c: Likewise.
18242 * string/test-strncat-ifunc.c: Likewise.
18243 * string/test-strncmp-ifunc.c: Likewise.
18244 * string/test-strncpy-ifunc.c: Likewise.
18245 * string/test-strnlen-ifunc.c: Likewise.
18246 * string/test-strpbrk-ifunc.c: Likewise.
18247 * string/test-strrchr-ifunc.c: Likewise.
18248 * string/test-strspn-ifunc.c: Likewise.
18249 * string/test-strstr-ifunc.c: Likewise.
18250
ab260039 182512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18252
18253 * benchtests/Makefile: Remove ifunc tests.
18254 * benchtests/bench-string.h: Define TEST_IFUNC.
18255 * benchtests/bench-bcopy-ifunc.c: Remove.
18256 * benchtests/bench-bzero-ifunc.c: Likewise.
18257 * benchtests/bench-memccpy-ifunc.c: Likewise.
18258 * benchtests/bench-memchr-ifunc.c: Likewise.
18259 * benchtests/bench-memcmp-ifunc.c: Likewise.
18260 * benchtests/bench-memcpy-ifunc.c: Likewise.
18261 * benchtests/bench-memmem-ifunc.c: Likewise.
18262 * benchtests/bench-memmove-ifunc.c: Likewise.
18263 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18264 * benchtests/bench-memrchr-ifunc.c: Likewise.
18265 * benchtests/bench-memset-ifunc.c: Likewise.
18266 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18267 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18268 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18269 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18270 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18271 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18272 * benchtests/bench-strcat-ifunc.c: Likewise.
18273 * benchtests/bench-strchr-ifunc.c: Likewise.
18274 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18275 * benchtests/bench-strcmp-ifunc.c: Likewise.
18276 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18277 * benchtests/bench-strcpy-ifunc.c: Likewise.
18278 * benchtests/bench-strcspn-ifunc.c: Likewise.
18279 * benchtests/bench-strlen-ifunc.c: Likewise.
18280 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18281 * benchtests/bench-strncat-ifunc.c: Likewise.
18282 * benchtests/bench-strncmp-ifunc.c: Likewise.
18283 * benchtests/bench-strncpy-ifunc.c: Likewise.
18284 * benchtests/bench-strnlen-ifunc.c: Likewise.
18285 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18286 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18287 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18288 * benchtests/bench-strspn-ifunc.c: Likewise.
18289 * benchtests/bench-strstr-ifunc.c: Likewise.
18290
182912013-11-26 Ondřej Bílka <neleai@seznam.cz>
18292
ab260039
OB
18293 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18294
d1d9eaf4 182952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18296
d1d9eaf4
OB
18297 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18298 * rt/aio.h: Likewise.
18299 * sysdeps/gnu/bits/utmp.h: Likewise.
18300 * sysdeps/gnu/bits/utmpx.h: Likewise.
18301 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18302 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18303 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18304 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18305 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18306 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18307 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18308 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18309 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18310 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18311 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18312 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18313 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18316 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18317 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18318 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18319 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18320 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18321 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18322 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18325 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18327 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18329 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18330 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18331 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18332 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18334 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18335 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18336 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18338 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18340 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18341 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18342 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18343
a7624ed9
CD
183442013-11-25 Carlos O'Donell <carlos@redhat.com>
18345
18346 [BZ #16245]
18347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18348 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18349
63cfe52b
JM
183502013-11-25 Joseph Myers <joseph@codesourcery.com>
18351
18352 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18353 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18354 Likewise.
18355
41e8926a
AZ
183562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18357
18358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18359 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18360 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18361 (__fesetround): Remove define.
18362 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18363 rounding and exceptions handling.
18364 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18366 (__fe_nomask_env): Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18368 __fegetround instead of fegetround.
18369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18371
6851bd4d
RM
183722013-11-21 Roland McGrath <roland@hack.frob.com>
18373
070906ff
RM
18374 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18375 it's there.
18376
6851bd4d
RM
18377 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18378
84ae135d
MI
183792013-11-21 Meador Inge <meadori@codesourcery.com>
18380
18381 [BZ #11157]
18382 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18383 (encrypt_r): Likewise.
18384 * malloc/obstack.h (obstack_free): Likewise.
18385 * posix/unistd.h (encrypt): Likewise.
18386
daf75146
GM
183872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18388
18389 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18390 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18391 DL_CALL_DT_FINI() that call the functions directly.
18392 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18393 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18394 * elf/dl-fini.c: Likewise.
18395
10ad46bc
OB
183962013-11-20 Ondřej Bílka <neleai@seznam.cz>
18397
18398 * malloc/hooks.c (memalign_check): Add alignment rounding.
18399 * malloc/malloc.c (_mid_memalign): New function.
18400 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18401 Implement by calling _mid_memalign.
18402 * manual/probes.texi (Memory Allocation Probes): Remove
18403 memory_valloc_retry and memory_pvalloc_retry.
18404
f3fd2628
SP
184052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18406
4712799f
SP
18407 * locale/programs/locarchive.c (open_archive): Add const
18408 qualifier to ARCHIVEFNAME and copy default fname to
18409 DEFAULT_FNAME.
18410
0417b20f
SP
18411 [BZ #15601]
18412 * libio/tst-widetext.input: Rename Oriya to Odia.
18413 * locale/iso-639.def: Likewise.
18414
f3fd2628
SP
18415 * manual/probes.texi (Mathematical Function Probes): Add
18416 documentation for sin, cos, asin and acos probes.
18417 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18418 (__sin32): Add slowasin probe.
18419 (__cos32): Add slowacos probe.
18420 (__mpsin): Add slowsin probe.
18421 (__mpcos): Add slowcos probe.
18422
73c1ce4f
JM
184232013-11-19 Joseph Myers <joseph@codesourcery.com>
18424
18425 [BZ #15483]
18426 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18427 thread-local __sim_exceptions_thread and global
18428 __sim_exceptions_global.
18429 (__sim_disabled_exceptions): Change to thread-local
18430 __sim_disabled_exceptions_thread and global
18431 __sim_disabled_exceptions_global.
18432 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18433 and global __sim_round_mode_global.
18434 (__simulate_exceptions): Use thread-local floating-point state and
18435 set global state from it as needed.
18436 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18437 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18438 __sim_round_mode_thread.
18439 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18440 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18441 and global __sim_exceptions_global.
18442 (__sim_disabled_exceptions): Change to thread-local
18443 __sim_disabled_exceptions_thread and global
18444 __sim_disabled_exceptions_global.
18445 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18446 and global __sim_round_mode_global.
18447 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18448 (SIM_SET_GLOBAL): Likewise.
18449 * sysdeps/powerpc/soft-fp/sfp-machine.h
18450 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18451 __sim_round_mode_thread.
18452 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18453 __sim_disabled_exceptions_thread.
18454 (__sim_exceptions): Change to __sim_exceptions_thread.
18455 (__sim_disabled_exceptions): Change to
18456 __sim_disabled_exceptions_thread.
18457 (__sim_round_mode): Change to __sim_round_mode_thread.
18458 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18459 thread-local floating-point state and set global state from it as
18460 needed.
18461 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18462 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18463 (__sim_disabled_exceptions): Remove extern declaration.
18464 (feenableexcept): Use thread-local floating-point state and set
18465 global state from it as needed.
18466 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18467 extern declaration.
18468 (__sim_disabled_exceptions): Likewise.
18469 (__sim_round_mode): Likewise.
18470 (__fegetenv): Use thread-local floating-point state.
18471 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18472 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18473 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18474 floating-point state and set global state from it as needed.
18475 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18476 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18477 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18478 Likewise.
18479 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18480 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18481 Likewise.
18482 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18483 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18484 Use __sim_round_mode_thread.
18485 * math/test-fenv-tls.c: New file.
18486 * math/Makefile (tests): Add test-fenv-tls.
18487 ($(objpfx)test-fenv-tls): Depend on
18488 $(common-objpfx)nptl/libpthread.so.
18489
b5449b12
AS
184902013-11-19 Andreas Schwab <schwab@suse.de>
18491
18492 * locale/programs/locale.c (show_info): Decode wordarray elements.
18493 * locale/categories.def (LC_MONETARY): Add element for
18494 _NL_MONETARY_CRNCYSTR.
18495 * locale/C-monetary.c (conversion_rate): New variable.
18496 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18497 element.
18498
e186536b
CM
184992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18500
18501 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18502 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18503
5c349950
PP
185042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18505
18506 * elf/Makefile (tst-auxv): New test.
18507 * elf/tst-auxv.c: New
18508 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18509
699df45b
JM
185102013-11-18 Joseph Myers <joseph@codesourcery.com>
18511
18512 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18513 (hidden_proto): Caller changed.
18514 (hidden_tls_proto): New macro.
18515 (libc_hidden_tls_proto): Likewise.
18516 (rtld_hidden_tls_proto): Likewise.
18517 (libm_hidden_tls_proto): Likewise.
18518 (libresolv_hidden_tls_proto): Likewise.
18519 (librt_hidden_tls_proto): Likewise.
18520 (libdl_hidden_tls_proto): Likewise.
18521 (libnss_files_hidden_tls_proto): Likewise.
18522 (libnsl_hidden_tls_proto): Likewise.
18523 (libnss_nisplus_hidden_tls_proto): Likewise.
18524 (libutil_hidden_tls_proto): Likewise.
18525
b7589107
OB
185262013-11-18 Ondřej Bílka <neleai@seznam.cz>
18527
18528 [BZ #10253]
18529 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18530 (decompose_rpath): Defer expansion to fillin_rpath.
18531 (_dl_init_paths): Pass linkmap to fillin_rpath.
18532
250c23bd
RS
185332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18534
18535 * benchtests/Makefile: Add strsep.
18536 * benchtests/bench-strsep.c: New file: strsep benchtest.
18537 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18538
a7931fcf
AS
185392013-11-18 Andreas Schwab <schwab@suse.de>
18540
18541 * locale/programs/locale.c (show_info) [case byte]: Check for
18542 '\377' instead of '\177'.
18543 * locale/C-monetary.c (not_available): Always use "\377".
18544 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18545 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18546 detect unavailable sign_posn locale elements.
18547 * locale/localeconv.c (__localeconv): For grouping and
18548 mon_grouping handle "\177" and "\377" like no grouping.
18549 (INT_ELEM): New macro. Use it to set all numeric members.
18550 * locale/programs/ld-monetary.c (monetary_read)
18551 <tok_mon_grouping>: Normalize single -1 to the empty string.
18552 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18553 Likewise.
18554
728dab0e
OB
185552013-11-07 Ondřej Bílka <neleai@seznam.cz>
18556
18557 [BZ #16055]
18558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18559 when we match (nil).
18560 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18561
66294491
JM
185622013-11-16 Joseph Myers <joseph@codesourcery.com>
18563
ce665817
JM
18564 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18565 (NO_TEST_INLINE): Update value.
18566 (ERRNO_UNCHANGED): Likewise.
18567 (ERRNO_EDOM): Likewise.
18568 (ERRNO_ERANGE): Likewise.
18569 (IGNORE_RESULT): Likewise.
18570 (check_float_internal): Check signs of NaN results if
18571 TEST_NAN_SIGN used.
18572 (check_complex): Pass TEST_NAN_SIGN flag through to second
18573 check_float_internal call.
18574 (copysign_test_data): Add tests with quiet NaNs as second
18575 argument. Use TEST_NAN_SIGN.
18576 (fabs_test_data): Add test of negative quiet NaN argument. Use
18577 TEST_NAN_SIGN.
18578 (signbit_test_data): Add tests of quiet NaN argument.
18579 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18580
ee1466a9
JM
18581 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18582 $ignore_result.
18583 (parse_args): Handle function results specified as IGNORE.
18584 * math/libm-test.inc (IGNORE_RESULT): New macro.
18585 (check_float_internal): Do not check numerical result if flag
18586 IGNORE_RESULT set.
18587 (check_complex): Pass through IGNORE_RESULT to second
18588 check_float_internal call.
18589 (check_int): Do not check numerical result if flag IGNORE_RESULT
18590 set.
18591 (check_long): Likewise.
18592 (check_bool): Likewise.
18593 (check_longlong): Likewise.
18594 (lrint_test_data): Add tests of infinite and NaN arguments.
18595 (lrint_tonearest_test_data): Likewise.
18596 (lrint_towardzero_test_data): Likewise.
18597 (lrint_downward_test_data): Likewise.
18598 (lrint_upward_test_data): Likewise.
18599 (llrint_test_data): Likewise.
18600 (llrint_tonearest_test_data): Likewise.
18601 (llrint_towardzero_test_data): Likewise.
18602 (llrint_downward_test_data): Likewise.
18603 (llrint_upward_test_data): Likewise.
18604 (lround_test_data): Likewise.
18605 (llround_test_data): Likewise.
18606
14407b7e
JM
18607 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18608 (ERRNO_UNCHANGED): Update value.
18609 (ERRNO_EDOM): Likewise.
18610 (ERRNO_ERANGE): Likewise.
18611 (NO_TEST_INLINE_FLOAT): New macro.
18612 (NO_TEST_INLINE_DOUBLE): Likewise.
18613 (enable_test): New function.
18614 (RUN_TEST_f_f): Check enable_test before running test.
18615 (RUN_TEST_2_f): Likewise.
18616 (RUN_TEST_fff_f): Likewise.
18617 (RUN_TEST_c_f): Likewise.
18618 (RUN_TEST_f_f1): Likewise.
18619 (RUN_TEST_fF_f1): Likewise.
18620 (RUN_TEST_fI_f1): Likewise.
18621 (RUN_TEST_ffI_f1): Likewise.
18622 (RUN_TEST_c_c): Likewise.
18623 (RUN_TEST_cc_c): Likewise.
18624 (RUN_TEST_f_i): Likewise.
18625 (RUN_TEST_f_i_tg): Likewise.
18626 (RUN_TEST_ff_i_tg): Likewise.
18627 (RUN_TEST_f_b): Likewise.
18628 (RUN_TEST_f_b_tg): Likewise.
18629 (RUN_TEST_f_l): Likewise.
18630 (RUN_TEST_f_L): Likewise.
18631 (RUN_TEST_fFF_11): Likewise.
18632 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18633 conditionals.
18634 (cosh_test_data): Likewise.
18635 (exp_test_data): Likewise.
18636 (expm1_test_data): Likewise.
18637 (hypot_test_data): Likewise.
18638 (pow_test_data): Likewise.
18639 (sinh_test_data): Likewise.
18640 (tanh_test_data): Likewise.
18641 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18642 flags argument.
18643
ca07f197
JM
18644 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18645 tests with quiet NaN input and output.
18646 (acosh_test_data): Likewise.
18647 (asin_test_data): Likewise.
18648 (asinh_test_data): Likewise.
18649 (atan_test_data): Likewise.
18650 (atanh_test_data): Likewise.
18651 (atan2_test_data): Likewise.
18652 (cbrt_test_data): Likewise.
18653 (cos_test_data): Likewise.
18654 (cosh_test_data): Likewise.
18655 (erf_test_data): Likewise.
18656 (erfc_test_data): Likewise.
18657 (exp_test_data): Likewise.
18658 (exp10_test_data): Likewise.
18659 (exp2_test_data): Likewise.
18660 (expm1_test_data): Likewise.
18661 (hypot_test_data): Likewise.
18662 (j0_test_data): Likewise.
18663 (j1_test_data): Likewise.
18664 (jn_test_data): Likewise.
18665 (lgamma_test_data): Likewise.
18666 (log_test_data): Likewise.
18667 (log10_test_data): Likewise.
18668 (log1p_test_data): Likewise.
18669 (log2_test_data): Likewise.
18670 (pow_test_data): Likewise.
18671 (scalb_test_data): Likewise.
18672 (sin_test_data): Likewise.
18673 (sincos_test_data): Likewise.
18674 (sinh_test_data): Likewise.
18675 (tan_test_data): Likewise.
18676 (tanh_test_data): Likewise.
18677 (tgamma_test_data): Likewise.
18678 (y0_test_data): Likewise.
18679 (y1_test_data): Likewise.
18680 (yn_test_data): Likewise.
18681
66294491
JM
18682 [BZ #16167]
18683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18684 argument being NaN and avoid computations with second argument in
18685 that case.
18686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18687 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18689
1820b143
CL
186902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18691
18692 * locale/iso-639.def: Add Chitwani Tharu (the).
18693
714bd261
AS
186942013-11-14 Andreas Schwab <schwab@suse.de>
18695
18696 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18697 word instead of empty string.
18698
7ab44563
AZ
186992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18700
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18702 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18704 (__fe_nomask_env): Likewise.
18705
e8470ea2
SE
187062013-11-13 Steve Ellcey <sellcey@mips.com>
18707
18708 * benchtests/bench-timing.h: Include time.h.
18709
17c1d9f0
L
187102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18711
18712 [BZ #15997]
18713 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18714 to 3.4.0 for x32.
18715 * sysdeps/unix/sysv/linux/configure: Regenerated.
18716
9310c284
JM
187172013-11-13 Joseph Myers <joseph@codesourcery.com>
18718
18719 [BZ #16151]
18720 * stdlib/strtod_l.c (round_and_return): Do not consider
18721 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18722 exponent one less than half the least subnormal exponent.
18723 * stdlib/test-strtod-round-data: Add more tests.
18724 * stdlib/tst-strtod-round.c (tests): Regenerated.
18725
7a2ad8cf
AZ
187262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18727
18728 [BZ #14143]
18729 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18730 (__fe_mask_env): Likewise.
18731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18732 libm_hidden_proto and add function prototype.
18733 (__fe_mask_env): Add function prototype.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18735 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18737 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18739 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18740
50727aa7
MS
187412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18742
b2f386c1 18743 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18744 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18745
a615be46
MS
187462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18747
18748 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18749 of htab_find_slot().
18750
7ddace62
DM
187512013-11-11 David S. Miller <davem@davemloft.net>
18752
18753 [BZ #16150]
18754 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18755 symbol in the non-vis3 case in static builds.
18756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18757 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18758 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18759 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18760
9182aa67
JK
187612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18762
18763 [BZ #387]
18764 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18765 it is empty.
18766
450a2e2d
AZ
187672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18768
b2f386c1
SP
18769 * benchtests/Makefile: Add bench-strtod.
18770 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18771
8ec3f656
AS
187722013-11-11 Andreas Schwab <schwab@suse.de>
18773
18774 [BZ #16153]
18775 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18776 terminating NUL in key length.
18777
76a9b998
AZ
187782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18779
18780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18781 Add artificial ODP entry for vDSO symbol for PPC64.
18782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18783 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18784
e4368156
OB
187852013-11-07 Ondřej Bílka <neleai@seznam.cz>
18786
18787 [BZ #15374]
18788 * nss/getent.c (services_keys): Recognize services starting with digit.
18789
8d6bb57c
DM
187902013-11-06 David S. Miller <davem@davemloft.net>
18791
18792 [BZ #15985]
18793 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18794 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18795
e256c421
WN
187962013-11-06 Will Newton <will.newton@linaro.org>
18797
18798 * manual/memory.texi (Malloc Examples): Remove register
18799 keyword from examples.
18800
f6e12daa 188012013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18802
f6e12daa 18803 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 18804
9d880655
AS
188052013-11-04 Joseph Myers <joseph@codesourcery.com>
18806
fd2f9486 18807 [BZ #6981]
9d880655
AS
18808 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18809 depending on [__GCC_IEC_559 > 0].
18810 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18811 depending on [__GCC_IEC_559_COMPLEX > 0].
18812
ae129d3c
CL
188132013-11-03 Chris Leonard <cjl@sugarlabs.org>
18814
18815 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18816 to iso-639.def.
18817
4a15c2a4 188182013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
18819
18820 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18821
8b35e35d
OB
188222013-11-01 Ondřej Bílka <neleai@seznam.cz>
18823
18824 [BZ #16112]
18825 * malloc/malloc (malloc_info): Do not handle first bin as
18826 special case.
18827
1d70fd6c
CL
188282013-11-01 Chris Leonard <cjl@sugarlabs.org>
18829
18830 * locale/iso-639.def: Add Central Nahuatl (nhn).
18831
8c5c2600
BH
188322013-11-01 Bruno Haible <bruno@clisp.org>
18833
18834 [BZ #7003]
18835 * manual/math.texi (BSD Random): Specify range upper bound as
18836 in POSIX.
18837
da5579c2
CL
188382013-10-31 Chris Leonard <cjl@sugarlabs.org>
18839
18840 * locale/iso-639.def: Add Meadow Mari (mhr).
18841
5d30d853
OB
188422013-10-31 Ondřej Bílka <neleai@seznam.cz>
18843
18844 [BZ #14752], [BZ #15763]
18845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18846 Validate name.
18847 * rt/tst_shm.c: Add test for escaping directory.
18848
a4966c61
AS
188492013-10-31 Andreas Schwab <schwab@suse.de>
18850
8a43e768 18851 [BZ #15917]
a4966c61
AS
18852 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18853 followed by 'x' as part of digit sequence.
18854 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18855
28d708c4
MAP
188562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18857
18858 [BZ #16037]
18859 * configure.ac: allow GNU Make 4.0 and greater.
18860 * configure: Regenerated.
18861
a56ee40b
WN
188622013-10-30 Will Newton <will.newton@linaro.org>
18863
18864 [BZ #16038]
18865 * malloc/hooks.c (memalign_check): Limit alignment to the
18866 maximum representable power of two.
18867 * malloc/malloc.c (__libc_memalign): Likewise.
18868 * malloc/tst-memalign.c (do_test): Add test for very
18869 large alignment values.
18870 * malloc/tst-posix_memalign.c (do_test): Likewise.
18871
c6e4925d
OB
188722013-10-30 Ondřej Bílka <neleai@seznam.cz>
18873
18874 [BZ #11087]
18875 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18876 (munmap_chunk): Likewise.
18877 (mremap_chunk): Likewise.
18878
188792013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 18880
8a43e768 18881 [BZ #15799]
bbea82f7
OB
18882 * stdlib/div.c (div): Remove obsolete code.
18883 * stdlib/ldiv.c (ldiv): Likewise.
18884 * stdlib/lldiv.c (lldiv): Likewise.
18885
977f4b31
SP
188862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18887
18888 [BZ #16071]
18889 * nss/nss_files/files-XXX.c (get_contents_ret): New
18890 enumerator.
18891 (get_contents): New function.
18892 (internal_getent): Use it. Expand size of LINEBUFLEN.
18893
cb8a6dbd
MF
188942013-10-30 Mike Frysinger <vapier@gentoo.org>
18895
18896 * configure.in: Moved to ...
18897 * configure.ac: ... here. Change reference to configure.in
18898 to configure.ac.
18899 * sysdeps/arm/preconfigure.ac: ... here.
18900 configure.in to configure.ac.
18901 * sysdeps/gnu/configure.in: Moved to ...
18902 * sysdeps/gnu/configure.ac: ... here.
18903 * sysdeps/i386/configure.in: Moved to ...
18904 * sysdeps/i386/configure.ac: ... here.
18905 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18906 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18907 * sysdeps/mach/configure.in: Moved to ...
18908 * sysdeps/mach/configure.ac: ... here.
18909 * sysdeps/mach/hurd/configure.in: Moved to ...
18910 * sysdeps/mach/hurd/configure.ac: ... here.
18911 * sysdeps/powerpc/configure.in: Moved to ...
18912 * sysdeps/powerpc/configure.ac: ... here.
18913 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18914 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18915 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18916 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18917 * sysdeps/s390/s390-32/configure.in: Moved to ...
18918 * sysdeps/s390/s390-32/configure.ac: ... here.
18919 * sysdeps/s390/s390-64/configure.in: Moved to ...
18920 * sysdeps/s390/s390-64/configure.ac: ... here.
18921 * sysdeps/sh/configure.in: Moved to ...
18922 * sysdeps/sh/configure.ac: ... here.
18923 * sysdeps/sparc/configure.in: Moved to ...
18924 * sysdeps/sparc/configure.ac: ... here.
18925 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18926 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18927 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18928 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18929 * sysdeps/x86_64/configure.in: Moved to ...
18930 * sysdeps/x86_64/configure.ac: ... here.
18931 * sysdeps/x86_64/preconfigure.in: Moved to ...
18932 * sysdeps/x86_64/preconfigure.ac: ... here.
18933 * aclocal.m4: Change reference to configure.in to configure.ac.
18934 * config.h.in: Likewise.
18935 * manual/install.texi: Likewise.
18936 * manual/maint.texi: Likewise.
18937 * Makefile: Likewise.
18938 * malloc/Makefile: Likewise.
18939 * nscd/Makefile: Likewise.
18940 * Makeconfig: Change reference to configure.in and
18941 preconfigure.in to configure.ac and preconfigure.ac
18942 respectively.
18943 * INSTALL: Regenerated.
18944 * configure: Likewise.
18945 * sysdeps/gnu/configure: Likewise.
18946 * sysdeps/i386/configure: Likewise.
18947 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18948 * sysdeps/mach/configure: Likewise.
18949 * sysdeps/mach/hurd/configure: Likewise.
18950 * sysdeps/powerpc/configure: Likewise.
18951 * sysdeps/powerpc/powerpc32/configure: Likewise.
18952 * sysdeps/powerpc/powerpc64/configure: Likewise.
18953 * sysdeps/s390/s390-32/configure: Likewise.
18954 * sysdeps/s390/s390-64/configure: Likewise.
18955 * sysdeps/sh/configure: Likewise.
18956 * sysdeps/sparc/configure: Likewise.
18957 * sysdeps/unix/sysv/linux/configure: Likewise.
18958 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18959 * sysdeps/x86_64/configure: Likewise.
18960 * sysdeps/x86_64/preconfigure: Likewise.
18961
36a4953a
AS
189622013-10-29 Andreas Schwab <schwab@suse.de>
18963
18964 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18965
c79a1204
SP
189662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18967
dfa1b402
SP
18968 * benchtests/pow-inputs: Add new inputs.
18969
54f73d9c
SP
18970 * benchtests/exp-inputs: Add new inputs.
18971
c79a1204
SP
18972 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18973 conditional check for return value.
18974 (__cos32): Likewise.
18975
67beb545 189762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18977
18978 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18979 to provide a boost for large inputs with word alignment.
18980 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18981 implementation based on optimized PPC64 strcpy.
18982 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18983 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18984 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18985 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18986
151659f6
OB
189872013-10-25 Ondřej Bílka <neleai@seznam.cz>
18988
482a077e 18989 [BZ #2801]
151659f6
OB
18990 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18991
10b0f26b
OB
189922013-10-25 Ondřej Bílka <neleai@seznam.cz>
18993
18994 [BZ #14876]
18995 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18996 * time/tst-strptime.c (day_tests): Add testcase.
18997
ca42d35e
OB
189982013-10-25 Ondřej Bílka <neleai@seznam.cz>
18999
482a077e 19000 [BZ #14029]
ca42d35e
OB
19001 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19002
52e6d801
FB
190032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19004
19005 [BZ #16074]
19006 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19007 MAP_FAILED on error.
19008
7cbcdb36
SP
190092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19010
19011 [BZ #16072]
19012 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19013 heap for large requests.
19014
894f3f10
AM
190152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19016
19017 [BZ #9954]
19018 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19019 result if the result has no associated interface.
19020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19021 interface for all 127.X.Y.Z addresses.
19022
b85545a6
CL
190232013-10-24 Chris Leonard <cjl@sugarlabs.org>
19024
19025 * locale/iso-639.def: Add Ligurian (lij)
19026
d1f23d46
OB
190272013-10-21 Ondřej Bílka <neleai@seznam.cz>
19028
19029 [BZ #15825]
19030 * sunrpc/rpc_main.c: Document rpcgen -5.
19031
4db5b08f
MS
190322013-10-19 Michael Stahl <mstahl@redhat.com>
19033
19034 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19035
a471e96a
OB
190362013-10-19 Ondřej Bílka <neleai@seznam.cz>
19037
d1f23d46 19038 [BZ #10278]
a471e96a
OB
19039 * posix/glob.c: Match only directories when trailing slash is present.
19040 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19041 (main): Add testcase.
19042
45c30c61
OB
190432013-10-19 Ondřej Bílka <neleai@seznam.cz>
19044
19045 [BZ #15670]
19046 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19047
484c12fb
CD
190482013-10-18 Carlos O'Donell <carlos@redhat.com>
19049
3d7dc513
CD
19050 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19051 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19052 AUTH_DES and cindex for FIPS 140-2.
19053 (DES Encryption): Add cindex FIPS 46-3.
19054
484c12fb
CD
19055 * locale/locarchive.h (struct locarhandle): Add fname.
19056 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19057 if an optional argument was specified to --list-archive,
19058 otherwise NULL.
19059 * locale/programs/locarchive.c (show_archive_content): Take new
19060 argument fname and pass it via ah.fname to open_archive.
19061 * locale/programs/localedef.h: Update decl.
19062 (open_archive): If AH->fname is non-null, open that file
19063 rather than the default file name, and don't ignore ENOENT.
19064 (create_archive): Set AH.fname to NULL.
19065 (delete_locales_from_archive): Likewise.
19066 (add_locales_to_archive): Likewise.
19067 * locale/programs/locfile.c (write_all_categories): Likewise.
19068
3c8325fb
JM
190692013-10-18 Joseph Myers <joseph@codesourcery.com>
19070 Aldy Hernandez <aldyh@redhat.com>
19071
19072 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19073 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19074 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19075 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19076 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19077 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19080 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19083 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19085 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19086 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19087 Likewise.
19088 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19089 Likewise.
19090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19091 Likewise.
19092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19093 Likewise.
19094 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19095 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19096 Likewise.
19097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19098 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19099 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19100 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19101 Likewise.
19102 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19103 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19104 * sysdeps/powerpc/preconfigure: Likewise.
19105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19106 Likewise.
19107 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19108 Replace contents of file by #include of <fenv_libc.h>.
19109 * sysdeps/powerpc/soft-fp/sfp-machine.h
19110 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19111 and <sys/prctl.h>.
19112 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19125 Allow copysignl PLT reference to be missing.
19126
5abe0682
RS
191272013-10-18 Richard Sandiford <richard@codesourcery.com>
19128 Joseph Myers <joseph@codesourcery.com
19129
19130 [BZ #15948]
19131 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19132 single character.
19133 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19134
c7738d08
SP
191352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19136
19137 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19138 * elf/tst-tls1.c: Likewise.
19139 * elf/tst-tls10.h: Likewise.
19140 * elf/tst-tls14.c: Likewise.
19141 * elf/tst-tls2.c: Likewise.
19142 * elf/tst-tls3.c: Likewise.
19143 * elf/tst-tls4.c: Likewise.
19144 * elf/tst-tls5.c: Likewise.
19145 * elf/tst-tls6.c: Likewise.
19146 * elf/tst-tls7.c: Likewise.
19147 * elf/tst-tls8.c: Likewise.
19148 * elf/tst-tls9.c: Likewise.
19149 * elf/tst-tlsmod1.c: Likewise.
19150 * elf/tst-tlsmod13.c: Likewise.
19151 * elf/tst-tlsmod13a.c: Likewise.
19152 * elf/tst-tlsmod14a.c: Likewise.
19153 * elf/tst-tlsmod16a.c: Likewise.
19154 * elf/tst-tlsmod16b.c: Likewise.
19155 * elf/tst-tlsmod2.c: Likewise.
19156 * elf/tst-tlsmod3.c: Likewise.
19157 * elf/tst-tlsmod4.c: Likewise.
19158 * elf/tst-tlsmod5.c: Likewise.
19159 * elf/tst-tlsmod6.c: Likewise.
19160
0bfcf2c7
OB
191612013-10-18 Ondřej Bílka <neleai@seznam.cz>
19162
19163 [BZ #12486]
19164 * malloc/malloc.c: remove checks for statistics.
19165
264aad1e
OB
191662013-10-17 Ondřej Bílka <neleai@seznam.cz>
19167
19168 [BZ #15277]
19169 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19170 * inet/tst-network.c: Add testcase.
19171
b957ced8
AS
191722013-10-17 Andreas Schwab <schwab@suse.de>
19173
19174 [BZ #15218]
19175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19176 to determine canonical name.
19177
c5d5d574
OB
191782013-10-17 Ondřej Bílka <neleai@seznam.cz>
19179
19180 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19181 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19205 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19238
e5c2c2d0
JM
192392013-10-17 Joseph Myers <joseph@codesourcery.com>
19240
19241 [BZ #16041]
19242 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19243 make result into a quiet NaN.
19244
51ca9e29
JM
192452013-10-16 Joseph Myers <joseph@codesourcery.com>
19246
19247 * soft-fp/adddf3.c: Fix horizontal whitespace.
19248 * soft-fp/addsf3.c: Likewise.
19249 * soft-fp/addtf3.c: Likewise.
19250 * soft-fp/divdf3.c: Likewise.
19251 * soft-fp/divsf3.c: Likewise.
19252 * soft-fp/divtf3.c: Likewise.
19253 * soft-fp/double.h: Likewise.
19254 * soft-fp/eqdf2.c: Likewise.
19255 * soft-fp/eqsf2.c: Likewise.
19256 * soft-fp/eqtf2.c: Likewise.
19257 * soft-fp/extenddftf2.c: Likewise.
19258 * soft-fp/extended.h: Likewise.
19259 * soft-fp/extendsfdf2.c: Likewise.
19260 * soft-fp/extendsftf2.c: Likewise.
19261 * soft-fp/extendxftf2.c: Likewise.
19262 * soft-fp/fixdfdi.c: Likewise.
19263 * soft-fp/fixdfsi.c: Likewise.
19264 * soft-fp/fixdfti.c: Likewise.
19265 * soft-fp/fixsfdi.c: Likewise.
19266 * soft-fp/fixsfsi.c: Likewise.
19267 * soft-fp/fixsfti.c: Likewise.
19268 * soft-fp/fixtfdi.c: Likewise.
19269 * soft-fp/fixtfsi.c: Likewise.
19270 * soft-fp/fixtfti.c: Likewise.
19271 * soft-fp/fixunsdfdi.c: Likewise.
19272 * soft-fp/fixunsdfsi.c: Likewise.
19273 * soft-fp/fixunsdfti.c: Likewise.
19274 * soft-fp/fixunssfdi.c: Likewise.
19275 * soft-fp/fixunssfsi.c: Likewise.
19276 * soft-fp/fixunssfti.c: Likewise.
19277 * soft-fp/fixunstfdi.c: Likewise.
19278 * soft-fp/fixunstfsi.c: Likewise.
19279 * soft-fp/fixunstfti.c: Likewise.
19280 * soft-fp/floatdidf.c: Likewise.
19281 * soft-fp/floatdisf.c: Likewise.
19282 * soft-fp/floatditf.c: Likewise.
19283 * soft-fp/floatsidf.c: Likewise.
19284 * soft-fp/floatsisf.c: Likewise.
19285 * soft-fp/floatsitf.c: Likewise.
19286 * soft-fp/floattidf.c: Likewise.
19287 * soft-fp/floattisf.c: Likewise.
19288 * soft-fp/floattitf.c: Likewise.
19289 * soft-fp/floatundidf.c: Likewise.
19290 * soft-fp/floatundisf.c: Likewise.
19291 * soft-fp/floatunditf.c: Likewise.
19292 * soft-fp/floatunsidf.c: Likewise.
19293 * soft-fp/floatunsisf.c: Likewise.
19294 * soft-fp/floatunsitf.c: Likewise.
19295 * soft-fp/floatuntidf.c: Likewise.
19296 * soft-fp/floatuntisf.c: Likewise.
19297 * soft-fp/floatuntitf.c: Likewise.
19298 * soft-fp/fmadf4.c: Likewise.
19299 * soft-fp/fmasf4.c: Likewise.
19300 * soft-fp/fmatf4.c: Likewise.
19301 * soft-fp/gedf2.c: Likewise.
19302 * soft-fp/gesf2.c: Likewise.
19303 * soft-fp/getf2.c: Likewise.
19304 * soft-fp/ledf2.c: Likewise.
19305 * soft-fp/lesf2.c: Likewise.
19306 * soft-fp/letf2.c: Likewise.
19307 * soft-fp/muldf3.c: Likewise.
19308 * soft-fp/mulsf3.c: Likewise.
19309 * soft-fp/multf3.c: Likewise.
19310 * soft-fp/negdf2.c: Likewise.
19311 * soft-fp/negsf2.c: Likewise.
19312 * soft-fp/negtf2.c: Likewise.
19313 * soft-fp/op-1.h: Likewise.
19314 * soft-fp/op-2.h: Likewise.
19315 * soft-fp/op-4.h: Likewise.
19316 * soft-fp/op-8.h: Likewise.
19317 * soft-fp/op-common.h: Likewise.
19318 * soft-fp/quad.h: Likewise.
19319 * soft-fp/single.h: Likewise.
19320 * soft-fp/soft-fp.h: Likewise.
19321 * soft-fp/sqrtdf2.c: Likewise.
19322 * soft-fp/sqrtsf2.c: Likewise.
19323 * soft-fp/sqrttf2.c: Likewise.
19324 * soft-fp/subdf3.c: Likewise.
19325 * soft-fp/subsf3.c: Likewise.
19326 * soft-fp/subtf3.c: Likewise.
19327 * soft-fp/truncdfsf2.c: Likewise.
19328 * soft-fp/trunctfdf2.c: Likewise.
19329 * soft-fp/trunctfsf2.c: Likewise.
19330 * soft-fp/trunctfxf2.c: Likewise.
19331 * soft-fp/unorddf2.c: Likewise.
19332 * soft-fp/unordsf2.c: Likewise.
19333 * soft-fp/unordtf2.c: Likewise.
19334
9ebb0332
JM
193352013-10-15 Joseph Myers <joseph@codesourcery.com>
19336
19337 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19338 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19339
4b1a6d8b
OB
193402013-10-15 Ondřej Bílka <neleai@seznam.cz>
19341
19342 * elf/dl-libc.c: Clear initfini list after freeing.
19343
1e145589
JM
193442013-10-14 Joseph Myers <joseph@codesourcery.com>
19345
19346 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19347 * soft-fp/addsf3.c: Likewise.
19348 * soft-fp/addtf3.c: Likewise.
19349 * soft-fp/divdf3.c: Likewise.
19350 * soft-fp/divsf3.c: Likewise.
19351 * soft-fp/divtf3.c: Likewise.
19352 * soft-fp/double.h: Likewise.
19353 * soft-fp/eqdf2.c: Likewise.
19354 * soft-fp/eqsf2.c: Likewise.
19355 * soft-fp/eqtf2.c: Likewise.
19356 * soft-fp/extenddftf2.c: Likewise.
19357 * soft-fp/extended.h: Likewise.
19358 * soft-fp/extendsfdf2.c: Likewise.
19359 * soft-fp/extendsftf2.c: Likewise.
19360 * soft-fp/extendxftf2.c: Likewise.
19361 * soft-fp/fixdfdi.c: Likewise.
19362 * soft-fp/fixdfsi.c: Likewise.
19363 * soft-fp/fixdfti.c: Likewise.
19364 * soft-fp/fixsfdi.c: Likewise.
19365 * soft-fp/fixsfsi.c: Likewise.
19366 * soft-fp/fixsfti.c: Likewise.
19367 * soft-fp/fixtfdi.c: Likewise.
19368 * soft-fp/fixtfsi.c: Likewise.
19369 * soft-fp/fixtfti.c: Likewise.
19370 * soft-fp/fixunsdfdi.c: Likewise.
19371 * soft-fp/fixunsdfsi.c: Likewise.
19372 * soft-fp/fixunsdfti.c: Likewise.
19373 * soft-fp/fixunssfdi.c: Likewise.
19374 * soft-fp/fixunssfsi.c: Likewise.
19375 * soft-fp/fixunssfti.c: Likewise.
19376 * soft-fp/fixunstfdi.c: Likewise.
19377 * soft-fp/fixunstfsi.c: Likewise.
19378 * soft-fp/fixunstfti.c: Likewise.
19379 * soft-fp/floatdidf.c: Likewise.
19380 * soft-fp/floatdisf.c: Likewise.
19381 * soft-fp/floatditf.c: Likewise.
19382 * soft-fp/floatsidf.c: Likewise.
19383 * soft-fp/floatsisf.c: Likewise.
19384 * soft-fp/floatsitf.c: Likewise.
19385 * soft-fp/floattidf.c: Likewise.
19386 * soft-fp/floattisf.c: Likewise.
19387 * soft-fp/floattitf.c: Likewise.
19388 * soft-fp/floatundidf.c: Likewise.
19389 * soft-fp/floatundisf.c: Likewise.
19390 * soft-fp/floatunsidf.c: Likewise.
19391 * soft-fp/floatunsisf.c: Likewise.
19392 * soft-fp/floatuntidf.c: Likewise.
19393 * soft-fp/floatuntisf.c: Likewise.
19394 * soft-fp/floatuntitf.c: Likewise.
19395 * soft-fp/fmadf4.c: Likewise.
19396 * soft-fp/fmasf4.c: Likewise.
19397 * soft-fp/fmatf4.c: Likewise.
19398 * soft-fp/gedf2.c: Likewise.
19399 * soft-fp/gesf2.c: Likewise.
19400 * soft-fp/getf2.c: Likewise.
19401 * soft-fp/ledf2.c: Likewise.
19402 * soft-fp/lesf2.c: Likewise.
19403 * soft-fp/letf2.c: Likewise.
19404 * soft-fp/muldf3.c: Likewise.
19405 * soft-fp/mulsf3.c: Likewise.
19406 * soft-fp/multf3.c: Likewise.
19407 * soft-fp/negdf2.c: Likewise.
19408 * soft-fp/negsf2.c: Likewise.
19409 * soft-fp/negtf2.c: Likewise.
19410 * soft-fp/op-1.h: Likewise.
19411 * soft-fp/op-2.h: Likewise.
19412 * soft-fp/op-4.h: Likewise.
19413 * soft-fp/op-8.h: Likewise.
19414 * soft-fp/op-common.h: Likewise.
19415 * soft-fp/quad.h: Likewise.
19416 * soft-fp/single.h: Likewise.
19417 * soft-fp/soft-fp.h: Likewise.
19418 * soft-fp/sqrtdf2.c: Likewise.
19419 * soft-fp/sqrtsf2.c: Likewise.
19420 * soft-fp/sqrttf2.c: Likewise.
19421 * soft-fp/subdf3.c: Likewise.
19422 * soft-fp/subsf3.c: Likewise.
19423 * soft-fp/subtf3.c: Likewise.
19424 * soft-fp/truncdfsf2.c: Likewise.
19425 * soft-fp/trunctfdf2.c: Likewise.
19426 * soft-fp/trunctfsf2.c: Likewise.
19427 * soft-fp/trunctfxf2.c: Likewise.
19428 * soft-fp/unorddf2.c: Likewise.
19429 * soft-fp/unordsf2.c: Likewise.
19430 * soft-fp/unordtf2.c: Likewise.
19431
17c48a60
OB
194322013-10-14 Ondřej Bílka <neleai@seznam.cz>
19433
19434 [BZ #15672]
19435 * misc/error.c (error_tail): Fix possible buffer overflow.
19436
cabba934
OB
194372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19438
19439 [BZ #13028]
19440 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19441 address.
19442
94bf958a
PM
194432013-10-14 P. J. McDermott <pj@pehjota.net>
19444
19445 [BZ #832]
19446 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19447 testing pipefail option.
19448
71b4dea7
JM
194492013-10-12 Joseph Myers <joseph@codesourcery.com>
19450
19451 * soft-fp/double.h: Indent preprocessor directives inside #if.
19452 * soft-fp/extended.h: Likewise.
19453 * soft-fp/op-2.h: Likewise.
19454 * soft-fp/op-4.h: Likewise.
19455 * soft-fp/op-common.h: Likewise.
19456 * soft-fp/quad.h: Likewise.
19457 * soft-fp/single.h: Likewise.
19458 * soft-fp/soft-fp.h: Likewise.
19459
55602758
YC
194602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19461
19462 * iconv/iconv_prog.c: Fix typos.
19463 * stdio-common/psiginfo-data.h: Likewise.
19464
9cd83302
RT
194652013-10-12 Reuben Thomas <rrt@sc3d.org>
19466
19467 [BZ #15764]
19468 * locale/setlocale.c: Fix typo.
19469
99fd9f47
JM
194702013-10-12 Joseph Myers <joseph@codesourcery.com>
19471
b7ea74f0
JM
19472 [BZ #16036]
19473 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19474 signaling NaN arguments.
19475 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19476 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19477
8a509447
JM
19478 [BZ #14910]
19479 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19480 unordered operands.
19481 * soft-fp/gesf2.c (__gesf2): Likewise.
19482 * soft-fp/getf2.c (__getf2): Likewise.
19483 * soft-fp/ledf2.c (__ledf2): Likewise.
19484 * soft-fp/lesf2.c (__lesf2): Likewise.
19485 * soft-fp/letf2.c (__letf2): Likewise.
19486
98998e9f
JM
19487 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19488 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19489 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19490 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19491 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19492 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19493 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19494 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19495 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19496 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19497 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19498 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19499 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19500 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19501 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19502 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19503 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19504 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19505 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19506 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19507 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19508 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19509 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19510 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19511 * soft-fp/floattidf.c (__floattidf): Likewise.
19512 * soft-fp/floattisf.c (__floattisf): Likewise.
19513 * soft-fp/floattitf.c (__floattitf): Likewise.
19514 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19515 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19516 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19517 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19518 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19519 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19520 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19521 * soft-fp/gesf2.c (__gesf2): Likewise.
19522 * soft-fp/getf2.c (__getf2): Likewise.
19523 * soft-fp/ledf2.c (__ledf2): Likewise.
19524 * soft-fp/lesf2.c (__lesf2): Likewise.
19525 * soft-fp/letf2.c (__letf2): Likewise.
19526
8edc4a11
JM
19527 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19528 Undefine and redefine.
19529 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19530 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19531 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19532 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19533 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19534 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19535 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19536 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19537 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19538 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19539 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19540 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19541 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19542 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19543 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19544
8399acaf
JM
19545 [BZ #16032]
19546 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19547 without decrementing exponent if mantissa >= that for the
19548 denominator, not >.
19549 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19550 denominator, not >. Decrement exponent in < case instead of
19551 incrementing in >= case.
19552 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19553 without decrementing exponent if mantissa >= that for the
19554 denominator, not >.
19555
99fd9f47
JM
19556 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19557 computing saturated result for unsigned overflow.
19558
10e1cf6b
SP
195592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 Jeff Law <law@redhat.com>
19561
19562 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19563 (atan2Mp): Add systemtap probe marker.
19564 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19565 (__ieee754_log): Add systemtap probe marker.
19566 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19567 (atanMp): Add systemtap probe marker.
19568 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19569 (tanMp): Add systemtap probe marker.
19570 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19571 (__slowexp): Add systemtap probe marker.
19572 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19573 (__slowpow): Add systemtap probe marker.
19574 * manual/probes.texi: Document probes.
19575
3d110c7c
EB
195762013-10-11 Eric Biggers <ebiggers3@gmail.com>
19577
19578 [BZ #15362]
19579 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19580 written.
19581 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19582 written.
19583 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19584 written to buffer but not flushed.
19585 * libio/iofwrite_u.c: Likewise.
19586 * libio/iopadn.c: Return bytes returned even if EOF was
19587 encountered.
19588 * libio/iowpadn.c: Likewise.
19589 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19590 if _IO_padn does not write the whole buffer.
19591 [!COMPILE_WPRINTF] (PAD): Likewise.
19592
75b4202a
DM
195932013-10-10 David S. Miller <davem@davemloft.net>
19594
19595 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19596 directory block.
19597
6c6352e6
JM
195982013-10-10 Joseph Myers <joseph@codesourcery.com>
19599
33b853c3
JM
19600 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19601 instead of FSF address.
19602 * soft-fp/fixdfti.c: Likewise.
19603 * soft-fp/fixsfti.c: Likewise.
19604 * soft-fp/fixtfti.c: Likewise.
19605 * soft-fp/fixunsdfti.c: Likewise.
19606 * soft-fp/fixunssfti.c: Likewise.
19607 * soft-fp/fixunstfti.c: Likewise.
19608 * soft-fp/floattidf.c: Likewise.
19609 * soft-fp/floattisf.c: Likewise.
19610 * soft-fp/floattitf.c: Likewise.
19611 * soft-fp/floatuntidf.c: Likewise.
19612 * soft-fp/floatuntisf.c: Likewise.
19613 * soft-fp/floatuntitf.c: Likewise.
19614 * soft-fp/trunctfxf2.c: Likewise.
19615
6c6352e6
JM
19616 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19617 * soft-fp/fixdfti.c: Likewise.
19618 * soft-fp/fixsfti.c: Likewise.
19619 * soft-fp/fixtfti.c: Likewise.
19620 * soft-fp/fixunsdfti.c: Likewise.
19621 * soft-fp/fixunssfti.c: Likewise.
19622 * soft-fp/fixunstfti.c: Likewise.
19623 * soft-fp/floattidf.c: Likewise.
19624 * soft-fp/floattisf.c: Likewise.
19625 * soft-fp/floattitf.c: Likewise.
19626 * soft-fp/floatuntidf.c: Likewise.
19627 * soft-fp/floatuntisf.c: Likewise.
19628 * soft-fp/floatuntitf.c: Likewise.
19629 * soft-fp/trunctfxf2.c: Likewise.
19630
3bf78b71
DM
196312013-10-10 David S. Miller <davem@davemloft.net>
19632
19633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19634
6f10289e
JM
196352013-10-10 Joseph Myers <joseph@codsourcery.com>
19636
bd878fc0
JM
19637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19638 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19639 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19640 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19641 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19642 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19643 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19644
6f10289e
JM
19645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19646 for NaNs before doing comparisons on argument.
19647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19648 Likewise.
19649
321e2684
WN
196502013-10-10 Will Newton <will.newton@linaro.org>
19651
19652 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19653 passed to _int_memalign does not overflow.
19654
40fefba1
TR
196552013-10-10 Torvald Riegel <triegel@redhat.com>
19656
19657 * scripts/bench.pl: Add include-sources directive.
19658 * benchtests/README: Update documentation.
19659
2ae21ed2
JM
196602013-10-10 Joseph Myers <joseph@codesourcery.com>
19661
dcc2dd3f
JM
19662 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19663 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19664 instead of FP_INIT_ROUNDMODE.
19665 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19666 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19667
2ae21ed2
JM
19668 [BZ #16034]
19669 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19670 copy class of input value.
19671 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19672 not handle exceptions.
19673 * soft-fp/negsf2.c (__negsf2): Likewise.
19674 * soft-fp/negtf2.c (__negtf2): Likewise.
19675 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19676
cb8f9562
JM
196772013-10-09 Joseph Myers <joseph@codesourcery.com>
19678
19679 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19680 semicolon. From Linux kernel.
19681
5b60c59d
AB
196822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19683
19684 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19685
b86835ca
YC
196862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19687
19688 [BZ #156]
19689 * manual/socket.texi: Added statement about buffer
19690 for gethostbyname2_r.
19691
e7044ea7
OB
196922013-10-08 Ondřej Bílka <neleai@seznam.cz>
19693
19694 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19695 Use .p2align directive instead, throughout.
19696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19697 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19698 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19701 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19702 * sysdeps/x86_64/strchr.S: Likewise.
19703 * sysdeps/x86_64/strrchr.S: Likewise.
19704
09544cbc
SP
197052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19706
88576635
SP
19707 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19708
e7b2d1dd
SP
19709 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19710
09544cbc
SP
19711 * sysdeps/generic/math_private.h (__mpsin1): Remove
19712 declaration.
19713 (__mpcos1): Likewise.
19714 (__mpsin): New argument __range_reduce.
19715 (__mpcos): Likewise.
19716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19717 (slow): Use __mpsin and __mpcos.
19718 (slow1): Likewise.
19719 (slow2): Likewise.
19720 (sloww): Likewise.
19721 (sloww1): Likewise.
19722 (sloww2): Likewise.
19723 (bsloww): Likewise.
19724 (bsloww1): Likewise.
19725 (bsloww2): Likewise.
19726 (cslow2): Likewise.
19727 (csloww): Likewise.
19728 (csloww1): Likewise.
19729 (csloww2): Likewise.
19730 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19731 range_reduce. Merge in __mpsin1.
19732 (__mpcos): Likewise.
19733 (__mpsin1): Remove.
19734 (__mpcos1): Likewise.
19735
7602d070
JM
197362013-10-07 Joseph Myers <joseph@codesourcery.com>
19737
19738 * locale/loadlocale.c (_nl_intern_locale_data): Use
19739 LOCFILE_ALIGNED_P.
19740 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19741 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19742 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19743 obstack data is appropriately aligned.
19744 (obstack_int32_grow_fast): Likewise.
19745 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19746 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19747 (add_locale_uint32_array): Likewise.
19748
a357259b
SP
197492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19750
19751 * benchtests/Makefile: Remove ARGLIST and RET variables.
19752 ($(objpfx)bench-%.c): Pass only function name to the script.
19753 * benchtests/README: Update documentation.
19754 * benchtests/acos-inputs: Add new directives.
19755 * benchtests/acosh-inputs: Likewise.
19756 * benchtests/asin-inputs: Likewise.
19757 * benchtests/asinh-inputs: Likewise.
19758 * benchtests/atan-inputs: Likewise.
19759 * benchtests/atanh-inputs: Likewise.
19760 * benchtests/cos-inputs: Likewise.
19761 * benchtests/cosh-inputs: Likewise.
19762 * benchtests/exp-inputs: Likewise.
19763 * benchtests/log-inputs: Likewise.
19764 * benchtests/pow-inputs: Likewise.
19765 * benchtests/rint-inputs: Likewise.
19766 * benchtests/sin-inputs: Likewise.
19767 * benchtests/sinh-inputs: Likewise.
19768 * benchtests/tan-inputs: Likewise.
19769 * benchtests/tanh-inputs: Likewise.
19770 * scripts/bench.pl: Add support for new directives.
19771
9ec1b13d
AM
197722013-10-07 Alan Modra <amodra@gmail.com>
19773
19774 * README: Fix careless merge.
19775
8b7d57cd
AM
197762013-10-05 Alan Modra <amodra@gmail.com>
19777
19778 * NEWS: Mention powerpc64le support and bugs fixed.
19779 * README: Both big-endian and little-endian powerpc64 supported.
19780
7b7bab13
ST
197812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19782
57f41c40
AS
19783 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19784 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19785 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19786 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19787
d39baad1
RA
197882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19789
19790 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19791 match prototype.
19792
cd78f7e7
JM
197932013-10-04 Joseph Myers <joseph@codesourcery.com>
19794
29d73d86
JM
19795 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19796 Move -mhard-float appending from
19797 ports/sysdeps/powerpc/powerpc32/Makefile.
19798 [$(with-fp) = yes] (ASFLAGS): Likewise.
19799 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19800 * sysdeps/powerpc/nofpu: Move directory from
19801 ports/sysdeps/powerpc/nofpu.
19802 * sysdeps/powerpc/soft-fp: Move directory from
19803 ports/sysdeps/powerpc/soft-fp.
19804 * sysdeps/powerpc/powerpc32/405: Move directory from
19805 ports/sysdeps/powerpc/powerpc32/405.
19806 * sysdeps/powerpc/powerpc32/440: Move directory from
19807 ports/sysdeps/powerpc/powerpc32/440.
19808 * sysdeps/powerpc/powerpc32/464: Move directory from
19809 ports/sysdeps/powerpc/powerpc32/464.
19810 * sysdeps/powerpc/powerpc32/476: Move directory from
19811 ports/sysdeps/powerpc/powerpc32/476.
19812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19815 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19822 * README: Update for powerpc-*-linux-gnu software floating point
19823 support in libc.
19824
e246b347
JM
19825 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19826 case to powerpc/powerpc32*.
19827 * sysdeps/unix/sysv/linux/configure: Regenerated.
19828
89c2003e
JM
19829 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19830 (_FPU_MASK_OM): Define as 0x04.
19831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19833 0x00c10080.
19834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19835 0x0000003c.
19836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19837
cd78f7e7
JM
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19839 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19840 getcontext_e500.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19842 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19843 setcontext_e500.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19845 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19846 and setcontext_e500.
19847
c755294d
CL
198482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19849
19850 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19851
e16d221c
SP
198522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19853
19854 * manual/threads.texi (Default Thread Attributes): Fix typo.
19855
215c7d43
WN
198562013-10-04 Will Newton <will.newton@linaro.org>
19857
19858 * malloc/Makefile: Add tst-memalign.
19859 * malloc/tst-memalign.c: New file.
19860
27d0461b
WN
19861 * malloc/tst-posix_memalign.c: Add comments.
19862 (do_test): Add comments and call free on all potentially
19863 allocated pointers. Add space after cast.
19864
1bc92709
WN
19865 * malloc/tst-pvalloc.c: Add comments.
19866 (do_test): Add comments and call free on all potentially
19867 allocated pointers. Remove duplicate check for NULL pointer.
19868 Add space after cast.
19869
66a9be9d
WN
19870 * malloc/tst-valloc.c: Add comments.
19871 (do_test): Add comments and call free on all potentially
19872 allocated pointers. Remove duplicate check for NULL pointer.
19873 Add space after cast.
19874
4cb81307
AM
198752013-10-04 Alan Modra <amodra@gmail.com>
19876
19877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19878 Use stdint types in rather than __attribute__((mode())).
19879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19880
f8e3e9f3
AM
198812013-10-04 Alan Modra <amodra@gmail.com>
19882
19883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19884 Correct handling of unaligned relocs for little-endian.
19885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19886
8f9ebb08
AM
198872013-10-04 Alan Modra <amodra@gmail.com>
19888
19889 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19890 * configure: Regenerate.
19891 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19892 * shlib-versions: Likewise.
19893
0edf96c2
AM
198942013-10-04 Alan Modra <amodra@gmail.com>
19895
19896 * string/tester.c (test_memrchr): Increment reported test cycle.
19897
e0f7a380
AM
198982013-10-04 Alan Modra <amodra@gmail.com>
19899
19900 * string/test-memcpy.c (do_one_test): When reporting errors, print
19901 string address and don't overrun end of string.
19902
466b0393
AM
199032013-10-04 Alan Modra <amodra@gmail.com>
19904
19905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19906 insrdi. Make better use of reg selection to speed exit slightly.
19907 Schedule entry path a little better. Remove useless "are we done"
19908 checks on entry to main loop. Handle wrapping around zero address.
19909 Correct main loop count. Handle single left-over word from main
19910 loop inline rather than by using loop_small. Remove extra word
19911 case in loop_small caused by wrong loop count. Add little-endian
19912 support.
19913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19915 cache hint.
19916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19918 support. Avoid rlwimi.
19919 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19920
3be87c77
AM
199212013-10-04 Alan Modra <amodra@gmail.com>
19922
19923 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 19924 insrdi. Formatting.
3be87c77
AM
19925 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19926 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19927 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19928 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19929 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19930 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19931
759cfef3
AM
199322013-10-04 Alan Modra <amodra@gmail.com>
19933
19934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19938 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19939 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19943 use of regs. Use power7 mtocrf. Tidy function tails.
19944
fe6e95d7
AM
199452013-10-04 Alan Modra <amodra@gmail.com>
19946
19947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19948 Formatting. Consistently use rXXX register defines or rN defines.
19949 Use early exit labels that avoid restoring unused non-volatile regs.
19950 Make cr field use more consistent with rWORDn compares. Rename
19951 regs used as shift registers for unaligned loop, using rN defines
19952 for short lifetime/multiple use regs.
19953 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19955 addi 1,1,64 to pop stack frame. Simplify return value code.
19956 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19957
664318c3
AM
199582013-10-04 Alan Modra <amodra@gmail.com>
19959
19960 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19961 support. Correct typos, formatting. Optimize tail. Use insrdi
19962 rather than rlwimi.
19963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19965 little-endian support. Correct typos.
19966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19967 rather than rlwimi.
19968 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19969 in loop and entry code to keep "and." results.
19970 (strchr): Add little-endian support. Comment. Move cntlzd
19971 earlier in tail.
19972 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19973
43b84013
AM
199742013-10-04 Alan Modra <amodra@gmail.com>
19975
19976 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19977 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19979 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19980
8a7413f9
AM
199812013-10-04 Alan Modra <amodra@gmail.com>
19982
19983 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19984 (rTMP): Define as r11.
19985 (strcmp): Add little-endian support. Optimise tail.
19986 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19988 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19993
33ee81de
AM
199942013-10-04 Alan Modra <amodra@gmail.com>
19995
19996 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19997 little-endian support. Remove unnecessary "are we done" tests.
19998 Handle "s" wrapping around zero and extremely large "size".
19999 Correct main loop count. Handle single left-over word from main
20000 loop inline rather than by using small_loop. Correct comments.
20001 Delete "zero" tail, use "end_max" instead.
20002 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20003
db9b4570
AM
200042013-10-04 Alan Modra <amodra@gmail.com>
20005
20006 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20007 support. Don't branch over align.
20008 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20009 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20010 support. Rearrange tmp reg use to suit. Comment.
20011 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20012
f7c399cf
AM
200132013-10-04 Alan Modra <amodra@gmail.com>
20014
20015 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20016
0b2c2ace
AM
200172013-10-04 Alan Modra <amodra@gmail.com>
20018
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20020 conditional form of branch and link when obtaining pc.
20021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20022
02f04a6c
AM
200232013-10-04 Alan Modra <amodra@gmail.com>
20024
20025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20026 HIWORD/LOWORD.
20027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20029
9b874b2f
AM
200302013-10-04 Alan Modra <amodra@gmail.com>
20031
20032 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20033 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20035 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20038 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20040 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20041 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20042
be1e5d31
AB
200432013-10-04 Anton Blanchard <anton@au1.ibm.com>
20044 Alistair Popple <alistair@ozlabs.au.ibm.com>
20045 Alan Modra <amodra@gmail.com>
20046
20047 [BZ #15723]
20048 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20050 _dl_hwcap access for little-endian.
20051 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20052 destroy vmx regs when saving unaligned.
20053 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20055 destroy vmx regs when saving unaligned.
20056
fef13a78
AM
200572013-10-04 Alan Modra <amodra@gmail.com>
20058
20059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20060 Don't use a union to pack hi/low value.
20061
76a66d51
AB
200622013-10-04 Anton Blanchard <anton@au1.ibm.com>
20063
20064 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20065 for little-endian.
20066 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20068 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20071
6a31fe7f
AM
200722013-10-04 Alan Modra <amodra@gmail.com>
20073
20074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20075 constants to usual value for .cst8 section, and remove redundant
20076 high address load.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20078 constant for 0x1p52. Load little-endian words of double from
20079 correct stack offsets.
20080
7b88401f
AM
200812013-10-04 Alan Modra <amodra@gmail.com>
20082
20083 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20084 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20085 words of double from correct stack offsets.
20086 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20087 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20093 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20094 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20099 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20101 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20102 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20103
9c008155
AM
201042013-10-04 Alan Modra <amodra@gmail.com>
20105
20106 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20107 64-bit int/double union.
20108 (_FPU_SETCW): Likewise.
20109 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20110 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20111
da13146d
AM
201122013-10-04 Alan Modra <amodra@gmail.com>
20113
20114 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20115 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20116
603e8410
AM
201172013-10-04 Alan Modra <amodra@gmail.com>
20118
20119 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20120 use vector int constants.
20121 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20122
4a28b3ca
AB
201232013-10-04 Anton Blanchard <anton@au1.ibm.com>
20124
20125 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20126 array with long long.
20127 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20128 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20129 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20130 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20132 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20134 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20136 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20137 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20138 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20139 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20140
2ca85d2b
AB
201412013-10-04 Anton Blanchard <anton@au1.ibm.com>
20142
20143 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20144 (__signbit): Likewise. Correct for little-endian.
20145 (__signbitl): Call __signbit.
20146 (lrint): Correct for little-endian.
20147 (lrintf): Call lrint.
20148
62a728ae
AM
201492013-10-04 Alan Modra <amodra@gmail.com>
20150
20151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20152 union 32-bit int array member with 64-bit int array.
20153 (t515, tm256): Double rather than long double.
20154 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20155
32c301df
AM
201562013-10-04 Alan Modra <amodra@gmail.com>
20157
20158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20159 Delete.
20160 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20162 version of math_ldbl.h.
20163
650ef4bd
AM
201642013-10-04 Alan Modra <amodra@gmail.com>
20165
20166 [BZ #15734], [BZ #15735]
20167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20168 all uses of ieee875 long double macros and unions. Simplify test
20169 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20170 ldbl_extract_mantissa value for ix,iy exponents. Properly
20171 normalize after ldbl_extract_mantissa, and don't add hidden bit
20172 already handled. Don't treat low word of ieee854 mantissa like
20173 low word of IBM long double and mask off bit when testing for
20174 zero.
20175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20176 all uses of ieee875 long double macros and unions. Simplify tests
20177 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20178 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20179 two1022, instead use their values. Recognise that tests for large
20180 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20182 Rewrite all uses of ieee875 long double macros and unions. Simplify
20183 test for 0.0L and nan. Correct negation.
20184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20185 ieee875 long double macros and unions. Correct output for large
20186 magnitude x. Correct absolute value calculation.
20187 (__erfcl): Likewise.
20188 * math/libm-test.inc: Add tests for errors discovered in IBM long
20189 double versions of fmodl, remainderl, erfl and erfcl.
20190
765714ca
AM
201912013-10-04 Alan Modra <amodra@gmail.com>
20192
20193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20194 all uses of ieee854 long double macros and unions. Simplify tests
20195 for long doubles that are fully specified by the high double.
20196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20197 Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20199 Remove dead code too.
20200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20201 (__ieee754_ynl): Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20205 Remove dead code too.
20206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20210 Simplify.
20211 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20212 Simplify.
20213 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20216 Comment on variable precision.
20217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20219 Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20224 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20225
4ebd120c
AM
202262013-10-04 Alan Modra <amodra@gmail.com>
20227
20228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20230 all uses of ieee854 long double macros and unions.
20231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20237 Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20244 Simplify sign and nan test too.
20245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20249 Likewise.
20250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20252 Likewise.
20253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20254 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20255 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20257 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20259
1b6adf88
AM
202602013-10-04 Alan Modra <amodra@gmail.com>
20261
20262 * stdio-common/printf_size.c (__printf_size): Don't use
20263 union ieee854_long_double in fpnum union.
20264 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20265 signbit macro to retrieve sign from long double.
20266 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20267 retrieve sign from long double.
20268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20269 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20270 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20271 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20272 * math/test-misc.c (main): Don't use union ieee854_long_double.
20273
4cf69995
AM
202742013-10-04 Alan Modra <amodra@gmail.com>
20275
20276 [BZ #15680]
20277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20279 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20280 calculation. Remove unnecessary test for denormal exponent.
20281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20282 Correct handling of denormals. Avoid undefined shift behaviour.
20283 Correct normalisation of low mantissa when low double is denormal.
20284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20285 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20286 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20287 Correct normalisation of low mantissa. Test for overflow of high
20288 mantissa and normalise.
20289 (ldbl_nearbyint): Use more readable constant for two52.
20290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20291 (__mpn_construct_long_double): Fix test for overflow of high
20292 mantissa and correct normalisation. Avoid undefined shift.
20293
9605ca6c
AM
202942013-10-04 Alan Modra <amodra@gmail.com>
20295
20296 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20297 (union ibm_extended_long_double): Define as an array of ieee754_double.
20298 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20300 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20305 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20307 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20309
975569d0
JM
203102013-10-03 Joseph Myers <joseph@codesourcery.com>
20311
d3d23756
JM
20312 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20313 page size instead of calling getpagesize.
20314
975569d0
JM
20315 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20316 (LOCFILE_ALIGN_MASK): Likewise.
20317 (LOCFILE_ALIGN_UP): Likewise.
20318 (LOCFILE_ALIGNED_P): Likewise.
20319 * locale/programs/ld-collate.c (collate_output): Use the new
20320 macros instead of __alignof__ (int32_t).
20321 * locale/weight.h (findidx): Likewise.
20322
b1fe1f2b
OB
203232013-10-03 Ondřej Bílka <neleai@seznam.cz>
20324
20325 [BZ #431]
20326 * manual/string.texi: Fix strncat and wcsncat.
20327
5f855e35
BM
203282013-10-03 Brooks Moses <bmoses@google.com>
20329
20330 [BZ #15915]
20331 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20332 * Makerules: ...here, and adjust associated comments.
20333
3cef6009
WN
203342013-10-02 Will Newton <will.newton@linaro.org>
20335
20336 * malloc/Makefile: Add tst-pvalloc.
20337 * malloc/tst-pvalloc.c: New file.
20338
7815420b
WN
203392013-10-02 Will Newton <will.newton@linaro.org>
20340
20341 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20342 improve test coverage.
20343
4868b204
WN
203442013-10-02 Will Newton <will.newton@linaro.org>
20345
20346 * malloc/Makefile: Add tst-posix_memalign.
20347 * malloc/tst-posix_memalign.c: New file.
20348
29c793b3
EB
203492013-10-01 Eric Blake <eblake@redhat.com>
20350
20351 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20352 Use __THROWNL rather than __THROW on static functions.
20353
fd967522
PM
203542013-09-30 Petr Machata <pmachata@redhat.com>
20355
20356 * elf/elf.h (R_AARCH64_ABS16): New macro.
20357 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20358 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20359 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20360 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20361 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20362 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20363 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20364 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20365 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20366 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20367 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20368 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20369 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20370 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20371 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20372 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20373 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20374 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20375 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20376 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20377 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20378 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20379 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20380 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20381 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20382 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20383 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20384 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20385 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20386 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20387 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20389 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20391 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20392 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20394 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20396 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20398 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20400 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20402 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20404 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20406 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20407 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20408 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20409 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20410 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20411 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20412 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20413 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20414 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20415 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20416 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20417 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20419 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20421 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20423 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20425 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20427 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20428 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20429 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20430 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20431 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20432 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20433 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20434 (R_AARCH64_TLSDESC_LDR): Likewise.
20435 (R_AARCH64_TLSDESC_ADD): Likewise.
20436 (R_AARCH64_TLSDESC_CALL): Likewise.
20437
b2179107
AS
204382013-09-30 Andreas Schwab <schwab@suse.de>
20439
20440 [BZ #15048]
20441 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20442 the nss database lookup.
20443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20445
47f28d0a
MF
204462013-09-28 Mike Frysinger <vapier@gentoo.org>
20447
20448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20449
204502013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20451
20452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20453 ${Bash-specific parameter/pattern/string} parameter expansion.
20454 * sysdeps/unix/make-syscalls.sh: Likewise.
20455
f4518a17
KK
204562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20457
20458 * sysdeps/sh/stackguard-macros.h: New file.
20459
dc1a95c7
OB
204602013-09-26 Ondřej Bílka <neleai@seznam.cz>
20461
20462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20464 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20467 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20468
5ebbff8f
AZ
204692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20470
20471 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20472 Fix thread ID register.
20473
4fd2cf9f
JM
204742013-09-25 Joseph Myers <joseph@codesourcery.com>
20475
20476 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20477 [POSIX || UNIX98]: Require rather than permitting all symbols from
20478 <time.h>.
20479 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20480 element of struct sched_param.
20481 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20482 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20483 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20484 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20485 constant.
20486
12c22bc4
OL
204872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20488
20489 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20490 argument calculation.
20491
a03d8ea7
JM
204922013-09-24 Joseph Myers <joseph@codesourcery.com>
20493
20494 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20495 Expect macro.
20496 [POSIX] (pthread_attr_t): Do not require type.
20497 [POSIX] (pthread_cond_t): Likewise.
20498 [POSIX] (pthread_condattr_t): Likewise.
20499 [POSIX] (pthread_key_t): Likewise.
20500 [POSIX] (pthread_mutex_t): Likewise.
20501 [POSIX] (pthread_mutexattr_t): Likewise.
20502 [POSIX] (pthread_once_t): Likewise.
20503 [POSIX] (pthread_t): Likewise.
20504 [POSIX-based standards] (pthread_atfork): Expect function.
20505
6055173a
JM
205062013-09-24 Joseph Myers <joseph@codesourcery.com>
20507 Richard Sandiford <richard@codesourcery.com>
20508
20509 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20510 (swap_endianness_p): New extern variable.
20511 (set_big_endian): New inline function.
20512 (maybe_swap_uint32): Likewise.
20513 (maybe_swap_uint32_array): Likewise.
20514 (maybe_swap_uint32_obstack): Likewise.
20515 * locale/programs/locfile.c: Include <stdbool.h>.
20516 (swap_endianness_p): New variable.
20517 (add_locale_uint32): Call maybe_swap_uint32.
20518 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20519 (write_locale_data): Call maybe_swap_uint32_array.
20520 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20521 maybe_swap_uint32.
20522 (obstack_int32_grow_fast): Likewise.
20523 (output_weightwc): Call maybe_swap_uint32_obstack.
20524 (collate_output): Likewise.
20525 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20526 (OPT_LITTLE_ENDIAN): Likewise.
20527 (options): Add --little-endian and --big-endian options.
20528 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20529 * locale/programs/locarchive.c: Include "locfile.h".
20530 (GET): New macro.
20531 (SET): Likewise.
20532 (INC): Likewise.
20533 (create_archive): Use the new macros to access fields of
20534 structures directly mapped from or written to locale archives.
20535 (oldlocrecentcmp): Likewise.
20536 (enlarge_archive): Likewise.
20537 (insert_name): Likewise.
20538 (add_alias): Likewise.
20539 (add_locale): Likewise.
20540 (delete_locales_from_archive): Likewise.
20541 (show_archive_content): Likewise.
20542 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20543 locale data.
20544
39bf0bb4
RM
205452013-09-24 Roland McGrath <roland@hack.frob.com>
20546
20547 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20548 http://www.gnu.org/doc/freemanuals.texi.
20549 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20550
f02eed10
WN
205512013-09-24 Will Newton <will.newton@linaro.org>
20552
20553 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20554 macro.
20555
a3a6c312
JM
205562013-09-23 Joseph Myers <joseph@codesourcery.com>
20557
20558 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20559 unsigned char.
20560
107375ac
MR
205612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20562
20563 * manual/threads.texi (POSIX Threads): Fix a typo.
20564
141f3a77
SP
205652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20566
303e567a
SP
20567 [BZ #14547]
20568 * string/tst-strcoll-overflow.c: New test case.
20569 * string/Makefile (xtests): Add tst-strcoll-overflow.
20570 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20571 cache if string sizes may cause integer overflow.
20572
141f3a77
SP
20573 [BZ #14547]
20574 * string/strcoll_l.c (coll_seq): New members rule, idx,
20575 save_idx and back_us.
20576 (get_next_seq_nocache): New function.
20577 (do_compare_nocache): New function.
20578 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20579 when malloc fails.
20580
c61b4d41
CD
205812013-09-23 Carlos O'Donell <carlos@redhat.com>
20582
0b1f8e35
CD
20583 [BZ #15754]
20584 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20585 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20586 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20587
c61b4d41
CD
20588 [BZ #15754]
20589 * elf/Makefile (tests): Add tst-ptrguard1.
20590 (tests-static): Add tst-ptrguard1-static.
20591 (tst-ptrguard1-ARGS): Define.
20592 (tst-ptrguard1-static-ARGS): Define.
20593 * elf/tst-ptrguard1.c: New file.
20594 * elf/tst-ptrguard1-static.c: New file.
20595 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20596 * sysdeps/i386/stackguard-macros.h: Likewise.
20597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20603
206042013-09-23 Hector Marco <hecmargi@upv.es>
20605 Ismael Ripoll <iripoll@disca.upv.es>
20606 Carlos O'Donell <carlos@redhat.com>
20607
20608 [BZ #15754]
20609 * sysdeps/generic/stackguard-macros.h: Define
20610 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20611 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20612 Define __pointer_chk_guard_local.
20613 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20614 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20615
f5f4e7b4
VV
206162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20617
20618 [BZ #15859]
20619 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20620
5bb43a43
AS
206212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20622
20623 * include/string.h (__ffs): Declare as hidden.
20624 * string/ffs.c (__ffs): Define as hidden.
20625 * sysdeps/i386/ffs.c (__ffs): Likewise.
20626 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20627 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20628 * sysdeps/s390/ffs.c (__ffs): Likewise.
20629 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20630
3ea5be54
AO
206312013-09-20 Alexandre Oliva <aoliva@redhat.com>
20632
ffb89e53
AO
20633 * NEWS: Mention malloc probes.
20634
322dea08
AO
20635 * malloc/arena.c (new_heap): New memory_heap_new probe.
20636 (grow_heap): New memory_heap_more probe.
20637 (shrink_heap): New memory_heap_less probe.
20638 (heap_trim): New memory_heap_free probe.
20639 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20640 (systrim): New memory_sbrk_less probe.
20641 * manual/probes.texi: Document them.
20642
655673f3
AO
20643 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20644 * manual/probes.texi: Document it.
20645
35fed6f1
AO
20646 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20647 (__libc_realloc): Add memory_realloc_retry probe.
20648 (__libc_memalign): Add memory_memalign_retry probe.
20649 (__libc_valloc): Add memory_valloc_retry probe.
20650 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20651 (__libc_calloc): Add memory_calloc_retry probe.
20652 * manual/probes.texi: Document them.
20653
6999d38c
AO
20654 * malloc/arena.c (get_free_list): Add probe
20655 memory_arena_reuse_free_list.
20656 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20657 and memory_arena_reuse.
20658 (arena_get2) [!PER_THREAD]: Likewise.
20659 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20660 memory_arena_reuse_realloc.
20661 * manual/probes.texi: Document them.
20662
0653427f
AO
20663 * malloc/malloc.c (__libc_free): Add
20664 memory_mallopt_free_dyn_thresholds probe.
20665 (__libc_mallopt): Add multiple memory_mallopt probes.
20666 * manual/probes.texi: Document them.
20667
3ea5be54
AO
20668 * malloc/malloc.c: Include stap-probe.h.
20669 (__libc_mallopt): Add memory_mallopt probe.
20670 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20671 * manual/probes.texi: New.
20672 * manual/Makefile (chapters): Add probes.
20673 * manual/threads.texi: Set next node.
20674
e35696c3 206752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20676
e35696c3
CL
20677 [BZ #15963, #13985]
20678 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20679 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20680 Add `Chinese' to `nan' entry name.
20681
4aafb73c
SP
206822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20683
20684 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20685 (POLYNOMIAL): Likewise.
20686 (TAYLOR_SINCOS): Likewise.
20687 (TAYLOR_SLOW): Likewise.
20688 (__sin): Use TAYLOR_SINCOS.
20689 (__cos): Likewise.
20690 (slow): Use TAYLOR_SLOW.
20691 (sloww): Likewise.
20692 (bsloww): Likewise.
20693 (csloww): Likewise.
20694
d84f25c7
LD
206952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20696
20697 * stdlib/strtod_l.c: Fix buffer overrun.
20698
5eea0404
SP
206992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20700
7849ff93
SP
20701 * benchtests/Makefile (bench): Add sincos.
20702 * benchtests/bench-sincos.c: New file.
20703
cfa3c886
SP
20704 * math/libm-test.inc (cos_test_data): New test inputs.
20705 (sin_test_data): Likewise.
20706
b348e1e3
SP
20707 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20708 macro.
20709 (__sin): Use it.
20710 (__cos): Likewise.
20711 (slow1): Likewise.
20712 (slow2): Likewise.
20713 (sloww1): Likewise.
20714 (sloww2): Likewise.
20715 (bsloww1): Likewise.
20716 (bsloww2): Likewise.
20717 (cslow2): Likewise.
20718 (csloww1): Likewise.
20719 (csloww2): Likewise.
20720
6cce25f8
SP
20721 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20722 function.
20723 (__sin): Use it.
20724 (__cos): Likewise.
20725
5eea0404
SP
20726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20727 gotos.
20728 (__cos): Likewise.
20729
9c21573c
MR
207302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20731
20732 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20733 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20734 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20735 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20736 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20737 * elf/cache.c (print_entry): Handle the new cache flags.
20738
24d22e65
JM
207392013-09-18 Joseph Myers <joseph@codesourcery.com>
20740 Aldy Hernandez <aldyh@redhat.com>
20741
20742 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20743 Change condition to [_SOFT_FLOAT].
20744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20756 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20759 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20760 declaration.
20761
d13ef066
JM
207622013-09-18 Joseph Myers <joseph@codesourcery.com>
20763
2e071de0
JM
20764 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20765 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20766 (__longjmp): Use LOAD_GP to load saved GPRs.
20767 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20768 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20769 (__sigsetjmp): Use SAVE_GP to save GPRs.
20770
d13ef066
JM
20771 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20772 Do not append -msoft-float.
20773 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20774
97a0650b
SP
207752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20776
20777 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20778
11ca09e9
JM
207792013-09-17 Joseph Myers <joseph@codesourcery.com>
20780
20781 [BZ #15966]
20782 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20783 (_FPU_GETCW): Use initial "__" on variable and field names but not
20784 on macro parameter name.
20785 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20786 parentheses around reference to macro parameter.
20787
08ffcf34
RS
207882013-09-13 Richard Sandiford <richard@codesourcery.com>
20789
20790 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20791 prototype.
20792 (ctype_startup): Use uint32_t in cast and sizeof for
20793 ctype->charnames.
20794
ae7080d3
JL
207952013-09-11 Jia Liu <proljc@gmail.com>
20796
20797 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20798 __daddr_t_defined.
20799 [__FreeBSD__]: Likewise.
20800
5905e7b3
OB
208012013-09-11 Ondřej Bílka <neleai@seznam.cz>
20802
20803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20804 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20805 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20806 (strchr): Remove __strchr_sse42 ifunc selection.
20807 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20808 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20809
b987c776
WN
208102013-09-11 Will Newton <will.newton@linaro.org>
20811
20812 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20813 parameter to RES. Remove hardcoded 1000 value.
20814 * benchtests/bench-skeleton.c (main): Pass RES parameter
20815 to TIMING_INIT and multiply result by 1000.
20816
ddf985af
AZ
208172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20818
20819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20820
ffdd3181
AS
208212013-09-11 Andreas Schwab <schwab@suse.de>
20822
20823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20824 if not defined.
20825 (O_TMPFILE) [__USE_GNU]: Define.
20826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20827 Define.
20828
b73ed247
WN
208292013-09-11 Will Newton <will.newton@linaro.org>
20830
20831 [BZ #15857]
20832 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20833 does not overflow.
20834
55e17aad
WN
208352013-09-11 Will Newton <will.newton@linaro.org>
20836
20837 [BZ #15856]
20838 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20839 does not overflow.
20840
1159a193
WN
208412013-09-11 Will Newton <will.newton@linaro.org>
20842
20843 [BZ #15855]
20844 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20845 does not overflow.
20846
5905e7b3 208472013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
20848
20849 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20854
cdfc721b
AM
208552013-09-10 Allan McRae <allan@archlinux.org>
20856
aa04af00
AM
20857 [BZ #15748]
20858 * manual/arith.texi (Parsing of Floats): Clarify
20859 cross-reference.
20860
cdfc721b
AM
20861 [BZ #15849]
20862 * manual/install.texi (Running make install): Mention
20863 --enable-pt-chown.
20864 * INSTALL: Regenerated.
20865
95e7cf29
MR
208662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20867
20868 * csu/init-first.c (_init): Remove the !SHARED condition around
20869 FPU control word initialization.
20870 * elf/dl-support.c (_dl_fpu_control): New variable.
20871 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20872 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20873 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20874 * math/test-fpucw-static.c: New file.
20875 * math/test-fpucw-ieee.c: New file.
20876 * math/test-fpucw-ieee-static.c: New file.
20877 * math/Makefile (tests): Add `test-fpucw-ieee' and
20878 `$(tests-static)'.
20879 (tests-static): New variable.
20880 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20881 dependency to...
20882 [($(build-shared),yes)]
20883 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20884 ... this.
20885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20886 New dependency.
20887
83e43bf0
AM
208882013-09-09 Allan McRae <allan@archlinux.org>
20889
a9f5ce09
AM
20890 [BZ #15939]
20891 * manual/string.texi (Collation Functions): Fix typo in
20892 strcoll example.
20893 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20894
34829bc2
AM
20895 [BZ #15893]
20896 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20897
3932737d
AM
20898 [BZ #15892]
20899 * libio/memstream.c (open_memstream): Fix memory leak.
20900 * libio/wmemstream.c (open_wmemstream): Likewise.
20901
83e43bf0
AM
20902 [BZ #15895]
20903 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20904
0c66b8e9
WN
209052013-09-09 Will Newton <will.newton@linaro.org>
20906
20907 * malloc/Makefile: Add tst-realloc to tests.
20908 * malloc/tst-realloc.c: New file.
20909
f6b00fd1
AM
209102013-09-09 Allan McRae <allan@archlinux.org>
20911
20912 [BZ #15844]
20913 * COPYING: Update from GNU website to fix FSF address.
20914 * COPYING.LIB: Likewise.
20915
eec55e16
DM
209162013-09-06 David S. Miller <davem@davemloft.net>
20917
20918 * po/zh_TW.po: Update Chinese (traditional) translation from
20919 translation project.
20920
1ecbb381
RS
209212013-09-06 Richard Sandiford <richard@codesourcery.com>
20922 Joseph Myers <joseph@codesourcery.com>
20923
20924 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20925 "localeinfo.h".
20926 (obstack_chunk_alloc): New macro.
20927 (obstack_chunk_free): Likewise.
20928 (record_offset): New function.
20929 (init_locale_data): Likewise.
20930 (align_locale_data): Likewise.
20931 (add_locale_empty): Likewise.
20932 (add_locale_raw_data): Likewise.
20933 (add_locale_raw_obstack): Likewise.
20934 (add_locale_string): Likewise.
20935 (add_locale_wstring): Likewise.
20936 (add_locale_uint32): Likewise.
20937 (add_locale_uint32_array): Likewise.
20938 (add_locale_char): Likewise.
20939 (start_locale_structure): Likewise.
20940 (end_locale_structure): Likewise.
20941 (start_locale_prelude): Likewise.
20942 (end_locale_prelude): Likewise.
20943 (write_locale_data): Take locale_file structure rather than an
20944 iovec.
20945 * locale/programs/locfile.h: Include "obstack.h".
20946 (struct locale_file): Change to store locale file contents instead
20947 of header.
20948 (init_locale_data): New prototype.
20949 (align_locale_data): Likewise.
20950 (add_locale_empty): Likewise.
20951 (add_locale_raw_data): Likewise.
20952 (add_locale_raw_obstack): Likewise.
20953 (add_locale_string): Likewise.
20954 (add_locale_wstring): Likewise.
20955 (add_locale_uint32): Likewise.
20956 (add_locale_uint32_array): Likewise.
20957 (add_locale_char): Likewise.
20958 (start_locale_structure): Likewise.
20959 (end_locale_structure): Likewise.
20960 (start_locale_prelude): Likewise.
20961 (end_locale_prelude): Likewise.
20962 (write_locale_data): Update prototype.
20963 * locale/programs/3level.h (struct TABLE): Remove result field.
20964 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20965 Use new locale_file interface.
20966 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20967 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20968 * locale/programs/ld-address.c (address_output): Use new
20969 locale_file interface.
20970 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20971 NO_ADD_LOCALE.
20972 (collate_finish): Don't call collseq_table_finalize.
20973 (collate_output): Use new locale_file interface.
20974 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20975 in file.
20976 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20977 (TABLE): Move defines earlier in file.
20978 (ELEMENT): Likewise.
20979 (DEFAULT): Likewise.
20980 (wctrans_table_add): Move macro and inline function earlier in
20981 file.
20982 (struct wctype_table): Move type earlier in file.
20983 (add_locale_wctype_table): New static prototype.
20984 (struct locale_ctype_t): Use logical types instead of struct iovec
20985 pointers for members.
20986 (ctype_output): Use new locale_file interface.
20987 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20988 new locale_file interface.
20989 (allocate_arrays): Update for use of new locale_file interface.
20990 * locale/programs/ld-identification.c (identification_output): Use
20991 new locale_file interface.
20992 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20993 * locale/programs/ld-messages.c (messages_output): Likewise.
20994 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20995 * locale/programs/ld-name.c (name_output): Likewise.
20996 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20997 * locale/programs/ld-paper.c (paper_output): Likewise.
20998 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20999 * locale/programs/ld-time.c (time_output): Likewise.
21000
e029e2e5
AZ
210012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21002
21003 * benchtests/Makefile: Add memrchr benchmark.
21004 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21005 benchmark as memrchr.
21006 * benchtests/bench-memrchr-ifunc.c: New file.
21007 * benchtests/bench-memrchr.c: New file.
21008
bbf6e8e4
WN
210092013-09-06 Will Newton <will.newton@linaro.org>
21010
21011 * benchtests/Makefile (string-bench): Add memcpy.
21012
6c82a2f8
CD
210132013-09-05 Carlos O'Donell <carlos@redhat.com>
21014 Cong Wang <amwang@redhat.com>
21015
e732c5f0 21016 [BZ #15850]
6c82a2f8
CD
21017 * sysdeps/unix/sysv/linux/bits/in.h
21018 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21019 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21020 before __USE_KERNEL_IPV6_DEFS uses.
21021 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21022 IPPROTO_BEETPH.
21023 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21024 sockaddr_in6, or ipv6_mreq.
21025
5430fc65
AZ
210262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21027
21028 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21029 memory access for final bytes in some large inputs.
21030 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21031
4660856c
AZ
210322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21033
21034 * string/test-memrchr.c: New file.
21035 * string/test-memrchr-ifunc.c: New file.
21036 * string/Makefile: Add new memrchr testcase.
21037
bb8ea713
MF
210382013-09-05 Mike Frysinger <vapier@gentoo.org>
21039
21040 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21041 fanotify_init returns EPERM.
21042
b92a20b5
JM
210432013-09-04 Joseph Myers <joseph@codesourcery.com>
21044
21045 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21046 errors.
21047 (top level): Treat second token from macro or constant entries for
21048 allowed headers as allowed.
21049 * include/complex.h: Condition internal declarations on
21050 [!_ISOMAC].
21051 * include/fenv.h: Condition include of <stdbool.h> and internal
21052 declarations on [!_ISOMAC].
7447ccd9
CL
21053
210542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21055
3e181dda 21056 [BZ #15923]
7447ccd9
CL
21057 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21058
3f2e46a4
JM
210592013-09-04 Joseph Myers <joseph@codesourcery.com>
21060
21061 * configure.in (--enable-versioning): Remove configure option.
21062 (libc_cv_asm_symver_directive): Remove configure test.
21063 (libc_cv_ld_version_script_option): Likewise.
21064 (VERSIONING): Remove variable and AC_SUBST.
21065 (DO_VERSIONING): Remove AC_DEFINE.
21066 * configure: Regenerated.
21067 * config.h.in (DO_VERSIONING): Remove macro.
21068 * Makerules [$(versioning) = yes]: Change conditionals to
21069 [$(build-shared) = yes].
21070 * config.make.in (versioning): Remove variable.
21071 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21072 [$(build-shared) = yes].
21073 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21074 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21075 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21076 [$(build-shared) = yes].
21077 * extra-lib.mk [$(versioning) = yes]: Likewise.
21078 * hurd/Makefile [$(versioning) = yes]: Likewise.
21079 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21080 [SHARED].
21081 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21082 [SHARED].
21083 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21084 [SHARED && !NO_HIDDEN].
21085 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21086 [SHARED].
21087 [SHARED && DO_VERSIONING]: Likewise..
21088 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21089 [$(build-shared) = yes].
21090 * manual/install.texi (--disable-versioning): Remove
21091 documentation.
21092 * INSTALL: Regenerated.
21093 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21094 to [SHARED].
21095 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21096 [$(build-shared) = yes].
21097 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21098 * sysdeps/i386/i686/multiarch/strstr-c.c
21099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21100 [SHARED && !NO_HIDDEN].
21101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21102 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21103 * sysdeps/powerpc/powerpc32/dl-machine.c
21104 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21105 * sysdeps/powerpc/powerpc32/sysdep.h
21106 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21107 to [SHARED && PIC && !NO_HIDDEN].
21108 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21109 conditional to [SHARED].
21110
44558701
WN
211112013-09-04 Will Newton <will.newton@linaro.org>
21112
21113 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21114 * benchtests/bench-string.h: Include bench-timing.h instead
21115 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21116 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21117 call to HP_TIMING_DIFF_INIT.
21118 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21119 instead of hp-timing.h macros.
21120 * benchtests/bench-memchr.c: Likewise.
21121 * benchtests/bench-memcmp.c: Likewise.
21122 * benchtests/bench-memcpy.c: Likewise.
21123 * benchtests/bench-memmem.c: Likewise.
21124 * benchtests/bench-memmove.c: Likewise.
21125 * benchtests/bench-memset.c: Likewise.
21126 * benchtests/bench-rawmemchr.c: Likewise.
21127 * benchtests/bench-strcasecmp.c: Likewise.
21128 * benchtests/bench-strcasestr.c: Likewise.
21129 * benchtests/bench-strcat.c: Likewise.
21130 * benchtests/bench-strchr.c: Likewise.
21131 * benchtests/bench-strcmp.c: Likewise.
21132 * benchtests/bench-strcpy.c: Likewise.
21133 * benchtests/bench-strcpy_chk.c: Likewise.
21134 * benchtests/bench-strlen.c: Likewise.
21135 * benchtests/bench-strncasecmp.c: Likewise.
21136 * benchtests/bench-strncat.c: Likewise.
21137 * benchtests/bench-strncmp.c: Likewise.
21138 * benchtests/bench-strncpy.c: Likewise.
21139 * benchtests/bench-strnlen.c: Likewise.
21140 * benchtests/bench-strpbrk.c: Likewise.
21141 * benchtests/bench-strrchr.c: Likewise.
21142 * benchtests/bench-strspn.c: Likewise.
21143 * benchtests/bench-strstr.c: Likewise.
21144
cae16d66
WN
211452013-09-04 Will Newton <will.newton@linaro.org>
21146
21147 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21148
ffa3cd7f
JM
211492013-09-03 Joseph Myers <joseph@codesourcery.com>
21150
21151 [BZ #15427]
21152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21153 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21154 * math/libm-test.inc (lgamma_test_data): Add more tests.
21155 * sysdeps/i386/fpu/libm-test-ulps: Update.
21156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21157
8f02859f
OB
211582013-09-03 Ondřej Bílka <neleai@seznam.cz>
21159
21160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21162 Add ifunc.
21163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21164 Add strcmp-sse2-unaligned
21165 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21166
18d43716
MF
211672013-09-02 Mike Frysinger <vapier@gentoo.org>
21168
21169 * Versions.def (libc): Add GLIBC_2.19.
21170
ac444012
MF
211712013-09-02 Mike Frysinger <vapier@gentoo.org>
21172
21173 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21174 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21175
b7835e32
JM
211762013-09-02 Joseph Myers <joseph@codesourcery.com>
21177
21178 [BZ #14155]
21179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21180 intermediate calculations in recurrence.
21181 (__ieee754_ynf): Likewise.
21182 * math/libm-test.inc (jn_test_data): Do not allow spurious
21183 underflow exception. Add more tests.
21184 (yn_test_data): Add more tests.
21185 * sysdeps/i386/fpu/libm-test-ulps: Update.
21186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21187
8220f4f0
OB
211882013-09-02 Ondřej Bílka <neleai@seznam.cz>
21189
21190 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21191
f24a6d08
OB
211922013-08-30 Ondřej Bílka <neleai@seznam.cz>
21193
21194 * csu/init-first.c: Fix then/than typos.
21195 * locale/programs/ld-collate.c: Likewise.
21196 * locale/programs/linereader.h: Likewise.
21197 * manual/charset.texi: Likewise.
21198 * manual/filesys.texi: Likewise.
21199 * manual/stdio.texi: Likewise.
21200 * manual/string.texi: Likewise.
21201 * stdlib/fmtmsg.c: Likewise.
21202 * sysdeps/i386/stpncpy.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21204 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21206 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21207
382466e0
OB
212082013-08-30 Ondřej Bílka <neleai@seznam.cz>
21209
21210 * elf/dl-open.c: Fix typos.
21211 * iconvdata/gbbig5.c: Likewise.
21212 * iconvdata/iso-2022-jp.c: Likewise.
21213 * iconv/gconv_int.h: Likewise.
21214 * iconv/loop.c: Likewise.
21215 * nis/rpcsvc/nis.h: Likewise.
21216 * resolv/ns_name.c: Likewise.
21217 * stdio-common/vfscanf.c: Likewise.
21218 * streams/stropts.h: Likewise.
21219 * sunrpc/rpc_thread.c: Likewise.
21220 * sysdeps/i386/strpbrk.S: Likewise.
21221 * sysdeps/ieee754/k_standard.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21224 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21225 * sysdeps/mach/hurd/profil.c: Likewise.
21226 * sysdeps/s390/dl-procinfo.h: Likewise.
21227 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21229 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21230 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21232
0186c6e9
OB
212332013-08-30 Ondřej Bílka <neleai@seznam.cz>
21234
21235 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21237
d4e16af1
OB
212382013-08-29 Ondřej Bílka <neleai@seznam.cz>
21239
21240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21241 aix specific files.
21242 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21245 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21246 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21247 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21248 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21249 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21250
88335980
TS
212512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21252 Roland McGrath <roland@hack.frob.com>
21253
21254 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21255 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21256
ed479b02
ST
212572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21258
21259 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21260 __executable_start symbol instead of _start.
21261
f1cc4c86
TS
212622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21263
d821f07c
TS
21264 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21265 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21266 Move macros to...
21267 * sysdeps/gnu/ldsodefs.h: ... this new file.
21268
c54290cf
TS
21269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21270 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21271 instead of ELFOSABI_LINUX.
21272
0007fc9b 21273 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21274 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21275 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21276 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21277 Likewise.
21278 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21279 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21280 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21281 Likewise.
21282 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21283 (ibm_extended_long_double): Add ieee_nan member.
21284 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21285 (do_test): New function.
21286
f1cc4c86
TS
21287 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21288 TEST_TRUNC.
21289 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21290 functions, renamed from truncdfsf_test, trunctfsf_test,
21291 trunctfdf_test.
21292 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21293 functions.
21294 (do_test): Run all these.
21295
6f65e668
OB
212962013-08-29 Ondřej Bílka <neleai@seznam.cz>
21297
21298 * argp/argp-help.c: Fix typos.
21299 * argp/argp-parse.c: Likewise.
21300 * debug/backtracesyms.c: Likewise.
21301 * elf/elf.h: Likewise.
21302 * malloc/malloc.c: Likewise.
21303 * nis/nis_print.c: Likewise.
21304 * resolv/res_comp.c: Likewise.
21305 * stdlib/stdlib.h: Likewise.
21306 * sunrpc/clnt_tcp.c: Likewise.
21307 * sunrpc/clnt_udp.c: Likewise.
21308 * sunrpc/clnt_unix.c: Likewise.
21309 * sysdeps/unix/bsd/ptsname.c: Likewise.
21310 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21313 Likewise.
21314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21315 Likewise.
21316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21317 Likewise.
6f65e668
OB
21318 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21319
3a309239
SP
213202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21321
21322 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21324
3b813b29
MF
213252013-08-27 Mike Frysinger <vapier@gentoo.org>
21326
21327 [BZ #15897]
21328 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21329 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21330 ($(objpfx)bug-dl-leaf): New rule.
21331 ($(objpfx)bug-dl-leaf.so): Likewise.
21332 ($(objpfx)bug-dl-leaf.out): Likewise.
21333 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21334 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21335 * dlfcn/bug-dl-leaf.c: New test.
21336 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21337 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21338 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21339 (dlclose): Likewise.
21340 (dlmopen): Likewise.
21341
8cc3269f
RM
213422013-08-27 Roland McGrath <roland@hack.frob.com>
21343
7f9d0034
RM
21344 * include/netdb.h [!_ISOMAC]:
21345 Don't include <tls.h>.
21346 (h_errno, __libc_h_errno): Move declaration and macros out of
21347 [_LIBC_REENTRANT].
21348
fb431262
RM
21349 * include/resolv.h [_RESOLV_H_]:
21350 Don't include <tls.h>.
21351 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21352 * resolv/res_libc.c: Don't include <tls.h>.
21353 (_res): Use __attribute__ ((nocommon)) in place of
21354 __attribute__ ((section (".bss"))).
21355
bd81123a
RM
21356 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21357 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21358
c4e42566
RM
21359 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21360
f890a59b
RM
21361 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21362 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21363
21364 * resolv/res_mkquery.c: Include <sys/time.h>.
21365
5d1f0a09
RM
21366 * inet/ifreq.c: Moved to ...
21367 * sysdeps/unix/ifreq.c: ... here.
21368 * inet/ifreq.c: New file, true stub version.
21369
6fcf28b3
RM
21370 * socket/sa_len.c: New file.
21371 * socket/Makefile (aux): Add it.
21372 * sysdeps/unix/sysv/linux/Makefile
21373 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21374 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21375 and #include <socket/sa_len.c>.
21376 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21377 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21378
e041fb8b
RM
21379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21380 * bits/socket.h: ... here.
21381
8cc3269f
RM
21382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21383 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21384 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21385
5d228a43
AS
213862013-08-27 Andreas Schwab <schwab@suse.de>
21387
45b8accc
AS
21388 [BZ #15736]
21389 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21390 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21391 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21392 * string/test-strcasecmp.c (test_main): Run tests in several
21393 locales.
21394 * string/test-strncasecmp.c (test_main): Likewise.
21395
5d228a43
AS
21396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21397 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21398 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21400 (__strncasecmp_ssse3) [PIC]: Likewise.
21401
59d112a4
RM
214022013-08-26 Roland McGrath <roland@hack.frob.com>
21403
53234cc3
RM
21404 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21405
59d112a4
RM
21406 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21407 instead of explicitly declaring xdecrypt.
21408 * nis/nss_nis/nis-publickey.c: Likewise.
21409
595aba70
SP
214102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21411
21412 [BZ #15890]
21413 * nscd/aicache.c: Include res_hconf.h.
21414 (addhstaiX): Initialize res_hconf.
21415
ffabd393
AS
214162013-08-26 Andreas Schwab <schwab@suse.de>
21417
21418 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21419 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21420
e0a69f5c
SP
214212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21422
21423 * nscd/aicache.c (addhstaiX): Fix indentation.
21424
8c12f01d
MF
214252013-08-25 Mike Frysinger <vapier@gentoo.org>
21426
21427 * configure.ac: Quote $build_pt_chown test.
21428 * configure: Regenerated.
21429
8fe89494
JM
214302013-08-23 Joseph Myers <joseph@codesourcery.com>
21431
21432 [BZ #15532]
21433 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21434 * math/s_cexpf.c (__cexpf): Likewise.
21435 * math/s_cexpl.c (__cexpl): Likewise.
21436 * math/libm-test.inc (cexp_test_data): Correct expected return
21437 value for NaN + i0. Add another test.
21438
75b181d6
DM
214392013-08-22 David S. Miller <davem@davemloft.net>
21440
21441 * po/ca.po: Update Catalan translation from translation project.
936241e4 21442 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21443
acd06bb1
JM
214442013-08-21 Joseph Myers <joseph@codesourcery.com>
21445
21446 [BZ #15797]
21447 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21448 is infinite, not alongside NaN test.
21449 * math/s_fdimf.c (__fdimf): Likewise.
21450 * math/s_fdiml.c (__fdiml): Likewise.
21451 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21452 errno is unchanged.
21453
c0c3f78a
OB
214542013-08-21 Ondřej Bílka <neleai@seznam.cz>
21455
21456 * argp/argp-help.c: Fix typos.
21457 * crypt/speeds.c: Likewise.
21458 * csu/check_fds.c: Likewise.
21459 * elf/dl-load.c: Likewise.
21460 * elf/dl-open.c: Likewise.
21461 * elf/reldep3.c: Likewise.
21462 * elf/reldep.c: Likewise.
21463 * elf/sprof.c: Likewise.
21464 * iconv/iconv_charmap.c: Likewise.
21465 * iconv/skeleton.c: Likewise.
21466 * iconv/strtab.c: Likewise.
21467 * io/lockf64.c: Likewise.
21468 * libio/libioP.h: Likewise.
21469 * resolv/gai_notify.c: Likewise.
21470 * resolv/ns_name.c: Likewise.
21471 * resolv/ns_samedomain.c: Likewise.
21472 * resolv/res_send.c: Likewise.
21473 * stdlib/random.c: Likewise.
21474 * sunrpc/rpc/xdr.h: Likewise.
21475 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21477 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21478 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21483 * sysdeps/mach/hurd/check_fds.c: Likewise.
21484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21488 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21490 * sysdeps/pthread/aio_notify.c: Likewise.
21491 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21492 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21495 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21496
46ed1038
LD
214972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21498
21499 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21500 version if bit_Slow_SSE4_2 is set.
21501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21503
d400dcac
AZ
215042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21505
21506 [BZ #15867]
21507 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21508 trampoline stack frame information.
21509 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21511 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21512 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21513 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21514 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21515 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21516 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21517 sa_flags value.
21518 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21519 interrupting a syscall and set with option SA_SIGINFO.
21520
42c8fdd8
JM
215212013-08-20 Joseph Myers <joseph@codesourcery.com>
21522
c980f2f4
JM
21523 [BZ #15531]
21524 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21525 argument is infinite.
21526 * math/s_cprojf.c (__cprojf): Likewise.
21527 * math/s_cprojl.c (__cprojl): Likewise.
21528 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21529 * math/libm-test.inc (cproj_test_data): Add more tests.
21530
0716c4fc
JM
21531 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21532
42c8fdd8
JM
21533 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21534 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21535 size. Use __ffs to determine corresponding shift.
21536
b31469d0
JM
215372013-08-20 Joseph Myers <joseph@codesourcery.com>
21538 Roland McGrath <roland@hack.frob.com>
21539
21540 * Makefile (INSTALL): Remove trailing blank lines from output of
21541 makeinfo.
21542
4e39af6e
AK
215432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21544
21545 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21546 Align 32 bit compat elf_greg to 8 bytes.
21547
f315524e
AA
215482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21549
21550 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21551
1326ba1a
SP
215522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21553
21554 * string/strcoll_l.c (coll_seq): New structure.
21555 (get_next_seq_cached): New function.
21556 (get_next_seq): New function.
21557 (do_compare): New function.
21558 (STRCOLL): Use GNU style definition. Simplify implementation
21559 by using get_next_seq, get_next_seq_cached and do_compare.
21560
91ce4085
FW
215612013-08-16 Florian Weimer <fweimer@redhat.com>
21562
21563 [BZ #14699]
21564 CVE-2013-4237
21565 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21566 member.
21567 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21568 member.
21569 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21570 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21571 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21572 conditional.
21573 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21574 GETDENTS_64BIT_ALIGNED.
21575 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21576 * manual/filesys.texi (Reading/Closing Directory): Document
21577 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21578 strongly.
21579 * manual/conf.texi (Limits for Files): Add portability note to
21580 NAME_MAX, PATH_MAX.
21581 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21582
ca0a6bc4
AS
215832013-08-13 Andreas Schwab <schwab@suse.de>
21584
21585 [BZ #15749]
21586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21587 of fabs.
21588 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21589 LDBL_MAX_EXP >= 16384]: Add tests for it.
21590
6c1fd795
DM
215912013-08-12 David S. Miller <davem@davemloft.net>
21592
21593 * version.h (RELEASE): Set to "development".
21594 (VERSION): Set to "2.18.90".
21595 * NEWS: Add 2.19 section.
21596
31ad488d
DM
215972013-08-03 David S. Miller <davem@davemloft.net>
21598
21599 * po/ko.po: Update Korean translation from translation project.
21600
db24e684
DM
216012013-08-01 David S. Miller <davem@davemloft.net>
21602
21603 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21604 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21605 Bilka.
21606
f723285b
DM
216072013-07-30 David S. Miller <davem@davemloft.net>
21608
21609 * po/fr.po: Update French translation from translation project.
21610
3cbc52db
DM
216112013-07-28 David S. Miller <davem@davemloft.net>
21612
30bbc0cc
DM
21613 * po/cs.po: Update Czech translation from translation project.
21614
3cbc52db
DM
21615 * po/sv.po: Update Swedish translation from translation project.
21616
d492e6d0
DM
216172013-07-27 David S. Miller <davem@davemloft.net>
21618
f1a7f492
DM
21619 * po/eo.po: Update Esperanto translation from translation project.
21620
90e62a4a
DM
21621 * po/vi.po: Update Vietnamese translation from translation project.
21622
d492e6d0
DM
21623 * po/de.po: Update German translation from translation project.
21624
d4baa62d
DM
216252013-07-26 David S. Miller <davem@davemloft.net>
21626
641aa7b4
DM
21627 * po/bg.po: Update Bulgarian translation from translation project.
21628
d4baa62d
DM
21629 * po/nl.po: Update Dutch translation from translation project.
21630 * po/pl.po: Update Polish translation from translation project.
21631 * po/ru.po: Update Russian translation from translation project.
21632
61a9dcb9
DM
216332013-07-24 David S. Miller <davem@davemloft.net>
21634
21635 * po/libc.pot: Update.
21636
7b1f8b58
AZ
216372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21638
21639 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21640 variable page size.
21641 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21642 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21644
a8fc7a03
AK
216452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21646
21647 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21648
e4608715
CD
216492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21650 Andreas Schwab <schwab@suse.de>
21651 Roland McGrath <roland@hack.frob.com>
21652 Joseph Myers <joseph@codesourcery.com>
21653 Carlos O'Donell <carlos@redhat.com>
21654
21655 [BZ #15755]
21656 * config.h.in: Define HAVE_PT_CHOWN.
21657 * config.make.in (build-pt-chown): New variable.
21658 * configure.in (--enable-pt_chown): New configure option.
21659 * configure: Regenerate.
21660 * login/Makefile: Include Makeconfig. Build pt_chown only if
21661 build-pt-chown is enabled.
21662 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21663 pt_chown to fix pty ownership.
21664 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21665 CLOSE_ALL_FDS.
21666 * manual/install.texi (Configuring and compiling): Mention
21667 --enable-pt_chown. Add @findex for grantpt.
21668 * INSTALL: Regenerate.
21669
da2d62df
DM
216702013-07-20 David S. Miller <davem@davemloft.net>
21671
21672 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21673 difference between 32-bit and 64-bit.
21674
d7e06450
CD
216752013-07-15 Carlos O'Donell <carlos@redhat.com>
21676
21677 [BZ #15711]
21678 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21679 Avoid system header dependency with -ffreestanding.
21680 ($(objpfx)bits/syscall%d): Likewise.
21681
f959cfd7
DM
216822013-07-13 David S. Miller <davem@davemloft.net>
21683
21684 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21685 underflows from atanl/atan2l due to bug 15319.
21686 (casinh_test_data): Likewise.
21687
c61f8513
DM
216882013-07-07 David S. Miller <davem@davemloft.net>
21689
21690 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21691
72c90ed0
JA
216922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21693
21694 * sysdeps/i386/fpu/libm-test-ulps: Update.
21695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21696
52dfbe13
SP
216972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21698
21699 * configure.in (--enable-lock-elision): Fix message text.
21700 * INSTALL: Regenerate.
21701 * configure: Regenerate.
21702
3f169543
AZ
217032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21704
21705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21706
521c6785
AJ
217072013-07-03 Andreas Jaeger <aj@suse.de>
21708
21709 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21710 define.
21711 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21712 (ptrace_peeksiginfo_args): Add.
21713 (__ptrace_peeksiginfo_flags): Add.
21714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21717
d2cc15cb
AM
217182013-07-03 Allan McRae <allan@archlinux.org>
21719
21720 * sysdeps/i386/fpu/libm-test-ulps: Update.
21721
3aaeeca7
DM
217222013-07-02 David S. Miller <davem@davemloft.net>
21723
21724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21725
5314ed1a
MT
217262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21727
21728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21729
67338156
JM
217302013-07-02 Joseph Myers <joseph@codesourcery.com>
21731
21732 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21734
1717da59
AK
217352013-07-02 Andi Kleen <ak@linux.intel.com>
21736
21737 * config.h.in (ENABLE_LOCK_ELISION): Add.
21738 * configure.in (--enable-lock-elision): Add option.
21739 * manual/install.texi: Document --enable lock elision.
21740 * configure: Regenerate
21741 * INSTALL: Regenerate.
21742
1c81621c
L
217432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21746 SSE4.2 strcasecmp for libc.a.
21747 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21748
77f01ab5
JM
217492013-07-02 Joseph Myers <joseph@codesourcery.com>
21750
21751 [BZ #13304]
21752 * soft-fp/op-common.h (_FP_FMA): New macro.
21753 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21754 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21755 (_FP_MUL_MEAT_1_imm): ... here.
21756 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21757 (_FP_MUL_MEAT_1_wide): ... here.
21758 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21759 (_FP_MUL_MEAT_1_hard): ... here.
21760 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21761 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21762 (_FP_MUL_MEAT_2_wide): ... here.
21763 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21764 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21765 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21766 (_FP_MUL_MEAT_2_gmp): ... here.
21767 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21768 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21769 (_FP_MUL_MEAT_4_wide): ... here.
21770 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21771 (_FP_MUL_MEAT_4_gmp): ... here.
21772 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21773 (_FP_WFRACBITS_DW_S): Likewise.
21774 (_FP_WFRACXBITS_DW_S): Likewise.
21775 (_FP_HIGHBIT_DW_S): Likewise.
21776 (FP_FMA_S): Likewise.
21777 (_FP_FRAC_HIGH_DW_S): Likewise.
21778 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21779 (_FP_WFRACBITS_DW_D): Likewise.
21780 (_FP_WFRACXBITS_DW_D): Likewise.
21781 (_FP_HIGHBIT_DW_D): Likewise.
21782 (FP_FMA_D): Likewise.
21783 (_FP_FRAC_HIGH_DW_D): Likewise.
21784 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21785 (_FP_WFRACBITS_DW_E): Likewise.
21786 (_FP_WFRACXBITS_DW_E): Likewise.
21787 (_FP_HIGHBIT_DW_E): Likewise.
21788 (FP_FMA_E): Likewise.
21789 (_FP_FRAC_HIGH_DW_E): Likewise.
21790 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21791 (_FP_WFRACBITS_DW_Q): Likewise.
21792 (_FP_WFRACXBITS_DW_Q): Likewise.
21793 (_FP_HIGHBIT_DW_Q): Likewise.
21794 (FP_FMA_Q): Likewise.
21795 (_FP_FRAC_HIGH_DW_Q): Likewise.
21796 * soft-fp/fmasf4.c: New file.
21797 * soft-fp/fmadf4.c: Likewise.
21798 * soft-fp/fmatf4.c: Likewise.
21799
6308fd9a
LD
218002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21801
21802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21803 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21804 Silvermont.
21805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21806 macro.
21807 (index_Slow_SSE4_2): Likewise.
21808 (index_Prefer_PMINUB_for_stringop): Likewise.
21809 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21810 bit_Slow_SSE4_2 is set.
21811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21813
89cd9569
RA
218142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21815
21816 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21817 rtld_global._dl_hwcap2.
21818 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21819 POWER8.
21820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21821 POWER8 feature descriptions defined in _dl_hwcap2.
21822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21823 string handling for POWER8 feature bits.
21824 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21825 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21826 _dl_powerpc_cap_flags.
21827 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21828 * sysdeps/powerpc/rtld-global-offsets.sym
21829 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21830 _dl_hwcap2 in the rtld_global_ro structure.
21831
1ae8bfe0
RA
218322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21833
21834 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21835 hardware capabilities in support of AT_HWCAP2.
21836 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21837 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21838 GLRO(dl_hwcap2).
21839 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21840 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21841 explicitly the unknown a_type display mechanism is used.
21842 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21843 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21844 struct member.
21845 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21846 to macro prototype for AT_HWCAP2 support.
21847 * sysdeps/i386/dl-procinfo.h: Likewise.
21848 * sysdeps/s390/dl-procinfo.h: Likewise.
21849 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21850 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21851 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21852 return -1 for unknown a_type display fallback.
21853 * sysdeps/sparc/dl-procinfo.h: Likewise.
21854 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21855 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21856
8fbec010
JM
218572013-06-28 Joseph Myers <joseph@codesourcery.com>
21858
21859 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21860 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21861
0432680e
PY
218622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21863
21864 [BZ #12492]
21865 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21866 mprotect making __stack_prot writable.
21867
ce61a2ad
NF
218682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21869 Joseph Myers <joseph@codesourcery.com>
21870
21871 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21872 as being properly aligned.
21873
f91f1c0f
MR
218742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21875
3d0f5d0c
MR
21876 * dlfcn/modstatic5.c: New file.
21877 * dlfcn/tststatic5.c: New file.
21878 * dlfcn/Makefile (tests): Add tststatic5.
21879 (tests-static): Likewise.
21880 (modules-names): Add modstatic5.
21881 (tststatic5-ENV): New variable.
21882 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21883
f91f1c0f
MR
21884 [BZ #15022]
21885 * elf/dl-support.c (_dl_main_map): New variable.
21886 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21887 (_dl_nns, _dl_load_adds): Set to 1.
21888 (_dl_initial_searchlist): Refer to _dl_main_map.
21889 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21890 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21891 call to _dl_get_origin.
21892 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21893 around call_map.
21894 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21895 * dlfcn/modstatic3.c: New file.
21896 * dlfcn/tststatic3.c: New file.
21897 * dlfcn/tststatic4.c: New file.
21898 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21899 (tests-static): Likewise.
21900 (modules-names): Add modstatic3.
21901 (tststatic3-ENV, tststatic4-ENV): New variables.
21902 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21903 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21904
cbe7d24b
JM
219052013-06-26 Joseph Myers <joseph@codesourcery.com>
21906
21907 * configure.in (CC): Require GCC version 4.4 or later.
21908 * configure: Regenerated.
21909 * manual/install.texi (Tools for Compilation): Update GCC version
21910 requirement.
21911 * INSTALL: Regenerated.
21912
11b8a0e1
LD
219132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21914
21915 [BZ #15674]
bb5bb87c
L
21916 * string/test-memcmp.c (check2): New.
21917 (main): Call check2.
21918
11b8a0e1
LD
21919 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21920
b0037103
MR
219212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21922
21923 [BZ #15022]
21924 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21925 over to...
21926 (dl_open_worker) [!SHARED]: ... here.
21927
c18c701d
RA
219282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21929
21930 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21931
1d17fa5f
RH
219322013-06-25 Richard Henderson <rth@redhat.com>
21933
21934 * locale/programs/locarchive.c: Include <libc-internal.h>
21935
8fcb833a
JM
219362013-06-25 Joseph Myers <joseph@codesourcery.com>
21937
21938 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21939 trailing whitespace removed.
21940
17db6e8d
MF
219412013-06-24 Mike Frysinger <vapier@gentoo.org>
21942
21943 [BZ #10283]
17db6e8d
MF
21944 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21945 * locale/programs/locarchive.c: Include libc-mmap.h.
21946 (prepare_address_space): Take two new outputs (the mmap base and len).
21947 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21948 values.
21949 (create_archive): Declare new mmap base and len values for
21950 prepare_address_space, and store the result in ah.
21951 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21952 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21953 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21954 Declare new mmap base and len values for
21955 prepare_address_space, and store the result in new_ah.
21956 (open_archive): Declare new mmap base and len values for
21957 prepare_address_space, and store the result in ah.
21958 (close_archive): If ah->mmap_base is not NULL, use that and
21959 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21960 * sysdeps/generic/libc-mmap.h: New file.
21961
d605071e
MF
219622013-06-24 Mike Frysinger <vapier@gentoo.org>
21963
21964 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21965 (ALIGN_UP): Likewise.
21966 (PTR_ALIGN_DOWN): Likewise.
21967 (PTR_ALIGN_UP): Likewise.
21968
2f063a6e
RA
219692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21970
21971 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21972 entry mapped to PPC_PLATFORM_POWER8.
21973 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21974 POWER8.
21975 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21976 (_dl_string_platform): Add case for exporting platform position for
21977 POWER8.
21978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21979 search path to sysdeps/powerpc/powerpc32/power8 directory.
21980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21981 search path to sysdeps/powerpc/powerpc64/power8 directory.
21982 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21983 power7 directories.
21984 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21985 power7 directories.
21986
a31ee4b3
SP
219872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21988
a74ca98f
SP
21989 * INSTALL: Regenerate.
21990
a31ee4b3
SP
21991 * nscd/connections.c (nscd_init): Fix comment.
21992
695c378f
JM
219932013-06-22 Joseph Myers <joseph@codesourcery.com>
21994
d8412221
JM
21995 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21996
695c378f
JM
21997 [BZ #15667]
21998 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21999 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22000
d1d54715
MR
220012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22002
22003 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22004 DL_DST_REQ_STATIC.
22005 (DL_DST_REQ_STATIC): Remove macro.
22006
8fdda7af
JM
220072013-06-21 Joseph Myers <joseph@codesourcery.com>
22008
22009 [BZ #7006]
22010 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22011 with a shift of 0 bits.
22012
f3bc5e5a
MR
220132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22014
22015 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22016 $(tststatic-ENV).
22017
be09e8c9
KK
220182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22019
22020 [BZ #15655]
22021 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22022
85c2e611
AZ
220232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22024
22025 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22026 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22027 accepts -fno-tree-loop-distribute-patterns.
22028 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22029 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22030 recursive call.
22031 * string/memset.c (memset): Likewise.
22032 * string/test-memmove.c (simple_memmove): Disable loop transformation
22033 to library calls.
22034 * string/test-memset.c (simple_memset): Likewise.
22035 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22036 * benchtests/bench-memset.c (simple_memset): Likewise.
22037 * configure: Regenerated.
22038
c91e0825
JM
220392013-06-20 Joseph Myers <joseph@codesourcery.com>
22040
b8c792af
JM
22041 * math/test-misc.c (main): Ignore fesetround failure when failures
22042 of subsequent rounding tests would be ignored.
22043
c91e0825
JM
22044 [BZ #15654]
22045 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22046 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22047 * math/fegetenv.c (__fegetenv): Return 0.
22048 * math/fegetexcept.c (fegetexcept): Return 0.
22049 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22050 FE_TONEAREST.
22051 * math/feholdexcpt.c (feholdexcept): Return 0.
22052 * math/fesetenv.c (__fesetenv): Return 0.
22053 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22054 argument FE_TONEAREST.
22055 * math/feupdateenv.c (__feupdateenv): Return 0.
22056 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22057
bfcacbde
RM
220582013-06-18 Roland McGrath <roland@hack.frob.com>
22059
22060 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22061 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22062 ($(objpfx)rtld-%.os rules): Use them.
22063
e55a9b25
AZ
220642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22065
22066 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22067 fields.
22068
346d65b3
RM
220692013-06-17 Roland McGrath <roland@hack.frob.com>
22070
12086fb4
RM
22071 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22072 length of target pattern, then descending length of dependency pattern.
22073 * configure.in (AWK): Require gawk 3.1.2 or newer.
22074 * manual/install.texi (Tools for Compilation): Say that we do.
22075 * configure: Regenerated.
22076
346d65b3
RM
22077 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22078 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22079 * scripts/sysd-rules.awk: ... this new script.
22080 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22081 than a glob-style pattern.
22082
1a846317
JM
220832013-06-17 Joseph Myers <joseph@codesourcery.com>
22084
22085 * math/test-misc.c (main): Do not treat incorrectly rounded
22086 conversions as failure unless ROUNDING_TESTS passes.
22087
8fc75e6f
JM
220882013-06-15 Joseph Myers <joseph@codesourcery.com>
22089
3711a167
JM
22090 [BZ #15631]
22091 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22092 restore exception state around main square root computation, then
22093 check for inexactness explicitly.
22094
8fc75e6f
JM
22095 * math/libm-test.inc (fma_test_data): Add another test.
22096
61dd6208
SP
220972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22098
adf23d2c
SP
22099 * manual/threads.texi (Non-POSIX Extensions): New document
22100 node. Document pthread_getattr_default_np and
22101 pthread_setattr_default_np.
22102
61dd6208
SP
22103 * Versions.def (libpthread): Add GLIBC_2.18.
22104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22106 Likewise.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22108 Likewise.
22109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22110 Likewise.
22111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22112 Likewise.
22113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22114 Likewise.
22115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22116 Likewise.
22117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22118 Likewise.
22119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22120 Likewise.
22121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22122 Likewise.
22123
d086fc7b
LD
221242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22125
22126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22127 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22128
747ef469
SP
221292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22130 H.J. Lu <hjl.tools@gmail.com>
22131
22132 [BZ #15627]
22133 * sysdeps/x86_64/rtld-memset.c: Remove file.
22134 * sysdeps/x86_64/rtld-memset.S: New file.
22135
1b2feed2
JM
221362013-06-14 Joseph Myers <joseph@codesourcery.com>
22137
22138 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22139 (test_in_one_mode): Take arguments for whether the rounding mode
22140 is supported for each floating-point type.
22141 (do_test): Pass new arguments to test_in_one_mode using
22142 ROUNDING_TESTS.
22143
a58ad3f8
RM
221442013-06-13 Roland McGrath <roland@hack.frob.com>
22145
22146 * posix/tst-waitid.c (do_test): Distinguish different instances of
22147 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22148 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22149 before entering the kernel for waitpid.
22150
c204ab28
SP
221512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22152
22153 * NEWS: Fix note on clock function precision. Text by Roland
22154 McGrath.
22155
f4a29fba
RM
221562013-06-13 Roland McGrath <roland@hack.frob.com>
22157
22158 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22159 it into place only when and if the sanity check passes.
22160
1f24b9ad
JM
221612013-06-13 Joseph Myers <joseph@codesourcery.com>
22162
22163 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22164 output for whether conversion result is exact. Take argument
22165 indicating whether type is IBM long double.
22166 (round_for_all): Change need_exact field to ibm_ld.
22167 * stdlib/tst-strtod-round.c (struct exactness): New type.
22168 (struct test): Change bool ld_ok field to struct exactness exact.
22169 (TEST): Update all definitions for change to field.
22170 (tests): Regenerate array contents.
22171 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22172 field value. Check for IBM long double here.
22173 (do_test): Update calls to test_in_one_mode.
22174
58206c68
SP
221752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22176
22177 [BZ #12515]
22178 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22179 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22180
2d6f4c5b 221812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22182
22183 [BZ #15605]
22184 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22185 generated by the compiler on loop optimizations.
22186 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22187 general definitions.
22188
94f2c076
JM
221892013-06-12 Joseph Myers <joseph@codesourcery.com>
22190
22191 * math/bug-nextafter.c: Include <math-tests.h>.
22192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22193 the relevant type.
22194 * math/bug-nexttoward.c: Include <math-tests.h>.
22195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22196 the relevant type.
22197 * math/test-misc.c: Include <math-tests.h>.
22198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22199 the relevant type.
22200
e0e50a0a
AJ
222012013-06-12 Andreas Jaeger <aj@suse.de>
22202
22203 * po/ia.po: Update Interlingua translation from translation
22204 project.
22205
25061094
SP
222062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22207
22208 * include/fenv.h: Include stdbool.h.
22209 (struct rm_ctx): New structure.
22210 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22211 Define macro.
22212 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22213 (SET_RESTORE_ROUNDF): Likewise.
22214 (SET_RESTORE_ROUNDL): Likewise.
22215 (SET_RESTORE_ROUND_NOEX): Likewise.
22216 (SET_RESTORE_ROUND_NOEXF): Likewise.
22217 (SET_RESTORE_ROUND_NOEXL): Likewise.
22218 (SET_RESTORE_ROUND_53BIT): Likewise.
22219 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22220 (libc_feresetround_noexf_ctx): Likewise.
22221 (libc_feresetround_noexl_ctx): Likewise.
22222 (libc_feholdsetround_53bit_ctx): Likewise.
22223 (libc_feresetround_53bit_ctx): Likewise.
22224 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22225 (libc_feholdexcept_setround_sse_ctx): New function.
22226 (libc_fesetenv_sse_ctx): Likewise.
22227 (libc_feupdateenv_sse_ctx): Likewise.
22228 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22229 (libc_feholdexcept_setround_387_ctx): Likewise.
22230 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22231 (libc_feholdsetround_387_prec_ctx): Likewise.
22232 (libc_feholdsetround_387_ctx): Likewise.
22233 (libc_feholdsetround_387_53bit_ctx): Likewise.
22234 (libc_feholdsetround_sse_ctx): Likewise.
22235 (libc_feresetround_sse_ctx): Likewise.
22236 (libc_feresetround_387_ctx): Likewise.
22237 (libc_feupdateenv_387_ctx): Likewise.
22238 (libc_feholdexcept_setroundf_ctx): Define macro.
22239 (libc_fesetenvf_ctx): Likewise.
22240 (libc_feupdateenvf_ctx): Likewise.
22241 (libc_feholdsetroundf_ctx): Likewise.
22242 (libc_feresetroundf_ctx): Likewise.
22243 (libc_feholdexcept_setround_ctx): Likewise.
22244 (libc_fesetenv_ctx): Likewise.
22245 (libc_feupdateenv_ctx): Likewise.
22246 (libc_feholdsetround_ctx): Likewise.
22247 (libc_feresetround_ctx): Likewise.
22248 (libc_feholdexcept_setroundl_ctx): Likewise.
22249 (libc_feupdateenvl_ctx): Likewise.
22250 (libc_feholdsetroundl_ctx): Likewise.
22251 (libc_feresetroundl_ctx): Likewise.
22252 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22253 (libc_feresetround_53bit_ctx): Likewise.
22254
59b30555
SP
222552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22256
22257 * locale/iso-639.def: Convert to UTF-8.
22258
f1d73d30
JM
222592013-06-11 Joseph Myers <joseph@codesourcery.com>
22260
22261 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22262 (EXCEPTION_TESTS_double): Likewise.
22263 (EXCEPTION_TESTS_long_double): Likewise.
22264 (EXCEPTION_TESTS): Likewise.
22265 * math/libm-test.inc (test_exceptions): Only test exceptions if
22266 EXCEPTION_TESTS (FLOAT).
22267
94aca5e7
SP
222682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22269
22270 * benchtests/Makefile (string-bench): Add strcpy_chk and
22271 stpcpy_chk.
22272 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22273 * benchtests/bench-stpcpy_chk.c: New file.
22274 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22275 * benchtests/bench-strcpy_chk.c: New file.
22276 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22277 code.
22278 (do_test): Likewise.
22279
fac0c5f2
RA
222802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22281
22282 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22283 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22284 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22285 with tabs where appropriate.
22286 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22287 dl-procinfo.h.
22288 [PPC_PLATFORM_PPC440]: Likewise.
22289 [PPC_PLATFORM_PPC464]: Likewise.
22290 [PPC_PLATFORM_PPC476]: Likewise.
22291 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22292 ppc464, and ppc476 platform strings merging from ports/
22293 dl-procinfo.h.
22294
f22bc486
AS
222952013-06-11 Andreas Schwab <schwab@suse.de>
22296
22297 [BZ #14991]
22298 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22299 (from_ucs4_idx): Regenerate.
22300 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22301 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22302 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22303 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22304 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22305 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22306 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22307 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22308 from FROM_LOOP and TO_LOOP specific macros.
22309 (BODY): Handle combining characters.
22310 * iconvdata/BIG5HKSCS.irreversible: Update.
22311 * iconvdata/BIG5HKSCS.precomposed: New file.
22312 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22313 characters.
22314 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22315
c1f75dc3
SP
223162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22317
4eacded2
SP
22318 * include/sys/time.h: Fix indentation and add copyright header.
22319
fec799f8
SP
22320 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22321 (do_test): Likewise.
22322 * string/test-memchr.c (do_one_test): Likewise.
22323 (do_test): Likewise.
22324 * string/test-memcmp.c (do_one_test): Likewise.
22325 (do_test): Likewise.
22326 * string/test-memcpy.c (do_one_test): Likewise.
22327 (do_test): Likewise.
22328 * string/test-memmem.c (do_one_test): Likewise.
22329 (do_test): Likewise.
22330 (do_random_tests): Likewise.
22331 * string/test-memmove.c (do_one_test): Likewise.
22332 (do_test): Likewise.
22333 * string/test-memset.c (do_one_test): Likewise.
22334 (do_test): Likewise.
22335 * string/test-rawmemchr.c (do_one_test): Likewise.
22336 (do_test): Likewise.
22337 * string/test-strcasecmp.c (do_one_test): Likewise.
22338 (do_test): Likewise.
22339 * string/test-strcasestr.c (do_one_test): Likewise.
22340 (do_test): Likewise.
22341 * string/test-strcat.c (do_one_test): Likewise.
22342 (do_test): Likewise.
22343 * string/test-strchr.c (do_one_test): Likewise.
22344 (do_test): Likewise.
22345 * string/test-strcmp.c (do_one_test): Likewise.
22346 (do_test): Likewise.
22347 * string/test-strcpy.c (do_one_test): Likewise.
22348 (do_test): Likewise.
22349 * string/test-string.h: Likewise.
22350 (test_init): Likewise.
22351 * string/test-strlen.c (do_one_test): Likewise.
22352 (do_test): Likewise.
22353 * string/test-strncasecmp.c (do_one_test): Likewise.
22354 (do_test): Likewise.
22355 * string/test-strncat.c (do_one_test): Likewise.
22356 (do_test): Likewise.
22357 * string/test-strncmp.c (do_one_test): Likewise.
22358 (do_test_limit): Likewise.
22359 (do_test): Likewise.
22360 * string/test-strncpy.c (do_one_test): Likewise.
22361 (do_test): Likewise.
22362 * string/test-strnlen.c (do_one_test): Likewise.
22363 (do_test): Likewise.
22364 * string/test-strpbrk.c (do_one_test): Likewise.
22365 (do_test): Likewise.
22366 * string/test-strrchr.c (do_one_test): Likewise.
22367 (do_test): Likewise.
22368 * string/test-strspn.c (do_one_test): Likewise.
22369 (do_test): Likewise.
22370 * string/test-strstr.c (do_one_test): Likewise.
22371 (do_test): Likewise.
22372
97020474
SP
22373 * benchtests/Makefile (string-bench): Add string benchmarks.
22374 * benchtests/bench-bcopy-ifunc.c: New file.
22375 * benchtests/bench-bcopy.c: New file.
22376 * benchtests/bench-bzero-ifunc.c: New file.
22377 * benchtests/bench-bzero.c: New file.
22378 * benchtests/bench-memccpy-ifunc.c: New file.
22379 * benchtests/bench-memccpy.c: New file.
22380 * benchtests/bench-memchr-ifunc.c: New file.
22381 * benchtests/bench-memchr.c: New file.
22382 * benchtests/bench-memcmp-ifunc.c: New file.
22383 * benchtests/bench-memcmp.c: New file.
22384 * benchtests/bench-memmem-ifunc.c: New file.
22385 * benchtests/bench-memmem.c: New file.
22386 * benchtests/bench-memmove-ifunc.c: New file.
22387 * benchtests/bench-memmove.c: New file.
22388 * benchtests/bench-mempcpy-ifunc.c: New file.
22389 * benchtests/bench-mempcpy.c: New file.
22390 * benchtests/bench-memset-ifunc.c: New file.
22391 * benchtests/bench-memset.c: New file.
22392 * benchtests/bench-rawmemchr-ifunc.c: New file.
22393 * benchtests/bench-rawmemchr.c: New file.
22394 * benchtests/bench-stpcpy-ifunc.c: New file.
22395 * benchtests/bench-stpcpy.c: New file.
22396 * benchtests/bench-stpncpy-ifunc.c: New file.
22397 * benchtests/bench-stpncpy.c: New file.
22398 * benchtests/bench-strcasecmp-ifunc.c: New file.
22399 * benchtests/bench-strcasecmp.c: New file.
22400 * benchtests/bench-strcasestr-ifunc.c: New file.
22401 * benchtests/bench-strcasestr.c: New file.
22402 * benchtests/bench-strcat-ifunc.c: New file.
22403 * benchtests/bench-strcat.c: New file.
22404 * benchtests/bench-strchr-ifunc.c: New file.
22405 * benchtests/bench-strchr.c: New file.
22406 * benchtests/bench-strchrnul-ifunc.c: New file.
22407 * benchtests/bench-strchrnul.c: New file.
22408 * benchtests/bench-strcmp-ifunc.c: New file.
22409 * benchtests/bench-strcmp.c: New file.
22410 * benchtests/bench-strcpy-ifunc.c: New file.
22411 * benchtests/bench-strcpy.c: New file.
22412 * benchtests/bench-strcspn-ifunc.c: New file.
22413 * benchtests/bench-strcspn.c: New file.
22414 * benchtests/bench-strlen-ifunc.c: New file.
22415 * benchtests/bench-strlen.c: New file.
22416 * benchtests/bench-strncasecmp-ifunc.c: New file.
22417 * benchtests/bench-strncasecmp.c: New file.
22418 * benchtests/bench-strncat-ifunc.c: New file.
22419 * benchtests/bench-strncat.c: New file.
22420 * benchtests/bench-strncmp-ifunc.c: New file.
22421 * benchtests/bench-strncmp.c: New file.
22422 * benchtests/bench-strncpy-ifunc.c: New file.
22423 * benchtests/bench-strncpy.c: New file.
22424 * benchtests/bench-strnlen-ifunc.c: New file.
22425 * benchtests/bench-strnlen.c: New file.
22426 * benchtests/bench-strpbrk-ifunc.c: New file.
22427 * benchtests/bench-strpbrk.c: New file.
22428 * benchtests/bench-strrchr-ifunc.c: New file.
22429 * benchtests/bench-strrchr.c: New file.
22430 * benchtests/bench-strspn-ifunc.c: New file.
22431 * benchtests/bench-strspn.c: New file.
22432 * benchtests/bench-strstr-ifunc.c: New file.
22433 * benchtests/bench-strstr.c: New file.
22434
c1f75dc3
SP
22435 * benchtests/Makefile: Disable parallel execution of targets.
22436 (string-bench): Add memcpy.
22437 (benchset): New variable to store a list of benchmark sets.
22438 (bench-func): Renamed from bench.
22439 (bench-set): New target.
22440 (bench): Depend on bench-func and bench-set.
22441 * benchtests/README: Add section on benchmark sets.
22442 * benchtests/bench-memcpy-ifunc.c: New file.
22443 * benchtests/bench-memcpy.c: New file.
22444 * benchtests/bench-string.h: New file.
22445
50fd745b
AS
224462013-06-11 Andreas Schwab <schwab@suse.de>
22447
22448 [BZ #15577]
22449 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22450 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22451 values in the triple.
22452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22453 terminator in the group key.
22454
3ee7e9fe
AJ
224552013-06-11 Andreas Jaeger <aj@suse.de>
22456
22457 * po/zh_TW.po: Update Chinese (traditional) translation from
22458 translation project.
22459
89fb6835
SP
224602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22461
22462 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22463 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22464 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22466 (clock_getcpuclockid): Likewise.
22467 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22468 Add weak_alias and libc_hidden_def.
22469 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22470 * rt/clock_gettime.c (clock_gettime): Rename to
22471 __clock_gettime. Add weak_alias and libc_hidden_def.
22472 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22473 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22474 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22475 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22477 Likewise.
22478 * rt/clock_settime.c (clock_settime): Rename to
22479 __clock_settime. Add weak_alias and libc_hidden_def.
22480 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22481
0efa6f8b
JM
224822013-06-10 Joseph Myers <joseph@codesourcery.com>
22483
b8c61b4b
JM
22484 * mach/err_boot.sub: Remove trailing whitespace.
22485 * mach/err_ipc.sub: Likewise.
22486 * mach/err_mach.sub: Likewise.
22487
0efa6f8b
JM
22488 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22489 (ROUNDING_TESTS_double): Likewise.
22490 (ROUNDING_TESTS_long_double): Likewise.
22491 (ROUNDING_TESTS): Likewise.
22492 * math/libm-test.inc: Include <math-tests.h>.
22493 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22497
50b818bf
SP
224982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22499
22500 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22501 of assigning.
22502
60d2f8f3
JM
225032013-06-08 Joseph Myers <joseph@codesourcery.com>
22504
4902d2c3
JM
22505 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22506 otherwise empty TRANS lines.
22507 * sysdeps/gnu/errlist.c: Regenerated.
22508
60d2f8f3
JM
22509 * catgets/gencat.c (error_print): Use (void) in function
22510 definition.
22511 * crypt/crypt_util.c (__init_des): Likewise.
22512 * crypt/speeds.c (Stop): Likewise.
22513 (main): Likewise.
22514 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22515 * inet/ruserpass.c (token): Likewise.
22516 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22517 * intl/localealias.c (extend_alias_table): Likewise.
22518 * intl/plural-exp.c (init_germanic_plural): Likewise.
22519 * libio/fcloseall.c (__fcloseall): Likewise.
22520 * libio/genops.c (_IO_flush_all): Likewise.
22521 (_IO_flush_all_linebuffered): Likewise.
22522 (_IO_cleanup): Likewise.
22523 (_IO_iter_begin): Likewise.
22524 (_IO_iter_end): Likewise.
22525 (_IO_list_lock): Likewise.
22526 (_IO_list_unlock): Likewise.
22527 (_IO_list_resetlock): Likewise.
22528 * libio/getchar.c (getchar): Likewise.
22529 * libio/getchar_u.c (getchar_unlocked): Likewise.
22530 * libio/getwchar.c (getwchar): Likewise.
22531 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22532 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22533 * login/getpt.c (__getpt): Likewise.
22534 * login/tst-utmp.c (main): Likewise.
22535 * malloc/hooks.c (__malloc_check_init): Likewise.
22536 * malloc/malloc.c (__malloc_stats): Likewise.
22537 * malloc/mtrace.c (tr_break): Likewise.
22538 (mtrace): Likewise.
22539 (muntrace): Likewise.
22540 * misc/fstab.c (endfsent): Likewise.
22541 * misc/getclktck.c (__getclktck): Likewise.
22542 * misc/getdtsz.c (__getdtablesize): Likewise.
22543 * misc/gethostid.c (gethostid): Likewise.
22544 * misc/getpagesize.c (__getpagesize): Likewise.
22545 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22546 (__get_nprocs): Likewise.
22547 (__get_phys_pages): Likewise.
22548 (__get_avphys_pages): Likewise.
22549 * misc/getttyent.c (getttyent): Likewise.
22550 (setttyent): Likewise.
22551 (endttyent): Likewise.
22552 * misc/getusershell.c (getusershell): Likewise.
22553 (endusershell): Likewise.
22554 (setusershell): Likewise.
22555 (initshells): Likewise.
22556 * misc/hsearch.c (__hdestroy): Likewise.
22557 * misc/sync.c (sync): Likewise.
22558 * misc/syslog.c (closelog_internal): Likewise.
22559 (closelog): Likewise.
22560 * misc/ttyslot.c (ttyslot): Likewise.
22561 * misc/vhangup.c (vhangup): Likewise.
22562 * posix/fork.c (__fork): Likewise.
22563 * posix/getegid.c (__getegid): Likewise.
22564 * posix/geteuid.c (__geteuid): Likewise.
22565 * posix/getgid.c (__getgid): Likewise.
22566 * posix/getpid.c (__getpid): Likewise.
22567 * posix/getppid.c (__getppid): Likewise.
22568 * posix/getuid.c (__getuid): Likewise.
22569 * posix/pause.c (pause): Likewise.
22570 * posix/setpgrp.c (setpgrp): Likewise.
22571 * posix/setsid.c (__setsid): Likewise.
22572 * posix/test-vfork.c (noop): Likewise.
22573 * resolv/gethnamaddr.c (_endhtent): Likewise.
22574 (_gethtent): Likewise.
22575 (ht_endhostent): Likewise.
22576 (gethostent): Likewise.
22577 (dns_service): Likewise.
22578 * stdlib/drand48.c (drand48): Likewise.
22579 * stdlib/lrand48.c (lrand48): Likewise.
22580 * stdlib/mrand48.c (mrand48): Likewise.
22581 * stdlib/rand.c (rand): Likewise.
22582 * stdlib/random.c (__random): Likewise.
22583 * stdlib/setenv.c (clearenv): Likewise.
22584 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22585 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22586 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22587 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22588 (__get_nprocs): Likewise.
22589 (__get_phys_pages): Likewise.
22590 (__get_avphys_pages): Likewise.
22591 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22592 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22593 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22594 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22595 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22596 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22597 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22598 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22599 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22600 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22601 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22602 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22603 * sysdeps/posix/clock.c (clock): Likewise.
22604 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22605 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22606 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22607 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22608 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22610 (__get_nprocs_conf): Likewise.
22611 (__get_phys_pages): Likewise.
22612 (__get_avphys_pages): Likewise.
22613 * time/clock.c (clock): Likewise.
22614 * time/tzset.c (__tzname_max): Likewise.
22615
2e09a79a
JM
226162013-06-07 Joseph Myers <joseph@codesourcery.com>
22617
22618 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22619 (__bswap_32): Do not use "register".
22620 * crypt/crypt.c (_ufc_doit_r): Likewise.
22621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22622 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22623 * gmon/gmon.c (__monstartup): Likewise.
22624 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22625 * hurd/hurdmalloc.c (more_memory): Likewise.
22626 (malloc): Likewise.
22627 (free): Likewise.
22628 (realloc): Likewise.
22629 (malloc_fork_prepare): Likewise.
22630 (malloc_fork_parent): Likewise.
22631 (malloc_fork_child): Likewise.
22632 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22633 (_svcauth_des): Likewise.
22634 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22635 * inet/inet_net.c (inet_network): Likewise.
22636 * inet/inet_netof.c (inet_netof): Likewise.
22637 * inet/rcmd.c (__validuser2_sa): Likewise.
22638 * io/fts.c (fts_open): Likewise.
22639 (fts_load): Likewise.
22640 (fts_close): Likewise.
22641 (fts_read): Likewise.
22642 (fts_children): Likewise.
22643 (fts_build): Likewise.
22644 (fts_stat): Likewise.
22645 (fts_sort): Likewise.
22646 (fts_alloc): Likewise.
22647 (fts_lfree): Likewise.
22648 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22649 (_IO_file_xsgetn): Likewise.
22650 (_IO_file_xsgetn_mmap): Likewise.
22651 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22652 (_IO_cookie_write): Likewise.
22653 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22654 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22655 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22656 * malloc/obstack.c (_obstack_begin): Likewise.
22657 (_obstack_begin_1): Likewise.
22658 (_obstack_newchunk): Likewise.
22659 (_obstack_allocated_p): Likewise.
22660 (obstack_free): Likewise.
22661 (_obstack_memory_used): Likewise.
22662 * misc/getttyent.c (getttynam): Likewise.
22663 (getttyent): Likewise.
22664 (skip): Likewise.
22665 (value): Likewise.
22666 * misc/getusershell.c (initshells): Likewise.
22667 * misc/syslog.c (__vsyslog_chk): Likewise.
22668 * misc/ttyslot.c (ttyslot): Likewise.
22669 * nis/nis_hash.c (__nis_hash): Likewise.
22670 * posix/fnmatch_loop.c (FCT): Likewise.
22671 * posix/getconf.c (print_all): Likewise.
22672 (main): Likewise.
22673 * posix/getopt.c (exchange): Likewise.
22674 * posix/glob.c (globfree): Likewise.
22675 (prefix_array): Likewise.
22676 (__glob_pattern_type): Likewise.
22677 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22678 (NS_GET32): Likewise.
22679 (NS_PUT16): Likewise.
22680 (NS_PUT32): Likewise.
22681 * resolv/gethnamaddr.c (getanswer): Likewise.
22682 (gethostbyname2): Likewise.
22683 (gethostbyaddr): Likewise.
22684 (_gethtent): Likewise.
22685 (_gethtbyname2): Likewise.
22686 (_gethtbyaddr): Likewise.
22687 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22688 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22689 * resolv/res_init.c (__res_vinit): Likewise.
22690 (net_mask): Likewise.
22691 * resolv/res_mkquery.c (outchar): Likewise.
22692 (PRINT): Likewise.
22693 * stdio-common/printf_fp.c (outchar): Likewise.
22694 (PRINT): Likewise.
22695 * stdio-common/printf_fphex.c (outchar): Likewise.
22696 (PRINT): Likewise.
22697 * stdio-common/printf_size.c (outchar): Likewise.
22698 (PRINT): Likewise.
22699 * stdio-common/test_rdwr.c (main): Likewise.
22700 * stdio-common/tfformat.c (matches): Likewise.
22701 * stdio-common/vfprintf.c (outchar): Likewise.
22702 (printf_unknown): Likewise.
22703 (buffered_vfprintf): Likewise.
22704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22705 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22706 (ReadFile): Likewise.
22707 * stdlib/qsort.c (SWAP): Likewise.
22708 (_quicksort): Likewise.
22709 * stdlib/setenv.c (__add_to_environ): Likewise.
22710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22711 * stdlib/strtol_l.c (__strtol_l): Likewise.
22712 * stdlib/tst-strtod.c (main): Likewise.
22713 * stdlib/tst-strtol.c (main): Likewise.
22714 * stdlib/tst-strtoll.c (main): Likewise.
22715 * string/bits/string2.h (__strcmp_cc): Likewise.
22716 (__strcmp_cg): Likewise.
22717 (__strcspn_c1): Likewise.
22718 (__strcspn_c2): Likewise.
22719 (__strcspn_c3): Likewise.
22720 (__strspn_c1): Likewise.
22721 (__strspn_c2): Likewise.
22722 (__strspn_c3): Likewise.
22723 (__strsep_1c): Likewise.
22724 (__strsep_2c): Likewise.
22725 (__strsep_3c): Likewise.
22726 * string/memccpy.c (__memccpy): Likewise.
22727 * string/stpcpy.c (__stpcpy): Likewise.
22728 * string/strcmp.c (strcmp): Likewise.
22729 * string/strrchr.c (strrchr): Likewise.
22730 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22731 Likewise.
22732 * sysdeps/mach/hurd/getcwd.c
22733 (_hurd_canonicalize_directory_name_internal): Likewise.
22734 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22735 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22736 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22737 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22738 Likewise, in both definitions.
22739 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22740 definitions.
22741 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22742 64] (__bswap_64): Likewise.
22743 * time/test_time.c (main): Likewise.
22744 * time/tzfile.c (__tzfile_read): Likewise.
22745 (__tzfile_compute): Likewise.
22746 * time/tzset.c (__tzset_parse_tz): Likewise.
22747 (tzset_internal): Likewise.
22748 (compute_change): Likewise.
22749 * wcsmbs/wcscat.c (__wcscat): Likewise.
22750 * wcsmbs/wcschr.c (wcschr): Likewise.
22751 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22752 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22754 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22757 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22758 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22759 * wcsmbs/wmemset.c (wmemset): Likewise.
22760
9e54314b
JM
227612013-06-06 Joseph Myers <joseph@codesourcery.com>
22762
22763 * scripts/config.guess: Update to version 2013-05-16.
22764 * scripts/config.sub: Update to version 2013-04-24.
22765 * scripts/install-sh: Update to version 2011-11-20.07.
22766 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22767 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22768
350635a5
OB
227692013-06-06 Ondřej Bílka <neleai@seznam.cz>
22770
22771 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22772 * elf/sln.c: Likewise.
22773 * hurd/hurd/ioctl.h: Likewise.
22774 * hurd/hurdmalloc.c: Likewise.
22775 * hurd/xattr.c: Likewise.
22776 * include/shlib-compat.h: Likewise.
22777 * inet/ruserpass.c: Likewise.
22778 * libio/iofgets_u.c: Likewise.
22779 * libio/iofgetws_u.c: Likewise.
22780 * locale/programs/ld-identification.c: Likewise.
22781 * locale/programs/ld-time.c: Likewise.
22782 * mach/msg-destroy.c: Likewise.
22783 * nss/nss_files/files-netgrp.c: Likewise.
22784 * resolv/res_data.c: Likewise.
22785 * soft-fp/op-1.h: Likewise.
22786 * soft-fp/op-2.h: Likewise.
22787 * soft-fp/op-4.h: Likewise.
22788 * soft-fp/op-common.h: Likewise.
22789 * stdio-common/printf_fphex.c: Likewise.
22790 * stdlib/strtod_l.c: Likewise.
22791 * sunrpc/rpc/clnt.h: Likewise.
22792 * sysdeps/generic/framestate.c: Likewise.
22793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22794 * sysdeps/i386/bsd-setjmp.S: Likewise.
22795 * sysdeps/i386/__longjmp.S: Likewise.
22796 * sysdeps/i386/setjmp.S: Likewise.
22797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22815 * sysdeps/ieee754/support.c: Likewise.
22816 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22817 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22818 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22819 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22824 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22825 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22826 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22827 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22831 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22834
44a988af
OB
228352013-06-05 Ondřej Bílka <neleai@seznam.cz>
22836
25506f09 22837 * posix/transbug.c: Remove executable mode.
44a988af 22838
9c84384c
JM
228392013-06-05 Joseph Myers <joseph@codesourcery.com>
22840
22841 * crypt/speeds.c: Remove trailing whitespace.
22842 * dlfcn/default.c: Likewise.
22843 * elf/ifuncdep2.c: Likewise.
22844 * elf/ifuncmain1.c: Likewise.
22845 * elf/ifuncmain1vis.c: Likewise.
22846 * elf/testobj.h: Likewise.
22847 * elf/tst-stackguard1.c: Likewise.
22848 * gmon/sys/gmon.h: Likewise.
22849 * hurd/hurdmsg.c: Likewise.
22850 * hurd/new-fd.c: Likewise.
22851 * hurd/ports-get.c: Likewise.
22852 * iconvdata/ibm1008_420.c: Likewise.
22853 * inet/tst-getni1.c: Likewise.
22854 * inet/tst-getni2.c: Likewise.
22855 * libio/ioungetc.c: Likewise.
22856 * libio/wfiledoalloc.c: Likewise.
22857 * manual/libm-err-tab.pl: Likewise.
22858 * math/w_dremf.c: Likewise.
22859 * misc/ftruncate.c: Likewise.
22860 * posix/bug-glob2.c: Likewise.
22861 * posix/tst-pcre.c: Likewise.
22862 * posix/wait4.c: Likewise.
22863 * resolv/README: Likewise.
22864 * resolv/res_debug.h: Likewise.
22865 * resolv/tst-inet_ntop.c: Likewise.
22866 * setjmp/bug269-setjmp.c: Likewise.
22867 * soft-fp/extended.h: Likewise.
22868 * soft-fp/op-1.h: Likewise.
22869 * soft-fp/op-2.h: Likewise.
22870 * soft-fp/op-4.h: Likewise.
22871 * soft-fp/op-8.h: Likewise.
22872 * soft-fp/testit.c: Likewise.
22873 * stdio-common/bug16.c: Likewise.
22874 * stdlib/random.c: Likewise.
22875 * sunrpc/rpcsvc/rquota.x: Likewise.
22876 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22905 * sysdeps/ieee754/s_lib_version.c: Likewise.
22906 * sysdeps/mach/hurd/check_fds.c: Likewise.
22907 * sysdeps/mach/hurd/getsockname.c: Likewise.
22908 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22909 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22910 * sysdeps/powerpc/bits/link.h: Likewise.
22911 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22912 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22913 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22914 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22917 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22918 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22920 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22923 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22924 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22925 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22926 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22932 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22946 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22947 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22948 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22949 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22951 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22952 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22953 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22954 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22956 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22959 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22960 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22966 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22967 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22973 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22974 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22975 * sysdeps/powerpc/sysdep.h: Likewise.
22976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22977 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22978 * sysdeps/sh/dl-trampoline.S: Likewise.
22979 * sysdeps/sh/memset.S: Likewise.
22980 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22981 * sysdeps/sh/strlen.S: Likewise.
22982 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22983 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22984 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22985 * sysdeps/sparc/sparc32/rem.S: Likewise.
22986 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22988 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22989 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22990 * sysdeps/sparc/sparc32/urem.S: Likewise.
22991 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22993 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22994 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22996 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22998 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22999 * sysdeps/unix/bsd/times.c: Likewise.
23000 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23001 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23007 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23009 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23012 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23013 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23015 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23017 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23018 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23019 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23020 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23021 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23022 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23023 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23024 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23026 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23028 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23029 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23030 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23031 * sysdeps/x86_64/strcspn.S: Likewise.
23032
869378a5
RA
230332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23034
23035 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23036 generated file. Regenerate properly from gen-translit.pl.
23037 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23038 locale/C-translit.h.
23039
840e2943
AS
230402013-06-05 Andreas Schwab <schwab@suse.de>
23041
23042 [BZ #15100]
23043 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23044 week as 6 instead of -1.
23045 * time/tst-strptime.c (day_tests): Add test case.
23046
4c60cb0c
SP
230472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23048
23049 * sysdeps/generic/math_private.h
23050 (libc_feholdexcept_setround_53bit): Replace with
23051 libc_feholdsetround_53bit.
23052 (libc_feupdateenv_53bit): Replace with
23053 libc_feresetround_53bit.
23054 (SET_RESTORE_ROUND_53BIT): Adjust.
23055
d180203e
SP
230562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23057
96df079a
SP
23058 * string/test-strchrnul.c: Add copyright header.
23059
d180203e
SP
23060 * posix/tst-getaddrinfo4.c: Increase test timeout.
23061
8b0ccb2d
CD
230622013-06-03 Carlos O'Donell <carlos@redhat.com>
23063
23064 [BZ #15536]
23065 * math/libm-test.inc (MAX_EXP): Remove
23066 (MIN_EXP): Define.
23067 (ulp): Use MIN_EXP - MANT_DIG.
23068 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23069
3b3c4d40
CD
230702013-05-31 Carlos O'Donell <carlos@redhat.com>
23071
23072 * po/be.po: Revert last change.
23073 * po/zh_CN.po: Likewise.
23074 * po/header.pot: Likewise.
23075
fab7ce3f
JM
230762013-05-31 Joseph Myers <joseph@codesourcery.com>
23077
23078 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23079 link-libc-deps to empty as target-specific variable.
23080 * Makerules (link-libc-args): New variable.
23081 (libc-for-link): Likewise.
23082 (link-libc-deps): Likewise.
23083 (lib%.so): Depend on $(link-libc-deps). Link with
23084 $(link-libc-args).
23085 (build-module): Link with $(link-libc-args).
23086 (build-module-asneeded): Likewise.
23087 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23088 list of objects.
23089 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23090 target-specific variable.
23091 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23092 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23093 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23094 libc.
23095 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23096 libc and ld.so.
23097 ($(objpfx)libpcprofile.so): Likewise.
23098 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23099 libc_nonshared.a.
23100 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23101 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23103 $(link-libc-deps).
23104 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23105 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23106 * login/Makefile ($(objpfx)libutil.so): Likewise.
23107 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23108 * math/Makefile ($(objpfx)libm.so): Likewise.
23109 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23110 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23111 variable instead of depending directly on libc.
23112 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23113 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23114 $(link-libc-deps).
23115 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23116 libc.
23117 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23118 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23119 ($(objpfx)libanl.so): Likewise.
23120 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23121 ld.so.
23122 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23123 $(link-libc-deps).
23124 * sysdeps/i386/fpu/Makefile: Remove file.
23125 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23126 ($(objpfx)libm.so): Remove dependency on ld.so.
23127
eca5920c
PF
231282013-05-30 Patsy Franklin <pfrankli@redhat.com>
23129
23130 [BZ # 15553]
23131 * nis/yp_xdr.c (XDRMAXNAME): Define.
23132 (XDRMAXRECORD): Define.
23133 (xdr_domainname): Use XDRMAXNAME.
23134 (xdr_mapname): Likewise.
23135 (xdr_peername): Likewise.
23136 (xdr_keydat): Use XDRMAXRECORD.
23137 (xdr_valdat): Likewise.
23138
231392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23140
23141 [BZ #14256]
23142 * manual/errno.texi (ESTALE): Update to account for more than
23143 just NFS file systems.
23144 * sysdeps/gnu/errlist.c: Regenerated.
23145
b9375348
SP
231462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23147
23148 [BZ #15465]
23149 * elf/Makefile (tests): Add tst-null-argv.
23150 (modules-names): Add tst-null-argv-lib.
23151 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23152 (tst-null-argv-ENV): Set environment for tst-null-argv.
23153 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23154 (RTLD_PROGNAME): New macro.
23155 * elf/tst-null-argv.c: New test case.
23156 * elf/tst-null-argv-lib.c: Library for test case.
23157 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23159 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23160 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23161 * elf/dl-init.c (call_init): Likewise.
23162 (_dl_init): Likewise.
23163 * elf/dl-load.c (print_search_path): Likewise.
23164 (_dl_map_object): Likewise.
23165 * elf/dl-lookup.c (do_lookup_x): Likewise.
23166 (add_dependency): Likewise.
23167 (_dl_lookup_symbol_x): Likewise.
23168 (_dl_debug_bindings): Likewise.
23169 * elf/dl-open.c (_dl_show_scope): Likewise.
23170 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23171 * elf/dl-version.c (match_symbol): Likewise.
23172 (_dl_check_map_versions): Likewise.
23173 * elf/rtld.c (dl_main): Likewise.
23174 (print_unresolved): Use RTLD_PROGNAME.
23175 (print_missing_version): Likewise.
23176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23177 (elf_machine_rela): Likewise.
23178 * sysdeps/powerpc/powerpc32/dl-machine.c
23179 (__process_machine_rela): Likewise.
23180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23181 Likewise.
23182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23183 Likewise.
23184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23185 Likewise.
23186 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23188 Likewise.
23189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23190 Likewise.
23191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23192
8a9f20c8
CD
231932013-05-28 Carlos O'Donell <carlos@redhat.com>
23194
23195 * po/be.po: Add descriptive title.
23196 * po/zh_CN.po: Likewise.
23197 * po/header.pot: Likewise.
23198
0e60d68e
MF
231992013-05-28 Mike Frysinger <vapier@gentoo.org>
23200
23201 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23202 error message.
23203 (enlarge_archive): Likewise.
23204
56b672e9
BN
232052013-05-28 Ben North <ben@redfrontdoor.org>
23206
23207 * manual/arith.texi (frexp): It is the magnitude of the return
23208 value which lies in [0.5, 1), not the return value itself.
23209
5e056687
AZ
232102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23211
23212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23213
2b66ef5d
TS
232142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23215
528c2405
TS
23216 * stdio-common/bug26.c (main): Correct fscanf template.
23217
07b4c13d
TS
23218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23219 declare _dl_skip_args.
23220
ec9dd97c
TS
23221 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23222 Don't declare.
23223
2b66ef5d
TS
23224 * manual/platform.texi: Add missing @end deftypefun.
23225
4f8dfe27
JM
232262013-05-24 Joseph Myers <joseph@codesourcery.com>
23227
0323d086
JM
23228 [BZ #15529]
23229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23230 bit of mantissa of 2^16382.
23231 * math/libm-test.inc (hypot_test_data): Add more tests.
23232
dd4259b9
JM
23233 * math/libm-test.inc: Add drem and pow10 to list of tested
23234 functions.
23235 (pow10_test): New function.
23236 (drem_test): Likewise.
23237 (drem_test_tonearest): Likewise.
23238 (drem_test_towardzero): Likewise.
23239 (drem_test_downward): Likewise.
23240 (drem_test_upward): Likewise.
23241 (main): Call the new functions.
23242
4f8dfe27
JM
23243 * math/libm-test.inc (finite_test_data): Remove.
23244 (finite_test): Run tests from isfinite_test_data.
23245 (gamma_test_data): Remove.
23246 (gamma_test): Run tests from lgamma_test_data.
23247 * sysdeps/i386/fpu/libm-test-ulps: Update.
23248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23249
d116b7c4
AZ
232502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23251
23252 * manual/platform.texi: Add PowerPC PPR function set documentation.
23253 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23254 implementation.
23255
e96e3767
CD
232562013-05-24 Carlos O'Donell <carlos@redhat.com>
23257
23258 * math/libm-test.inc (MAX_EXP): Define.
23259 (ULPDIFF): Define.
23260 (ulp): New function.
23261 (check_float_internal): Use ULPDIFF.
23262 (cpow_test): Disable failing test.
23263 (check_ulp): Test ulp() implemetnation.
23264 (main): Call check_ulp before starting tests.
23265
b679a606
JM
232662013-05-24 Joseph Myers <joseph@codesourcery.com>
23267
e8bdba36
JM
23268 * math/gen-libm-test.pl (generate_testfile): Do not handle
23269 START_DATA and END_DATA.
23270 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23271 END_DATA.
23272 (acos_tonearest_test_data): Likewise.
23273 (acos_towardzero_test_data): Likewise.
23274 (acos_downward_test_data): Likewise.
23275 (acos_upward_test_data): Likewise.
23276 (acosh_test_data): Likewise.
23277 (asin_test_data): Likewise.
23278 (asin_tonearest_test_data): Likewise.
23279 (asin_towardzero_test_data): Likewise.
23280 (asin_downward_test_data): Likewise.
23281 (asin_upward_test_data): Likewise.
23282 (asinh_test_data): Likewise.
23283 (atan_test_data): Likewise.
23284 (atanh_test_data): Likewise.
23285 (atan2_test_data): Likewise.
23286 (cabs_test_data): Likewise.
23287 (cacos_test_data): Likewise.
23288 (cacosh_test_data): Likewise.
23289 (carg_test_data): Likewise.
23290 (casin_test_data): Likewise.
23291 (casinh_test_data): Likewise.
23292 (catan_test_data): Likewise.
23293 (catanh_test_data): Likewise.
23294 (cbrt_test_data): Likewise.
23295 (ccos_test_data): Likewise.
23296 (ccosh_test_data): Likewise.
23297 (ceil_test_data): Likewise.
23298 (cexp_test_data): Likewise.
23299 (cimag_test_data): Likewise.
23300 (clog_test_data): Likewise.
23301 (clog10_test_data): Likewise.
23302 (conj_test_data): Likewise.
23303 (copysign_test_data): Likewise.
23304 (cos_test_data): Likewise.
23305 (cos_tonearest_test_data): Likewise.
23306 (cos_towardzero_test_data): Likewise.
23307 (cos_downward_test_data): Likewise.
23308 (cos_upward_test_data): Likewise.
23309 (cosh_test_data): Likewise.
23310 (cosh_tonearest_test_data): Likewise.
23311 (cosh_towardzero_test_data): Likewise.
23312 (cosh_downward_test_data): Likewise.
23313 (cosh_upward_test_data): Likewise.
23314 (cpow_test_data): Likewise.
23315 (cproj_test_data): Likewise.
23316 (creal_test_data): Likewise.
23317 (csin_test_data): Likewise.
23318 (csinh_test_data): Likewise.
23319 (csqrt_test_data): Likewise.
23320 (ctan_test_data): Likewise.
23321 (ctan_tonearest_test_data): Likewise.
23322 (ctan_towardzero_test_data): Likewise.
23323 (ctan_downward_test_data): Likewise.
23324 (ctan_upward_test_data): Likewise.
23325 (ctanh_test_data): Likewise.
23326 (ctanh_tonearest_test_data): Likewise.
23327 (ctanh_towardzero_test_data): Likewise.
23328 (ctanh_downward_test_data): Likewise.
23329 (ctanh_upward_test_data): Likewise.
23330 (erf_test_data): Likewise.
23331 (erfc_test_data): Likewise.
23332 (exp_test_data): Likewise.
23333 (exp_tonearest_test_data): Likewise.
23334 (exp_towardzero_test_data): Likewise.
23335 (exp_downward_test_data): Likewise.
23336 (exp_upward_test_data): Likewise.
23337 (exp10_test_data): Likewise.
23338 (exp2_test_data): Likewise.
23339 (expm1_test_data): Likewise.
23340 (fabs_test_data): Likewise.
23341 (fdim_test_data): Likewise.
23342 (finite_test_data): Likewise.
23343 (floor_test_data): Likewise.
23344 (fma_test_data): Likewise.
23345 (fma_towardzero_test_data): Likewise.
23346 (fma_downward_test_data): Likewise.
23347 (fma_upward_test_data): Likewise.
23348 (fmax_test_data): Likewise.
23349 (fmin_test_data): Likewise.
23350 (fmod_test_data): Likewise.
23351 (fpclassify_test_data): Likewise.
23352 (frexp_test_data): Likewise.
23353 (gamma_test_data): Likewise.
23354 (hypot_test_data): Likewise.
23355 (ilogb_test_data): Likewise.
23356 (isfinite_test_data): Likewise.
23357 (isgreater_test_data): Likewise.
23358 (isgreaterequal_test_data): Likewise.
23359 (isinf_test_data): Likewise.
23360 (isless_test_data): Likewise.
23361 (islessequal_test_data): Likewise.
23362 (islessgreater_test_data): Likewise.
23363 (isnan_test_data): Likewise.
23364 (isnormal_test_data): Likewise.
23365 (issignaling_test_data): Likewise.
23366 (isunordered_test_data): Likewise.
23367 (j0_test_data): Likewise.
23368 (j1_test_data): Likewise.
23369 (jn_test_data): Likewise.
23370 (ldexp_test_data): Likewise.
23371 (lgamma_test_data): Likewise.
23372 (lrint_test_data): Likewise.
23373 (lrint_tonearest_test_data): Likewise.
23374 (lrint_towardzero_test_data): Likewise.
23375 (lrint_downward_test_data): Likewise.
23376 (lrint_upward_test_data): Likewise.
23377 (llrint_test_data): Likewise.
23378 (llrint_tonearest_test_data): Likewise.
23379 (llrint_towardzero_test_data): Likewise.
23380 (llrint_downward_test_data): Likewise.
23381 (llrint_upward_test_data): Likewise.
23382 (log_test_data): Likewise.
23383 (log10_test_data): Likewise.
23384 (log1p_test_data): Likewise.
23385 (log2_test_data): Likewise.
23386 (logb_test_data): Likewise.
23387 (logb_downward_test_data): Likewise.
23388 (lround_test_data): Likewise.
23389 (llround_test_data): Likewise.
23390 (modf_test_data): Likewise.
23391 (nearbyint_test_data): Likewise.
23392 (nextafter_test_data): Likewise.
23393 (nexttoward_test_data): Likewise.
23394 (pow_test_data): Likewise.
23395 (pow_tonearest_test_data): Likewise.
23396 (pow_towardzero_test_data): Likewise.
23397 (pow_downward_test_data): Likewise.
23398 (pow_upward_test_data): Likewise.
23399 (remainder_test_data): Likewise.
23400 (remainder_tonearest_test_data): Likewise.
23401 (remainder_towardzero_test_data): Likewise.
23402 (remainder_downward_test_data): Likewise.
23403 (remainder_upward_test_data): Likewise.
23404 (remquo_test_data): Likewise.
23405 (rint_test_data): Likewise.
23406 (rint_tonearest_test_data): Likewise.
23407 (rint_towardzero_test_data): Likewise.
23408 (rint_downward_test_data): Likewise.
23409 (rint_upward_test_data): Likewise.
23410 (round_test_data): Likewise.
23411 (scalb_test_data): Likewise.
23412 (scalbn_test_data): Likewise.
23413 (scalbln_test_data): Likewise.
23414 (signbit_test_data): Likewise.
23415 (sin_test_data): Likewise.
23416 (sin_tonearest_test_data): Likewise.
23417 (sin_towardzero_test_data): Likewise.
23418 (sin_downward_test_data): Likewise.
23419 (sin_upward_test_data): Likewise.
23420 (sincos_test_data): Likewise.
23421 (sinh_test_data): Likewise.
23422 (sinh_tonearest_test_data): Likewise.
23423 (sinh_towardzero_test_data): Likewise.
23424 (sinh_downward_test_data): Likewise.
23425 (sinh_upward_test_data): Likewise.
23426 (sqrt_test_data): Likewise.
23427 (tan_test_data): Likewise.
23428 (tan_tonearest_test_data): Likewise.
23429 (tan_towardzero_test_data): Likewise.
23430 (tan_downward_test_data): Likewise.
23431 (tan_upward_test_data): Likewise.
23432 (tanh_test_data): Likewise.
23433 (tgamma_test_data): Likewise.
23434 (trunc_test_data): Likewise.
23435 (y0_test_data): Likewise.
23436 (y1_test_data): Likewise.
23437 (yn_test_data): Likewise.
23438 (significand_test_data): Likewise.
23439
b679a606
JM
23440 * math/gen-libm-test.pl (@functions): Remove variable.
23441 (generate_testfile): Don't handle START and END lines.
23442 * math/libm-test.inc (START): New macro.
23443 (END): Likewise.
23444 (END_COMPLEX): Likewise.
23445 (acos_test): Use END macro without arguments.
23446 (acos_test_tonearest): Likewise.
23447 (acos_test_towardzero): Likewise.
23448 (acos_test_downward): Likewise.
23449 (acos_test_upward): Likewise.
23450 (acosh_test): Likewise.
23451 (asin_test): Likewise.
23452 (asin_test_tonearest): Likewise.
23453 (asin_test_towardzero): Likewise.
23454 (asin_test_downward): Likewise.
23455 (asin_test_upward): Likewise.
23456 (asinh_test): Likewise.
23457 (atan_test): Likewise.
23458 (atanh_test): Likewise.
23459 (atan2_test): Likewise.
23460 (cabs_test): Likewise.
23461 (cacos_test): Use END_COMPLEX macro without arguments.
23462 (cacosh_test): Likewise.
23463 (carg_test): Use END macro without arguments.
23464 (casin_test): Use END_COMPLEX macro without arguments.
23465 (casinh_test): Likewise.
23466 (catan_test): Likewise.
23467 (catanh_test): Likewise.
23468 (cbrt_test): Use END macro without arguments.
23469 (ccos_test): Use END_COMPLEX macro without arguments.
23470 (ccosh_test): Likewise.
23471 (ceil_test): Use END macro without arguments.
23472 (cexp_test): Use END_COMPLEX macro without arguments.
23473 (cimag_test): Use END macro without arguments.
23474 (clog_test): Use END_COMPLEX macro without arguments.
23475 (clog10_test): Likewise.
23476 (conj_test): Likewise.
23477 (copysign_test): Use END macro without arguments.
23478 (cos_test): Likewise.
23479 (cos_test_tonearest): Likewise.
23480 (cos_test_towardzero): Likewise.
23481 (cos_test_downward): Likewise.
23482 (cos_test_upward): Likewise.
23483 (cosh_test): Likewise.
23484 (cosh_test_tonearest): Likewise.
23485 (cosh_test_towardzero): Likewise.
23486 (cosh_test_downward): Likewise.
23487 (cosh_test_upward): Likewise.
23488 (cpow_test): Use END_COMPLEX macro without arguments.
23489 (cproj_test): Likewise.
23490 (creal_test): Use END macro without arguments.
23491 (csin_test): Use END_COMPLEX macro without arguments.
23492 (csinh_test): Likewise.
23493 (csqrt_test): Likewise.
23494 (ctan_test): Likewise.
23495 (ctan_test_tonearest): Likewise.
23496 (ctan_test_towardzero): Likewise.
23497 (ctan_test_downward): Likewise.
23498 (ctan_test_upward): Likewise.
23499 (ctanh_test): Likewise.
23500 (ctanh_test_tonearest): Likewise.
23501 (ctanh_test_towardzero): Likewise.
23502 (ctanh_test_downward): Likewise.
23503 (ctanh_test_upward): Likewise.
23504 (erf_test): Use END macro without arguments.
23505 (erfc_test): Likewise.
23506 (exp_test): Likewise.
23507 (exp_test_tonearest): Likewise.
23508 (exp_test_towardzero): Likewise.
23509 (exp_test_downward): Likewise.
23510 (exp_test_upward): Likewise.
23511 (exp10_test): Likewise.
23512 (exp2_test): Likewise.
23513 (expm1_test): Likewise.
23514 (fabs_test): Likewise.
23515 (fdim_test): Likewise.
23516 (finite_test): Likewise.
23517 (floor_test): Likewise.
23518 (fma_test): Likewise.
23519 (fma_test_towardzero): Likewise.
23520 (fma_test_downward): Likewise.
23521 (fma_test_upward): Likewise.
23522 (fmax_test): Likewise.
23523 (fmin_test): Likewise.
23524 (fmod_test): Likewise.
23525 (fpclassify_test): Likewise.
23526 (frexp_test): Likewise.
23527 (gamma_test): Likewise.
23528 (hypot_test): Likewise.
23529 (ilogb_test): Likewise.
23530 (isfinite_test): Likewise.
23531 (isgreater_test): Likewise.
23532 (isgreaterequal_test): Likewise.
23533 (isinf_test): Likewise.
23534 (isless_test): Likewise.
23535 (islessequal_test): Likewise.
23536 (islessgreater_test): Likewise.
23537 (isnan_test): Likewise.
23538 (isnormal_test): Likewise.
23539 (issignaling_test): Likewise.
23540 (isunordered_test): Likewise.
23541 (j0_test): Likewise.
23542 (j1_test): Likewise.
23543 (jn_test): Likewise.
23544 (ldexp_test): Likewise.
23545 (lgamma_test): Likewise.
23546 (lrint_test): Likewise.
23547 (lrint_test_tonearest): Likewise.
23548 (lrint_test_towardzero): Likewise.
23549 (lrint_test_downward): Likewise.
23550 (lrint_test_upward): Likewise.
23551 (llrint_test): Likewise.
23552 (llrint_test_tonearest): Likewise.
23553 (llrint_test_towardzero): Likewise.
23554 (llrint_test_downward): Likewise.
23555 (llrint_test_upward): Likewise.
23556 (log_test): Likewise.
23557 (log10_test): Likewise.
23558 (log1p_test): Likewise.
23559 (log2_test): Likewise.
23560 (logb_test): Likewise.
23561 (logb_test_downward): Likewise.
23562 (lround_test): Likewise.
23563 (llround_test): Likewise.
23564 (modf_test): Likewise.
23565 (nearbyint_test): Likewise.
23566 (nextafter_test): Likewise.
23567 (nexttoward_test): Likewise.
23568 (pow_test): Likewise.
23569 (pow_test_tonearest): Likewise.
23570 (pow_test_towardzero): Likewise.
23571 (pow_test_downward): Likewise.
23572 (pow_test_upward): Likewise.
23573 (remainder_test): Likewise.
23574 (remainder_test_tonearest): Likewise.
23575 (remainder_test_towardzero): Likewise.
23576 (remainder_test_downward): Likewise.
23577 (remainder_test_upward): Likewise.
23578 (remquo_test): Likewise.
23579 (rint_test): Likewise.
23580 (rint_test_tonearest): Likewise.
23581 (rint_test_towardzero): Likewise.
23582 (rint_test_downward): Likewise.
23583 (rint_test_upward): Likewise.
23584 (round_test): Likewise.
23585 (scalb_test): Likewise.
23586 (scalbn_test): Likewise.
23587 (scalbln_test): Likewise.
23588 (signbit_test): Likewise.
23589 (sin_test): Likewise.
23590 (sin_test_tonearest): Likewise.
23591 (sin_test_towardzero): Likewise.
23592 (sin_test_downward): Likewise.
23593 (sin_test_upward): Likewise.
23594 (sincos_test): Likewise.
23595 (sinh_test): Likewise.
23596 (sinh_test_tonearest): Likewise.
23597 (sinh_test_towardzero): Likewise.
23598 (sinh_test_downward): Likewise.
23599 (sinh_test_upward): Likewise.
23600 (sqrt_test): Likewise.
23601 (tan_test): Likewise.
23602 (tan_test_tonearest): Likewise.
23603 (tan_test_towardzero): Likewise.
23604 (tan_test_downward): Likewise.
23605 (tan_test_upward): Likewise.
23606 (tanh_test): Likewise.
23607 (tgamma_test): Likewise.
23608 (trunc_test): Likewise.
23609 (y0_test): Likewise.
23610 (y1_test): Likewise.
23611 (yn_test): Likewise.
23612 (significand_test): Likewise.
23613
bae143d2
OB
236142013-05-24 Ondřej Bílka <neleai@seznam.cz>
23615
23616 [BZ #15381]
23617 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23618
9323d39b
EM
236192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23620
d4ea44a0 23621 [BZ #14894]
9323d39b
EM
23622 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23623 __ppc_mdoio and __ppc_mdoom.
23624 * manual/platform.texi: Document new functions __ppc_yield,
23625 __ppc_mdoio and __ppc_mdoom.
23626
13e23af7
CD
236272013-05-22 Carlos O'Donell <carlos@redhat.com>
23628
23629 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23630 (main): Mention "tls" pseudo-hwcap is legacy.
23631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23632
351fe550
JM
236332013-05-22 Joseph Myers <joseph@codesourcery.com>
23634
23635 * math/gen-libm-test.pl (parse_args): Output only string of
23636 arguments as text for test name, not full call or descriptions of
23637 tests for extra outputs.
23638 (generate_testfile): Do not pass function name to parse_args.
23639 Generate this_func variable from START.
23640 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23641 field to arg_str.
23642 (struct test_ff_f_data): Likewise.
23643 (test_ff_f_data_nexttoward): Likewise.
23644 (struct test_fi_f_data): Likewise.
23645 (struct test_fl_f_data): Likewise.
23646 (struct test_if_f_data): Likewise.
23647 (struct test_fff_f_data): Likewise.
23648 (struct test_c_f_data): Likewise.
23649 (struct test_f_f1_data): Likewise. Remove field extra_name.
23650 (struct test_fF_f1_data): Likewise.
23651 (struct test_ffI_f1_data): Likewise.
23652 (struct test_c_c_data): Rename test_name field to arg_str.
23653 (struct test_cc_c_data): Likewise.
23654 (struct test_f_i_data): Likewise.
23655 (struct test_ff_i_data): Likewise.
23656 (struct test_f_l_data): Likewise.
23657 (struct test_f_L_data): Likewise.
23658 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23659 and extra2_name.
23660 (COMMON_TEST_SETUP): New macro.
23661 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23662 (COMMON_TEST_CLEANUP): Likewise.
23663 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23664 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23665 macros.
23666 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23667 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23668 macros.
23669 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23670 (RUN_TEST_fff_f): Take argument string. Call new setup and
23671 cleanup macros.
23672 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23673 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23674 macros.
23675 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23676 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23677 macros.
23678 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23679 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23680 cleanup macros.
23681 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23682 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23683 cleanup macros.
23684 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23685 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23686 cleanup macros.
23687 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23688 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23689 macros.
23690 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23691 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23692 macros.
23693 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23694 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23695 macros.
23696 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23697 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23698 cleanup macros.
23699 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23700 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23701 cleanup macros.
23702 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23703 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23704 macros.
23705 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23706 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23707 cleanup macros.
23708 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23709 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23710 macros.
23711 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23712 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23713 macros.
23714 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23715 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23716 cleanup macros.
23717 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23718
85118d4d
EBM
237192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23720
23721 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23722 to _sifields.sigfault.
23723 (si_addr_lsb): Define new macro.
23724 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23727
7a44c18f
CD
237282013-05-03 Carlos O'Donell <carlos at redhat.com>
23729
23730 [BZ #15441]
23731 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23732 returns -1.
23733 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23734 null return -1.
23735 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23736 loading the domain.
23737
b50a7181
JM
237382013-05-22 Joseph Myers <joseph@codesourcery.com>
23739
23740 * math/gen-libm-test.pl (parse_args): Do not include expected
23741 result in test name.
23742 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23748
051063c8
SP
237492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23750
3ce9e010
SP
23751 * benchtests/Makefile: Sort function entries.
23752
051063c8
SP
23753 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23754 tanh, asinh, acosh, atanh.
23755 * benchtests/acos-inputs: New file.
23756 * benchtests/acosh-inputs: New file.
23757 * benchtests/asin-inputs: New file.
23758 * benchtests/asinh-inputs: New file.
23759 * benchtests/atanh-inputs: New file.
23760 * benchtests/cosh-inputs: New file.
23761 * benchtests/log-inputs: New file.
23762 * benchtests/sinh-inputs: New file.
23763 * benchtests/tanh-inputs: New file.
23764
47c22455
DL
237652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23766
23767 [BZ #15339]
23768 * posix/tst-getaddrinfo4.c: New test.
23769 * posix/Makefile (tests): Add it.
23770
3d04f5db
SP
237712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23772
23773 [BZ #15339]
23774 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23775 when no services were used.
23776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23777 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23778
d5dd6189
AS
237792013-05-21 Andreas Schwab <schwab@suse.de>
23780
23781 [BZ #15014]
23782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23783 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23784 successful.
23785 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23786 redundant variable declarations and reallocation of buffer when
23787 parsing as IPv6 address. Always set NSS status when called from
23788 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23789 buffer too small. Correct computation of needed size.
23790 * nss/Makefile (tests): Add test-digits-dots.
23791 * nss/test-digits-dots.c: New test.
23792
fef94eab
SP
237932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23794
23795 * benchtests/Makefile: Remove instructions for adding
23796 benchmark tests.
23797 * benchtests/README: New file to explain how to execute and
23798 enhance the benchmark tests.
23799
e39adf43
AS
238002013-05-21 Andreas Schwab <schwab@suse.de>
23801
23802 [BZ #15493]
23803 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23804 * setjmp/tst-sigsetjmp.c: New test.
23805
b2b671b6
OB
238062013-05-20 Ondřej Bílka <neleai@seznam.cz>
23807
23808 * sysdeps/x86_64/memset.S (memset): New implementation.
23809 (__bzero): Likewise.
23810 (__memset_tail): New function.
23811
2d48b41c
OB
238122013-05-20 Ondřej Bílka <neleai@seznam.cz>
23813
23814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23815 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23816 __memcpy_sse2_unaligned ifunc selection.
23817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23818 Add memcpy-sse2-unaligned.S.
23819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23820 Add: __memcpy_sse2_unaligned.
23821
f16cc3eb
JM
238222013-05-19 Joseph Myers <joseph@codesourcery.com>
23823
3e694268
JM
23824 [BZ #15490]
23825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23826 math_force_eval before restoring floating-point envrionment.
23827 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23829 Likewise.
23830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23831 <math_private.h>.
23832 (__nearbyintl): Use math_force_eval before restoring
23833 floating-point environment.
23834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23835
db62a907
JM
23836 * math/gen-libm-test.pl (special_functions): Remove.
23837 (parse_args): Don't handle TEST_extra. Handle functions with no
23838 return value.
23839 * math/libm-test.inc (struct test_sincos_data): Replace with
23840 struct test_fFF_11_data.
23841 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23842 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23843 (sincos_test_data): Change element type to struct
23844 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23845 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23846 RUN_TEST_LOOP_sincos.
23847 * math/README.libm-test: Don't mention special handling of
23848 individual functions.
23849 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23855
f16cc3eb
JM
23856 * math/gen-libm-test.pl (get_variable): Remove function.
23857 (parse_args): Don't show pointer parameters to call in test
23858 names. Use "extra output N" in test names for extra outputs
23859 rather than naming variables.
23860
3779b5b6
JM
238612013-05-18 Joseph Myers <joseph@codesourcery.com>
23862
2ee094ff
JM
23863 [BZ #15488]
23864 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23865 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23866 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23867 double tests.
23868 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23869 disable.
23870 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23871 check_long_double.
23872
3779b5b6
JM
23873 * math/gen-libm-test.pl (@tests): Remove variable.
23874 ($count): Likewise.
23875 (new_test): Remove function.
23876 (show_exceptions): New function.
23877 (special_functions): Use show_exceptions instead of new_test.
23878 (parse_args): Likewise.
23879 (generate_testfile): Pass only function name in generated call to
23880 print_max_error or print_complex_max_error.
23881 (get_ulps): Do not handle complex tests specially.
23882 (output_test): Rename to ...
23883 (get_all_ulps_for_test): ... this. Return a string rather than
23884 printing to a file. Require ulps to be present.
23885 (output_ulps): Generate arrays rather than #defines.
23886 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23887 (struct ulp_data): New type.
23888 (BUILD_COMPLEX_ULP): Remove macro.
23889 (compare_ulp_data): New function.
23890 (find_ulps): Likewise.
23891 (find_test_ulps): Likewise.
23892 (find_function_ulps): Likewise.
23893 (find_complex_function_ulps): Likewise.
23894 (print_max_error): Determine allowed ulps using
23895 find_function_ulps.
23896 (print_complex_max_error): Determine allowed ulps using
23897 find_complex_function_ulps.
23898 (check_float_internal): Determine max ulps using find_test_ulps.
23899 (check_float): Do not take max_ulp parameter. Update call to
23900 check_float_internal.
23901 (check_complex): Likewise.
23902 (check_int): Do not take max_ulp parameter.
23903 (check_long): Likewise.
23904 (check_bool): Likewise.
23905 (check_longlong): Likewise.
23906 (struct test_f_f_data): Remove max_ulp field.
23907 (struct test_ff_f_data): Likewise.
23908 (struct test_ff_f_data_nexttoward): Likewise.
23909 (struct test_fi_f_data): Likewise.
23910 (struct test_fl_f_data): Likewise.
23911 (struct test_if_f_data): Likewise.
23912 (struct test_fff_f_data): Likewise.
23913 (struct test_c_f_data): Likewise.
23914 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23915 (struct test_fF_f1_data): Likewise.
23916 (struct test_ffI_f1_data): Likewise.
23917 (struct test_c_c_data): Remove max_ulp field.
23918 (struct test_cc_c_data): Likewise.
23919 (struct test_f_i_data): Likewise.
23920 (struct test_ff_i_data): Likewise.
23921 (struct test_f_l_data): Likewise.
23922 (struct test_f_L_data): Likewise.
23923 (struct test_sincos_data): Likewise.
23924 (RUN_TEST_f_f): Do not handle ulps.
23925 (RUN_TEST_LOOP_f_f): Likewise.
23926 (RUN_TEST_2_f): Likewise.
23927 (RUN_TEST_LOOP_2_f): Likewise.
23928 (RUN_TEST_fff_f): Likewise.
23929 (RUN_TEST_LOOP_fff_f): Likewise.
23930 (RUN_TEST_c_f): Likewise.
23931 (RUN_TEST_LOOP_c_f): Likewise.
23932 (RUN_TEST_f_f1): Likewise.
23933 (RUN_TEST_LOOP_f_f1): Likewise.
23934 (RUN_TEST_fF_f1): Likewise.
23935 (RUN_TEST_LOOP_fF_f1): Likewise.
23936 (RUN_TEST_fI_f1): Likewise.
23937 (RUN_TEST_LOOP_fI_f1): Likewise.
23938 (RUN_TEST_ffI_f1): Likewise.
23939 (RUN_TEST_LOOP_ffI_f1): Likewise.
23940 (RUN_TEST_c_c): Likewise.
23941 (RUN_TEST_LOOP_c_c): Likewise.
23942 (RUN_TEST_cc_c): Likewise.
23943 (RUN_TEST_LOOP_cc_c): Likewise.
23944 (RUN_TEST_f_i): Likewise.
23945 (RUN_TEST_LOOP_f_i): Likewise.
23946 (RUN_TEST_f_i_tg): Likewise.
23947 (RUN_TEST_LOOP_f_i_tg): Likewise.
23948 (RUN_TEST_ff_i_tg): Likewise.
23949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23950 (RUN_TEST_f_b): Likewise.
23951 (RUN_TEST_LOOP_f_b): Likewise.
23952 (RUN_TEST_f_b_tg): Likewise.
23953 (RUN_TEST_LOOP_f_b_tg): Likewise.
23954 (RUN_TEST_f_l): Likewise.
23955 (RUN_TEST_LOOP_f_l): Likewise.
23956 (RUN_TEST_f_L): Likewise.
23957 (RUN_TEST_LOOP_f_L): Likewise.
23958 (RUN_TEST_sincos): Likewise.
23959 (RUN_TEST_LOOP_sincos): Likewise.
23960
8269107f
JM
239612013-05-17 Joseph Myers <joseph@codesourcery.com>
23962
bb38759d
JM
23963 [BZ #15480]
23964 [BZ #15485]
23965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23966 main case of finite arguments, set rounding mode to FE_TONEAREST
23967 and discard exceptions.
23968 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23969 exceptions.
23970 (remainder_tonearest_test_data): New variable.
23971 (remainder_test_tonearest): New function.
23972 (remainder_towardzero_test_data): New variable.
23973 (remainder_test_towardzero): New function.
23974 (remainder_downward_test_data): New variable.
23975 (remainder_test_downward): New function.
23976 (remainder_upward_test_data): New variable.
23977 (remainder_test_upward): New function.
23978 (main): Call the new test functions.
23979
a00bdcf0
JM
23980 * math/libm-test.inc (struct test_f_f1_data): Remove field
23981 extra_init.
23982 (struct test_fF_f1_data): Likewise.
23983 (struct test_ffI_f1_data): Likewise.
23984 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23985 based on value of EXTRA_EXPECTED.
23986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23987 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23988 EXTRA_VAR based on value of EXTRA_EXPECTED.
23989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23990 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23991 EXTRA_VAR based on value of EXTRA_EXPECTED.
23992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23993 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23994 EXTRA_VAR based on value of EXTRA_EXPECTED.
23995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23996 * math/gen-libm-test.pl (parse_args): Don't output initializers
23997 for extra output values.
23998
de407f79
JM
23999 * math/libm-test.inc (check_int): Expect result to be exactly
24000 equal to expected value and do not handle ulps.
24001 (check_long): Likewise.
24002 (check_longlong): Likewise.
24003
8269107f
JM
24004 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24005 exceptions.
24006 (cimag_test_data): Likewise.
24007 (conj_test_data): Likewise.
24008 (copysign_test_data): Likewise.
24009 (cproj_test_data): Likewise.
24010 (creal_test_data): Likewise.
24011 (fabs_test_data): Likewise.
24012 (fdim_test_data): Likewise.
24013 (finite_test_data): Likewise.
24014 (floor_test_data): Likewise.
24015 (fmax_test_data): Likewise.
24016 (fmin_test_data): Likewise.
24017 (fmod_test_data): Likewise.
24018 (fpclassify_test_data): Likewise.
24019 (frexp_test_data): Likewise.
24020 (ilogb_test_data): Likewise.
24021 (isfinite_test_data): Likewise.
24022 (isgreater_test_data): Likewise.
24023 (isgreaterequal_test_data): Likewise.
24024 (isinf_test_data): Likewise.
24025 (isless_test_data): Likewise.
24026 (islessequal_test_data): Likewise.
24027 (islessgreater_test_data): Likewise.
24028 (isnan_test_data): Likewise.
24029 (isnormal_test_data): Likewise.
24030 (issignaling_test_data): Likewise.
24031 (isunordered_test_data): Likewise.
24032 (ldexp_test_data): Likewise.
24033 (lrint_test_data): Likewise.
24034 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24035 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24036 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24037 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24038 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24039 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24040 test input.
24041 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24042 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24043 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24044 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24045 that test input.
24046 (lrint_downward_test_data): Test for "inexact" exceptions.
24047 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24048 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24049 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24050 test input.
24051 (lrint_upward_test_data): Test for "inexact" exceptions.
24052 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24053 test input.
24054 (llrint_test_data): Test for "inexact" exceptions.
24055 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24056 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24057 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24058 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24059 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24060 (llrint_downward_test_data): Test for "inexact" exceptions.
24061 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24062 (llrint_upward_test_data): Test for "inexact" exceptions.
24063 (logb_test_data): Likewise.
24064 (logb_downward_test_data): Likewise.
24065 (nextafter_test_data): Likewise.
24066 (nexttoward_test_data): Likewise.
24067 (remainder_test_data): Likewise.
24068 (remquo_test_data): Likewise.
24069 (scalbn_test_data): Likewise.
24070 (scalbln_test_data): Likewise.
24071 (signbit_test_data): Likewise.
24072 (sqrt_test_data): Likewise.
24073 (significand_test_data): Likewise.
24074
48a18de1
SP
240752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24076
24077 [BZ #15424]
24078 * benchtests/bench-modf.c (struct args): Mark arg0 as
24079 volatile.
24080 * scripts/bench.pl: Mark members of struct args as volatile.
24081
13d3b41a
AZ
240822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24083
68191c1d 24084 [BZ # 15497]
13d3b41a
AZ
24085 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24086 negative infinity on POWER6 or lower.
24087 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24088
2848b105
MR
240892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24090
24091 [BZ #15442]
24092 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24093 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24094 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24095 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24096 (_FP_SETQNAN): New macro.
24097 (_FP_SETQNAN_SEMIRAW): Likewise.
24098 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24099 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24100 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24101 (FP_EXTEND): Use _FP_FRAC_SNANP.
24102 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24103 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24104 into account.
24105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24106 New macro.
24107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24108 Likewise.
24109
323e5cb7
JM
241102013-05-16 Joseph Myers <joseph@codesourcery.com>
24111
c58b274f
JM
24112 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24113 with DIVIDE_BY_ZERO_EXCEPTION.
24114 (gamma_test_data): Likewise.
24115 (lgamma_test_data): Likewise.
24116 (log_test_data): Likewise.
24117 (log10_test_data): Likewise.
24118 (log2_test_data): Likewise.
24119 (tgamma_test_data): Likewise.
24120
0ab34904
JM
24121 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24122 (acos_test_tonearest): Likewise.
24123 (acos_test_towardzero): Likewise.
24124 (acos_test_downward): Likewise.
24125 (acos_test_upward): Likewise.
24126 (acosh_test): Likewise.
24127 (asin_test): Likewise.
24128 (asin_test_tonearest): Likewise.
24129 (asin_test_towardzero): Likewise.
24130 (asin_test_downward): Likewise.
24131 (asin_test_upward): Likewise.
24132 (asinh_test): Likewise.
24133 (atan_test): Likewise.
24134 (atanh_test): Likewise.
24135 (atan2_test): Likewise.
24136 (cabs_test): Likewise.
24137 (cacos_test): Likewise.
24138 (cacosh_test): Likewise.
24139 (casin_test): Likewise.
24140 (casinh_test): Likewise.
24141 (catan_test): Likewise.
24142 (catanh_test): Likewise.
24143 (cbrt_test): Likewise.
24144 (ccos_test): Likewise.
24145 (ccosh_test): Likewise.
24146 (cexp_test): Likewise.
24147 (clog_test): Likewise.
24148 (clog10_test): Likewise.
24149 (cos_test): Likewise.
24150 (cos_test_tonearest): Likewise.
24151 (cos_test_towardzero): Likewise.
24152 (cos_test_downward): Likewise.
24153 (cos_test_upward): Likewise.
24154 (cosh_test): Likewise.
24155 (cosh_test_tonearest): Likewise.
24156 (cosh_test_towardzero): Likewise.
24157 (cosh_test_downward): Likewise.
24158 (cosh_test_upward): Likewise.
24159 (cpow_test): Likewise.
24160 (csin_test): Likewise.
24161 (csinh_test): Likewise.
24162 (csqrt_test): Likewise.
24163 (ctan_test): Likewise.
24164 (ctan_test_tonearest): Likewise.
24165 (ctan_test_towardzero): Likewise.
24166 (ctan_test_downward): Likewise.
24167 (ctan_test_upward): Likewise.
24168 (ctanh_test): Likewise.
24169 (ctanh_test_tonearest): Likewise.
24170 (ctanh_test_towardzero): Likewise.
24171 (ctanh_test_downward): Likewise.
24172 (ctanh_test_upward): Likewise.
24173 (erf_test): Likewise.
24174 (erfc_test): Likewise.
24175 (exp_test): Likewise.
24176 (exp_test_tonearest): Likewise.
24177 (exp_test_towardzero): Likewise.
24178 (exp_test_downward): Likewise.
24179 (exp_test_upward): Likewise.
24180 (exp10_test): Likewise.
24181 (exp2_test): Likewise.
24182 (expm1_test): Likewise.
24183 (fmod_test): Likewise.
24184 (gamma_test): Likewise.
24185 (hypot_test): Likewise.
24186 (j0_test): Likewise.
24187 (j1_test): Likewise.
24188 (jn_test): Likewise.
24189 (lgamma_test): Likewise.
24190 (log_test): Likewise.
24191 (log10_test): Likewise.
24192 (log1p_test): Likewise.
24193 (log2_test): Likewise.
24194 (logb_test_downward): Likewise.
24195 (pow_test): Likewise.
24196 (pow_test_tonearest): Likewise.
24197 (pow_test_towardzero): Likewise.
24198 (pow_test_downward): Likewise.
24199 (pow_test_upward): Likewise.
24200 (remainder_test): Likewise.
24201 (remquo_test): Likewise.
24202 (sin_test): Likewise.
24203 (sin_test_tonearest): Likewise.
24204 (sin_test_towardzero): Likewise.
24205 (sin_test_downward): Likewise.
24206 (sin_test_upward): Likewise.
24207 (sincos_test): Likewise.
24208 (sinh_test): Likewise.
24209 (sinh_test_tonearest): Likewise.
24210 (sinh_test_towardzero): Likewise.
24211 (sinh_test_downward): Likewise.
24212 (sinh_test_upward): Likewise.
24213 (sqrt_test): Likewise.
24214 (tan_test): Likewise.
24215 (tan_test_tonearest): Likewise.
24216 (tan_test_towardzero): Likewise.
24217 (tan_test_downward): Likewise.
24218 (tan_test_upward): Likewise.
24219 (tanh_test): Likewise.
24220 (tgamma_test): Likewise.
24221 (y0_test): Likewise.
24222 (y1_test): Likewise.
24223 (yn_test): Likewise.
24224
323e5cb7
JM
24225 * math/gen-libm-test.pl (adjust_arg): Remove function.
24226 (special_function): Remove argument $in_func. Only handle
24227 generating output for tables of tests, not inside functions.
24228 (parse_args): Likewise.
24229 (generate_testfile): Remove variable $in_func. Update call to
24230 parse_args.
24231 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24232 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24233 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24234 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24235 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24236 (MAX_VALUE_INIT): Rename macro to max_value.
24237 (MIN_VALUE_INIT): Rename macro to min_value.
24238 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24239 (plus_zero): Remove variable.
24240 (minus_zero): Likewise.
24241 (plus_infty): Likewise.
24242 (minus_infty): Likewise.
24243 (qnan_value): Likewise.
24244 (max_value): Likewise.
24245 (min_value): Likewise.
24246 (min_subnorm_value): Likewise.
24247
e054f494
RA
242482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24249
24250 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24251 uint64_t or uint32_t usage.
24252 * crypt/sha256-block.c: Likewise.
24253 * crypt/sha256-crypt.c: Likewise.
24254 * crypt/sha256.c: Likewise.
24255 * crypt/sha512-block.c: Likewise.
24256 * crypt/sha512-crypt.c: Likewise.
24257 * crypt/sha512.c: Likewise.
24258 * debug/backtrace-tst.c: Likewise.
24259 * debug/pcprofiledump.c: Likewise.
24260 * elf/cache.c: Likewise.
24261 * elf/dl-cache.c: Likewise.
24262 * elf/dl-misc.c: Likewise.
24263 * elf/dl-profile.c: Likewise.
24264 * elf/dl-support.c: Likewise.
24265 * elf/ldconfig.c: Likewise.
24266 * elf/sprof.c: Likewise.
24267 * iconv/dummy-repertoire.c: Likewise.
24268 * iconv/iconv_charmap.c: Likewise.
24269 * iconv/skeleton.c: Likewise.
24270 * iconvdata/8bit-generic.c: Likewise.
24271 * iconvdata/cp737.h: Likewise.
24272 * iconvdata/cp775.h: Likewise.
24273 * iconvdata/ibm1008.h: Likewise.
24274 * iconvdata/ibm1025.h: Likewise.
24275 * iconvdata/ibm1046.h: Likewise.
24276 * iconvdata/ibm1097.h: Likewise.
24277 * iconvdata/ibm1112.h: Likewise.
24278 * iconvdata/ibm1122.h: Likewise.
24279 * iconvdata/ibm1123.h: Likewise.
24280 * iconvdata/ibm1124.h: Likewise.
24281 * iconvdata/ibm1129.h: Likewise.
24282 * iconvdata/ibm1130.h: Likewise.
24283 * iconvdata/ibm1132.h: Likewise.
24284 * iconvdata/ibm1133.h: Likewise.
24285 * iconvdata/ibm1137.h: Likewise.
24286 * iconvdata/ibm1140.h: Likewise.
24287 * iconvdata/ibm1141.h: Likewise.
24288 * iconvdata/ibm1142.h: Likewise.
24289 * iconvdata/ibm1143.h: Likewise.
24290 * iconvdata/ibm1144.h: Likewise.
24291 * iconvdata/ibm1145.h: Likewise.
24292 * iconvdata/ibm1146.h: Likewise.
24293 * iconvdata/ibm1147.h: Likewise.
24294 * iconvdata/ibm1148.h: Likewise.
24295 * iconvdata/ibm1149.h: Likewise.
24296 * iconvdata/ibm1153.h: Likewise.
24297 * iconvdata/ibm1154.h: Likewise.
24298 * iconvdata/ibm1155.h: Likewise.
24299 * iconvdata/ibm1156.h: Likewise.
24300 * iconvdata/ibm1157.h: Likewise.
24301 * iconvdata/ibm1158.h: Likewise.
24302 * iconvdata/ibm1160.h: Likewise.
24303 * iconvdata/ibm1161.h: Likewise.
24304 * iconvdata/ibm1162.h: Likewise.
24305 * iconvdata/ibm1163.h: Likewise.
24306 * iconvdata/ibm1164.h: Likewise.
24307 * iconvdata/ibm1166.h: Likewise.
24308 * iconvdata/ibm1167.h: Likewise.
24309 * iconvdata/ibm12712.h: Likewise.
24310 * iconvdata/ibm1390.h: Likewise.
24311 * iconvdata/ibm1399.h: Likewise.
24312 * iconvdata/ibm16804.h: Likewise.
24313 * iconvdata/ibm4517.h: Likewise.
24314 * iconvdata/ibm4899.h: Likewise.
24315 * iconvdata/ibm4909.h: Likewise.
24316 * iconvdata/ibm4971.h: Likewise.
24317 * iconvdata/ibm5347.h: Likewise.
24318 * iconvdata/ibm803.h: Likewise.
24319 * iconvdata/ibm856.h: Likewise.
24320 * iconvdata/ibm901.h: Likewise.
24321 * iconvdata/ibm902.h: Likewise.
24322 * iconvdata/ibm9030.h: Likewise.
24323 * iconvdata/ibm9066.h: Likewise.
24324 * iconvdata/ibm921.h: Likewise.
24325 * iconvdata/ibm922.h: Likewise.
24326 * iconvdata/ibm9448.h: Likewise.
24327 * iconvdata/isiri-3342.h: Likewise.
24328 * iconvdata/jis0201.h: Likewise.
24329 * include/link.h: Likewise.
24330 * include/netdb.h: Likewise.
24331 * inet/check_native.c: Likewise.
24332 * inet/check_pf.c: Likewise.
24333 * inet/getipv4sourcefilter.c: Likewise.
24334 * inet/getnameinfo.c: Likewise.
24335 * inet/getsourcefilter.c: Likewise.
24336 * inet/htonl.c: Likewise.
24337 * inet/setipv4sourcefilter.c: Likewise.
24338 * inet/setsourcefilter.c: Likewise.
24339 * inet/test-inet6_opt.c: Likewise.
24340 * inet/tst-network.c: Likewise.
24341 * locale/C-collate.c: Likewise.
24342 * locale/C-ctype.c: Likewise.
24343 * locale/C-time.c: Likewise.
24344 * locale/C-translit.h: Likewise.
24345 * locale/loadarchive.c: Likewise.
24346 * locale/programs/3level.h: Likewise.
24347 * locale/programs/charmap.c: Likewise.
24348 * locale/programs/charmap.h: Likewise.
24349 * locale/programs/ld-address.c: Likewise.
24350 * locale/programs/ld-collate.c: Likewise.
24351 * locale/programs/ld-ctype.c: Likewise.
24352 * locale/programs/ld-identification.c: Likewise.
24353 * locale/programs/ld-measurement.c: Likewise.
24354 * locale/programs/ld-messages.c: Likewise.
24355 * locale/programs/ld-monetary.c: Likewise.
24356 * locale/programs/ld-name.c: Likewise.
24357 * locale/programs/ld-numeric.c: Likewise.
24358 * locale/programs/ld-paper.c: Likewise.
24359 * locale/programs/ld-telephone.c: Likewise.
24360 * locale/programs/ld-time.c: Likewise.
24361 * locale/programs/linereader.c: Likewise.
24362 * locale/programs/locale.c: Likewise.
24363 * locale/programs/locarchive.c: Likewise.
24364 * locale/programs/locfile.h: Likewise.
24365 * locale/programs/repertoire.c: Likewise.
24366 * locale/programs/simple-hash.c: Likewise.
24367 * locale/programs/simple-hash.h: Likewise.
24368 * malloc/memusage.c: Likewise.
24369 * malloc/memusagestat.c: Likewise.
24370 * nis/nis_defaults.c: Likewise.
24371 * nis/nis_hash.c: Likewise.
24372 * nis/nis_print.c: Likewise.
24373 * nis/nis_xdr.c: Likewise.
24374 * nscd/connections.c: Likewise.
24375 * nscd/hstcache.c: Likewise.
24376 * nscd/nscd_gethst_r.c: Likewise.
24377 * nscd/nscd_getserv_r.c: Likewise.
24378 * nscd/nscd_helper.c: Likewise.
24379 * nscd/servicescache.c: Likewise.
24380 * nss/makedb.c: Likewise.
24381 * nss/nss_db/db-XXX.c: Likewise.
24382 * nss/nss_db/db-initgroups.c: Likewise.
24383 * nss/nss_db/db-netgrp.c: Likewise.
24384 * nss/nss_files/files-network.c: Likewise.
24385 * nss/nss_files/files-parse.c: Likewise.
24386 * posix/bug-regex5.c: Likewise.
24387 * posix/fnmatch_loop.c: Likewise.
24388 * posix/regcomp.c: Likewise.
24389 * posix/regexec.c: Likewise.
24390 * posix/tst-rfc3484-2.c: Likewise.
24391 * posix/tst-rfc3484-3.c: Likewise.
24392 * posix/tst-rfc3484.c: Likewise.
24393 * resolv/nss_dns/dns-canon.c: Likewise.
24394 * resolv/nss_dns/dns-network.c: Likewise.
24395 * resolv/res_init.c: Likewise.
24396 * resolv/res_mkquery.c: Likewise.
24397 * resolv/tst-aton.c: Likewise.
24398 * stdlib/cxa_atexit.c: Likewise.
24399 * stdlib/cxa_finalize.c: Likewise.
24400 * stdlib/gen-fpioconst.c: Likewise.
24401 * stdlib/strtol_l.c: Likewise.
24402 * string/tst-endian.c: Likewise.
24403 * sunrpc/auth_des.c: Likewise.
24404 * sunrpc/clnt_udp.c: Likewise.
24405 * sunrpc/rtime.c: Likewise.
24406 * sunrpc/svcauth_des.c: Likewise.
24407 * sunrpc/xdr.c: Likewise.
24408 * sunrpc/xdr_intXX_t.c: Likewise.
24409 * sunrpc/xdr_rec.c: Likewise.
24410 * sysdeps/generic/ldconfig.h: Likewise.
24411 * sysdeps/generic/ldsodefs.h: Likewise.
24412 * sysdeps/generic/memusage.h: Likewise.
24413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24423 * sysdeps/posix/getaddrinfo.c: Likewise.
24424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24428 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24429 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24430 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24431 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24432 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24434 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24436 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24437 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24438 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24439 * sysdeps/x86_64/dl-tls.h: Likewise.
24440 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24441 * time/alt_digit.c: Likewise.
24442 * time/era.c: Likewise.
24443 * wcsmbs/tst-c16c32-1.c: Likewise.
24444
8c75f674
JM
244452013-05-16 Joseph Myers <joseph@codesourcery.com>
24446
24447 * math/libm-test.inc (struct test_sincos_data): New type.
24448 (RUN_TEST_LOOP_sincos): New macro.
24449 (sincos_test_data): New variable.
24450 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24451
e6e49e59
RH
244522013-05-16 Richard Henderson <rth@redhat.com>
24453
24454 * math/atest-exp2.c (LIMB64): New macro.
24455 (CONSTSZ): New macro.
24456 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24457 (hexdig): Move ...
24458 (print_mpn_fp): ... to function scope.
24459 (read_mpn_hex): Remove.
24460 (get_log2): Remove.
24461 (exp2_mpn): Use mp_log2.
24462 (main): Use mp_exp1.
24463
15c7c18d
JM
244642013-05-16 Joseph Myers <joseph@codesourcery.com>
24465
105a07df
JM
24466 * math/libm-test.inc: Remove comment about not testing "inexact"
24467 exceptions.
24468 (INEXACT_EXCEPTION): New macro.
24469 (NO_INEXACT_EXCEPTION): Likewise.
24470 (INVALID_EXCEPTION_OK): Update value.
24471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24472 (OVERFLOW_EXCEPTION_OK): Likewise.
24473 (UNDERFLOW_EXCEPTION_OK): Likewise.
24474 (IGNORE_ZERO_INF_SIGN): Likewise.
24475 (ERRNO_UNCHANGED): Likewise.
24476 (ERRNO_EDOM): Likewise.
24477 (ERRNO_ERANGE): Likewise.
24478 (test_exceptions): Handle testing "inexact" exceptions.
24479 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24480 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24481 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24482 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24483 INEXACT_EXCEPTION.
24484 (rint_towardzero_test_data): Likewise.
24485 (rint_downward_test_data): Likewise.
24486 (rint_upward_test_data): Likewise.
24487
e9eee333
JM
24488 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24489 with OVERFLOW_EXCEPTION.
24490 (exp10_test_data): Likewise.
24491 (exp2_test_data): Likewise.
24492 (expm1_test_data): Likewise.
24493 (lgamma_test_data): Likewise.
24494 (pow_test_data): Likewise.
24495 (tgamma_test_data): Likewise.
24496 (yn_test_data): Remove duplicate test of overflow.
24497
1c38ff73
JM
24498 * math/libm-test.inc (struct test_cc_c_data): New type.
24499 (RUN_TEST_LOOP_cc_c): New macro.
24500 (cpow_test_data): New variable.
24501 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24502
15c7c18d
JM
24503 * math/libm-test.inc (struct test_f_L_data): New type.
24504 (RUN_TEST_LOOP_f_L): New macro.
24505 (llrint_test_data): New variable.
24506 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24507 (llrint_tonearest_test_data): New variable.
24508 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24509 (llrint_towardzero_test_data): New variable.
24510 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24511 (llrint_downward_test_data): New variable.
24512 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24513 (llrint_upward_test_data): New variable.
24514 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24515 (llround_test_data): New variable.
24516 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24517
f137ff13
PC
245182013-05-13 Peter Collingbourne <pcc@google.com>
24519
24520 * math/atest-exp2.c (get_log2): Remove const attribute.
24521
3608cb24
JM
245222013-05-15 Joseph Myers <joseph@codesourcery.com>
24523
24524 * math/libm-test.inc (struct test_f_l_data): New type.
24525 (RUN_TEST_LOOP_f_l): New macro.
24526 (lrint_test_data): New variable.
24527 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24528 (lrint_tonearest_test_data): New variable.
24529 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24530 (lrint_towardzero_test_data): New variable.
24531 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24532 (lrint_downward_test_data): New variable.
24533 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24534 (lrint_upward_test_data): New variable.
24535 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24536 (lround_test_data): New variable.
24537 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24538
39b1f617
PC
245392013-05-15 Peter Collingbourne <pcc@google.com>
24540
1deff3dc
PC
24541 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24542 (EXTRACT_WORDS64) Use where appropriate.
24543 (INSERT_WORDS64) Likewise.
24544
791f3ba0
PC
24545 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24546 constraints with x constraints.
24547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24548
39b1f617
PC
24549 * malloc/obstack.c (_obstack_compat): Add initializer.
24550
12fba011
EM
245512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24552
24553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24554 si_trapno and add si_addr_lsb to _sifields.sigfault.
24555 (si_trapno): Remove macro.
24556 (si_addr_lsb): Define new macro.
24557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24558
d369f531
JM
245592013-05-15 Joseph Myers <joseph@codesourcery.com>
24560
b861c6c4
JM
24561 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24562 instead of TEST_f_l.
24563 (llrint_test_tonearest): Likewise.
24564 (llrint_test_towardzero): Likewise.
24565 (llrint_test_downward): Likewise.
24566 (llrint_test_upward): Likewise.
24567 (llround_test): Likewise.
24568
7abeee12
JM
24569 * math/libm-test.inc (struct test_f_i_data): Add comment.
24570 (RUN_TEST_LOOP_f_b): New macro.
24571 (RUN_TEST_LOOP_f_b_tg): Likewise.
24572 (finite_test_data): New variable.
24573 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24574 (isfinite_test_data): New variable.
24575 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24576 (isinf_test_data): New variable.
24577 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24578 (isnan_test_data): New variable.
24579 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24580 (isnormal_test_data): New variable.
24581 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24582 (issignaling_test_data): New variable.
24583 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24584 (signbit_test_data): New variable.
24585 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24586
cbe8c4d3
JM
24587 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24588 with INVALID_EXCEPTION.
24589 (acosh_test_data): Likewise.
24590 (asin_test_data): Likewise.
24591 (atanh_test_data): Likewise.
24592 (fmod_test_data): Likewise.
24593 (log_test_data): Likewise.
24594 (log10_test_data): Likewise.
24595 (log2_test_data): Likewise.
24596 (pow_test_data): Likewise.
24597 (sqrt_test_data): Likewise.
24598 (y0_test_data): Likewise.
24599 (y1_test_data): Likewise.
24600 (yn_test_data): Likewise.
24601
5575c0e5
JM
24602 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24603 function contents.
24604
d369f531
JM
24605 * math/libm-test.inc (struct test_ff_i_data): New type.
24606 (RUN_TEST_LOOP_ff_i_tg): New macro.
24607 (isgreater_test_data): New variable.
24608 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24609 (isgreaterequal_test_data): New variable.
24610 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24611 (isless_test_data): New variable.
24612 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24613 (islessequal_test_data): New variable.
24614 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24615 (islessgreater_test_data): New variable.
24616 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24617 (isunordered_test_data): New variable.
24618 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24619
781fd748
DM
246202013-05-14 David S. Miller <davem@davemloft.net>
24621
24622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24623
87aa21df
JM
246242013-05-14 Joseph Myers <joseph@codesourcery.com>
24625
5e908270
JM
24626 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24627
f71172e5
JM
24628 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24629 extra_test to int.
24630 (struct test_f_i_data): Change type of max_ulp to int.
24631
8cfa635a
JM
24632 * math/libm-test.inc (test_ffI_f1_data): New type.
24633 (RUN_TEST_LOOP_ffI_f1): New macro.
24634 (remquo_test_data): New variable.
24635 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24636
2bcb36b2
JM
24637 * setjmp/tst-setjmp-fp.c: New file.
24638 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24639 (link-libm): New variable.
24640 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24641
acbd839a
JM
24642 * math/libm-test.inc (struct test_f_i_data): New type.
24643 (RUN_TEST_LOOP_f_i): New macro.
24644 (RUN_TEST_LOOP_f_i_tg): Likewise.
24645 (fpclassify_test_data): New variable.
24646 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24647 (ilogb_test_data): New variable.
24648 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24649
e414d745
JM
24650 * math/libm-test.inc (scalbln_test): Correct function name in END
24651 call.
24652
d9c2a0fd
JM
24653 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24654 (RUN_TEST_LOOP_fI_f1): New macro.
24655 (frexp_test_data): New variable.
24656 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24657
9dc9095d
JM
24658 * math/libm-test.inc (struct test_fF_f1_data): New type.
24659 (RUN_TEST_LOOP_fF_f1): New macro.
24660 (modf_test_data): New variable.
24661 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24662
87aa21df
JM
24663 * math/libm-test.inc (struct test_f_f1_data): New type.
24664 (RUN_TEST_LOOP_f_f1): New macro.
24665 (gamma_test_data): New variable.
24666 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24667 (lgamma_test_data): New variable.
24668 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24669
141af660
CD
246702013-05-13 Carlos O'Donell <carlos@redhat.com>
24671
24672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24673 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24674 (main): Comment "tls" pseudo-hwcap.
24675
6d33265c
JM
246762013-05-13 Joseph Myers <joseph@codesourcery.com>
24677
68fc074c
JM
24678 * math/libm-test.inc (struct test_fl_f_data): New type.
24679 (RUN_TEST_LOOP_fl_f): New variable.
24680 (scalbln_test_data): New variable.
24681 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24682
243216e1
JM
24683 * math/libm-test.inc (struct test_fi_f_data): New type.
24684 (RUN_TEST_LOOP_fi_f): New macro.
24685 (ldexp_test_data): New variable.
24686 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24687 (scalbn_test_data): New variable.
24688 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24689
6a1992e2
JM
24690 * math/libm-test.inc (struct test_c_f_data): New type.
24691 (RUN_TEST_LOOP_c_f): New macro.
24692 (cabs_test_data): New variable.
24693 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24694 (carg_test_data): New variable.
24695 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24696 (cimag_test_data): New variable.
24697 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24698 (creal_test_data): New variable.
24699 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24700
0e400df5
JM
24701 * math/libm-test.inc (struct test_if_f_data): New type.
24702 (RUN_TEST_LOOP_if_f): New macro.
24703 (jn_test_data): New variable.
24704 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24705 (yn_test_data): New variable.
24706 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24707
6d33265c
JM
24708 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24709
f98ece5f
AZ
247102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24711
24712 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24713 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24714
0f7d347b
SP
247152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24716
43fe811b
SP
24717 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24718 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24719 (bench-deps): Add bench-timing.h.
24720 * benchtests-bench-skeleton.c: Include bench-timing.h.
24721 (main): Use TIMING_* macros instead of clock_gettime.
24722 * benchtests/bench-timing.h: New file.
24723
0f7d347b
SP
24724 [BZ #14582]
24725 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24726 Renamed from _LIB_VERSION.
24727 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24728
601a3a5f
JM
247292013-05-12 Joseph Myers <joseph@codesourcery.com>
24730
4f184d30
JM
24731 * math/libm-test.inc (struct test_fff_f_data): New type.
24732 (RUN_TEST_LOOP_fff_f): New macro.
24733 (fma_test_data): New variable.
24734 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24735 (fma_towardzero_test_data): New variable.
24736 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24737 (fma_downward_test_data): New variable.
24738 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24739 (fma_upward_test_data): New variable.
24740 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24741
08198877
JM
24742 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24743 (struct test_c_c_data): New type.
24744 (RUN_TEST_LOOP_c_c): New macro.
24745 (cacos_test_data): New variable.
24746 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24747 (cacosh_test_data): New variable.
24748 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24749 (casin_test_data): New variable.
24750 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24751 (casinh_test_data): New variable.
24752 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24753 (catan_test_data): New variable.
24754 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24755 (catanh_test_data): New variable.
24756 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24757 (ccos_test_data): New variable.
24758 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24759 (ccosh_test_data): New variable.
24760 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24761 (cexp_test_data): New variable.
24762 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24763 (clog_test_data): New variable.
24764 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24765 (clog10_test_data): New variable.
24766 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24767 (conj_test_data): New variable.
24768 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24769 (cproj_test_data): New variable.
24770 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24771 (csin_test_data): New variable.
24772 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24773 (csinh_test_data): New variable.
24774 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24775 (csqrt_test_data): New variable.
24776 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24777 (ctan_test_data): New variable.
24778 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24779 (ctan_tonearest_test_data): New variable.
24780 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24781 (ctan_towardzero_test_data): New variable.
24782 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24783 (ctan_downward_test_data): New variable.
24784 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24785 (ctan_upward_test_data): New variable.
24786 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24787 (ctanh_test_data): New variable.
24788 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24789 (ctanh_tonearest_test_data): New variable.
24790 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24791 (ctanh_towardzero_test_data): New variable.
24792 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24793 (ctanh_downward_test_data): New variable.
24794 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24795 (ctanh_upward_test_data): New variable.
24796 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24797 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24798 of BUILD_COMPLEX.
24799
601a3a5f
JM
24800 * math/libm-test.inc (struct test_ff_f_data): New type.
24801 (struct test_ff_f_data_nexttoward): Likewise.
24802 (RUN_TEST_LOOP_2_f): New macro.
24803 (RUN_TEST_LOOP_ff_f): Likewise.
24804 (atan2_test_data): New variable.
24805 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24806 (copysign_test_data): New variable.
24807 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24808 (fdim_test_data): New variable.
24809 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24810 (fmax_test_data): New variable.
24811 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24812 (fmin_test_data): New variable.
24813 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24814 (fmod_test_data): New variable.
24815 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24816 (hypot_test_data): New variable.
24817 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24818 (nextafter_test_data): New variable.
24819 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24820 (nexttoward_test_data): New variable.
24821 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24822 (pow_test_data): New variable.
24823 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24824 (pow_tonearest_test_data): New variable.
24825 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24826 (pow_towardzero_test_data): New variable.
24827 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24828 (pow_downward_test_data): New variable.
24829 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24830 (pow_upward_test_data): New variable.
24831 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24832 (remainder_test_data): New variable.
24833 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24834 (scalb_test_data): New variable.
24835 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24836 * sysdeps/i386/fpu/libm-test-ulps: Update.
24837
74c57478
JM
248382013-05-11 Joseph Myers <joseph@codesourcery.com>
24839
8329e4da
JM
24840 * math/libm-test.inc (fma_test): Use max_value instead of local
24841 variable fltmax.
24842 (nextafter_test): Likewise.
24843
74c57478
JM
24844 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24845 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24846 (acos_downward_test_data): New variable.
24847 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24848 (acos_upward_test_data): New variable.
24849 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24850 (acosh_test_data): New variable.
24851 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24852 (asin_test_data): New variable.
24853 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24854 (asin_tonearest_test_data): New variable.
24855 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24856 (asin_towardzero_test_data): New variable.
24857 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24858 (asin_downward_test_data): New variable.
24859 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24860 (asin_upward_test_data): New variable.
24861 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24862 (asinh_test_data): New variable.
24863 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24864 (atan_test_data): New variable.
24865 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24866 (atanh_test_data): New variable.
24867 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24868 (cbrt_test_data): New variable.
24869 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24870 (ceil_test_data): New variable.
24871 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24872 (cos_test_data): New variable.
24873 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24874 (cos_tonearest_test_data): New variable.
24875 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24876 (cos_towardzero_test_data): New variable.
24877 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24878 (cos_downward_test_data): New variable.
24879 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24880 (cos_upward_test_data): New variable.
24881 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24882 (cosh_test_data): New variable.
24883 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24884 (cosh_tonearest_test_data): New variable.
24885 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24886 (cosh_towardzero_test_data): New variable.
24887 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24888 (cosh_downward_test_data): New variable.
24889 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24890 (cosh_upward_test_data): New variable.
24891 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24892 (erf_test_data): New variable.
24893 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24894 (erfc_test_data): New variable.
24895 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24896 (exp_test_data): New variable.
24897 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24898 (exp_tonearest_test_data): New variable.
24899 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24900 (exp_towardzero_test_data): New variable.
24901 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24902 (exp_downward_test_data): New variable.
24903 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24904 (exp_upward_test_data): New variable.
24905 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24906 (exp10_test_data): New variable.
24907 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24908 (exp2_test_data): New variable.
24909 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24910 (expm1_test_data): New variable.
24911 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24912 (fabs_test_data): New variable.
24913 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24914 (floor_test_data): New variable.
24915 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24916 (j0_test_data): New variable.
24917 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24918 (j1_test_data): New variable.
24919 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24920 (log_test_data): New variable.
24921 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24922 (log10_test_data): New variable.
24923 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24924 (log1p_test_data): New variable.
24925 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24926 (log2_test_data): New variable.
24927 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24928 (logb_test_data): New variable.
24929 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24930 (logb_downward_test_data): New variable.
24931 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24932 (nearbyint_test_data): New variable.
24933 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24934 (rint_test_data): New variable.
24935 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24936 (rint_tonearest_test_data): New variable.
24937 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24938 (rint_towardzero_test_data): New variable.
24939 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24940 (rint_downward_test_data): New variable.
24941 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24942 (rint_upward_test_data): New variable.
24943 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24944 (round_test_data): New variable.
24945 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24946 (sin_test_data): New variable.
24947 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24948 (sin_tonearest_test_data): New variable.
24949 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24950 (sin_towardzero_test_data): New variable.
24951 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24952 (sin_downward_test_data): New variable.
24953 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24954 (sin_upward_test_data): New variable.
24955 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24956 (sinh_test_data): New variable.
24957 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24958 (sinh_tonearest_test_data): New variable.
24959 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24960 (sinh_towardzero_test_data): New variable.
24961 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24962 (sinh_downward_test_data): New variable.
24963 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24964 (sinh_upward_test_data): New variable.
24965 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24966 (sqrt_test_data): New variable.
24967 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24968 (tan_test_data): New variable.
24969 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24970 (tan_tonearest_test_data): New variable.
24971 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24972 (tan_towardzero_test_data): New variable.
24973 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24974 (tan_downward_test_data): New variable.
24975 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24976 (tan_upward_test_data): New variable.
24977 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24978 (tanh_test_data): New variable.
24979 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24980 (tgamma_test_data): New variable.
24981 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24982 (trunc_test_data): New variable.
24983 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24984 (y0_test_data): New variable.
24985 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24986 (y1_test_data): New variable.
24987 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24988 (significand_test_data): New variable.
24989 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24990
7187d844
CG
249912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24992
24993 [BZ #12387]
24994 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24995
f63fae73
PT
249962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24997
24998 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24999
8a67a4b3
AJ
250002013-05-10 Andreas Jaeger <aj@suse.de>
25001
25002 [BZ #15448]
25003 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25004 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25005
51df539d
JM
250062013-05-10 Joseph Myers <joseph@codesourcery.com>
25007
25008 * math/gen-libm-test.pl (adjust_arg): New function.
25009 (special_functions): Handle generating output in both functions
25010 and arrays.
25011 (parse_args): Likewise.
25012 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25013 $in_func argument to parse_args.
25014 * math/libm-test.inc (struct test_f_f_data): New type.
25015 (IF_ROUND_INIT_): New macro.
25016 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25020 (ROUND_RESTORE_): Likewise.
25021 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25022 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25023 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25024 (ROUND_RESTORE_FE_UPWARD): Likewise.
25025 (RUN_TEST_LOOP_f_f): New macro.
25026 (acos_test_data): New variable.
25027 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25028 (acos_tonearest_test_data): New variable.
25029 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25030
5c637fe5
SP
250312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25032
25033 * benchtests/bench-skeleton.c (startup): Fix coding style.
25034
ab2b9461
JM
250352013-05-10 Joseph Myers <joseph@codesourcery.com>
25036
25037 [BZ #6809]
25038 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25039 negative infinity argument.
25040 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25041 negative infinity argument.
25042 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25043 negative infinity argument.
25044 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25045 domain errors.
25046
4c0fe6fe
FW
250472013-05-10 Florian Weimer <fweimer@redhat.com>
25048
25049 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25050 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25051 * iconv/iconv_prog.c (main): Likewise.
25052 * locale/programs/charmap-dir.c (charmap_readdir)
25053 (fopen_uncompressed): Likewise.
25054 * locale/programs/locfile.c (siblings_uncached)
25055 (write_locale_data): Use lstat64 instead of lstat.
25056 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25057 stat.
25058
a3375d29
AJ
250592013-05-10 Andreas Jaeger <aj@suse.de>
25060
25061 [BZ #15395]
25062 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25063 localization.
25064 Include <locale.h>.
25065
36129722
CD
250662013-05-09 Carlos O'Donell <carlos@redhat.com>
25067
25068 * elf/dl-close.c (_dl_close_worker): Add comments.
25069
faa7f811
JM
250702013-05-09 Joseph Myers <joseph@codesourcery.com>
25071
ed41ffef
JM
25072 [BZ #15359]
25073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25074 high part of pi/2.
25075 (__ieee754_rem_pio2l): Update comments.
25076
d0213cd0
JM
25077 [BZ #15429]
25078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25079 high part of pi/2.
25080 (__ieee754_rem_pio2l): Update comments.
25081
0d3e777a
JM
25082 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25083 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25084
24f56066
JM
25085 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25086 M_PI_4l.
25087
faa7f811
JM
25088 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25089 (M_PI_34_LOG10El): Likewise.
25090 (M_PI2_LOG10El): Likewise.
25091 (M_PI4_LOG10El): Likewise.
25092 (M_PI_LOG10El): Likewise.
25093
e9a5e0fd
AZ
250942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25095
25096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25097
d8cd06db
JM
250982013-05-08 Joseph Myers <joseph@codesourcery.com>
25099
a0d9f9d7
JM
25100 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25101 (MINUS_ZERO_INIT): Likewise.
25102 (PLUS_INFTY_INIT): Likewise.
25103 (MINUS_INFTY_INIT): Likewise.
25104 (QNAN_VALUE_INIT): Likewise.
25105 (MAX_VALUE_INIT): Likewise.
25106 (MIN_VALUE_INIT): Likewise.
25107 (MIN_SUBNORM_VALUE_INIT): Likewise.
25108 (plus_zero): Initialize with PLUS_ZERO_INIT.
25109 (minus_zero): Initialize with MINUS_ZERO_INIT.
25110 (plus_infty): Initialize with PLUS_INFTY_INIT.
25111 (minus_infty): Initialize with MINUS_INFTY_INIT.
25112 (qnan_value): Initialize with QNAN_VALUE_INIT.
25113 (max_value): Initialize with MAX_VALUE_INIT.
25114 (min_value): Initialize with MIN_VALUE_INIT.
25115 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25116
ae08db3b
JM
25117 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25118 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25119 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25120 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25121
f44bf14a
JM
25122 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25123 (RUN_TEST_2_f): Likewise.
25124 (RUN_TEST_ff_f): Likewise.
25125 (RUN_TEST_fi_f): Likewise.
25126 (RUN_TEST_fl_f): Likewise.
25127 (RUN_TEST_fff_f): Likewise.
25128 (RUN_TEST_c_f): Likewise.
25129 (RUN_TEST_f_f1): Likewise.
25130 (RUN_TEST_fF_f1): Likewise.
25131 (RUN_TEST_fI_f1): Likewise.
25132 (RUN_TEST_ffI_f1): Likewise.
25133 (RUN_TEST_c_c): Likewise.
25134 (RUN_TEST_cc_c): Likewise.
25135 (RUN_TEST_f_i): Likewise.
25136 (RUN_TEST_f_i_tg): Likewise.
25137 (RUN_TEST_ff_i_tg): Likewise.
25138 (RUN_TEST_f_b): Likewise.
25139 (RUN_TEST_f_b_tg): Likewise.
25140 (RUN_TEST_f_l): Likewise.
25141 (RUN_TEST_f_L): Likewise.
25142 (RUN_TEST_sincos): Likewise.
25143 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25144 whether to show exceptions. Do not include ");\n" in return
25145 value.
25146 (special_functions): Output call to RUN_TEST_sincos instead of
25147 check_float calls. Update calls to new_test.
25148 (parse_args): Output call to single RUN_TEST_* macro instead of
25149 check_* calls and other assignments. Update calls to new_test.
25150
d8cd06db
JM
25151 [BZ #2546]
25152 [BZ #2560]
25153 [BZ #5159]
25154 [BZ #15426]
25155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25156 input to result for tgamma overflow.
25157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25158 (gamma_coeff): New variable.
25159 (NCOEFF): New macro.
25160 (gamma_positive): New function.
25161 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25162 underflow here. Use gamma_positive instead of exp (lgamma) for
25163 other arguments.
25164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25165 (gamma_coeff): New variable.
25166 (NCOEFF): New macro.
25167 (gammaf_positive): New function.
25168 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25169 underflow here. Use gamma_positive instead of exp (lgamma) for
25170 other arguments.
25171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25172 (gamma_coeff): New variable.
25173 (NCOEFF): New macro.
25174 (gammal_positive): New function.
25175 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25176 underflow here. Use gamma_positive instead of exp (lgamma) for
25177 other arguments.
25178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25179 (gamma_coeff): New variable.
25180 (NCOEFF): New macro.
25181 (gammal_positive): New function.
25182 (__ieee754_gammal_r): Handle positive infinity, overflow and
25183 underflow here. Handle NaN the same as positive infinity. Remove
25184 check x < 0xffffffff for negative integers. Use gamma_positive
25185 instead of exp (lgamma) for other arguments.
25186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25187 (gamma_coeff): New variable.
25188 (NCOEFF): New macro.
25189 (gammal_positive): New function.
25190 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25191 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25194 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25195 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25196 * sysdeps/generic/math_private.h (__gamma_productf): New
25197 prototype.
25198 (__gamma_product): Likewise.
25199 (__gamma_productl): Likewise.
25200 * math/Makefile (libm-calls): Add gamma_product.
25201 * math/libm-test.inc (tgamma_test): Add more tests.
25202 * sysdeps/i386/fpu/libm-test-ulps: Update.
25203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25204
bb7cf681
OB
252052013-05-08 Ondřej Bílka <neleai@seznam.cz>
25206
25207 * benchtests/bench-skeleton.c (main): Preheat CPU.
25208
ba853947
AJ
252092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25210
25211 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25212
8347c74c
RM
252132013-05-07 Roland McGrath <roland@hack.frob.com>
25214
25215 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25216 and _dl_skip_args_internal.
25217
e8dd4791
CD
252182013-05-07 Carlos O'Donell <carlos@redhat.com>
25219
25220 * manual/message.texi (Message Translation): Talk about users.
25221 Message to key mapping impacts design.
25222
c7405830
RM
252232013-05-06 Roland McGrath <roland@hack.frob.com>
25224
a9173057
RM
25225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25226
976e2f03
RM
25227 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25228
9723ffc5
RM
25229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25230 * sysdeps/wordsize-64/glob64.c: ... here.
25231
962e6658
RM
25232 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25233 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25234 New macros.
25235
ee586a6d
RM
25236 * debug/getlogin_r_chk.c: Moved to ...
25237 * login/getlogin_r_chk.c: ... here.
25238 * debug/Makefile (routines): Move getlogin_r_chk to ...
25239 * login/Makefile (routines): ... here.
25240 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25241 * login/Versions (libc: GLIBC_2.4): ... here.
25242
355f9165
RM
25243 * io/poll.c (__poll): Renamed from poll.
25244 Add libc_hidden_def.
25245 (poll): Define as weak alias.
25246
bd9ffde6
RM
25247 * debug/ptsname_r_chk.c: Moved to ...
25248 * login/ptsname_r_chk.c: ... here.
25249 * debug/Makefile (routines): Move ptsname_r_chk to ...
25250 * login/Makefile (routines): ... here.
25251 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25252 * login/Versions (libc: GLIBC_2.4): ... here.
25253
8fb16a04
RM
25254 * posix/getlogin.c: Moved to ...
25255 * login/getlogin.c: ... here.
25256 * posix/getlogin_r.c: Moved to ...
25257 * login/getlogin_r.c: ... here.
25258 * posix/getlogin_r.c: Moved to ...
25259 * login/getlogin_r.c: ... here.
25260 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25261 * login/Makefile (routines): ... here.
25262 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25263 * login/Versions (libc: GLIBC_2.0): ... here.
25264
b99b892f
RM
25265 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25266 (setrlimit): Define as weak alias.
25267
c7405830
RM
25268 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25269 Call __ names for open, ftruncate, and close.
25270 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25271 (truncate): Define as weak alias.
25272
5bf96de5
JM
252732013-05-06 Joseph Myers <joseph@codesourcery.com>
25274
9ea3513c
JM
25275 * math/gen-libm-test.pl (parse_args): Initialize x before each
25276 test of frexp, modf and remquo.
25277
5bf96de5
JM
25278 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25279 test signgam value.
25280
16e616a7
AZ
252812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25282
25283 [BZ #15418]
25284 [BZ #15419]
25285 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25286 internal tests.
25287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25288
d5e82754
RM
252892013-05-06 Roland McGrath <roland@hack.frob.com>
25290
25291 * elf/dl-writev.h: New file.
25292 * elf/dl-misc.c: Include it.
25293 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25294 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25295
a7548d41
JM
252962013-05-04 Joseph Myers <joseph@codesourcery.com>
25297
b7dab1e4
JM
25298 * math/libm-test.inc (noXFails): Remove variable.
25299 (noXPasses): Likewise.
25300 (BUILD_COMPLEX_INT): Remove macro.
25301 (print_screen): Remove xfail argument.
25302 (print_screen_max_error): Likewise.
25303 (update_stats): Likewise.
25304 (print_max_error): Likewise. Update calls to other affected
25305 functions.
25306 (print_complex_max_error): Likewise.
25307 (test_single_exception): Update calls to print_screen.
25308 (test_single_errno): Likewise.
25309 (check_float_internal): Remove xfail argument. Update calls to
25310 other affected functions.
25311 (check_float): Likewise.
25312 (check_complex): Likewise.
25313 (check_int): Likewise.
25314 (check_long): Likewise.
25315 (check_bool): Likewise.
25316 (check_longlong): Likewise.
25317 (main): Don't print noXFails and noXPasses.
25318 * math/gen-libm-test.pl (top level): Don't mention expected
25319 failure handling in comment.
25320 (new_test): Don't handle expected failures.
25321 (parse_args): Don't mention expected failure handling in comment.
25322 (generate_testfile): Don't handle expected failures.
25323 (parse_ulps): Likewise.
25324 (print_ulps_file): Likewise.
25325 (get_failure): Remove function.
25326 (output_test): Don't handle expected failures.
25327 * make/README.libm-test: Don't mention expected failure handling.
25328
a7548d41
JM
25329 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25330 (minus_zero): Likewise.
25331 (plus_infty): Likewise.
25332 (minus_infty): Likewise.
25333 (qnan_value): Likewise.
25334 (max_value): Likewise.
25335 (min_value): Likewise.
25336 (min_subnorm_value): Likewise.
25337 (initialize): Do not initialize those variables dynamically.
25338
60bfd54c
RM
253392013-05-03 Roland McGrath <roland@hack.frob.com>
25340
cc0e6ed8
RM
25341 * io/open.c (__open_2): Moved to ...
25342 * io/open_2.c: ... this new file.
25343 * io/open64.c (__open64_2): Moved to ...
25344 * io/open64_2.c: ... this new file.
25345 * io/openat.c (__openat_2): Moved to ...
25346 * io/openat_2.c: ... this new file.
25347 * io/openat64.c (__openat64_2): Moved to ...
25348 * io/openat64_2.c: ... this new file.
25349 * io/Makefile (routines): Add them.
25350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25351 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25352 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25353 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25354 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25356 (__openat64): Add hidden_ver.
25357 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25358 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25359
60bfd54c
RM
25360 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25361 Separately conditionalize setting of GLRO(dl_sysinfo) so
25362 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25363 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25364
83e7640f
AZ
253652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25366
25367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25369 definition.
25370 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25371 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25372 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25373 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25374 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25375
d5dc2af3
JM
253762013-05-03 Joseph Myers <joseph@codesourcery.com>
25377
c31a5b1e
JM
25378 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25379 test signgam value.
25380
d5dc2af3
JM
25381 * math/libm-test.inc (hypot_test): Do not use
25382 IGNORE_ZERO_INF_SIGN.
25383
164fd39d
AJ
253842013-05-03 Andreas Jaeger <aj@suse.de>
25385
25386 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25387 Linux 3.9.
25388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25389 (PF_MAX): Adjust for VSOCK change.
25390
8237f48c
AZ
253912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25392
25393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25394
9df02941
CD
253952013-05-02 Carlos O'Donell <carlos@redhat.com>
25396
25397 [BZ #15264]
25398 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25399 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25400 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25401
d422395e
DM
254022013-05-02 David S. Miller <davem@davemloft.net>
25403
25404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25405
a07c5731
OB
254062013-05-01 Ondřej Bílka <neleai@seznam.cz>
25407
25408 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25409
1324e37f
RM
254102013-05-01 Roland McGrath <roland@hack.frob.com>
25411
25412 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25413
0695940b
RS
254142013-05-01 Richard Smith <richard@metafoo.co.uk>
25415
bb5f27ad 25416 [BZ #14952]
0695940b
RS
25417 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25418 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25419 Use __attribute__ ((__gnu_inline__)).
25420 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25421 Don't use __attribute__ ((__gnu_inline__)).
25422
10de07f5
JM
254232013-05-01 Joseph Myers <joseph@codesourcery.com>
25424
25425 [BZ #15423]
25426 * math/s_catan.c (__catan): Handle small real or imaginary part of
25427 input specially to avoid spurious underflow.
25428 * math/s_catanf.c (__catanf): Likewise.
25429 * math/s_catanh.c (__catanh): Likewise.
25430 * math/s_catanhf.c (__catanhf): Likewise.
25431 * math/s_catanhl.c (__catanhl): Likewise.
25432 * math/s_catanl.c (__catanl): Likewise.
25433 * math/libm-test.inc (catan_test): Add more tests.
25434 (catanh_test): Likewise.
25435 * sysdeps/i386/fpu/libm-test-ulps: Update.
25436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25437
cb4d5414
AZ
254382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25439
25440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25441
caf84319
JM
254422013-04-30 Joseph Myers <joseph@codesourcery.com>
25443
25444 [BZ #15416]
25445 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25446 accurately for denominator in atan2.
25447 * math/s_catanf.c (__catanf): Likewise.
25448 * math/s_catanh.c (__catanh): Likewise.
25449 * math/s_catanhf.c (__catanhf): Likewise.
25450 * math/s_catanhl.c (__catanhl): Likewise.
25451 * math/s_catanl.c (__catanl): Likewise.
25452 * math/libm-test.inc (catan_test): Add more tests.
25453 (catanh_test): Likewise.
25454 * sysdeps/i386/fpu/libm-test-ulps: Update.
25455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25456
d569c6ee
SP
254572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25458
6dbe713d
SP
25459 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25460
f0ee064b
SP
25461 * benchtests/Makefile (bench): Remove slow benchmarks.
25462 * benchtests/atan-inputs: Add slow benchmark inputs.
25463 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25464 (BENCH_FUNC): Accept variant offset.
25465 (VARIANT): Define.
25466 * benchtests/bench-skeleton.c (main): Run benchmark for each
25467 variant.
25468 * benchtests/cos-inputs: Add slow benchmark inputs.
25469 * benchtests/exp-inputs: Likewise.
25470 * benchtests/pow-inputs: Likewise.
25471 * benchtests/sin-inputs: Likewise.
25472 * benchtests/slowatan-inputs: Remove.
25473 * benchtests/slowatan.c: Remove.
25474 * benchtests/slowcos-inputs: Remove.
25475 * benchtests/slowcos.c: Remove.
25476 * benchtests/slowexp-inputs: Remove.
25477 * benchtests/slowexp.c: Remove.
25478 * benchtests/slowpow-inputs: Remove.
25479 * benchtests/slowpow.c: Remove.
25480 * benchtests/slowsin-inputs: Remove.
25481 * benchtests/slowsin.c: Remove.
25482 * benchtests/slowtan-inputs: Remove.
25483 * benchtests/slowtan.c: Remove.
25484 * benchtests/tan-inputs: Add slow benchmark inputs.
25485 * scripts/bench.pl: Parse comments and directives.
25486
d569c6ee
SP
25487 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25488 in CPPFLAGS.
25489 ($(objpfx)bench-%.c): Remove *-ITER.
25490 * benchtests/bench-modf.c: Remove definition of ITER.
25491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25492 (main): Loop for DURATION seconds instead of fixed number of
25493 iterations.
25494 * scripts/bench.pl: Don't expect iterations in parameters.
25495
a6a242fe
RM
254962013-04-29 Roland McGrath <roland@hack.frob.com>
25497
25498 * io/fchdir.c (__fchdir): Renamed from fchdir.
25499 (fchdir): Define as weak alias.
25500
f2da7793
JM
255012013-04-29 Joseph Myers <joseph@codesourcery.com>
25502
25503 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25504 (ERRNO_EDOM): Likewise.
25505 (ERRNO_ERANGE): Likewise.
25506 (noErrnoTests): New variable.
25507 (init_max_error): Set errno to 0.
25508 (test_single_errno): New function.
25509 (test_errno): Likewise.
25510 (check_float_internal): Call test_errno. Set errno to 0.
25511 (check_complex): Refer to errno tests in comment.
25512 (check_int): Call test_errno. Set errno to 0.
25513 (check_long): Likewise.
25514 (check_bool): Likewise.
25515 (check_longlong): Likewise.
25516 (cos_test): Use ERRNO_* flags for errno tests instead of
25517 check_int.
25518 (expm1_test): Likewise.
25519 (fmod_test): Likewise.
25520 (ilogb_test): Likewise.
25521 (lgamma_test): Likewise.
25522 (pow_test): Likewise.
25523 (remainder_test): Likewise.
25524 (sin_test): Likewise.
25525 (tan_test): Likewise.
25526 (yn_test): Likewise.
25527 (initialize): Set errno to 0.
25528 (main): Print number of errno tests.
25529 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25530
b1a36ceb
AJ
255312013-04-29 Andreas Jaeger <aj@suse.de>
25532
c3ed8088
AJ
25533 [BZ #15084]
25534 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25535 and RES_USEVC.
25536
f1a24198
AJ
25537 [BZ #15085]
25538 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25539 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25540 unimplemented.
25541
9ce3b2cb
AJ
25542 [BZ #15380]
25543 * stdlib/random.c (__initstate): Return NULL if
25544 __initstate fails.
25545
f1a24198 25546 [BZ #15086]
b1a36ceb
AJ
25547 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25548 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25549 RES_SNGLKUPREOP.
25550
7e7b6f36
AZ
255512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25552
25553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25554
4d14f449
JM
255552013-04-29 Joseph Myers <joseph@codesourcery.com>
25556
25557 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25558 of individual tests.
25559 (casin_test): Likewise.
25560 (casinh_test): Likewise.
25561
5b4217d7
JM
255622013-04-27 Joseph Myers <joseph@codesourcery.com>
25563
25564 [BZ #15409]
25565 * math/s_catan.c (__catan): Handle arguments with large real or
25566 imaginary part separately without squaring.
25567 * math/s_catanf.c (__catanf): Likewise.
25568 * math/s_catanh.c (__catanh): Likewise.
25569 * math/s_catanhf.c (__catanhf): Likewise.
25570 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25571 and redefine.
25572 (__catanhl): Handle arguments with large real or imaginary part
25573 separately without squaring.
25574 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25575 and redefine.
25576 (__catanl): Handle arguments with large real or imaginary part
25577 separately without squaring.
25578 * math/libm-test.inc (catan_test): Add more tests.
25579 (catanh_test): Likewise.
25580 * sysdeps/i386/fpu/libm-test-ulps: Update.
25581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25582
4220c3ef
AJ
255832013-04-27 Andreas Jaeger <aj@suse.de>
25584
25585 [BZ #15007]
25586 * stdlib/stdlib.h: Update guards for qecvt.
25587 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25588 <stdlib.h>.
25589
4721b2d1
AM
255902013-04-27 Allan McRae <allan@archlinux.org>
25591
25592 * sysdeps/i386/fpu/libm-test-ulps: Update.
25593
f0302940
JM
255942013-04-26 Joseph Myers <joseph@codesourcery.com>
25595
9457fd95
JM
25596 [BZ #15406]
25597 * math/s_catan.c: Include <float.h>.
25598 (__catan): Ensure underflow exception occurs for underflowed
25599 result.
25600 * math/s_catanf.c: Include <float.h>.
25601 (__catanf): Ensure underflow exception occurs for underflowed
25602 result.
25603 * math/s_catanh.c: Include <float.h>.
25604 (__catanh): Ensure underflow exception occurs for underflowed
25605 result.
25606 * math/s_catanhf.c: Include <float.h>.
25607 (__catanhf): Ensure underflow exception occurs for underflowed
25608 result.
25609 * math/s_catanhl.c: Include <float.h>.
25610 (__catanhl): Ensure underflow exception occurs for underflowed
25611 result.
25612 * math/s_catanl.c: Include <float.h>.
25613 (__catanl): Ensure underflow exception occurs for underflowed
25614 result.
25615 * math/libm-test.inc (catan_test): Add more tests.
25616 (catanh_test): Likewise.
25617
f0302940
JM
25618 [BZ #15405]
25619 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25620 underflowed result.
25621 * math/s_ccoshf.c (__ccoshf): Likewise.
25622 * math/s_ccoshl.c (__ccoshl): Likewise.
25623 * math/s_csin.c (__csin): Likewise.
25624 * math/s_csinf.c (__csinf): Likewise.
25625 * math/s_csinh.c (__csinh): Likewise.
25626 * math/s_csinhf.c (__csinhf): Likewise.
25627 * math/s_csinhl.c (__csinhl): Likewise.
25628 * math/s_csinl.c (__csinl): Likewise.
25629 * math/libm-test.inc (ccos_test): Add more tests.
25630 (ccosh_test): Likewise.
25631 (csin_test): Likewise.
25632 (csinh_test): Likewise.
25633
aa630f59
AZ
256342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25635
25636 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25637 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25638 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25639 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25640 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25641 powerpc/power5+/fpu folders.
25642 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25643
25644
1b835983
MT
256452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25646
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25648
73709b26
JM
256492013-04-25 Joseph Myers <joseph@codesourcery.com>
25650
25651 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25652 additions to variable.
25653 [$(config-machine) = x86_64] (modules-names): Likewise.
25654 ($(objpfx)tst-audit3): Remove dependency.
25655 ($(objpfx)tst-audit3.out): Likewise.
25656 ($(objpfx)tst-audit4): Likewise.
25657 ($(objpfx)tst-audit4.out): Likewise.
25658 ($(objpfx)tst-audit5): Likewise.
25659 ($(objpfx)tst-audit5.out): Likewise.
25660 ($(objpfx)tst-audit6): Likewise.
25661 ($(objpfx)tst-audit6.out): Likewise.
25662 ($(objpfx)tst-audit7): Likewise.
25663 ($(objpfx)tst-audit7.out): Likewise.
25664 (tst-audit3-ENV): Remove variable.
25665 (tst-audit4-ENV): Likewise.
25666 (tst-audit5-ENV): Likewise.
25667 (tst-audit6-ENV): Likewise.
25668 (tst-audit7-ENV): Likewise.
25669 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25670 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25671 addition to variable.
25672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25677 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25678 tst-audit3, tst-audit4 and tst-audit5.
25679 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25680 tst-audit6 and tst-audit7.
25681 [$(subdir) = elf] (modules-names): Add audit modules for those
25682 tests.
25683 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25684 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25685 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25686 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25687 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25688 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25689 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25690 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25691 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25692 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25693 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25694 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25695 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25696 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25697 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25698 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25699 Likewise.
25700 [$(subdir) = elf && $(config-cflags-avx) = yes]
25701 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25702 [$(subdir) = elf && $(config-cflags-avx) = yes]
25703 (CFLAGS-tst-auditmod4a.c): Likewise.
25704 [$(subdir) = elf && $(config-cflags-avx) = yes]
25705 (CFLAGS-tst-auditmod4b.c): Likewise.
25706 [$(subdir) = elf && $(config-cflags-avx) = yes]
25707 (CFLAGS-tst-auditmod6b.c): Likewise.
25708 [$(subdir) = elf && $(config-cflags-avx) = yes]
25709 (CFLAGS-tst-auditmod6c.c): Likewise.
25710 [$(subdir) = elf && $(config-cflags-avx) = yes]
25711 (CFLAGS-tst-auditmod7b.c): Likewise.
25712 * elf/tst-audit3.c: Move to ...
25713 * sysdeps/x86_64/tst-audit3.c: ... here.
25714 * elf/tst-audit4.c: Move to ...
25715 * sysdeps/x86_64/tst-audit4.c: ... here.
25716 * elf/tst-audit5.c: Move to ...
25717 * sysdeps/x86_64/tst-audit5.c: ... here.
25718 * elf/tst-audit6.c: Move to ...
25719 * sysdeps/x86_64/tst-audit6.c: ... here.
25720 * elf/tst-audit7.c: Move to ...
25721 * sysdeps/x86_64/tst-audit7.c: ... here.
25722 * elf/tst-auditmod3a.c: Move to ...
25723 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25724 * elf/tst-auditmod3b.c: Move to ...
25725 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25726 * elf/tst-auditmod4a.c: Move to ...
25727 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25728 * elf/tst-auditmod4b.c: Move to ...
25729 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25730 * elf/tst-auditmod5a.c: Move to ...
25731 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25732 * elf/tst-auditmod5b.c: Move to ...
25733 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25734 * elf/tst-auditmod6a.c: Move to ...
25735 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25736 * elf/tst-auditmod6b.c: Move to ...
25737 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25738 * elf/tst-auditmod6c.c: Move to ...
25739 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25740 * elf/tst-auditmod7a.c: Move to ...
25741 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25742 * elf/tst-auditmod7b.c: Move to ...
25743 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25744
1ef74943
PP
257452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25746
25747 [BZ #15366]
25748 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25749 define unconditionally.
25750 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25751 define unconditionally.
25752 (INT8_C, INT16_C, etc.): Likewise.
25753
93fd48c5
MR
257542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25755
ae9552cf
MR
25756 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25757 __ehdr_start with hidden visibility.
25758
93fd48c5
MR
25759 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25760
418601aa
CD
257612013-04-24 Carlos O'Donell <carlos@redhat.com>
25762
25763 * math/libm-test.inc (cos_test): Use accurate hex constants.
25764 (sincost_test): Likewise.
25765
2f38fbfe
JM
257662013-04-24 Joseph Myers <joseph@codesourcery.com>
25767
5e221800
JM
25768 * math/libm-test.inc (catan_test): Add more tests.
25769 (catanh_test): Likewise.
25770
77f143fd
JM
25771 * math/s_catanf.c (__catanf): Use suffixed floating-point
25772 constants.
25773 * math/s_catanhf.c (__catanhf): Likewise.
25774 * math/s_catanhl.c (__catanhl): Likewise.
25775 * math/s_catanl.c (__catanl): Likewise.
25776
2f38fbfe
JM
25777 [BZ #15394]
25778 * math/s_catan.c (__catan): Calculate imaginary part of result
25779 with log1p not log unless computing log of number close to 0.
25780 * math/s_catanf.c (__catanf): Likewise.
25781 * math/s_catanl.c (__catanl): Likewise.
25782 * math/s_catanh.c (__catanh): Calculate real part of result with
25783 log1p not log unless computing log of number close to 0.
25784 * math/s_catanhf.c (__catanhf): Likewise.
25785 * math/s_catanhl.c (__catanhl): Likewise.
25786 * math/libm-test.inc (catan_test): Add more tests.
25787 (catanh_test): Likewise.
25788 * sysdeps/i386/fpu/libm-test-ulps: Update.
25789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25790
45d69176
SP
257912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25792
25793 * benchtests/Makefile: Mention files in which fast and slow
25794 paths of math functions are implemented.
25795
87f51853
RM
257962013-04-23 Roland McGrath <roland@hack.frob.com>
25797
25798 * sysdeps/posix/timespec_get.c: New file.
25799
3c026539
AZ
258002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25801
25802 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25803 POWER.
25804 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25805 for POWER.
25806 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25807 powerpc/power5/fpu folders.
25808 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25809 * benchtests/Makefile: Add modf testcase.
25810 * benchtests/bench-modf.c: New file: Benchmark test for mo
25811
ff491d14
SP
258122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25813
25814 [BZ #14888]
25815 * time/Makefile (tests): Add tst-strptime-whitespace.
25816 * time/strptime_l.c (get_number): Use ISSPACE.
25817 (__strptime_internal): Likewise.
25818 * time/tst-strptime-whitespace.c: New test case.
25819
7ed3f4e8
AS
258202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25821
25822 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25823 member.
25824 (_nss_files_init): Set it here.
25825
5c95f7b6
HC
258262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25827
25828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25829 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25830 unsigned.
25831
d34c9158
JBG
258322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25833
25834 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25835
2169712d
SP
258362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25837
25838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25839 size just once.
25840
29c5de99
DM
258412013-04-21 David S. Miller <davem@davemloft.net>
25842
25843 * po/ru.po: Update Russion translation from translation project.
25844
ccdad15d
AC
258452013-04-17 Adam Conrad <adconrad@0c3.net>
25846
25847 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25848 and setfsgid.
25849
0f122b8d
CD
258502013-04-17 Carlos O'Donell <carlos@redhat.com>
25851
5c5b07da 25852 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 25853 * configure: Regenerate.
5c5b07da 25854 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
25855 Add example to error message.
25856 * sysdeps/i386/configure: Regenerate.
25857
037714dd
SP
258582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25859
25860 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25861 slowtan.
25862 * benchtests/cos-inputs: New file.
25863 * benchtests/slowcos-inputs: New file.
25864 * benchtests/slowcos.c: New file.
25865 * benchtests/slowtan-inputs: New file.
25866 * benchtests/slowtan.c: New file.
25867 * benchtests/tan-inputs: New file.
25868
e913141d
RM
258692013-04-16 Roland McGrath <roland@hack.frob.com>
25870
25871 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25872 considered kosher.
25873
a2964074
SP
258742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25875
4856bcd2
SP
25876 * benchtests/Makefile: Include cppflags-iterator.mk to add
25877 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25878
a2964074
SP
25879 * Makefile.in (bench-clean): New target.
25880 * benchtests/Makefile (bench-clean): Likewise.
25881
9fbf9aca
DH
258822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25883
25884 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25885
207d1e2a
TS
258862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25887
25888 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25889
306dfba9
AS
258902013-04-15 Andreas Schwab <schwab@suse.de>
25891
25892 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25894 * nscd/pwdcache.c (cache_addpw): Likewise.
25895 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25896 more than recsize.
25897
206a6699
SP
258982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25899
25900 * benchtests/Makefile (bench): Write all output to
25901 bench-out.tmp together.
25902
0582f6b3
AS
259032013-04-15 Andreas Schwab <schwab@suse.de>
25904
25905 * nscd/nscd.c (main): Don't fork again after closing files.
25906
acb4325f
SP
259072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25908
5cb26d0a
SP
25909 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25910
acb4325f
SP
25911 * benchtests/Rules (bench-deps): Collect dependencies into a
25912 single variable. Add Makefile to dependencies.
25913 ($(objpfx)bench-%.c): Depend on bench-deps.
25914
47792506
RM
259152013-04-12 Roland McGrath <roland@hack.frob.com>
25916 Xavier Roche <roche+kml2@exalead.com>
25917
25918 [BZ #15361]
25919 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25920 just that it's a file descriptor.
25921 * manual/llio.texi (Synchronizing AIO Operations): Update description
25922 for EBADF error from aio_fsync.
25923
8fc1bee5
SP
259242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25925
25926 * Rules (bench): Move target definition...
25927 * benchtests/Makefile: ... here.
25928
aba5e333
CD
259292013-04-11 Carlos O'Donell <carlos@redhat.com>
25930
25931 * math/libm-test.inc (cos_test): Fix PI/2 test.
25932 (sincos_test): Likewise.
25933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25934 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25935
273cdee8
AS
259362013-04-11 Andreas Schwab <schwab@suse.de>
25937
6ecec3b6
AS
25938 [BZ #13988]
25939 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25940 accept exponent character only when digits were seen.
25941 * stdio-common/Makefile (tests): Add bug26.
25942 * stdio-common/bug26.c: New file.
25943
273cdee8
AS
25944 [BZ #14293]
25945 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25946 non-freeable.
25947
8da491f5
SP
259482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25949
01dc6df9
SP
25950 * Makeconfig (rtld-prefix): Define built linker prefix.
25951 * Rules (run-bench): Use it.
25952 * math/Makefile (run-regen-ulps): Likewise.
25953
8da491f5
SP
25954 * Rules (bench): Remove eval.
25955
abe7f530
SP
259562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25957 Roland McGrath <roland@hack.frob.com>
25958 Ondrej Bilka <neleai@seznam.cz>
25959
25960 [BZ #15346]
25961 * time/getdate.c: Include ctype.h and alloca.h.
25962 (__getdate_r): Trim leading and trailing spaces of input.
25963 * time/tst-getdate.c (tests): Add tests with leading and
25964 trailing spaces.
25965
61c23e62
RM
259662013-04-08 Roland McGrath <roland@hack.frob.com>
25967
25968 [BZ #14280]
25969 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25970 when computing value.
25971
7208a313
CD
259722013-04-06 Carlos O'Donell <carlos@redhat.com>
25973
085b2d41
CD
25974 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25975 Use testrun.sh to run libm tests.
25976
7208a313
CD
25977 [BZ #15309]
25978 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25979
872c0acd
MM
259802013-04-06 Marko Myllynen <myllynen@redhat.com>
25981
25982 [BZ #15264]
25983 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25984
26510bdd
CD
259852013-04-06 Carlos O'Donell <carlos@redhat.com>
25986
25987 * Makefile.in (regen-ulps): New target.
25988 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25989 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25990 [ifneq (no,$(PERL)] (regen-ulps): New target.
25991 [ifeq (no,$(PERL)] (regen-ulps): New target.
25992 * math/libm-test.inc (ulps_file_name): Define.
25993 (output_dir): New variable.
25994 (options): Add "output-dir" option.
25995 (parse_opt): Handle 'o' case.
25996 (main): If output_dir is non-NULL use it as a prefix
25997 otherwise use "".
25998 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25999
a01f19c8
CD
260002013-04-06 Carlos O'Donell <carlos@redhat.com>
26001
26002 [BZ #10060, #10062]
26003 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26004 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26005 fail configure if __sync_val_compare_and_swap is not inlined.
26006 * sysdeps/i386/configure: Regenerate.
26007 * configure.in: Build for i686 when configured for i386.
26008 * configure: Regenerate.
26009 * README: Remove i386 reference.
26010
b7a329a5
CD
260112013-04-06 Carlos O'Donell <carlos@redhat.com>
26012
26013 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26015
bf0f50df
TS
260162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26017
ee091edf
TS
26018 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26019 (lmsnanval): New variables.
26020 (F): Add conversion tests.
26021 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26022 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26023
a8b792d6
TS
26024 * stdio-common/tstdiomisc.c (F): Properly collect individual
26025 tests' results.
26026
a1cbf437
TS
26027 [BZ #14686, #15336]
26028 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26030 Instead, use input NaN values or generate a qNaN by arithmetic
26031 operation. Also fix bugs to comply with the standard.
26032 * math/libm-test.inc (remainder_test): Add more tests.
26033
8b43a0c9
TS
26034 [BZ #15335, #15342]
26035 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26037 input NaN values or generate a qNaN by arithmetic operation.
26038
d91da4ce
TS
26039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26040 unreachable code.
26041
bf0f50df
TS
26042 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26043 definitions.
26044
05e166c8
JM
260452013-04-03 Joseph Myers <joseph@codesourcery.com>
26046
26047 [BZ #14478]
26048 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26049 underflowed result.
26050 * math/s_cexpf.c (__cexpf): Likewise.
26051 * math/s_cexpl.c (__cexpl): Likewise.
26052 * math/libm-test.inc (cexp_test): Add more tests.
26053
1cef1b19
AS
260542013-04-03 Andreas Schwab <schwab@suse.de>
26055
26056 [BZ #15330]
26057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26058 order arrays from heap if bigger than alloca cutoff.
26059
74d87055
TS
260602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26061
26062 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26063 (SNAN_TESTS_double): Refer to GCC PR56831.
26064 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26065 GCC PR56828.
26066
d755bba4
SP
260672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26068
90d5d5bb
SP
26069 * Rules (bench): Move bench.out after the run is complete.
26070
73e0cd5d
SP
26071 * Rules (bench): Echo currently running benchmark.
26072
64aabd4b
SP
26073 * benchtests/Makefile (bench): Add atan and slowatan.
26074 * benchtests/atan-inputs: New file.
26075 * benchtests/slowatan-inputs: New file.
26076 * benchtests/slowatan.c: New file.
26077
c871eccd
SP
26078 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26080 its value.
26081
d755bba4
SP
26082 [BZ #15305]
26083 * sysdeps/unix/sysv/linux/kernel-features.h
26084 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26085 __ASSUME_XFS_RESTRICTED_CHOWN.
26086 * sysdeps/unix/sysv/linux/pathconf.c
26087 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26088 Save and restore errno.
26089
52ce4860
JM
260902013-04-02 Joseph Myers <joseph@codesourcery.com>
26091
26092 [BZ #15327]
26093 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26094 arguments using __kernel_casinh.
26095 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26096 arguments using __kernel_casinhf.
26097 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26098 arguments using __kernel_casinhl.
26099 * math/libm-test.inc (cacosh_test): Add more tests.
26100 * sysdeps/i386/fpu/libm-test-ulps: Update.
26101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102
81f311c2
SP
261032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26104
e7906a47
SP
26105 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26107
92e3664b
SP
26108 * bench/Makefile (bench): Add sin and slowsin.
26109 * benchtests/sin-inputs: New file.
26110 * benchtests/slowsin-inputs: New file.
26111 * benchtests/slowsin.c: New file.
26112
81f311c2
SP
26113 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26114 (bench): Add slowexp and slowpow.
26115 (exp-ITER): Increase iterations.
26116 (pow-ITER): Likewise.
26117 * benchtests/exp-inputs: Change input.
26118 * benchtests/pow-inputs: Likewise.
26119 * benchtests/slowexp-inputs: New file.
26120 * benchtests/slowexp.c: New file.
26121 * benchtests/slowpow-inputs: New file.
26122 * benchtests/slowpow.c: New file.
26123
ab0f1aa9
AZ
261242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26125
26126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26127 instructions.
26128 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26129 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26130 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26131 * benchtests/Makefile: Add rint benchtest.
26132 * benchtests/rint-inputs: Input for rint benchtest.
26133
57267616
TS
261342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26135
26136 * Versions.def (libm): Add GLIBC_2.18.
26137 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26138 hidden libm prototypes.
26139 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26140 * math/Makefile (libm-calls): Add s_issignaling.
26141 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26142 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26143 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26144 declaration.
26145 * math/math.h [__USE_GNU] (issignaling): New macro.
26146 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26147 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26149 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26152 * manual/arith.texi (issignaling): New section.
26153 * manual/libm-err-tab.pl (@all_functions): Update comment.
26154 * math/gen-libm-test.pl (parse_args): Apply special handling for
26155 issignaling.
26156 * math/libm-test.inc (print_float, issignaling_test): New
26157 functions.
26158 (check_float_internal): Add issignaling checks.
26159 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26160 default definition.
26161 * sysdeps/powerpc/math-tests.h: New file.
26162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26163 tests.
26164 * math/test-snan.c (TEST_FUNC): Likewise.
26165
6142896d
DM
261662013-03-30 David S. Miller <davem@davemloft.net>
26167
26168 * po/de.po: Update from translation team.
26169
ccc8cadf
JM
261702013-03-30 Joseph Myers <joseph@codesourcery.com>
26171
26172 [BZ #10357]
26173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26174 imaginary part less than 1.0 and real part less than 0.5
26175 specially.
26176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26179 (cacos_test): Add more tests.
26180 (casin_test): Likewise.
26181 (casinh_test): Likewise.
26182 * sysdeps/i386/fpu/libm-test-ulps: Update.
26183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26184
0f6a8d4b
SP
261852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26186
0d1029de
SP
26187 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26188 ONE with its value.
26189
c2d94018
SP
26190 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26191 (__pow_mp): Replace ONE and MONE with their values.
26192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26195 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26198
27ec37f1
SP
26199 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26200
a64d7e0e
SP
26201 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26202 (__pow_mp): Replace ZERO and MZERO with their values.
26203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26208 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26209 (__sqr): Likewise.
26210
d26dd3eb
SP
26211 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26212
0f6a8d4b
SP
26213 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26214
e57b0c61
RM
262152013-03-28 Roland McGrath <roland@hack.frob.com>
26216
26217 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26218 Declare with __attribute__ ((weak)).
26219 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26220 Call __call_tls_dtors only if it's not NULL.
26221
356b3480
RM
262222013-03-28 Roland McGrath <roland@hack.frob.com>
26223
288f7d79
RM
26224 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26225 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26226 magic __ehdr_start linker symbol if it's defined.
26227 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26228 them up here if it was already done.
26229
dc0a0263
RM
26230 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26231 (_dl_aux_init): Use const in cast when setting it.
26232 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26234 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26235
3d3436ae
RM
26236 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26237 Declare them here.
26238 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26239 * csu/libc-tls.c: Nor here.
26240 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26241
356b3480
RM
26242 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26243 (__libc_message): Never call vsyslog.
26244
b0f1246a
AM
262452013-03-28 Alan Modra <amodra@gmail.com>
26246
26247 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26248 Define as empty.
26249 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26250 Likewise.
26251
fbbe2b9a
AZ
262522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26253
26254 [BZ #15214]
26255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26256 underflow.
26257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26258
1728ab37
SP
262592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26260
7a86be6e
SP
26261 [BZ #15304]
26262 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26263 Don't add gid passed as argument.
26264
1728ab37
SP
26265 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26266
3a7182a1
JM
262672013-03-27 Joseph Myers <joseph@codesourcery.com>
26268
26269 [BZ #15307]
26270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26271 imaginary part between 1.0 and 1.5 and real part less than 0.5
26272 specially.
26273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26275 * math/libm-test.inc (cacos_test): Add more tests.
26276 (casin_test): Likewise.
26277 (casinh_test): Likewise.
26278 * sysdeps/i386/fpu/libm-test-ulps: Update.
26279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26280
6f2e90e7
SP
262812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26282
5739f705
SP
26283 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26284 constants.
26285 (norm): Likewise.
26286 (denorm): Likewise.
26287 (__dbl_mp): Likewise.
26288 (add_magnitudes): Likewise.
26289 (sub_magnitudes): Likewise.
26290 (__add): Likewise.
26291 (__sub): Likewise.
26292 (__mul): Likewise.
26293 (__sqr): Likewise.
26294 (__inv): Likewise.
26295 (__dvd): Likewise.
26296
e375e83d
SP
26297 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26298 commented code.
26299 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26300 (__dubcos): Likewise.
26301 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26302 (__ieee754_acos): Likewise.
26303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26305 (__exp1): Likewise.
26306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26308 (log1): Likewise.
26309 (my_log2): Likewise.
26310 (checkint): Likewise.
26311 * sysdeps/ieee754/dbl-64/e_remainder.c
26312 (__ieee754_remainder): Likewise.
26313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26315 (bsloww): Likewise.
26316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26317
6f2e90e7
SP
26318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26320 MANTISSA_STORE_T to store computations on mantissa. Use
26321 macros for rounding and division.
26322 (denorm): Likewise.
26323 (__dbl_mp): Likewise.
26324 (add_magnitudes): Likewise.
26325 (sub_magnitudes): Likewise.
26326 (__mul): Likewise.
26327 (__sqr): Likewise.
26328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26329 powers of two in terms of TWOPOW macro.
26330 (mp_no): Make type of mantissa as MANTISSA_T.
26331 [!RADIXI]: Define RADIXI.
26332 [!TWO52]: Define TWO52.
26333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26334
fce14d4e
AZ
263352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26336
26337 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26338 llroundl symbol when building for PPC32.
26339
9ad027fb
MW
263402013-03-24 Mark H Weaver <mhw@netris.org>
26341
26342 * manual/arith.texi (Normalization Functions): Fix prototypes for
26343 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26344
e42a38dd
AZ
263452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26346
26347 [BZ #13889]
26348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26349 high value to check if expl overflow.
26350 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26351 to check for underflow and overflow.
26352 * math/libm-test.inc: Add exp test.
26353
2e0fb521
DL
263542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26355
26356 [BZ #11120]
26357 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26358 with NOT_IN_libc.
26359
b5784d95
AZ
263602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26361
26362 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26363 symbol.
26364
5aa4a1a1
TS
263652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26366
bdef0be7
TS
26367 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26368 wrap blocks consisting of several statements.
26369
5aa4a1a1
TS
26370 * sysdeps/generic/math-tests.h: New file.
26371 * sysdeps/i386/fpu/math-tests.h: Likewise.
26372 * math/test-snan.c: Include it.
26373 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26374
98c48fe5
JM
263752013-03-21 Joseph Myers <joseph@codesourcery.com>
26376
26377 [BZ #15285]
26378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26379 (__ieee754_j0l): Do not improve calculations using cos of twice
26380 input for inputs above LDBL_MAX / 2.0L.
26381 (__ieee754_y0l): Likewise.
26382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26383 (__ieee754_j1l): Do not improve calculations using cos of twice
26384 input for inputs above LDBL_MAX / 2.0L.
26385 (__ieee754_y1l): Likewise.
26386 * math/libm-test.inc (j0_test): Add another test.
26387 (j1_test): Likewise.
26388 (y0_test): Likewise.
26389 (y1_test): Likewise.
26390 * sysdeps/i386/fpu/libm-test-ulps: Update.
26391
3775a8bc
SP
263922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26393
26394 * Rules ($(objpfx)bench-%.c): Include code from a C source
26395 file.
26396
0a1b2ae6
JM
263972013-03-21 Joseph Myers <joseph@codesourcery.com>
26398
26399 [BZ #15287]
26400 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26401 imaginary part 1.0 and real part less than 0.5 specially.
26402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26404 * math/libm-test.inc (cacos_test): Add more tests.
26405 (casin_test): Likewise.
26406 (casinh_test): Likewise.
26407 * sysdeps/i386/fpu/libm-test-ulps: Update.
26408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409
b33d4ce4
SP
264102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26411
26412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26413 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26414
bef0b507
JM
264152013-03-20 Joseph Myers <joseph@codesourcery.com>
26416
26417 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26418 * config.make.in (config-cflags-sse4): Remove variable.
26419 (config-cflags-avx): Likewise.
26420 (config-cflags-sse2avx): Likewise.
26421 (config-cflags-novzeroupper): Likewise.
26422 (config-asflags-i686): Likewise.
26423 (have-mfma4): Likewise.
26424 (have-as-vis3): Likewise.
26425 (MIG): Likewise.
26426 * configure.in (MIG): Do not AC_SUBST.
26427 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26428 (libc_cv_cc_sse4): Do not AC_SUBST.
26429 (libc_cv_cc_avx): Likewise.
26430 (libc_cv_cc_sse2avx): Likewise.
26431 (libc_cv_cc_novzeroupper): Likewise.
26432 (libc_cv_cc_fma4): Likewise.
26433 (libc_cv_as_i686): Likewise.
26434 (libc_cv_sparc_as_vis3): Likewise.
26435 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26436 LIBC_CONFIG_VAR.
26437 (config-asflags-i686): Likewise.
26438 (config-cflags-avx): Likewise.
26439 (config-cflags-sse2avx): Likewise.
26440 (have-mfma4): Likewise.
26441 (config-cflags-novzeroupper): Likewise.
26442 * sysdeps/mach/configure.in (MIG): Likewise.
26443 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26444 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26445 LIBC_CONFIG_VAR.
26446 (config-cflags-avx): Likewise.
26447 (config-cflags-sse2avx): Likewise.
26448 (have-mfma4): Likewise.
26449 (config-cflags-novzeroupper): Likewise.
26450 * configure: Regenerated.
26451 * sysdeps/i386/configure: Likewise.
26452 * sysdeps/mach/configure: Likewise.
26453 * sysdeps/sparc/configure: Likewise.
26454 * sysdeps/x86_64/configure: Likewise.
26455
912cc4b3
RM
264562013-03-20 Roland McGrath <roland@hack.frob.com>
26457
26458 [BZ #14812]
26459 * locale/programs/localedef.c (options): Put N_ translation marker
26460 on argument names, not just descriptions.
26461
04eed2b0
MS
264622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26463
26464 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26465
a065ceff
OB
264662013-03-20 Ondřej Bílka <neleai@seznam.cz>
26467
9bb2a810 26468 [BZ #14176]
a065ceff
OB
26469 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26470
a600e5ce
RM
264712013-03-19 Roland McGrath <roland@hack.frob.com>
26472
26473 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26474 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26475 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26476 [!BEFORE_ABORT] (before_abort): New function.
26477 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26478 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26479 (writev_for_fatal): New function.
26480 (WRITEV_FOR_FATAL): New macro; call that.
26481 (backtrace_and_maps): New function.
26482 (BEFORE_ABORT): New macro; call that.
26483 (struct str_list): Type removed.
26484 (__libc_message, __libc_fatal): Functions removed.
26485 Include <sysdeps/posix/libc_fatal.c> instead.
26486
6b18bea6
JM
264872013-03-19 Joseph Myers <joseph@codesourcery.com>
26488
26489 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26490 constants.
26491 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26492 double constants.
26493
aaa8cb4b
AS
264942013-03-19 Andreas Schwab <schwab@suse.de>
26495
44673770
AS
26496 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26497 * sysdeps/gnu/configure: Regenerate.
26498
aaa8cb4b
AS
26499 * configure.in: Substitute libc_cv_rtlddir.
26500 * configure: Regenerate.
26501 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26502 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26503 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26504 * elf/Makefile (install-others, CFLAGS-interp.c)
26505 (ldso_install, common-ldd-rewrite): Likewise.
26506 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26507 $(inst_slibdir)/$(rtld-installed-name).
26508 * scripts/rellns-sh: Add -p option.
26509 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26510 for source.
26511
d3cfc668
SP
265122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26513
26514 * manual/nptl.texi: Renamed to ...
26515 * manual/threads.texi: ... this.
26516 * manual/Makefile (chapters): Update.
26517
0e2b9cdd
RM
265182013-03-18 Roland McGrath <roland@hack.frob.com>
26519
26520 [BZ #14812]
26521 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26522 on argument names, not just descriptions.
0e2b9cdd
RM
26523 * malloc/memusagestat.c (options): Likewise.
26524 * nss/getent.c (options): Likewise.
63270c24
RM
26525
265262013-03-18 Benno Schulenberg <bensberg@justemail.net>
26527
26528 [BZ #14812]
26529 * iconv/iconv_prog.c (options): Put N_ translation marker
26530 on argument names, not just descriptions.
26531 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26532
b2e1393c
OB
265332013-03-18 Ondrej Bilka <neleai@seznam.cz>
26534
26535 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26536 implementation which is faster on all x86_64 architectures.
26537 Tested on AMD, Intel Nehalem, SNB, IVB.
26538 * sysdeps/x86_64/strnlen.S: Likewise.
26539
26540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26541 Remove all multiarch strlen and strnlen versions.
26542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26543 Remove strlen and strnlen related parts.
26544
26545 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26546 Inline strlen part.
26547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26548
26549 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26550 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26552 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26555
ec4ff04d
CD
265562013-03-17 Carlos O'Donell <carlos@redhat.com>
26557
26558 * manual/memory.texi (Malloc Tunable Parameters):
26559 Sort parameters alphabetically. Add comments for missing entries.
26560
cd18e90a
DM
265612013-03-17 David S. Miller <davem@davemloft.net>
26562
26563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26564
2a185d32
JM
265652013-03-16 Joseph Myers <joseph@codesourcery.com>
26566
d2f9799e
JM
26567 [BZ #15283]
26568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26569 for arguments at most half maximum finite value.
26570 * math/libm-test.inc (j0_test): Add more tests.
26571 (j1_test): Likewise.
26572 (y0_test): Likewise.
26573 (y1_test): Likewise.
26574 * sysdeps/i386/fpu/libm-test-ulps: Update.
26575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26576
2a185d32
JM
26577 [BZ #14155]
26578 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26579 1 / x and functions P and Q for arguments above 0x1p256L.
26580 (__ieee754_y0l): Likewise.
26581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26582 (__ieee754_y1l): Likewise.
26583 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26584 (j1_test): Likewise.
26585 (y0_test): Likewise.
26586 (y1_test): Likewise.
26587
6cbec759
TS
265882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26589
26590 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26591 variable.
26592
bc16e260
RM
265932013-03-15 Roland McGrath <roland@hack.frob.com>
26594
aefc9b8c
RM
26595 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26596 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26597 zero since it's initialized to EXEC_PAGESIZE.
26598
bc16e260
RM
26599 * sysdeps/unix/sysv/linux/ldsodefs.h
26600 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26601 * sysdeps/generic/ldsodefs.h: ... here.
26602
a57da955
TS
266032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26604
af00a34d
TS
26605 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26606
495ded2c
TS
26607 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26608 math/test-snan.c.
26609 * math/test-snan.c: Renamed from
26610 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26611 * math/Makefile (tests): Add test-snan.
26612 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26613 test-powerpc-snan.
26614
777b0332
TS
26615 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26616 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26617 functions.
26618 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26619 __builtin_nan family of functions.
26620 * math/libm-test.inc (initialize): Initialize qnan_value with
26621 __builtin_nan family of functions.
26622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26623 Remove variables.
26624 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26625 Remove functions.
26626 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26627 storage class. Initialize qNaN_var and sNaN_var with
26628 __builtin_nan and __builtin_nans families of functions,
26629 respectively.
26630
64d063b8
TS
26631 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26632 (sqrt_test): Remove duplicate test with qNaN input.
26633 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26634 (round_test, signbit_test, significand_test): Note missing +/-Inf
26635 as well as qNaN tests.
26636
67e971f1
TS
26637 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26638 qNaN_var. Fix a few strings, too.
26639 * math/libm-test.inc (nan_value): Rename to qnan_value.
26640 * math/gen-libm-test.pl (%beautify): Adjust to that.
26641 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26642 * math/test-misc.c (main): Likewise.
26643 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26644 to __qnan_bytes, and __qnan_union, respectively.
26645 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26646 Likewise.
26647 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26648 and lqnanval, respectively.
26649 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26650 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26652 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26653
64487e12
TS
26654 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26655 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26656 doubles.
26657
e015e27b
TS
26658 * math/test-misc.c (main): Fix copy'n'pastos.
26659 * misc/tst-efgcvt.c (special): Likewise.
26660
a57da955
TS
26661 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26662 Remove declarations.
26663
1e380345
SP
266642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26665
26666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26667 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26668 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26670
ef26eece
AZ
266712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26672
26673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26674 macro to return vdso values correctly in IFUNC implementations.
26675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26676 Optimization by using IFUNC.
26677
8cfdb7e0
SP
266782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26679 Richard Henderson <rth@redhat.com>
26680 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26681
26682 * Makefile.in (bench): New target.
26683 * NEWS: Mention the benchmark framework.
26684 * Rules (bench): Likewise.
26685 (binaries-bench): Generate binaries for functions to
26686 benchmark.
26687 * benchtests/Makefile: New makefile for benchmark tests.
26688 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26689 programs.
26690 * benchtests/exp-inputs: New input file for EXP function.
26691 * benchtests/pow-inputs: New input file for POW function.
26692 * scripts/bench.pl: New script to generate source files for
26693 benchmark programs.
26694
bcda9880
SP
266952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26696
d22ca8cd
SP
26697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26699 computations on mantissa. Use macros for rounding and
26700 division.
26701 (denorm): Likewise.
26702 (__dbl_mp): Likewise.
26703 (add_magnitudes): Likewise.
26704 (sub_magnitudes): Likewise.
26705 (__mul): Likewise.
26706 (__sqr): Likewise.
26707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26708 powers of two in terms of TWOPOW macro.
26709 (mp_no): Make type of mantissa as MANTISSA_T.
26710 [!RADIXI]: Define RADIXI.
26711 [!TWO52]: Define TWO52.
26712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26713
bcda9880
SP
26714 * manual/nptl.texi (cindex): Modify threads to pthreads.
26715
06d5adfb
JM
267162013-03-15 Joseph Myers <joseph@codesourcery.com>
26717
26718 * sysdeps/x86_64/preconfigure: Regenerated.
26719
41c7328e
JM
267202013-03-14 Joseph Myers <joseph@codesourcery.com>
26721
26722 [BZ #14155]
26723 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26724 0x1p28 and above.
26725 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26726 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26727 0x1p28 and above.
26728 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26729 * math/libm-test.inc (j0_test): Do not allow one spurious
26730 underflow exception.
26731 (y1_test): Likewise.
26732
e25cfa60
SP
267332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26734
0409959c
SP
26735 * manual/Makefile (chapters): Add nptl.
26736 * manual/debug.texi (Debugging Support): Add link to Threads
26737 chapter.
26738 * manual/nptl.texi: New file.
26739
e25cfa60
SP
26740 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26741
58a1335e
PB
267422013-03-14 Petr Baudis <pasky@ucw.cz>
26743
26744 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26745 for non-NULL pointer before the memory validity test. Pointed
26746 out by Holger Brunck <holger.brunck@keymile.com>.
26747
9dc7c64f
AS
267482013-03-13 Andreas Schwab <schwab@suse.de>
26749
26750 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26751 instead of .os.
26752
54206aa6
JM
267532013-03-13 Joseph Myers <joseph@codesourcery.com>
26754
26755 * timezone/zic.c: Update from tzcode 2013b.
26756
e98cdb38
CD
267572013-03-12 Carlos O'Donell <carlos@redhat.com>
26758
26759 * manual/install.texi (Configuring and compiling):
26760 Mention i686 and i586.
26761 * INSTALL: Regenerate.
26762
9967e003
RM
267632013-03-12 Roland McGrath <roland@hack.frob.com>
26764
26765 * sysdeps/init_array/elf-init.c: New file.
26766 * csu/elf-init.c
26767 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26768 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26769
26770 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26771 __gmon_start__ as global, but as static with a .preinit_array pointer.
26772 * sysdeps/init_array/gmon-start.c: New file. Use that.
26773 * sysdeps/init_array/crti.S: New file, empty except for comments.
26774 * sysdeps/init_array/crtn.S: Likewise.
26775
e6b5a293 267762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26777
26778 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26779 definining bcopy.
80f844c9
OB
26780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26781 Remove Prefer_SSE_for_memop.
26782 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26783 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26784 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26786 memset-x86-64.
80f844c9 26787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26788 Remove bzero, memset ifunc support.
80f844c9
OB
26789 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26793
fb6b0fcb
AS
267942013-03-11 Andreas Schwab <schwab@suse.de>
26795
26796 [BZ #15234]
26797 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26798 by SHLIB_COMPAT.
26799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26800 (GLIBC_2.16): Remove pthread_atfork.
26801
3e6bd4b1
PP
268022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26803
26804 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26805 (ptestcases.h): Likewise.
26806
222d7f00
RM
268072013-03-08 Roland McGrath <roland@hack.frob.com>
26808
26809 * Makeconfig ($(common-objpfx)config.status): Depend on
26810 sysdeps/*/preconfigure{,.in} too.
26811
1ba4f030
JM
268122013-03-08 Joseph Myers <joseph@codesourcery.com>
26813
a222d91a
JM
26814 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26815 (__free_hook): Use void * instead of __malloc_ptr_t.
26816 (__malloc_hook): Likewise.
26817 (__realloc_hook): Likewise.
26818 (__memalign_hook): Likewise.
26819 (__after_morecore_hook): Likewise.
26820 * malloc/arena.c (save_malloc_hook): Likewise.
26821 (save_free_hook): Likewise.
26822 * malloc/hooks.c (malloc_hook_ini): Likewise.
26823 (realloc_hook_ini): Likewise.
26824 (memalign_hook_ini): Likewise.
26825 * malloc/malloc.c (malloc_hook_ini): Likewise.
26826 (realloc_hook_ini): Likewise.
26827 (memalign_hook_ini): Likewise.
26828 (__free_hook): Likewise.
26829 (__malloc_hook): Likewise.
26830 (__realloc_hook): Likewise.
26831 (__memalign_hook): Likewise.
26832 (__libc_malloc): Likewise.
26833 (__libc_free): Likewise.
26834 (__libc_realloc): Likewise.
26835 (__libc_memalign): Likewise.
26836 (__libc_valloc): Likewise.
26837 (__libc_pvalloc): Likewise.
26838 (__libc_calloc): Likewise.
26839 (__posix_memalign): Likewise.
26840 * malloc/morecore.c (__sbrk): Likewise.
26841 (__default_morecore): Likewise.
26842
5cc45e10
JM
26843 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26844
dd54b864
JM
26845 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26846 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26847 __malloc_ptrdiff_t.
26848
1ba4f030
JM
26849 * malloc/malloc.h (__malloc_size_t): Remove macro.
26850 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26851 __malloc_size_t.
26852 (old_memalign_hook): Likewise.
26853 (old_realloc_hook): Likewise.
26854 (struct hdr): Likewise.
26855 (flood): Likewise.
26856 (mallochook): Likewise.
26857 (memalignhook): Likewise.
26858 (reallochook): Likewise.
26859 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26860 (tr_old_realloc_hook): Likewise.
26861 (tr_old_memalign_hook): Likewise.
26862 (tr_mallochook): Likewise.
26863 (tr_reallochook): Likewise.
26864 (tr_memalignhook): Likewise.
26865
edf66e57
AZ
268662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26867
26868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26869 default_ldbl_pack and using as default implementation.
26870 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26871 implementation.
26872 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26873 redundant definition.
26874 (ldbl_insert_mantissa): Likewise.
26875 (ldbl_canonicalize): Likewise.
26876 (ldbl_nearbyint): Likewise.
26877 (ldbl_pack): Rename to ldbl_pack_ppc.
26878 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26879 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26880 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26881
6d9145d8
SP
268822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26883
26884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26885 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26887 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26890 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26891 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26892
4dd4e157
AJ
268932013-03-07 Andreas Jaeger <aj@suse.de>
26894
26895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26896 bits/mman-linux.h.
26897
adbb8027
SP
268982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26899
ce544b5b
SP
26900 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26901 Include mpa.h and declare __MPEXP.
26902 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26907 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26909
4cc149fd
SP
26910 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26911 (__slowpow): Use long double EXPL and LOGL functions to
26912 compute POW.
26913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26917 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26919
e6ebd4a7
SP
26920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26921 intermediate variable to calculate exponent.
26922 (__sqr): Likewise.
26923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26924 Likewise.
26925 (__sqr): Likewise.
26926
82a9811d
SP
26927 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26928 [!NO__SQR]: Define __sqr.
26929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26930 and NO__SQR. Remove all code except __mul and __sqr. Include
26931 sysdeps/ieee754/dbl-64/mpa.c.
26932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26933
adbb8027
SP
26934 [BZ #12723]
26935 * posix/Makefile (tests): Add tst-pathconf.
26936 * posix/tst-pathconf.c: New test case.
26937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26938 _PC_PIPE_BUF.
26939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26940
39120df9
PF
269412013-03-06 Patsy Franklin <pfrankli@redhat.com>
26942
26943 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26944
67525cb8
AJ
269452013-03-06 Andreas Jaeger <aj@suse.de>
26946
664a9ce4
AJ
26947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26948 definition via __MAP_ANONYMOUS.
26949
8e39047d
AJ
26950 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26951 it's not part of Linux headers.
26952
67525cb8
AJ
26953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26954 (MAP_HUGE_MASK): Define.
26955
26956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26957 Define.
26958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26960 Define.
26961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26962 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26963 Define.
26964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26966 Define.
26967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26968
26969 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26970 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26971 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26972 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26973 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26975
26976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26977 Handle f2fs.
26978
26979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26980 Handle f2fs and efivarfs.
26981
26982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26983 f2fs.
26984
26985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26986 (EFIVARFS_MAGIC): Add.
26987 (F2FS_LINK_MAX): Add.
26988
e1b42695
PP
269892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26990
26991 * stdio-common/vfprintf.c: Replace __builtin_expect with
26992 __glibc_unlikely.
26993
2d67d91a
JM
269942013-03-06 Joseph Myers <joseph@codesourcery.com>
26995
26996 [BZ #13550]
26997 * sysdeps/generic/bp-sym.h: Remove file.
26998 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27000 <bp-sym.h> and <bp-asm.h>.
27001 (__longjmp): Don't use BP_SYM.
27002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27003 and <bp-asm.h>.
27004 (memcpy): Don't use BP_SYM.
27005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27006 <bp-sym.h> and <bp-asm.h>.
27007 (memcpy): Don't use BP_SYM.
27008 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27009 <bp-asm.h>.
27010 (memcpy): Don't use BP_SYM.
27011 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27012 <bp-asm.h>.
27013 (memset): Don't use BP_SYM.
27014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27016 (__bzero): Don't use BP_SYM.
27017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27020 <bp-sym.h> and <bp-asm.h>.
27021 (memcmp): Don't use BP_SYM. Remove comment about bounded
27022 pointers.
27023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27024 <bp-sym.h> and <bp-asm.h>.
27025 (memcpy): Don't use BP_SYM.
27026 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27027 <bp-sym.h> and <bp-asm.h>.
27028 (memset): Don't use BP_SYM.
27029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27031 (__bzero): Don't use BP_SYM.
27032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27035 <bp-sym.h> and <bp-asm.h>.
27036 (strncmp): Don't use BP_SYM. Remove comment about bounded
27037 pointers.
27038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27039 <bp-sym.h> and <bp-asm.h>.
27040 (memcpy): Don't use BP_SYM.
27041 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27042 <bp-sym.h> and <bp-asm.h>.
27043 (memset): Don't use BP_SYM.
27044 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27045 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27046 (__bzero): Don't use BP_SYM.
27047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27050 <bp-sym.h> and <bp-asm.h>.
27051 (__memchr): Don't use BP_SYM.
27052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27053 <bp-sym.h> and <bp-asm.h>.
27054 (memcmp): Don't use BP_SYM. Remove comment about bounded
27055 pointers.
27056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27057 <bp-sym.h> and <bp-asm.h>.
27058 (memcpy): Don't use BP_SYM.
27059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27060 <bp-sym.h> and <bp-asm.h>.
27061 (__mempcpy): Don't use BP_SYM.
27062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27063 <bp-sym.h> and <bp-asm.h>.
27064 (__memrchr): Don't use BP_SYM.
27065 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27066 <bp-sym.h> and <bp-asm.h>.
27067 (memset): Don't use BP_SYM.
27068 (__bzero): Likewise.
27069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27070 <bp-sym.h> and <bp-asm.h>.
27071 (__rawmemchr): Don't use BP_SYM.
27072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27073 <bp-sym.h> and <bp-asm.h>.
27074 (__STRCMP): Don't use BP_SYM.
27075 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27076 <bp-sym.h> and <bp-asm.h>.
27077 (strchr): Don't use BP_SYM.
27078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27079 <bp-sym.h> and <bp-asm.h>.
27080 (__strchrnul): Don't use BP_SYM.
27081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27082 <bp-sym.h> and <bp-asm.h>.
27083 (strlen): Don't use BP_SYM.
27084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27085 <bp-sym.h> and <bp-asm.h>.
27086 (strncmp): Don't use BP_SYM. Remove comment about bounded
27087 pointers.
27088 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27089 <bp-sym.h> and <bp-asm.h>.
27090 (__strnlen): Don't use BP_SYM.
27091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27092 <bp-sym.h> and <bp-asm.h>.
27093 (__GI__setjmp): Don't use BP_SYM.
27094 (_setjmp): Likewise.
27095 (__sigsetjmp): Likewise.
27096 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27097 (L(start_addresses)): Don't use BP_SYM.
27098 (_start): Likewise.
27099 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27100 <bp-asm.h>.
27101 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27102 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27105 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27106 <bp-asm.h>.
27107 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27108 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27109 about bounded pointers.
27110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27112 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27113 <bp-asm.h>.
27114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27115 about bounded pointers. Remove GKM FIXME comments.
27116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27117 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27118 <bp-asm.h>.
27119 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27120 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27121 Remove GKM FIXME comments.
27122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27124 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27125 <bp-asm.h>.
27126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27127 about bounded pointers. Remove GKM FIXME comment.
27128 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27129 and <bp-asm.h>.
27130 (strncmp): Don't use BP_SYM. Remove comment about bounded
27131 pointers.
27132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27133 <bp-sym.h> and <bp-asm.h>.
27134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27136 <bp-sym.h> and <bp-asm.h>.
27137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27138 comment.
27139
cdcf361f
PP
271402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27141
27142 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27143 call free(NULL).
27144
3c4a2b15
DM
271452013-03-05 David S. Miller <davem@davemloft.net>
27146
27147 * po/es.po: Update from translation team.
27148
cdcf361f 271492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27150
27151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27152 <bits/mman-linux.h>.
27153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27154 is fine.
27155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27156 <bits/mman-linux.h> to end of file.
27157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27158 is fine.
27159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27160 <bits/mman-linux.h> to end of file.
27161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27162 is fine.
27163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27164 <bits/mman-linux.h> to end of file.
27165
27166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27167 (MCL_CURRENT, MCL_FUTURE): Define here.
27168
5f67c04f
AK
271692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27170
8a4473cc 27171 [BZ #15232]
5f67c04f
AK
27172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27173 attribute_hidden.
27174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27175
c3e94a95
AK
271762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27177
27178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27179 fourth parameter needed for rt_sigprocmask syscall.
27180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27184 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27186
cfb6382a
JM
271872013-03-04 Joseph Myers <joseph@codesourcery.com>
27188
27189 [BZ #13550]
27190 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27191 comment about bounded pointers.
27192 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27193 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27194
539d8e01
AJ
271952013-03-04 Andreas Jaeger <aj@suse.de>
27196
27197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27198 common definitions.
27199
27200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27201 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27206
2e167a70 272072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27208
27209 [BZ #15055]
27210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27211 __ieee754_sqrl instead of __sqrl.
27212
68508633
JM
272132013-03-01 Joseph Myers <joseph@codesourcery.com>
27214
27215 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27216 * sysdeps/powerpc/fpu_control.h: ... here.
27217 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27218 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27219 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27220 * sysdeps/powerpc/bits/mathinline.h: ... here.
27221
7775448e
RM
272222013-03-01 Roland McGrath <roland@hack.frob.com>
27223
27224 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27225 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27226 to just [NEED_DL_SYSINFO_DSO].
27227 * elf/dl-support.c: Likewise.
27228 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27229 * elf/rtld.c (dl_main): Likewise.
27230 * elf/setup-vdso.h (setup_vdso): Likewise.
27231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27232 * sysdeps/unix/sysv/linux/dl-sysdep.c
27233 (_dl_discover_osversion): Likewise.
27234
4e9b5995
CD
272352013-03-01 Carlos O'Donell <carlos@redhat.com>
27236
27237 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27239
e23872c8
SP
272402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27241
e5c74c63
SP
27242 * NEWS: Mention libm performance improvements and non-x86 PI
27243 futex support.
27244
e23872c8
SP
27245 * csu/libc-start.c (__pthread_initialize_minimal): Change
27246 function arguments.
27247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27248
b5510883
JM
272492013-02-28 Joseph Myers <joseph@codesourcery.com>
27250
27251 [BZ #13550]
27252 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27254 <bp-sym.h> and <bp-asm.h>.
27255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27257 and <bp-asm.h>.
27258 (memcpy): Don't use BP_SYM.
27259 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27260 <bp-asm.h>.
27261 (__mpn_add_n): Don't use BP_SYM.
27262 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27263 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27264 and <bp-asm.h>.
27265 (__mpn_addmul_1): Don't use BP_SYM.
27266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27268 <bp-sym.h>.
27269 (_setjmp): Don't use BP_SYM.
27270 (__novmx_setjmp): Likewise.
27271 (__GI__setjmp): Likewise.
27272 (__vmx_setjmp): Likewise.
27273 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27274 <bp-sym.h>.
27275 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27276 (__bzero): Don't use BP_SYM.
27277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27280 <bp-sym.h> and <bp-asm.h>.
27281 (memcpy): Don't use BP_SYM.
27282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27283 <bp-sym.h> and <bp-asm.h>.
27284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27286 <bp-sym.h> and <bp-asm.h>.
27287 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27288 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27289 <bp-asm.h>.
27290 (__mpn_lshift): Don't use BP_SYM.
27291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27292 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27293 <bp-asm.h>.
27294 (memset): Don't use BP_SYM.
27295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27297 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27298 <bp-asm.h>.
27299 (__mpn_mul_1): Don't use BP_SYM.
27300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27302 <bp-sym.h> and <bp-asm.h>.
27303 (memcmp): Don't use BP_SYM.
27304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27305 <bp-sym.h> and <bp-asm.h>.
27306 (memcpy): Don't use BP_SYM.
27307 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27308 <bp-sym.h> and <bp-asm.h>.
27309 (memset): Don't use BP_SYM.
27310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27311 <bp-sym.h> and <bp-asm.h>.
27312 (strncmp): Don't use BP_SYM.
27313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27314 <bp-sym.h> and <bp-asm.h>.
27315 (memcpy): Don't use BP_SYM.
27316 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27317 <bp-sym.h> and <bp-asm.h>.
27318 (memset): Don't use BP_SYM.
27319 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27320 <bp-sym.h> and <bp-asm.h>.
27321 (__memchr): Don't use BP_SYM.
27322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27323 <bp-sym.h> and <bp-asm.h>.
27324 (memcmp): Don't use BP_SYM.
27325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27326 <bp-sym.h> and <bp-asm.h>.
27327 (memcpy): Don't use BP_SYM.
27328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27329 <bp-sym.h> and <bp-asm.h>.
27330 (__mempcpy): Don't use BP_SYM.
27331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27332 <bp-sym.h> and <bp-asm.h>.
27333 (__memrchr): Don't use BP_SYM.
27334 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27335 <bp-sym.h> and <bp-asm.h>.
27336 (memset): Don't use BP_SYM.
27337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27338 <bp-sym.h> and <bp-asm.h>.
27339 (__rawmemchr): Don't use BP_SYM.
27340 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27341 <bp-sym.h> and <bp-asm.h>.
27342 (__STRCMP): Don't use BP_SYM.
27343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27344 <bp-sym.h> and <bp-asm.h>.
27345 (strchr): Don't use BP_SYM.
27346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27347 <bp-sym.h> and <bp-asm.h>.
27348 (__strchrnul): Don't use BP_SYM.
27349 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27350 <bp-sym.h> and <bp-asm.h>.
27351 (strlen): Don't use BP_SYM.
27352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27353 <bp-sym.h> and <bp-asm.h>.
27354 (strncmp): Don't use BP_SYM.
27355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27356 <bp-sym.h> and <bp-asm.h>.
27357 (__strnlen): Don't use BP_SYM.
27358 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27359 <bp-asm.h>.
27360 (__mpn_rshift): Don't use BP_SYM.
27361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27362 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27363 <bp-sym.h> and <bp-asm.h>.
27364 (__sigsetjmp): Don't use BP_SYM.
27365 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27366 (L(start_addresses)): Don't use BP_SYM.
27367 (_start): Likewise.
27368 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27369 <bp-asm.h>.
27370 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27373 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27374 <bp-asm.h>.
27375 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27378 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27379 <bp-asm.h>.
27380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27381 comments.
27382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27383 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27384 <bp-asm.h>.
27385 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27386 FIXME comments.
27387 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27388 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27389 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27390 <bp-asm.h>.
27391 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27392 comment.
27393 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27394 and <bp-asm.h>.
27395 (strncmp): Don't use BP_SYM,
27396 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27397 <bp-asm.h>.
27398 (__mpn_sub_n): Don't use BP_SYM.
27399 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27400 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27401 and <bp-asm.h>.
27402 (__mpn_submul_1): Don't use BP_SYM.
27403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27405 <bp-sym.h> and <bp-asm.h>.
27406 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27408 <bp-sym.h> and <bp-asm.h>.
27409 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27410 comment.
27411
8d19fe64
SP
274122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27413
27414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27415 Use ZK to minimize writes to Z.
27416 (sub_magnitudes): Simplify code a bit.
27417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27418 Use ZK to minimize writes to Z.
27419 (sub_magnitudes): Simplify code a bit.
27420
85bd816a
RM
274212013-02-27 Roland McGrath <roland@hack.frob.com>
27422
27423 * csu/gmon-start.c: Add special exception to license text.
27424
b5977bf2
RH
274252013-02-27 Richard Henderson <rth@redhat.com>
27426
27427 * scripts/config.guess: Update from config.git.
27428 * scripts/config.sub: Likewise.
27429
11d6e2f2
SP
274302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27431
09c14ed2
SP
27432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27433
a688864e
SP
27434 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27435
6295157a
SP
27436 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27437
b8de2202
SP
27438 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27439
11d6e2f2
SP
27440 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27441
7e80ddb8
RM
274422013-02-26 Roland McGrath <roland@hack.frob.com>
27443
27444 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27445 [$(build-shared = yes].
7e80ddb8 27446
7da6d9ed
SP
274472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27448
45f05884
SP
27449 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27450 (__mul): Reduce iterations for calculating mantissa.
27451
2236d359
SP
27452 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27453 MPTWO.
27454 (__mpranred): Likewise.
27455
7da6d9ed
SP
27456 [BZ #15160]
27457 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27458 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27459
b7688c42
PE
274602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27461
27462 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27463 Define __attribute__.
27464
53a5c423
SP
274652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27466
27467 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27468 unused.
27469 * posix/regex_internal.h (__attribute): Remove.
27470 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27471 (re_string_context_at): Likewise.
27472 (bitset_not): Use __attribute__ and mark function as possibly
27473 unused.
27474 (bitset_merge): Likewise.
27475 (bitset_mask): Likewise.
27476 (re_string_char_size_at): Likewise.
27477 (re_string_wchar_at): Likewise.
27478 (re_string_elem_size_at): Likewise.
27479
60f5a8b5
SP
274802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27481
2a983a2e
SP
27482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27483 code.
27484 (cc32): Likewise.
27485
e69804d1
SP
27486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27487 (__acr): Likewise.
27488 (__cpy): Likewise.
27489 (norm): Likewise.
27490 (denorm): Likewise.
27491 (__dbl_mp): Likewise.
27492 (add_magnitudes): Likewise.
27493 (sub_magnitudes): Likewise.
27494 (__mul): Likewise.
27495 (__inv): Likewise.
27496
2f22a1e8
SP
27497 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27498 style.
27499
8930ddc7
SP
27500 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27501 style.
27502
dc60cb11
SP
27503 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27504 code.
27505
60f5a8b5
SP
27506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27507 up changes with default code.
27508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27509 Likewise.
27510
b4d1fd33
AM
275112013-02-24 Allan McRae <allan@archlinux.org>
27512
faf6f8bc
AM
27513 * manual/socket.texi (The Internet Namespace): Order menu items
27514 to match that in the file.
27515
b4d1fd33
AM
27516 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27517 node listing of the info page menu.
27518
2366713d
JM
275192013-02-21 Joseph Myers <joseph@codesourcery.com>
27520
27521 [BZ #13550]
27522 * sysdeps/i386/bp-asm.h: Remove file.
27523 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27524 (PARMS): Do not use macros from bp-asm.h.
27525 (S1): Likewise.
27526 (S2): Likewise.
27527 (SIZE): Likewise.
27528 (__mpn_add_n): Do not use BP_SYM
27529 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27530 "bp-asm.h".
27531 (PARMS): Do not use macros from bp-asm.h.
27532 (S1): Likewise.
27533 (SIZE): Likewise.
27534 (__mpn_addmul_1): Do not use BP_SYM
27535 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27536 "bp-asm.h".
27537 (PARMS): Do not use macros from bp-asm.h.
27538 (SIGMSK): Likewise.
27539 (_setjmp): Likewise. Do not use BP_SYM.
27540 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27541 "bp-asm.h".
27542 (PARMS): Do not use macros from bp-asm.h.
27543 (SIGMSK): Likewise.
27544 (setjmp): Likewise. Do not use BP_SYM.
27545 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27546 "bp-asm.h".
27547 (PARMS): Do not use macros from bp-asm.h.
27548 (__frexp): Do not use BP_SYM.
27549 (frexp): Likewise.
27550 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27551 "bp-asm.h".
27552 (PARMS): Do not use macros from bp-asm.h.
27553 (__frexpf): Do not use BP_SYM.
27554 (frexpf): Likewise.
27555 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27556 "bp-asm.h".
27557 (PARMS): Do not use macros from bp-asm.h.
27558 (__frexpl): Do not use BP_SYM.
27559 (frexpl): Likewise.
27560 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27561 "bp-asm.h".
27562 (PARMS): Do not use macros from bp-asm.h.
27563 (__remquo): Do not use BP_SYM.
27564 (remquo): Likewise.
27565 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27566 "bp-asm.h".
27567 (PARMS): Do not use macros from bp-asm.h.
27568 (__remquof): Do not use BP_SYM.
27569 (remquof): Likewise.
27570 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27571 "bp-asm.h".
27572 (PARMS): Do not use macros from bp-asm.h.
27573 (__remquol): Do not use BP_SYM.
27574 (remquol): Likewise.
27575 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27576 "bp-asm.h".
27577 (PARMS): Do not use macros from bp-asm.h.
27578 (DEST): Likewise.
27579 (SRC): Likewise.
27580 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27581 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27582 "bp-asm.h".
27583 (PARMS): Do not use macros from bp-asm.h.
27584 (strlen): Do not use BP_SYM.
27585 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27586 "bp-asm.h".
27587 (PARMS): Do not use macros from bp-asm.h.
27588 (S1): Likewise.
27589 (S2): Likewise.
27590 (SIZE): Likewise.
27591 (__mpn_add_n): Do not use BP_SYM.
27592 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27593 "bp-asm.h".
27594 (PARMS): Do not use macros from bp-asm.h.
27595 (S1): Likewise.
27596 (SIZE): Likewise.
27597 (__mpn_addmul_1): Do not use BP_SYM.
27598 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27599 weak_alias.
27600 (bzero): Likewise.
27601 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27602 "bp-asm.h".
27603 (PARMS): Do not use macros from bp-asm.h.
27604 (S): Likewise.
27605 (SIZE): Likewise.
27606 (__mpn_lshift): Do not use BP_SYM.
27607 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27608 "bp-asm.h".
27609 (PARMS): Do not use macros from bp-asm.h.
27610 (DEST): Likewise.
27611 (SRC): Likewise.
27612 (LEN): Likewise.
27613 (memcpy): Likewise. Do not use BP_SYM.
27614 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27615 libc_hidden_def and weak_alias.
27616 (mempcpy): Do not use BP_SYM in weak_alias.
27617 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27618 "bp-asm.h".
27619 (PARMS): Do not use macros from bp-asm.h.
27620 (DEST): Likewise.
27621 (LEN): Likewise.
27622 [!BZERO_P] (CHR): Likewise.
27623 (memset): Likewise. Do not use BP_SYM.
27624 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27625 "bp-asm.h".
27626 (PARMS): Do not use macros from bp-asm.h.
27627 (S1): Likewise.
27628 (SIZE): Likewise.
27629 (__mpn_mul_1): Do not use BP_SYM.
27630 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27631 "bp-asm.h".
27632 (PARMS): Do not use macros from bp-asm.h.
27633 (S): Likewise.
27634 (SIZE): Likewise.
27635 (__mpn_rshift): Do not use BP_SYM.
27636 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27637 "bp-asm.h".
27638 (PARMS): Do not use macros from bp-asm.h.
27639 (STR): Likewise.
27640 (CHR): Likewise.
27641 (strchr): Likewise. Do not use BP_SYM.
27642 (index): Do not use BP_SYM in weak_alias.
27643 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27644 "bp-asm.h".
27645 (PARMS): Do not use macros from bp-asm.h.
27646 (DEST): Likewise.
27647 (SRC): Likewise.
27648 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27649 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27650 "bp-asm.h".
27651 (PARMS): Do not use macros from bp-asm.h.
27652 (strlen): Do not use BP_SYM.
27653 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27654 "bp-asm.h".
27655 (PARMS): Do not use macros from bp-asm.h.
27656 (S1): Likewise.
27657 (S2): Likewise.
27658 (SIZE): Likewise.
27659 (__mpn_sub_n): Do not use BP_SYM.
27660 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27661 "bp-asm.h".
27662 (PARMS): Do not use macros from bp-asm.h.
27663 (S1): Likewise.
27664 (SIZE): Likewise.
27665 (__mpn_submul_1): Do not use BP_SYM.
27666 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27667 "bp-asm.h".
27668 (PARMS): Do not use macros from bp-asm.h.
27669 (S1): Likewise.
27670 (S2): Likewise.
27671 (SIZE): Likewise.
27672 (__mpn_add_n): Do not use BP_SYM.
27673 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27674 weak_alias.
27675 (bzero): Likewise.
27676 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27677 "bp-asm.h".
27678 (PARMS): Do not use macros from bp-asm.h.
27679 (BLK2): Likewise.
27680 (LEN): Likewise.
27681 (memcmp): Do not use BP_SYM.
27682 (bcmp): Do not use BP_SYM in weak_alias.
27683 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27684 "bp-asm.h".
27685 (PARMS): Do not use macros from bp-asm.h.
27686 (DEST): Likewise.
27687 (SRC): Likewise.
27688 (LEN): Likewise.
27689 (memcpy): Likewise. Do not use BP_SYM.
27690 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27691 "bp-asm.h".
27692 (PARMS): Do not use macros from bp-asm.h.
27693 (DEST): Likewise.
27694 (SRC): Likewise.
27695 (LEN): Likewise.
27696 (memmove): Likewise. Do not use BP_SYM.
27697 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27698 "bp-asm.h".
27699 (PARMS): Do not use macros from bp-asm.h.
27700 (DEST): Likewise.
27701 (SRC): Likewise.
27702 (LEN): Likewise.
27703 (__mempcpy): Likewise. Do not use BP_SYM.
27704 (mempcpy): Do not use BP_SYM in weak_alias.
27705 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27706 "bp-asm.h".
27707 (PARMS): Do not use macros from bp-asm.h.
27708 (DEST): Likewise.
27709 (LEN): Likewise.
27710 [!BZERO_P] (CHR): Likewise.
27711 (memset): Likewise. Do not use BP_SYM.
27712 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27713 "bp-asm.h".
27714 (PARMS): Do not use macros from bp-asm.h.
27715 (STR2): Likewise.
27716 (strcmp): Do not use BP_SYM.
27717 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27718 "bp-asm.h".
27719 (PARMS): Do not use macros from bp-asm.h.
27720 (STR): Likewise.
27721 (DELIM): Likewise.
27722 [USE_AS_STRTOK_R] (SAVE): Likewise.
27723 (FUNCTION): Likewise. Do not use BP_SYM.
27724 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27725 aliases.
27726 (strtok_r): Likewise.
27727 (__GI___strtok_r): Likewise.
27728 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27729 (PARMS): Do not use macros from bp-asm.h.
27730 (S): Likewise.
27731 (SIZE): Likewise.
27732 (__mpn_lshift): Do not use BP_SYM.
27733 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27734 (PARMS): Do not use macros from bp-asm.h.
27735 (STR): Likewise.
27736 (CHR): Likewise.
27737 (__memchr): Do not use BP_SYM.
27738 (memchr): Do not use BP_SYM in weak_alias.
27739 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27740 (PARMS): Do not use macros from bp-asm.h.
27741 (BLK2): Likewise.
27742 (LEN): Likewise.
27743 (memcmp): Do not use BP_SYM.
27744 (bcmp): Do not use BP_SYM in weak_alias.
27745 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27746 (PARMS): Do not use macros from bp-asm.h.
27747 (S1): Likewise.
27748 (SIZE): Likewise.
27749 (__mpn_mul_1): Do not use BP_SYM.
27750 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
27756 (rawmemchr): Do not use BP_SYM in weak_alias.
27757 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27758 (PARMS): Do not use macros from bp-asm.h.
27759 (S): Likewise.
27760 (SIZE): Likewise.
27761 (__mpn_rshift): Do not use BP_SYM.
27762 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27763 (PARMS): Do not use macros from bp-asm.h.
27764 (SIGMSK): Likewise.
27765 (__sigsetjmp): Likewise. Do not use BP_SYM.
27766 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27767 (_start): Do not use BP_SYM.
27768 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27769 (PARMS): Do not use macros from bp-asm.h.
27770 (DEST): Likewise.
27771 (SRC): Likewise.
27772 (__stpcpy): Likewise. Do not use BP_SYM.
27773 (stpcpy): Do not use BP_SYM in weak_alias.
27774 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27775 "bp-asm.h".
27776 (PARMS): Do not use macros from bp-asm.h.
27777 (DEST): Likewise.
27778 (SRC): Likewise.
27779 (LEN): Likewise.
27780 (__stpncpy): Likewise. Do not use BP_SYM.
27781 (stpncpy): Do not use BP_SYM in weak_alias.
27782 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27783 (PARMS): Do not use macros from bp-asm.h.
27784 (STR): Likewise.
27785 (CHR): Likewise.
27786 (strchr): Likewise. Do not use BP_SYM.
27787 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27788 "bp-asm.h".
27789 (PARMS): Do not use macros from bp-asm.h.
27790 (STR): Likewise.
27791 (CHR): Likewise.
27792 (__strchrnul): Likewise. Do not use BP_SYM.
27793 (strchrnul): Do not use BP_SYM in weak_alias.
27794 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27795 "bp-asm.h".
27796 (PARMS): Do not use macros from bp-asm.h.
27797 (STOP): Likewise.
27798 (strcspn): Do not use BP_SYM.
27799 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27800 "bp-asm.h".
27801 (PARMS): Do not use macros from bp-asm.h.
27802 (STR): Likewise.
27803 (STOP): Likewise.
27804 (strpbrk): Likewise. Do not use BP_SYM.
27805 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27806 "bp-asm.h".
27807 (PARMS): Do not use macros from bp-asm.h.
27808 (STR): Likewise.
27809 (CHR): Likewise.
27810 (strrchr): Likewise. Do not use BP_SYM.
27811 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27812 (PARMS): Do not use macros from bp-asm.h.
27813 (SKIP): Likewise.
27814 (strspn): Do not use BP_SYM.
27815 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27816 (PARMS): Do not use macros from bp-asm.h.
27817 (STR): Likewise.
27818 (DELIM): Likewise.
27819 (SAVE): Likewise.
27820 (FUNCTION): Likewise. Do not use BP_SYM.
27821 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27822 aliases.
27823 (strtok_r): Likewise.
27824 (__GI___strtok_r): Likewise.
27825 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27826 (PARMS): Do not use macros from bp-asm.h.
27827 (S1): Likewise.
27828 (S2): Likewise.
27829 (SIZE): Likewise.
27830 (__mpn_sub_n): Do not use BP_SYM.
27831 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27832 "bp-asm.h".
27833 (PARMS): Do not use macros from bp-asm.h.
27834 (S1): Likewise.
27835 (SIZE): Likewise.
27836 (__mpn_submul_1): Do not use BP_SYM.
27837 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27838 <bp-sym.h>.
27839 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27840 and <bp-asm.h>.
27841 (PARMS): Do not use macros from bp-asm.h.
27842 (FLAGS): Likewise.
27843 (PTID): Likewise.
27844 (TLS): Likewise.
27845 (CTID): Likewise.
27846 (__clone): Do not use BP_SYM.
27847 (clone): Do not use BP_SYM in weak_alias.
27848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27849 and <bp-asm.h>.
27850 (PARMS): Do not use macros from bp-asm.h.
27851 (LEN): Likewise.
27852 (__mmap64): Do not use BP_SYM.
27853 (mmap64): Do not use BP_SYM in weak_alias.
27854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27855 <bp-sym.h> and <bp-asm.h>.
27856 (PARMS): Do not use macros from bp-asm.h.
27857 (__posix_fadvise64_l64): Do not use BP_SYM.
27858 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27859 (PARMS): Do not use macros from bp-asm.h.
27860 (NSOPS): Likewise.
27861 (semtimedop): Do not use BP_SYM.
27862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27863 and <bp-asm.h>.
27864
582a3cff
AM
278652013-02-21 Allan McRae <allan@archlinux.org>
27866
27867 * manual/message.texi (Charset conversion in gettext):
27868 Move @end statement to beginning of line.
27869
bab8a695
SP
278702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27871
80945231
SP
27872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27873 static.
27874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27875 Likewise.
27876
bab8a695
SP
27877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27878 (denorm): Likewise.
27879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27881
e21d7aa7
AK
278822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27883
27884 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27885 tail-call to the resolved function if pltexit isn't needed.
27886
4c7a4263
SP
278872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27888
27889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27890 or Y being zero as being unlikely.
27891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27892 Likewise.
27893
41f49342
CD
278942013-02-20 Carlos O'Donell <carlos@redhat.com>
27895
27896 * manual/nss.texi (System Databases and Name Service Switch):
27897 Remove frobnicate @pxref.
27898
50022a93
TS
278992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27900
27901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27902 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27903
08cbd996
PM
279042013-02-20 Petr Machata <pmachata@redhat.com>
27905
27906 * elf/elf.h (R_ARM_TARGET1): New macro.
27907 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27908 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27909 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27910 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27911 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27912 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27913 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27914 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27915 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27916 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27917 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27918 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27919 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27920 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27921 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27922 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27923 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27924 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27925 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27926 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27927 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27928 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27929 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27930 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27931 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27932 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27933 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27934 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27935 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27936 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27937 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27938 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27939 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27940 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27941 (R_ARM_THM_GOT_BREL12): Likewise.
27942 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27943 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27944 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27945 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27946 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27947 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27948 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27949 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27950 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27951
c7b275d6
TS
279522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27953
27954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27955 __attribute_used__ to __attribute__ ((unused)).
27956
20cd7fb3
SP
279572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27958
27959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27960 powerpc mpa.c.
27961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27962 comment formatting.
27963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27964
92945b52
JM
279652013-02-19 Joseph Myers <joseph@codesourcery.com>
27966
27967 [BZ #13550]
27968 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27969 Remove macro.
27970 (ENTER): Remove both macro definitions.
27971 (LEAVE): Likewise.
27972 (CHECK_BOUNDS_LOW): Likewise.
27973 (CHECK_BOUNDS_HIGH): Likewise.
27974 (CHECK_BOUNDS_BOTH): Likewise.
27975 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27976 (RETURN_BOUNDED_POINTER): Likewise.
27977 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27978 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27979 (POP_ERRNO_LOCATION_RETURN): Likewise.
27980 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27982 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27983 macros.
27984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27985 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27986 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27987 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27988 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27989 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27990 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27991 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27992 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27993 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27994 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27995 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27997 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27998 removed macros.
27999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28000 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28001 macros.
28002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28003 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28004 * sysdeps/i386/i586/memset.S (memset): Likewise.
28005 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28007 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28008 macros.
28009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28010 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28011 Change uses of L(2) to L(out).
28012 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28013 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28014 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28015 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28016 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28017 removed macros.
28018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28019 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28020 macros.
28021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28022 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28023 (RETURN): Do not use macro LEAVE.
28024 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28025 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28026 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28027 * sysdeps/i386/i686/memset.S (memset): Likewise.
28028 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28029 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28031 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28032 Likewise.
28033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28034 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28035 L(1_2) and L(1_3) into L(1).
28036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28037 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28038 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28039 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28040 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28041 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28042 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28044 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28045 macros.
28046 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28048 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28049 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28050 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28051 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28052 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28053 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28054 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28055 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28056 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28057 * sysdeps/i386/strspn.S (strspn): Likewise.
28058 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28059 conditional code.
28060 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28061 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28062 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28063 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28064 L(1_3) into L(1_1).
28065 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28067 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28068 macros.
28069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28070
2389741a
JJ
280712013-02-19 Jakub Jelinek <jakub@redhat.com>
28072
28073 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28074 macro.
28075
2016b3cd
SP
280762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28077
e4f22324
SP
28078 * math/atest-exp.c (exp_mpn): Remove ROUND.
28079 * math/atest-exp2.c (exp_mpn): Likewise.
28080 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28081
2016b3cd
SP
28082 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28083 * stdlib/tst-tls-atexit-lib.c: Likewise.
28084 * stdlib/tst-tls-atexit.c: Likewise.
28085
4be9b544
MF
280862013-02-18 Mike Frysinger <vapier@gentoo.org>
28087
28088 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28089 and __attribute_alloc_size__.
28090
2f62b9ee
MF
280912013-02-18 Mike Frysinger <vapier@gentoo.org>
28092
28093 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28094 __attribute_alloc_size__.
28095 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28096 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28097
6ff444c4
MF
280982013-02-18 Mike Frysinger <vapier@gentoo.org>
28099
28100 * include/programs/xmalloc.h: New file.
28101 * catgets/gencat.c: Include it.
28102 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28103 * elf/pldd.c: Likewise.
28104 * iconv/iconv_charmap.c: Likewise.
28105 * iconv/iconvconfig.c: Likewise.
28106 * iconv/strtab.c: Likewise.
28107 * locale/programs/locale.c: Likewise.
28108 * locale/programs/localedef.h: Likewise.
28109 * locale/programs/simple-hash.c: Likewise.
28110 * nscd/nscd.h: Likewise.
28111 * nss/makedb.c: Likewise.
28112 * sysdeps/generic/ldconfig.h: Likewise.
28113
be179c8a
SP
281142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28115
ba384f6e
SP
28116 * Versions.def: Add GLIBC_2.18.
28117 * include/link.h (struct link_map): New member l_tls_dtor_count.
28118 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28119 (__call_tls_dtors): Likewise.
28120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28121 __cxa_thread_atexit_impl.
28122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28123 Likewise.
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28125 Likewise.
28126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28127 Likewise.
28128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28129 Likewise.
28130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28132 Likewise.
28133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28134 Likewise.
28135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28137 Likewise.
28138 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28139 (tests): Add test case tst-tls-atexit.
28140 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28141 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28142 (GLIBC_PRIVATE): Add __call_tls_dtors.
28143 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28144 for libstdc++.
28145 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28146 * stdlib/tst-tls-atexit.c: New test case.
28147 * stdlib/tst-tls-atexit-lib.c: New test case.
28148
ffaa74cf 28149 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28150
be179c8a
SP
28151 * elf/Versions (ld): Add _dl_find_dso_for_object.
28152 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28153 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28154 (dl_open_worker): Use _dl_find_dso_for_object.
28155 * elf/dl-sym.c (do_sym): Likewise.
28156 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28157
f78b5caa
AK
281582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28159
28160 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28161 Syntactic changes only.
28162 (_dl_runtime_profile): Do a tail-call to the resolved function.
28163
29691210
JM
281642013-02-17 Joseph Myers <joseph@codesourcery.com>
28165
28166 [BZ #13550]
28167 * sysdeps/x86_64/bp-asm.h: Remove file.
28168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28169 <bp-sym.h> and <bp-asm.h>.
28170 (__clone): Do not use BP_SYM.
28171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28172 <bp-sym.h> and <bp-asm.h>.
28173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28174 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28175 "bp-asm.h".
28176 (_setjmp): Do not use BP_SYM.
28177 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28178 "bp-asm.h".
28179 (setjmp): Do not use BP_SYM.
28180 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28181 libc_hidden_def.
28182 (mempcpy): Do not use BP_SYM in weak_alias.
28183 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28184 "bp-asm.h".
28185 (strchr): Do not use BP_SYM.
28186 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28187 "bp-asm.h".
28188 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28189 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28190 (_start): Do not use BP_SYM.
28191 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28192 "bp-asm.h".
28193 (strcat): Do not use BP_SYM.
28194 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28195 "bp-asm.h".
28196 (STRCMP): Do not use BP_SYM.
28197 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28198 "bp-asm.h".
28199 (STRCPY): Do not use BP_SYM.
28200 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28201 "bp-asm.h".
28202 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28203 "bp-asm.h".
28204 (FUNCTION): Do not use BP_SYM.
28205 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28206 weak_alias.
28207 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28208
f238fd19
AJ
282092013-02-17 Andreas Jaeger <aj@suse.de>
28210
28211 * time/Versions: Sort entries.
28212 * string/Versions: Likewise.
28213 * resolv/Versions: Likewise.
28214 * posix/Versions: Likewise.
28215 * iconv/Versions: Likewise.
28216 * elf/Versions: Likewise.
28217 * wcsmbs/Versions: Likewise.
28218
bd07f23c 282192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28220
22af19f9
SP
28221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28222 loop termination condition.
28223
4709fe76
SP
28224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28225 variable to calculate EZ.
28226 (__sqr): Likewise.
2d0e0f29
SP
28227
28228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28229 the lower precision input.
28230
daaa7713
JM
282312013-02-15 Joseph Myers <joseph@codesourcery.com>
28232
28233 [BZ #13550]
28234 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28235 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28236 (run-via-rtld-prefix): Do not handle %-bp tests.
28237 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28238 (all-object-suffixes): Remove .ob.
28239 (bppfx): Remove variable.
28240 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28241 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28242 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28243 [$(build-bounded) = yes] (libtype.ob): Likewise.
28244 * Makerules (elide-routines.ob): Remove variable.
28245 (do-tests-clean): Do not handle *-bp.out.
28246 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28247 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28248 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28249 (tests): Do not include $(tests-bp.out).
28250 (xtests): Do not include $(xtests-bp.out).
28251 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28252 [$(build-bounded) = yes] ($(addprefix
28253 $(objpfx),$(binaries-bounded))): Remove rule.
28254 ($(objpfx)%-bp.out): Remove rule.
28255 * config.make.in (build-bounded): Remove variable.
28256 * crypt/Makefile [$(build-bounded) = yes]
28257 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28258 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28259 append to variable.
28260 [$(build-bounded) = yes] (install-lib): Likewise.
28261 [$(build-bounded) = yes] (generated): Likewise.
28262 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28263 Remove rule.
28264 * intl/Makefile [$(build-bounded) = yes]
28265 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28266 * math/Makefile [$(build-bounded) = yes]
28267 ($(tests:%=$(objpfx)%-bp): Likewise.
28268 * misc/Makefile [$(build-bounded) = yes]
28269 ($(objpfx)tst-tsearch-bp): Likewise.
28270 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28271 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28272 Remove dependency.
28273 * string/Makefile (o-objects.ob): Remove variable.
28274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28275 (CFLAGS-.ob): Remove variable.
28276 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28278 both definitions of variable.
28279 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28280 (ASFLAGS-.ob): Remove variable.
28281
e97ed6dd
JM
282822013-02-14 Joseph Myers <joseph@codesourcery.com>
28283
2bdd4ca6
JM
28284 [BZ #13550]
28285 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28286 Remove __BOUNDED_POINTERS__ from condition.
28287 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28288 * string/bits/string2.h [!__NO_STRING_INLINES &&
28289 !__BOUNDED_POINTERS__]: Likewise.
28290 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28291 Likewise.
28292 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28293 Remove conditional code.
28294 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28295 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28296 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28297 condition.
28298
e97ed6dd
JM
28299 [BZ #13550]
28300 * csu/libc-start.c: Do not include <bp-sym.h>.
28301 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28302 * elf/dl-open.c: Do not include <bp-sym.h>.
28303 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28304 * math/fegetenv.c: Do not include <bp-sym.h>.
28305 (fegetenv): Do not use BP_SYM in versioned symbols.
28306 * nptl/sysdeps/pthread/bits/libc-lockP.h
28307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28308 <bp-sym.h>.
28309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28310 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28312 (__pthread_mutex_destroy): Likewise.
28313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28314 (__pthread_mutex_lock): Likewise.
28315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28316 (__pthread_mutex_trylock): Likewise.
28317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28318 (__pthread_mutex_unlock): Likewise.
28319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28320 (__pthread_mutexattr_init): Likewise.
28321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28322 (__pthread_mutexattr_destroy): Likewise.
28323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28324 (__pthread_mutexattr_settype): Likewise.
28325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28326 (__pthread_rwlock_init): Likewise.
28327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28328 (__pthread_rwlock_destroy): Likewise.
28329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28330 (__pthread_rwlock_rdlock): Likewise.
28331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28332 (__pthread_rwlock_tryrdlock): Likewise.
28333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28334 (__pthread_rwlock_wrlock): Likewise.
28335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28336 (__pthread_rwlock_trywrlock): Likewise.
28337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28338 (__pthread_rwlock_unlock): Likewise.
28339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28340 (__pthread_key_create): Likewise.
28341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28342 (__pthread_setspecific): Likewise.
28343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28344 (__pthread_getspecific): Likewise.
28345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28346 Likewise.
28347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28348 (_pthread_cleanup_push_defer): Likewise.
28349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28350 (_pthread_cleanup_pop_restore): Likewise.
28351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28352 (pthread_setcancelstate): Likewise.
28353 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28354 <bp-sym.h>.
28355 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28356 (memchr): Do not use BP_SYM in weak_alias.
28357 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28358 (fegetenv): Do not use BP_SYM in versioned symbols.
28359 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28360 (fesetenv): Do not use BP_SYM in versioned symbols.
28361 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28362 (feupdateenv): Do not use BP_SYM in versioned symbols.
28363 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28365 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28366 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28367 (open64): Do not use BP_SYM in weak_alias.
28368 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28369 (fegetenv): Do not use BP_SYM in versioned symbols.
28370 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28371 (fesetenv): Do not use BP_SYM in versioned symbols.
28372 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28373 (feupdateenv): Do not use BP_SYM in versioned symbols.
28374 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28375 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28376 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28377 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28378 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28379 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28381 <bp-sym.h>.
28382 (__libc_start_main): Do not use BP_SYM.
28383
d6752ccd
SP
283842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28385
cb57ce60
SP
28386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28387 redundant return line.
28388 (norm): Likewise.
28389 (denorm): Likewise.
28390 (dbl_mp): Likewise.
28391 (sub_magnitudes): Likewise.
28392 (__add): Likewise.
28393 (__sub): Likewise.
28394 (__mul): Likewise.
28395 (__inv): Likewise.
28396 (__dvd): Likewise.
28397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28398 (norm): Likewise.
28399 (denorm): Likewise.
28400 (dbl_mp): Likewise.
28401 (sub_magnitudes): Likewise.
28402 (__add): Likewise.
28403 (__sub): Likewise.
28404 (__mul): Likewise.
28405 (__inv): Likewise.
28406 (__dvd): Likewise.
28407
f414520d
SP
28408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28409 instead of __mul.
28410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28411 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28412 (cc32): Likewise.
28413
d6752ccd
SP
28414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28415 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28417 of __mul for squares.
28418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28419 function
28420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28421 Likewise.
28422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28424
70d9946a
JM
284252013-02-13 Joseph Myers <joseph@codesourcery.com>
28426
28427 [BZ #13550]
28428 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28429 code.
28430 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28431 prototype or function definition. Rename ubp_* variables and
28432 parameters. Remove argv definitions conditional on
28433 [__BOUNDED_POINTERS__].
28434 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28435 * elf/dl-runtime.c (_dl_fixup): Likewise.
28436 * include/set-hooks.h (RUN_HOOK): Likewise.
28437 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28438 definition.
28439 * string/strcpy.c (strcpy): Do not use __unbounded.
28440 * sysdeps/generic/frame.h (struct layout): Likewise.
28441 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28442 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28443 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28444 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28445 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28446 (__backtrace): Likewise.
28447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28448 use __ptrvalue.
28449 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28450 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28451 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28452 Likewise.
28453 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28454 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28456 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28457 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28458 Do not use __unbounded.
28459 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28460 Rename __unboundedrlimits parameter to rlimits in prototype.
28461 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28462 Do not use __unbounded.
28463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28464 not use __ptrvalue.
28465 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28466 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28467 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28468 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28469 __ptrvalue or __unbounded.
28470 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28471 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28472 use __unbounded.
28473 (__new_msgctl): Do not use __ptrvalue.
28474 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28475 __unbounded.
28476 (__libc_msgrcv): Do not use __ptrvalue.
28477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28478 startup_info): Do not use __unbounded.
28479 (__libc_start_main): Likewise. Rename ubp_* variables and
28480 parameters. Remove argv definitions conditional on
28481 [__BOUNDED_POINTERS__].
28482 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28483 __ptrvalue.
28484 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28485 use __unbounded.
28486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28487 or __ptrvalue.
28488 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28489 use __unbounded.
28490 (__new_shmctl): Do not use __ptrvalue.
28491 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28492 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28493 Likewise.
28494 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28496 (__libc_sigaction): Likewise.
28497 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28499 Likewise.
28500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28501
cc7834d6
OB
285022013-02-13 Ondřej Bílka <neleai@seznam.cz>
28503
ffb1ec7b 28504 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28505
28506 * string/mempcpy.c: Implement by calling memcpy.
28507
bdf02814
SP
285082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28509
c2af38aa
SP
28510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28511
4e92d59e
SP
28512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28513 evaluation.
28514
909279a5
SP
28515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28516 values in the mantissa.
28517
bdf02814
SP
28518 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28519 minimize writes to Z.
28520 (sub_magnitudes): Simplify code a bit.
28521
cd525923
RM
285222013-02-12 Roland McGrath <roland@hack.frob.com>
28523
28524 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28525 from the message. The linker prefixes all warnings with that already.
28526
7e2f0d2d
AS
285272013-02-12 Andreas Schwab <schwab@suse.de>
28528
a445af0b
AS
28529 [BZ #15078]
28530 * posix/regexec.c (extend_buffers): Add parameter min_len.
28531 (check_matching): Pass minimum needed length.
28532 (clean_state_log_if_needed): Likewise.
28533 (get_subexp): Likewise.
28534 * posix/Makefile (tests): Add bug-regex34.
28535 (bug-regex34-ENV): Define.
28536 * posix/bug-regex34.c: New file.
28537
7e2f0d2d
AS
28538 [BZ #11561]
28539 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28540 elements compare against the byte sequence of it, not its name.
28541 * posix/Makefile (tests): Add bug-regex35.
28542 (bug-regex35-ENV): Define.
28543 * posix/bug-regex35.c: New file.
28544
a175b684
TV
285452013-02-11 Tom de Vries <tom@codesourcery.com>
28546
28547 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28548 comment.
28549 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28550 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28551 (CHECK_EOL): Add undef.
28552
310998fe 285532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28554
28555 * bits/stdlib-bsearch.h: New file.
28556 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28557 * stdlib/stdlib.h: Likewise.
41eda41d 28558
8ded91fb
RM
285592013-02-11 Roland McGrath <roland@hack.frob.com>
28560
28561 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28562 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28563 declaration.
28564 * manual/search.texi (Array Search Function): Add missing const in
28565 lfind prototype.
28566 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28567 declaration to use rlim_t.
28568 (Basic Scheduling Functions): Remove erroneous const from
28569 sched_getparam prototype. Remove erroneous * from
28570 sched_get_priority_max and sched_get_priority_min prototypes.
28571 (Resource Usage): Fix summary @comment on vtimes to refer to
28572 sys/vtimes.h rather than vtimes.h.
28573 Add missing *s in vtimes prototype.
28574 (Limits on Resources): Fix ulimit prototype to return long int.
28575 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28576 prototypes to use long int rather than double.
28577 (BSD Random): Fix initstate and setstate to use char *, not void *.
28578 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28579 prototype to make second argument 'struct aiocb64 *const[]'.
28580 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28581 (Status of AIO Operations): Remove erroneous const in aio_return and
28582 aio_return64 prototypes.
28583 (Synchronizing I/O): Fix sync prototype to return void.
28584 * manual/startup.texi (Suboptions): Remove an erroneous const in
28585 getsubopt prototype.
28586 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28587 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28588 use size_t rather than int.
28589 (Scanning All Users): Likewise for getpwent_r.
28590 (Setting Groups): Add missing const to setgroups prototype.
28591 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28592 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28593 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28594 'const void *' rather than 'const char *'.
28595 (Host Address Functions): Likewise for inet_ntop.
28596 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28597 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28598 ssize_t for return value.
28599 (Sending Data): Likewise for send, sendto, sendmsg.
28600 (Socket Option Functions): Add a missing const in setsockopt prototype.
28601 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28602 use wchar_t for the argument.
28603 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28604 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28605 take no arguments.
28606 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28607 double/float/long double for second argument.
28608 Fix return types of significand, significandf, significandl.
28609 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28610 argument in fchmod prototype.
28611 (File Owner): Use uid_t and gid_t in fchown prototype.
28612 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28613 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28614 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28615 use 'const struct dirent **' as argument types to CMP function pointer
28616 argument.
28617 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28618 (File Times): Fix summary magic @comment for struct utimbuf and utime
28619 to refer to utime.h, not time.h.
28620 * manual/string.texi (Argz Functions): Add missing const in
28621 argz_extract and argz_next prototypes.
28622 (Finding Tokens in a String): Likewise for basename.
28623 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28624 (Copying and Concatenation): Fix typo in wmemmove prototype.
28625 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28626 (Signal Stack): Remove erroneous const in sigstack prototype.
28627 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28628 prototype.
28629 (Simple Calendar Time): Likewise for stime.
28630 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28631 prototype.
28632 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28633 say sys/sysctl.h instead.
28634 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28635 and vsyslog prototypes.
28636
fe77fe6d
TV
286372013-02-11 Tom de Vries <tom@codesourcery.com>
28638
28639 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28640 Remove.
28641
3a09b620
RM
286422013-02-11 Roland McGrath <roland@hack.frob.com>
28643
28644 * misc/sys/mman.h: Fix typo in mremap comment.
28645
550a0b89
RM
286462013-02-08 Roland McGrath <roland@hack.frob.com>
28647
28648 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28649 the '\0' terminator.
28650
a2da1673
JM
286512013-02-08 Joseph Myers <joseph@codesourcery.com>
28652
28653 [BZ #13550]
28654 * debug/segfault.c: Don't include <bp-checks.h>.
28655 * sysdeps/generic/bp-checks.h: Remove file.
28656 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28657 (__GETDENTS): Don't use CHECK_N.
28658 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28659 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28660 (__getgroups): Don't use CHECK_N.
28661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28662 (setgroups): Don't use CHECK_N.
28663 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28664 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28665 (__libc_msgrcv): Don't use CHECK_N.
28666 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28667 (__libc_msgsnd): Don't use CHECK_N.
28668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28669 <bp-checks.h>.
28670 (__libc_pread): Don't use CHECK_N.
28671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28672 include <bp-checks.h>.
28673 (__libc_pread64): Don't use CHECK_N.
28674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28675 include <bp-checks.h>.
28676 (__libc_pwrite): Don't use CHECK_N.
28677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28678 include <bp-checks.h>.
28679 (__libc_pwrite64): Don't use CHECK_N.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28681 <bp-checks.h>.
28682 (__libc_pread): Don't use CHECK_N.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28684 include <bp-checks.h>.
28685 (__libc_pread64): Don't use CHECK_N.
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28687 include <bp-checks.h>.
28688 (__libc_pwrite): Don't use CHECK_N.
28689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28690 include <bp-checks.h>.
28691 (__libc_pwrite64): Don't use CHECK_N.
28692 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28693 (do_pread): Don't use CHECK_N.
28694 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28695 (do_pread64): Don't use CHECK_N.
28696 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28697 (do_pwrite): Don't use CHECK_N.
28698 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28699 (do_pwrite64): Don't use CHECK_N.
28700 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28701 (__libc_readv): Don't use CHECK_N.
28702 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28703 (semop): Don't use CHECK_N.
28704 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28705 <bp-checks.h>.
28706 (semtimedop): Don't use CHECK_N.
28707 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28708 (__libc_pread): Don't use CHECK_N.
28709 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28710 <bp-checks.h>.
28711 (__libc_pread64): Don't use CHECK_N.
28712 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28713 <bp-checks.h>.
28714 (__libc_pwrite): Don't use CHECK_N.
28715 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28716 <bp-checks.h>.
28717 (__libc_pwrite64): Don't use CHECK_N.
28718 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28719 <bp-checks.h>.
28720 (__libc_msgrcv): Don't use CHECK_N.
28721 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28722 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28723 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28724 (__libc_writev): Don't use CHECK_N.
28725
b84660a8
RM
287262013-02-08 Roland McGrath <roland@hack.frob.com>
28727
7f3e75f8
RM
28728 * string/strcpy.c: Removed unused variable.
28729
b84660a8
RM
28730 * Makeconfig (+sysdep-includes): Define with := rather than =.
28731 Use an existing include/ subdir of each sysdeps dir before it.
28732
471514d3
CD
287332013-02-08 Carlos O'Donell <carlos@redhat.com>
28734
28735 * nscd/connection.c (register_traced_file): Comment function.
28736 [HAVE_INOTIFY] (union __inev): Define.
28737 [HAVE_INOTIFY] (inotify_check_files): New function.
28738 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28739 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28740 clear_db_cache.
28741 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28742
b2d3c3be
CD
287432013-02-08 Carlos O'Donell <carlos@redhat.com>
28744
28745 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28746 loaded if not already and that a failure is permanent.
28747
b39949d2
CD
287482013-02-08 Carlos O'Donell <carlos@redhat.com>
28749
ddacd1db 28750 [BZ #15006]
b39949d2
CD
28751 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28752 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28753
b2c9eff4
JM
287542013-02-08 Joseph Myers <joseph@codesourcery.com>
28755
f3aae3f3
JM
28756 [BZ #13550]
28757 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28758 (CHECK_1_NULL_OK): Likewise.
28759 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28760 (__fxstat): Do not use CHECK_1.
28761 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28762 <bp-checks.h>.
28763 (___fxstat64): Do not use CHECK_1.
28764 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28765 <bp-checks.h>.
28766 (__fxstatat): Do not use CHECK_1.
28767 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28768 <bp-checks.h>.
28769 (__fxstatat64): Do not use CHECK_1.
28770 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28771 <bp-checks.h>.
28772 (__fxstat): Do not use CHECK_1.
28773 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28774 <bp-checks.h>.
28775 (__fxstatat): Do not use CHECK_1.
28776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28777 <bp-checks.h>.
28778 (__getresgid): Do not use CHECK_1.
28779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28780 <bp-checks.h>.
28781 (__getresuid): Do not use CHECK_1.
28782 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28783 <bp-checks.h>.
28784 (__lxstat): Do not use CHECK_1.
28785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28786 <bp-checks.h>.
28787 (__old_msgctl): Do not use CHECK_1.
28788 (__new_msgctl): Likewise.
28789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28790 <bp-checks.h>.
28791 (__new_setrlimit): Do not use CHECK_1.
28792 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28793 <bp-checks.h>.
28794 (__old_shmctl): Do not use CHECK_1.
28795 (__new_shmctl): Likewise.
28796 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28797 <bp-checks.h>.
28798 (__xstat): Do not use CHECK_1.
28799 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28800 (__lxstat): Do not use CHECK_1.
28801 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28802 <bp-checks.h>.
28803 (___lxstat64): Do not use CHECK_1.
28804 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28805 (__old_msgctl): Do not use CHECK_1.
28806 (__new_msgctl): Likewise.
28807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28808 <bp-checks.h>.
28809 (__gettimeofday): Do not use CHECK_1.
28810 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28811 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28813 <bp-checks.h>.
28814 (__gettimeofday): Do not use CHECK_1.
28815 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28816 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28817 (__new_shmctl): Do not use CHECK_1.
28818 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28819 <bp-checks.h>.
28820 (do_sigtimedwait): Do not use CHECK_1.
28821 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28822 <bp-checks.h>.
28823 (do_sigwaitinfo): Do not use CHECK_1.
28824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28825 <bp-checks.h>.
28826 (msgctl): Do not use CHECK_1.
28827 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28828 <bp-checks.h>.
28829 (shmctl): Do not use CHECK_1.
28830 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28831 (ustat): Do not use CHECK_1.
28832 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28833 <bp-checks.h>.
28834 (__fxstat): Do not use CHECK_1.
28835 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28836 <bp-checks.h>.
28837 (__fxstatat): Do not use CHECK_1.
28838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28839 <bp-checks.h>.
28840 (__lxstat): Do not use CHECK_1.
28841 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28842 <bp-checks.h>.
28843 (__xstat): Do not use CHECK_1.
28844 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28845 (__xstat): Do not use CHECK_1.
28846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28847 (___xstat64): Do not use CHECK_1.
28848
b2c9eff4
JM
28849 [BZ #13550]
28850 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28851 definitions.
28852 (CHECK_BOUNDS_HIGH): Likewise.
28853 * string/strcpy.c: Do not include <bp-checks.h>.
28854 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28855
f1d70dad
RM
288562013-02-07 Roland McGrath <roland@hack.frob.com>
28857
28858 * nscd/nscd-client.h (__nscd_drop_map_ref):
28859 Add __attribute__ ((unused)).
28860 * nis/nss-nisplus.h (niserr2nss): Likewise.
28861
28862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28863 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28864
28865 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28866 Remove inline keyword.
28867 * include/rounding-mode.h (round_away): Likewise.
28868 * libio/wfileops.c (adjust_wide_data): Likewise.
28869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28870 (__m128i_strloadu_tolower): Likewise.
28871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28872 (__m128i_strloadu_tolower): Likewise.
28873 * time/mktime.c (ydhms_diff): Likewise.
28874 * locale/elem-hash.h (elem_hash): Likewise.
28875 * locale/setlocale.c (setdata): Likewise.
28876 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28877 (re_string_wchar_at): Likewise.
28878 (bitset_not, bitset_merge, bitset_mask): Likewise.
28879 [!(__GNUC__ > 3)] (inline): Remove macro.
28880 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28881 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28882 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28883 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28884 * string/memcmp.c (memcmp_bytes): Likewise.
28885 * locale/programs/locarchive.c (compute_hashval): Likewise.
28886 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28888 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28889 * nss/getent.c (print_rpc, print_protocols): Likewise.
28890 (print_passwd, print_group, print_aliases): Likewise.
28891 * nis/nss-nisplus.h (niserr2nss): Likewise.
28892 * nscd/connections.c (restart_p): Likewise.
28893 Change return type to bool.
28894
eab55bfb
RM
288952013-02-05 Roland McGrath <roland@hack.frob.com>
28896
7bd642f5
RM
28897 * Makeconfig (all-Depend-files): Add existing
28898 $(sorted-subdirs:=/Depend) files.
28899 (all-subdirs): Remove nss.
28900 * sysdeps/unix/inet/Subdirs: Add it here instead.
28901 * hesiod/Depend: New file.
28902
573c29b2
RM
28903 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28904 instead of calling alloca.
28905
b2e25af0
RM
28906 * io/lseek.c (__lseek): Rename to __libc_lseek.
28907 Define __lseek as an alias.
28908
eab55bfb
RM
28909 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28910
9a0d1941
CD
289112013-02-04 Carlos O'Donell <carlos@redhat.com>
28912
28913 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28914 else clause and remove check for non-standard endianness.
28915
b83bbec4
DM
289162013-02-04 David S. Miller <davem@davemloft.net>
28917
28918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28919
6277fdab
JM
289202013-02-04 Joseph Myers <joseph@codesourcery.com>
28921
28922 [BZ #13550]
28923 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28924 (__ubp_memchr): Remove prototype.
28925 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28926 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28927 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28928 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28929 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28930 Remove alias.
28931 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28932 (__ubp_memchr): Likewise.
28933 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28934 (__ubp_memchr): Likewise.
28935 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28936 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28937 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28939 CHECK_STRING.
28940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28941 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28942 (__getcwd): Do not use CHECK_STRING.
28943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28944 <bp-checks.h>.
28945 (__real_chown): Do not use CHECK_STRING.
28946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28947 <bp-checks.h>.
28948 (fchownat): Do not use CHECK_STRING.
28949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28950 CHECK_STRING.
28951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28952 <bp-checks.h>.
28953 (__lchown): Do not use CHECK_STRING.
28954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28955 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28957 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28959 include <bp-checks.h>.
28960 (truncate64): Do not use CHECK_STRING.
28961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28962 <bp-checks.h>.
28963 (__real_chown): Do not use CHECK_STRING.
28964 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28965 <bp-checks.h>.
28966 (__lchown): Do not use CHECK_STRING.
28967 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28968 <bp-checks.h>.
28969 (__chown): Do not use CHECK_STRING.
28970 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28971 <bp-checks.h>.
28972 (truncate64): Do not use CHECK_STRING.
28973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28974 Likewise.
28975 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28976 (__xmknod): Do not use CHECK_STRING.
28977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28978 <bp-checks.h>.
28979 (__xmknodat): Do not use CHECK_STRING.
28980 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28981 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28982
903ae060
AS
289832013-02-04 Andreas Schwab <schwab@suse.de>
28984
28985 [BZ #14142]
28986 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28987 * include/netdb.h: Likewise for h_errno.
28988 * elf/tst-stackguard1.c: Include <tls.h>.
28989
542f9466
JK
289902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28991
28992 * elf/link.h (struct link_map): Extend the l_addr comment.
28993 * include/link.h (struct link_map): Likewise.
28994
e782a927
JM
289952013-02-01 Joseph Myers <joseph@codesourcery.com>
28996
28997 [BZ #13550]
28998 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28999 (BOUNDED_1): Remove macro.
29000 * debug/backtrace.c: Don't include <bp-checks.h>.
29001 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29002 (__backtrace): Likewise.
29003 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29004 <bp-checks.h>.
29005 (__backtrace): Don't use BOUNDED_1.
29006 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29007 <bp-checks.h>.
29008 (__backtrace): Don't use BOUNDED_1.
29009 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29010 (__backtrace): Don't use BOUNDED_1.
29011 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29012 (shmat): Don't use BOUNDED_N.
29013
8cf28c5e
JM
290142013-01-31 Joseph Myers <joseph@codesourcery.com>
29015
3a7ac8a0
JM
29016 [BZ #13550]
29017 * sysdeps/generic/bp-start.h: Remove file.
29018 * csu/libc-start.c: Don't include <bp-start.h>.
29019 (LIBC_START_MAIN): Set up __environ directly instead of using
29020 INIT_ARGV_and_ENVIRON.
29021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29022 <bp-start.h>.
29023
f3499f95
JM
29024 [BZ #13550]
29025 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29026 definitions.
29027 (CHECK_FCNTL): Likewise.
29028 (CHECK_N_PAGES): Likewise.
29029
32a45bea
JM
29030 [BZ #13550]
29031 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29032 definitions.
29033 (CHECK_SIGSET_NULL_OK): Likewise.
29034 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29035 <bp-checks.h>.
29036 (sigpending): Don't use CHECK_SIGSET.
29037 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29038 <bp-checks.h>.
29039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29040 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29041 <bp-checks.h>.
29042 (do_sigsuspend): Don't use CHECK_SIGSET.
29043 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29044 use CHECK_SIGSET.
29045 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29046 (do_sigwait): Don't use CHECK_SIGSET.
29047 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29048 use CHECK_SIGSET.
29049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29050 include <bp-checks.h>.
29051 (sigpending): Don't use CHECK_SIGSET.
29052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29053 include <bp-checks.h>.
29054 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29055 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29056 <bp-checks.h>.
29057 (sigpending): Don't use CHECK_SIGSET.
29058 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29059 <bp-checks.h>.
29060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29061
2e8a5c8c
JM
29062 [BZ #13550]
29063 * sysdeps/generic/bp-semctl.h: Remove file.
29064 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29065 <bp-checks.h> and <bp-semctl.h>.
29066 (__old_semctl): Don't use CHECK_SEMCTL.
29067 (__new_semctl): Likewise.
29068 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29069 and <bp-semctl.h>.
29070 (__old_semctl): Don't use CHECK_SEMCTL.
29071 (__new_semctl): Likewise.
29072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29073 <bp-checks.h> and <bp-semctl.h>.
29074 (__old_semctl): Don't use CHECK_SEMCTL.
29075 (__new_semctl): Likewise.
29076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29077 <bp-checks.h> and <bp-semctl.h>.
29078 (semctl): Don't use CHECK_SEMCTL.
29079
c2d54929
JM
29080 [BZ #13550]
29081 * Makerules (elide-bp-thunks): Remove variable.
29082 (elide-routines.oS): Don't use $(elide-bp-thunks).
29083 (elide-routines.os): Likewise.
29084 (elide-routines.o): Likewise.
29085 (elide-routines.op): Likewise.
29086 (elide-routines.og): Likewise.
29087 (objects): Don't use $(bp-thunks).
29088 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29089 include.
29090 (common-generated): Do not add s-proto-bp.d.
29091 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29092 (int): Likewise.
29093 (typ): Likewise.
29094 Do not generate makefile rules for bounded-pointer thunks.
29095 * sysdeps/generic/bp-thunks.h: Remove file.
29096 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29097 * sysdeps/unix/s-proto-bp.S: Likewise.
29098
8cf28c5e
JM
29099 [BZ #15062]
29100 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29101 parts of result separately when argument is not close to line from
29102 -i to i and one part of argument is small.
29103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29105 * math/libm-test.inc (cacos_test): Add more tests.
29106 (casin_test): Likewise.
29107 (casinh_test): Likewise.
29108 * sysdeps/i386/fpu/libm-test-ulps: Update.
29109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29110
c4e33b8d
DM
291112013-01-31 David S. Miller <davem@davemloft.net>
29112
29113 * po/de.po: Update from translation team.
29114
3b60b421
MK
291152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29116
29117 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29118
bb931195
TS
291192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29120
b5a5da23
TS
29121 * configure.in (_AC_PROG_CC_C89): New definition.
29122 * configure: Regenerate.
29123
bb931195
TS
29124 * configure.in (AC_PROG_CPP): New definition.
29125 * configure: Regenerate.
29126
8c53a12c
JM
291272013-01-23 Joseph Myers <joseph@codesourcery.com>
29128
29129 * debug/tst-backtrace.h: New file.
29130 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29131 (ret): Remove variable.
29132 (x): Likewise.
29133 (FAIL): Remove macro.
29134 (NO_INLINE): Likewise.
29135 (fn1): Use match function instead of strstr.
29136 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29137 (ret): Remove variable.
29138 (x): Likewise.
29139 (FAIL): Remove macro.
29140 (NO_INLINE): Likewise.
29141 (fn): Use match function instead of strstr.
29142 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29143 (ret): Remove variable.
29144 (x): Likewise.
29145 (FAIL): Remove macro.
29146 (NO_INLINE): Likewise.
29147 (handle_signal): Use match function instead of strstr.
29148 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29149 (ret): Remove variable.
29150 (x): Likewise.
29151 (FAIL): Remove macro.
29152 (NO_INLINE): Likewise.
29153 (handle_signal): Use match function instead of strstr.
29154
4858fa2a
RM
291552013-01-23 Roland McGrath <roland@hack.frob.com>
29156
29157 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29158
bae8e7f5
DM
291592013-01-23 David S. Miller <davem@davemloft.net>
29160
29161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29162 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29163 argument of CAS if possible.
29164 * sysdeps/sparc/sparc64/bits/atomic.h
29165 (__arch_compare_and_exchange_val_32_acq): Likewise.
29166 (__arch_compare_and_exchange_val_64_acq): Likewise.
29167
9cbbc4ae
PT
291682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29169
29170 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29171 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29172 Include <limits.h>.
67b3f58c 29173 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29174
5655a0b5
AC
291752013-01-23 Adam Conrad <adconrad@0c3.net>
29176
29177 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29178 (LDFLAGS-tst-array5): Likewise.
29179
052aff95
JM
291802013-01-23 Joseph Myers <joseph@codesourcery.com>
29181
29182 [BZ #15036]
29183 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29184 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29185 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29187
7c1e01aa
DM
291882013-01-21 David S. Miller <davem@davemloft.net>
29189
29190 * sysdeps/sparc/backtrace.c: New file.
29191 * sysdeps/sparc/sparc32/backtrace.h: New file.
29192 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29193 * sysdeps/sparc/sparc64/backtrace.h: New file.
29194 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29195 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29196 -funwind-tables.
29197
ab087e0a
AS
291982013-01-21 Andreas Schwab <schwab@suse.de>
29199
29200 [BZ #15020]
29201 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29202 closed its stdout.
29203
ed689c2f
AS
292042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29205
29206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29207 "mpa2.h".
29208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29209
31d470ac
JM
292102013-01-18 Joseph Myers <joseph@codesourcery.com>
29211 Mark Mitchell <mark@codesourcery.com>
29212 Tom de Vries <tom@codesourcery.com>
29213 Paul Pluzhnikov <ppluzhnikov@google.com>
29214
29215 * debug/tst-backtrace2.c: New file.
29216 * debug/tst-backtrace3.c: Likewise.
29217 * debug/tst-backtrace4.c: Likewise.
29218 * debug/tst-backtrace5.c: Likewise.
29219 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29220 (CFLAGS-tst-backtrace3.c): Likewise.
29221 (CFLAGS-tst-backtrace4.c): Likewise.
29222 (CFLAGS-tst-backtrace5.c): Likewise.
29223 (LDFLAGS-tst-backtrace2): Likewise.
29224 (LDFLAGS-tst-backtrace3): Likewise.
29225 (LDFLAGS-tst-backtrace4): Likewise.
29226 (LDFLAGS-tst-backtrace5): Likewise.
29227 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29228 tst-backtrace4 and tst-backtrace5.
29229
90567f30 292302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29231 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29232
29233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29234 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29238 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29239 "+r" and remove output regs list as redundant. Add explicit inline
29240 asm to specify register of return val to work around compiler codegen
29241 bug. Remove (int) cast on return value. Add return type parameter to
29242 use in macro so that this macro does not truncate return value for
29243 64-bit values.
29244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29245 pass to INTERNAL_VSYSCALL_NCS.
29246 (INLINE_VSYSCALL): Add 'long int' as return type to
29247 INTERNAL_VSYSCALL_NCS macro invocation.
29248 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29249 INTERNAL_VSYSCALL_NCS macro invocation.
29250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29251
d3b9ea61
SP
292522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29253
0b57daeb
SP
29254 [BZ #14496]
29255 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29256 Fix application of SIMD FP exception mask.
29257
caa99d06
SP
29258 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29259 mp_no from a power of two.
29260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29261 __mpexp_twomm1. Use __pow_mp.
29262
d3b9ea61
SP
29263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29264 multiplication.
29265
1dbaee3c
DM
292662013-01-17 David S. Miller <davem@davemloft.net>
29267
29268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29269
728d7b43
JM
292702013-01-17 Joseph Myers <joseph@codesourcery.com>
29271
29272 [BZ #15023]
29273 * include/complex.h: Condition contents on [!_COMPLEX_H].
29274 (__kernel_casinhf): New prototype.
29275 (__kernel_casinh): Likewise.
29276 (__kernel_casinhl): Likewise.
29277 * math/Makefile (libm_calls): Add k_casinh.
29278 * math/k_casinh.c: New file.
29279 * math/k_casinhf.c: Likewise.
29280 * math/k_casinhl.c: Likewise.
29281 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29282 finite nonzero arguments.
29283 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29284 finite nonzero arguments.
29285 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29286 finite nonzero arguments.
29287 * math/s_casinh.c: Do not include <float.h>.
29288 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29289 * math/s_casinhf.c: Do not include <float.h>.
29290 (__casinhf): Move code for finite nonzero arguments to
29291 k_casinhf.c.
29292 * math/s_casinhl.c: Do not include <float.h>.
29293 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29294 redefine.
29295 (__casinhl): Move code for finite nonzero arguments to
29296 k_casinhl.c.
29297 * math/libm-test.inc (cacos_test): Add more tests.
29298 * sysdeps/i386/fpu/libm-test-ulps: Update.
29299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29300
2a26ef3a
PT
293012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29302
29303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29304 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29305 [!HAVE_MREMAP]: Remove [defined linux] case.
29306 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29307
a897655d
SP
293082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29309
29310 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29311
881ebe89 293122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29313
29314 * elf/elf.h (R_386_SIZE32): New relocation.
29315 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29316 R_386_SIZE32.
29317 (elf_machine_rela): Likewise.
29318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29319 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29320
59981e9b
JM
293212013-01-17 Joseph Myers <joseph@codesourcery.com>
29322
29323 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29324 (FP_FAST_FMA): Do not define.
29325 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29326 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29327 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29328 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29329 !_SOFT_FLOAT]: Likewise.
29330 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29332 value.
29333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29334 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29337 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29338 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29339 file.
29340
cfa8054f
AS
293412013-01-16 Andreas Schwab <schwab@suse.de>
29342
29343 [BZ #14327]
29344 * include/stdlib.h (__mktemp): Add declaration.
29345 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29346 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29347
dd930cc5
SP
293482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29349
881ebe89
SP
29350 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29351 definitions.
29352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29353 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29354 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29355 definitions here.
29356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29357 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29358 definitions.
29359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29360 and ONE.
29361 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29362 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29364 definitions.
29365 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29366 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29367 definitions.
29368 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29369
dd930cc5
SP
29370 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29371
c19a9f89
DM
293722013-01-15 David S. Miller <davem@davemloft.net>
29373
1aa61767
DM
29374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29375 trunc{,f} to libm-sysdep_routes.
29376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29378 file.
29379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29381 file.
29382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29383 file.
29384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29386 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29388 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29390 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29391 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29392
c42d5e98
DM
29393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29394 nearbyint{,f} to libm-sysdep_routes.
29395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29397 New file.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29399 file.
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29401 New file.
29402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29403 file.
29404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29407 file.
29408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29410 file.
29411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29413 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29414
c19a9f89
DM
29415 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29416 libc_feholdexcept and libc_fesetenv.
29417
357679d2
MF
294182013-01-15 Mike Frysinger <vapier@gentoo.org>
29419
29420 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29421
65a82e3d
DM
294222013-01-14 David S. Miller <davem@davemloft.net>
29423
8b954ab9
DM
29424 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29425 (SPARC_ASM_VIS2_IFUNC): Likewise.
29426 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29428 use of 'siam' instruction.
29429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29430 Likewise.
29431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29432 Likewise.
29433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29434 Likewise.
29435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29440 file.
29441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29442 file.
29443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29444 file.
29445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29446 file.
29447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29452 new VIS2 routines.
29453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29456 Likewise.
29457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29462 routines to libm-sysdep_routines.
29463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29464
65a82e3d
DM
29465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29466 fdim/fdimf to libm-sysdep_routines.
29467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29468 file.
29469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29471 file.
29472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29475 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29476 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29477 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29478 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29479
e34ab705
SP
294802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29481
2a91b573
SP
29482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29483 to optimize copies.
29484
1066a534
SP
29485 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29488
e34ab705
SP
29489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29490 local variable MPTWO.
29491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29492 Likewise.
29493
aba5e596
MF
294942013-01-13 Mike Frysinger <vapier@gentoo.org>
29495
29496 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29497 GLOB_NOESCAPE.
29498
e557e9e5
MF
294992013-01-13 Mike Frysinger <vapier@gentoo.org>
29500
29501 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29502
0428cec9
MF
295032013-01-13 Mike Frysinger <vapier@gentoo.org>
29504
29505 * manual/pattern.texi (glob_t): Document gl_flags.
29506 (glob64_t): Likewise.
29507
8794a964
DM
295082013-01-11 David S. Miller <davem@davemloft.net>
29509
66438c3f
RM
29510 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29511 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29512 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29513 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29514 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29515 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29517 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29518 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29519 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29520 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29521 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29523
4ae4244d
DM
29524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29525 sparc V9 rather than using V8 code.
29526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29528
8794a964
DM
29529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29530 Move to...
29531 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29532 Here.
29533
6270516e
RM
295342013-01-11 Roland McGrath <roland@hack.frob.com>
29535
29536 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29537 not in the main loop.
29538 * configure: Regenerated.
29539
6a57d931
JM
295402013-01-11 Joseph Myers <joseph@codesourcery.com>
29541
29542 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29543 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29544 to just #else.
29545 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29546 [!__GLIBC_HAVE_LONG_LONG] case.
29547 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29548 condition to just #else.
29549 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29550 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29551 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29552 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29553 unconditional.
29554 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29555 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29556 #elif condition to just #else.
29557 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29558 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29559 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29560 #elif condition to just #else.
29561
0e8529e9
SE
295622013-01-11 Steve Ellcey <sellcey@mips.com>
29563
29564 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29565 (EF_MIPS_ARCH_64): Fix value.
29566 (EF_MIPS_ARCH_32R2): New.
29567 (EF_MIPS_ARCH_64R2): New.
29568
740b3dbe
L
295692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29570
29571 * Makeconfig (+link-pie-before-libc): New.
29572 (+link-pie-after-libc): Likewise.
29573 (+link-pie-tests): Likewise.
29574 (+link-pie): Rewritten.
29575 (link-before-libc): Remove $(config-LDFLAGS).
29576 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29577 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29578 (config-LDFLAGS): Renamed to ...
29579 (rtld-LDFLAGS): This.
29580 (rtld-tests-LDFLAGS): New macro.
29581 (link-libc-rpath-link): Likewise.
29582 (link-libc-tests-rpath-link): Likewise.
29583 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29584 (link-libc): Prepand $(link-libc-rpath-link).
29585 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29586 (test-program-prefix): New macro.
29587 (test-via-rtld-prefix): Likewise.
29588 (test-program-cmd): Likewise.
29589 (host-test-program-cmd): Likewise.
29590 * Makefile ($(common-objpfx)testrun.sh): Replace
29591 $(run-program-prefix) with $(test-program-prefix).
29592 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29593 $(rtld-LDFLAGS).
29594 ($(common-objpfx)shlib.lds): Likewise.
29595 (build-module-helper): Likewise.
29596 ($(common-objpfx)format.lds): Likewise.
29597 * Rules (binaries-pie-tests): New.
29598 (binaries-pie-notests): Likewise.
29599 (binaries-pie): Rewritten.
29600 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29601 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29602 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29603 (make-test-out): Replace $(host-built-program-cmd) with
29604 $(host-test-program-cmd).
29605 * config.make.in (build-hardcoded-path-in-tests): New variable.
29606 * configure.in (--enable-hardcoded-path-in-tests): New configure
29607 option.
29608 (hardcoded_path_in_tests): New AC_SUBST.
29609 * configure: Regenerated.
29610 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29611 $(built-program-cmd) with $(test-program-cmd).
29612 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29613 (test_program_cmd): This.
29614 * elf/Makefile ($(objpfx)order.out): Run test with
29615 $(test-program-prefix).
29616 ($(objpfx)order2.out): Likewise.
29617 ($(objpfx)tst-initorder.out): Likewise.
29618 ($(objpfx)tst-initorder2.out): Likewise.
29619 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29620 $(test-program-cmd).
29621 ($(objpfx)tst-array1-static.out): Likewise.
29622 ($(objpfx)tst-array2.out): Likewise.
29623 ($(objpfx)tst-array3.out): Likewise.
29624 ($(objpfx)tst-array4.out): Likewise.
29625 ($(objpfx)tst-array5.out): Likewise.
29626 ($(objpfx)tst-array5-static.out): Likewise.
29627 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29628 $(test-program-cmd).
29629 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29630 $(run-program-prefix) with $(test-program-prefix).
29631 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29632 (test_program_prefix): This.
29633 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29634 $(run-program-prefix) with $(test-program-prefix).
29635 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29636 (test_program_prefix): This.
29637 * iconvdata/tst-tables.sh: Likewise.
29638 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29639 $(run-program-prefix) with $(test-program-prefix).
29640 ($(objpfx)tst-translit.out): Likewise.
29641 ($(objpfx)tst-gettext2.out): Likewise.
29642 ($(objpfx)tst-gettext4.out): Likewise.
29643 ($(objpfx)tst-gettext6.out): Likewise.
29644 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29645 (test_program_prefix): This.
29646 * intl/tst-gettext2.sh: Likewise.
29647 * intl/tst-gettext4.sh Likewise.
29648 * intl/tst-gettext6.sh: Likewise.
29649 * intl/tst-translit.sh: Likewise.
29650 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29651 with $(test-program-cmd).
29652 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29653 $(run-program-prefix) with $(test-program-prefix).
29654 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29655 (test_program_prefix): This.
29656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29657 $(run-program-prefix) with $(test-program-prefix).
29658 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29659 (test_program_prefix): This.
29660 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29661 * posix/Makefile ($(objpfx)globtest.out): Replace
29662 $(run-via-rtld-prefix) and $(test-wrapper) with
29663 $(test-program-prefix) and $(test-via-rtld-prefix).
29664 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29665 $(test-program-prefix).
29666 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29667 $(host-test-program-cmd).
29668 (tst-spawn-ARGS): Likewise.
29669 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29670 $(test-program-prefix).
29671 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29672 (test_via_rtld_prefix): This.
29673 (test_wrapper): Renamed to ...
29674 (test_program_prefix): This.
29675 (run_program_prefix): Replaced by test_program_prefix.
29676 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29677 (test_program_prefix): This.
29678 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29679 with $(host-test-program-cmd).
29680 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29681 $(run-program-prefix) with $(test-program-prefix).
29682 ($(objpfx)tst-printf.out): Likewise.
29683 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29684 $(test-program-cmd).
29685 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29686 (test_program_prefix): This.
29687 * stdio-common/tst-unbputc.sh: Likewise.
29688 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29689 $(run-program-prefix) with $(test-program-prefix).
29690 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29691 (test_program_prefix): This.
29692 * string/Makefile ($(objpfx)tst-svc.out): Replace
29693 $(built-program-cmd) with $(test-program-cmd).
29694
c6fe55cf
AJ
296952013-01-11 Andreas Jaeger <aj@suse.de>
29696
29697 [BZ #15003]
29698 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29699 value. Sync with Linux 3.7.
29700
9e6919c8
DM
297012013-01-10 David S. Miller <davem@davemloft.net>
29702
29703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29706
1c9f1a02
RM
297072013-01-10 Roland McGrath <roland@hack.frob.com>
29708
29709 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29710 never set.
29711 * configure: Regenerated.
29712
b9de2dde
DM
297132013-01-10 David S. Miller <davem@davemloft.net>
29714
29715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29716 sparc V9 rather than using V8 code.
29717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29719
e7f68ef4
RM
297202013-01-10 Roland McGrath <roland@hack.frob.com>
29721
29722 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29723 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29724 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29725 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29726 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29727 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29728 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29729 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29730 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29731 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29732 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29733 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29734 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29735 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29736 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29737 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29738 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29739 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29740 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29741 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29742 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29743 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29744 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29745 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29746 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29747 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29748 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29749
5a47cc9c
DM
297502013-01-10 David S. Miller <davem@davemloft.net>
29751
29752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29753
4cf8f209
L
297542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29755
29756 * posix/Makefile (tests-static): New variable.
29757 (tests): Add $(tests-static).
29758 (tst-exec-static-ARGS): New variable.
29759 (tst-spawn-static-ARGS): Likewise.
29760 * posix/tst-exec-static.c: New file.
29761 * posix/tst-spawn-static.c: Likewise.
29762 * posix/tst-exec.c: Support run directly.
29763 * posix/tst-spawn.c: Likewise.
29764
fed0faa1
JM
297652013-01-10 Joseph Myers <joseph@codesourcery.com>
29766
828beb13
JM
29767 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29768 long.
29769 * math/bits/mathcalls.h (llrint): Likewise.
29770 (llround): Likewise.
29771 * stdlib/stdlib.h (struct drand48_data): Likewise.
29772 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29773 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29774 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29775 Likewise.
29776 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29777 Likewise.
29778 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29779 (elf_greg_t): Likewise.
29780 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29781 (__jmp_buf): Likewise.
29782 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29783 definitions.
29784 (llrint): Likewise, for all definitions.
29785 (llrintl): Likewise.
29786
fed0faa1
JM
29787 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29788 Remove [__GNUC__] condition.
29789 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29790 condition to just [__USE_ISOC99].
29791 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29792
1a20cb20
L
297932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29794
29795 [BZ #14200]
29796 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29797 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29798 defined.
29799 (_POSIX_V6_ILP32_OFF32): Likewise.
29800 (_XBS5_ILP32_OFF32): Likewise.
29801 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29802 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29803
751b85f7
SP
298042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29805
7490eb81
SP
29806 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29807
751b85f7
SP
29808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29809 doubles __mpexp_twomm1. Adjust usage.
29810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29811 Remove.
29812
988197f0
AS
298132013-01-10 Andreas Schwab <schwab@suse.de>
29814
29815 [BZ #14964]
29816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29817 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29818
e83d7298
DM
298192013-01-09 David S. Miller <davem@davemloft.net>
29820
034ed64b 29821 [BZ #15003]
57f41c40
AS
29822 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29823 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29824 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29825 (TCP_FASTOPEN): Define.
e83d7298
DM
29826 (tcp_repair_opt): New structure.
29827 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29828 enum values.
57f41c40
AS
29829 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29830 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29831 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
29832 (tcp_cookie_transactions): New structure.
29833
d5e0b9bd
AB
298342013-01-09 Anton Blanchard <anton@samba.org>
29835
29836 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29837 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29840
0c07e3ea
JM
298412013-01-09 Joseph Myers <joseph@codesourcery.com>
29842
29843 * include/features.h (__USE_ANSI): Remove.
29844
232f7002
RM
298452013-01-09 Roland McGrath <roland@hack.frob.com>
29846
ad98e30c
RM
29847 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29848
232f7002
RM
29849 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29850
950c99ca
SP
298512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29852
b5792741
SP
29853 * sysdeps/s390/fpu/libm-test-ulps: Update.
29854
47cf2278
SP
29855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29856
950c99ca
SP
29857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29858 (__acr): Likewise.
29859 (__cpy): Likewise.
29860 (norm): Likewise.
29861 (denorm): Likewise.
29862 (__mp_dbl): Likewise.
29863 (__dbl_mp): Likewise.
29864 (add_magnitudes): Likewise.
29865 (sub_magnitudes): Likewise.
29866 (__add): Likewise.
29867 (__sub): Likewise.
29868 (__mul): Likewise.
29869 (__inv): Likewise.
29870 (__dvd): Likewise.
29871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29872 (__acr): Likewise.
29873 (__cpy): Likewise.
29874 (norm): Likewise.
29875 (denorm): Likewise.
29876 (__mp_dbl): Likewise.
29877 (__dbl_mp): Likewise.
29878 (add_magnitudes): Likewise.
29879 (sub_magnitudes): Likewise.
29880 (__add): Likewise.
29881 (__sub): Likewise.
29882 (__mul): Likewise.
29883 (__inv): Likewise.
29884 (__dvd): Likewise.
29885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29886 (__acr): Likewise.
29887 (__cpy): Likewise.
29888 (norm): Likewise.
29889 (denorm): Likewise.
29890 (__mp_dbl): Likewise.
29891 (__dbl_mp): Likewise.
29892 (add_magnitudes): Likewise.
29893 (sub_magnitudes): Likewise.
29894 (__add): Likewise.
29895 (__sub): Likewise.
29896 (__mul): Likewise.
29897 (__inv): Likewise.
29898 (__dvd): Likewise.
29899
eede9df9
JM
299002013-01-08 Joseph Myers <joseph@codesourcery.com>
29901
29902 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29903 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29904 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29905 2 && __USE_EXTERN_INLINES]: Likewise.
29906
c40ea3d9
AJ
299072013-01-08 Andreas Jaeger <aj@suse.de>
29908
29909 [BZ# 14985]
29910 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29911 Remove.
29912 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29914
2ccdea26
AB
299152013-01-07 Anton Blanchard <anton@samba.org>
29916
29917 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29918 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29919 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29920 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29923 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29924 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29940 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29941 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29943 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29944 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29960
a9708fed
JM
299612013-01-07 Joseph Myers <joseph@codesourcery.com>
29962
375607b9
JM
29963 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29964 (__MALLOC_PMT): Likewise.
29965 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29966 [__GNUC__], only on [_LIBC].
29967 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29968 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29969 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29970 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29971 forward declaration.
29972 (realloc_hook_ini): Likewise.
29973 (memalign_hook_ini): Likewise.
29974 (__libc_memalign): Do not use __MALLOC_PMT in variable
29975 declaration.
29976 (__libc_valloc): Likewise.
29977 (__libc_pvalloc): Likewise.
29978 (__libc_calloc): Likewise.
29979 (__posix_memalign): Likewise.
29980
a9708fed
JM
29981 [BZ #14996]
29982 * math/s_casinh.c: Include <float.h>.
29983 (__casinh): Do not do computation with squaring and square root
29984 for large arguments.
29985 * math/s_casinhf.c: Include <float.h>.
29986 (__casinhf): Do not do computation with squaring and square root
29987 for large arguments.
29988 * math/s_casinhl.c: Include <float.h>.
29989 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29990 (__casinhl): Do not do computation with squaring and square root
29991 for large arguments.
29992 * math/libm-test.inc (casin_test): Add more tests.
29993 (casinh_test): Likewise.
29994 * sysdeps/i386/fpu/libm-test-ulps: Update.
29995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29996
afec409a
L
299972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29998
29999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30000 (__x86_64_raw_data_cache_size): Likewise.
30001 (__x86_64_data_cache_size_half): Likewise.
30002 (__x86_64_raw_data_cache_size_half): Likewise.
30003 (__x86_64_shared_cache_size): Likewise.
30004 (__x86_64_raw_shared_cache_size): Likewise.
30005 (__x86_64_shared_cache_size_half): Likewise.
30006 (__x86_64_raw_shared_cache_size_half): Likewise.
30007 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30008 to ...
30009 (__x86_data_cache_size): This.
30010 (__x86_64_raw_data_cache_size): Renamed to ...
30011 (__x86_raw_data_cache_size): This.
30012 (__x86_64_data_cache_size_half): Renamed to ...
30013 (__x86_data_cache_size_half): This.
30014 (__x86_64_raw_data_cache_size_half): Renamed to ...
30015 (__x86_raw_data_cache_size_half): This.
30016 (__x86_64_shared_cache_size): Renamed to ...
30017 (__x86_shared_cache_size): This.
30018 (__x86_64_raw_shared_cache_size): Renamed to ...
30019 (__x86_raw_shared_cache_size): This.
30020 (__x86_64_shared_cache_size_half): Renamed to ...
30021 (__x86_shared_cache_size_half): This.
30022 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30023 (__x86_raw_shared_cache_size_half): This.
30024 * sysdeps/x86_64/memcpy.S: Updated.
30025 * sysdeps/x86_64/memset.S: Likewise.
30026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30029
0b3986d0
DM
300302013-01-04 David S. Miller <davem@davemloft.net>
30031
30032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30033
e47686e9
AS
300342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30035
d643bac1
AS
30036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30037 1 to avoid redefinition warning.
30038 (__USE_GNU): Don't define.
30039 (init_signaling_nan): Protoize.
30040
e47686e9
AS
30041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30042
b18decba
SP
300432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30044
fffb407f
SP
30045 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30047 (__cpymn): Likewise.
30048 (norm): Remove commented code.
30049 (denorm): Likewise.
30050 (__mp_dbl): Likewise.
30051 (__inv): Likewise.
30052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30053 (__cpymn): Likewise.
30054 (norm): Remove commented code.
30055 (denorm): Likewise.
30056 (__mp_dbl): Likewise.
30057 (__inv): Likewise.
30058
b18decba
SP
30059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30060 mp_no value for 1.0 and 2.0.
30061 (norm): Use RADIXI instead of radixi.d.
30062 (denorm): Likewise.
30063 (__mul): Use 0.0 instead of zero.d.
30064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30065 mp_no value for 1.0 and 2.0.
30066 (norm): Use RADIXI instead of radixi.d.
30067 (denorm): Likewise.
30068 (__mul): Use 0.0 instead of zero.d.
30069
cdc1c96f
JM
300702013-01-04 Joseph Myers <joseph@codesourcery.com>
30071
30072 [BZ #14994]
30073 * math/s_casinh.c (__casinh): Reduce finite argument to first
30074 quadrant then set signs of results at the end.
30075 * math/s_casinhf.c (__casinhf): Likewise.
30076 * math/s_casinhl.c (__casinhl): Likewise.
30077 * math/libm-test.inc (casin_test): Add more tests.
30078 (casinh_test): Likewise.
30079 * sysdeps/i386/fpu/libm-test-ulps: Update.
30080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30081
302913e1
SP
300822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30083
6420d207
SP
30084 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30085
a9e48ab4
SP
30086 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30087
b7837264
SP
30088 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30089 declarations.
30090 (denorm): Likewise.
30091 (__mp_dbl): Likewise.
30092 (__inv): Likewise.
30093
f8af25d2
SP
30094 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30095 and adjust the header comment.
30096
302913e1
SP
30097 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30098 variable name from declaration.
30099
5d7dd1ca
L
301002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30101
30102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30103 Initialize COMMON_CPUID_INDEX_7 element.
30104 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30105 (CPUID_RTM): Likewise.
30106 (HAS_RTM): Likewise.
30107 (COMMON_CPUID_INDEX_7): New enum.
30108
2f5f40f4
AS
301092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30110
30111 [BZ #14981]
30112 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30113 size is zero, record memory as freed.
30114
4056f4a0
AJ
301152013-01-03 Andreas Jaeger <aj@suse.de>
30116
30117 * po/ia.po: Add new Interlingua translation.
30118
ab15736f 301192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30120
30121 * locale/programs/localedef.c: Fix description of '--posix' flag.
30122
568035b7
JM
301232013-01-02 Joseph Myers <joseph@codesourcery.com>
30124
e6898b8d
JM
30125 * NEWS: Update dates in second copyright notice.
30126 * README: Update copyright dates in example.
30127 * manual/libc.texinfo: Update copyright dates.
30128 * scripts/test-installation.pl: Update copyright date in --version
30129 output.
30130
0e2f9562
JM
30131 * hurd/ctty-input.c: Fix copyright notice formatting.
30132 * hurd/ctty-output.c: Likewise.
30133 * hurd/dtable.c: Likewise.
30134 * hurd/hurd-raise.c: Likewise.
30135 * hurd/hurdprio.c: Likewise.
30136 * hurd/msgportdemux.c: Likewise.
30137 * misc/sys/file.h: Likewise.
30138 * misc/sys/ioctl.h: Likewise.
30139 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30140 * sysdeps/mach/hurd/chdir.c: Likewise.
30141 * sysdeps/mach/hurd/fchdir.c: Likewise.
30142 * sysdeps/mach/hurd/rename.c: Likewise.
30143 * sysdeps/mach/hurd/rmdir.c: Likewise.
30144 * sysdeps/mach/hurd/seekdir.c: Likewise.
30145 * sysdeps/mach/hurd/setsid.c: Likewise.
30146 * sysdeps/posix/wait3.c: Likewise.
30147
568035b7
JM
30148 * All files with FSF copyright notices: Update copyright dates
30149 using scripts/update-copyrights.
30150 * intl/plural.c: Regenerated.
30151 * locale/programs/charmap-kw.h: Likewise.
30152 * locale/programs/locfile-kw.h: Likewise.
30153
da08f647
SP
301542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30155
0f5477af
SP
30156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30157 four values.
30158
44e0d4c2
SP
30159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30160 calculation loop and add branch prediction.
30161
4d55b4e5
SP
30162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30163 check access beyond bounds of m1np.
30164
da08f647
SP
30165 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30166 MPTWO.
30167 (__inv): Remove local variable MPTWO to use the global
30168 constant.
30169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30171 variable MPTWO.
30172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30173 MP3HALFS static const.
30174
8e051029
DM
301752013-01-01 David S. Miller <davem@davemloft.net>
30176
30177 * po/ca.po: Update from translation team.
30178
f4cf5f2d
JM
301792013-01-01 Joseph Myers <joseph@codesourcery.com>
30180
30181 * scripts/update-copyrights: New file.
30182 * Makeconfig: Reformat copyright notice.
30183 * ctype/ctype.h: Likewise.
30184 * debug/swprintf_chk.c: Likewise.
30185 * elf/dl-cache.c: Likewise.
30186 * elf/dl-debug.c: Likewise.
30187 * elf/dl-object.c: Likewise.
30188 * grp/initgroups.c: Likewise.
30189 * hurd/Makefile: Likewise.
30190 * hurd/hurd/signal.h: Likewise.
30191 * hurd/hurdfault.c: Likewise.
30192 * hurd/hurdioctl.c: Likewise.
30193 * hurd/hurdlookup.c: Likewise.
30194 * hurd/intr-msg.c: Likewise.
30195 * iconv/gconv_open.c: Likewise.
30196 * libio/swprintf.c: Likewise.
30197 * locale/lc-ctype.c: Likewise.
30198 * locale/nl_langinfo.c: Likewise.
30199 * mach/Machrules: Likewise.
30200 * mach/Makefile: Likewise.
30201 * malloc/obstack.h: Likewise.
30202 * manual/Makefile: Likewise.
30203 * manual/tsort.awk: Likewise.
30204 * misc/bits/stab.def: Likewise.
30205 * nis/nis_print_group_entry.c: Likewise.
30206 * nis/nis_table.c: Likewise.
30207 * nis/nss_compat/compat-pwd.c: Likewise.
30208 * nis/nss_compat/compat-spwd.c: Likewise.
30209 * po/Makefile: Likewise.
30210 * posix/fnmatch.c: Likewise.
30211 * posix/regex.h: Likewise.
30212 * resolv/Makefile: Likewise.
30213 * resolv/nss_dns/dns-network.c: Likewise.
30214 * resolv/res_hconf.c: Likewise.
30215 * scripts/gen-sorted.awk: Likewise.
30216 * soft-fp/soft-fp.h: Likewise.
30217 * stdio-common/printf.h: Likewise.
30218 * stdlib/monetary.h: Likewise.
30219 * stdlib/random.c: Likewise.
30220 * stdlib/random_r.c: Likewise.
30221 * sysdeps/generic/Makefile: Likewise.
30222 * sysdeps/gnu/Makefile: Likewise.
30223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30239 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30246 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30247 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30251 * sysdeps/mach/hurd/errnos.awk: Likewise.
30252 * sysdeps/mach/hurd/fork.c: Likewise.
30253 * sysdeps/mach/hurd/getcwd.c: Likewise.
30254 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30255 * sysdeps/mach/hurd/mmap.c: Likewise.
30256 * sysdeps/mach/hurd/utimes.c: Likewise.
30257 * sysdeps/mach/hurd/xmknod.c: Likewise.
30258 * sysdeps/posix/profil.c: Likewise.
30259 * sysdeps/posix/readdir_r.c: Likewise.
30260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30261 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30263 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30265 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30266 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30269 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30271 * sysdeps/pthread/lio_listio.c: Likewise.
30272 * sysdeps/sparc/dl-procinfo.h: Likewise.
30273 * sysdeps/unix/i386/sysdep.S: Likewise.
30274 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30275 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30276 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30277 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30279 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30280 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30281 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30282 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30283 * sysdeps/wordsize-32/divdi3.c: Likewise.
30284 * time/sys/time.h: Likewise.
30285 * wcsmbs/Makefile: Likewise.
30286
0549fbba
DM
302872013-01-01 David S. Miller <davem@davemloft.net>
30288
a141f1a7
DM
30289 * po/fr.po: Update from translation team.
30290
0549fbba
DM
30291 * catgets/gencat.c: Update copyright year.
30292 * csu/version.c: Likewise.
30293 * debug/catchsegv.sh: Likewise.
30294 * debug/pcprofiledump.c: Likewise.
30295 * debug/xtrace.sh: Likewise.
30296 * elf/ldconfig.c: Likewise.
30297 * elf/ldd.bash.in: Likewise.
30298 * elf/pldd.c: Likewise.
30299 * elf/sotruss.ksh: Likewise.
30300 * elf/sprof.c: Likewise.
30301 * iconv/iconv_prog.c: Likewise.
30302 * iconv/iconvconfig.c: Likewise.
30303 * locale/programs/locale.c: Likewise.
30304 * locale/programs/localedef.c: Likewise.
30305 * login/programs/pt_chown.c: Likewise.
30306 * malloc/memusage.sh: Likewise.
30307 * malloc/memusagestat.c: Likewise.
30308 * malloc/mtrace.pl: Likewise.
30309 * nscd/nscd.c: Likewise.
30310 * nss/getent.c: Likewise.
30311 * nss/makedb.c: Likewise.
30312 * posix/getconf.c: Likewise.
30313
18ea052c
SP
303142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30315
30316 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30317 numbers.
30318
9c89fca6
MF
303192012-12-30 Mike Frysinger <vapier@gentoo.org>
30320
30321 * math/bits/mathcalls.h (modf): Use __nonnull.
30322
085ec079
SP
303232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30324
30325 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30326 (split): Use macro CN instead of the bare value.
30327 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30328 could be used.
30329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30330 instead of the bare value.
30331 (power1): Likewise.
30332
6d9f97e1
SP
303332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30334
d63f73be
SP
30335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30336 __ATAN_TWOM.
30337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30338
6d9f97e1
SP
30339 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30340 their values.
30341 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30343 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30345
4c4febf5
AJ
303462012-12-28 Andreas Jaeger <aj@suse.de>
30347
af5843ef
AJ
30348 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30349 values are from Linux 3.7.
30350
4c4febf5
AJ
30351 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30352 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30353
99136f82
SP
303542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30355
2f216c3c 30356 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30357 TRUE case.
30358
99136f82
SP
30359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30360 (norm): Likewise.
30361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30362 variables with preprocessor constants.
30363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30365 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30366
7fffbdff
BH
303672012-12-27 Bruno Haible <bruno@clisp.org>
30368
30369 [BZ #14317]
30370 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30371 only if needed.
30372
b76eb5f0
SP
303732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30374
31a7fe5c
SP
30375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30376 and use variable directly.
30377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30378
b76eb5f0
SP
30379 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30380 MPONE.
30381 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30383 variable MPONE.
30384 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30386 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30387 include directive. Remove local variable MPONE.
30388 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30391
2c8bfe7d
DM
303922012-12-25 David S. Miller <davem@davemloft.net>
30393
30394 * version.h (RELEASE): Set to "development".
30395 (VERSION): Set to "2.17.90".
30396 * NEWS: Add 2.18 section.
30397
147d03b0
DM
303982012-12-21 David S. Miller <davem@davemloft.net>
30399
30400 * po/hr.po: Update from translation team.
30401
a8ebb2b9
AK
304022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30403
30404 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30405
95b4f1b6
SE
304062012-12-19 Steve Ellcey <sellcey@mips.com>
30407
b2d94007 30408 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30409
cedb2a90
MS
304102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30411
30412 * manual/contrib.texi (Contributors): Spelling correction.
30413
bbf527d6
DM
304142012-12-15 David S. Miller <davem@davemloft.net>
30415
30416 * po/ru.po: Update from translation team.
30417
bc38c906
DM
304182012-12-13 David S. Miller <davem@davemloft.net>
30419
85429b1a
DM
30420 * NEWS: Mention IFUNC testsuite enhancements.
30421
d283e353
DM
30422 * po/pl.po: Update from translation team.
30423 * po/bg.po: Likewise.
30424
bc38c906
DM
30425 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30426 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30427
a181b0d7
DM
304282012-12-11 David S. Miller <davem@davemloft.net>
30429
4641d57e
DM
30430 * po/sv.po: Update from translation team.
30431
f7bc6495
DM
30432 * po/vi.po: Update from translation team.
30433
6fc9048f
DM
30434 * po/cs.po: Update from translation team.
30435
a181b0d7
DM
30436 * po/de.po: Update from translation team.
30437 * po/eo.po: Likewise.
30438 * po/nl.po: Likewise.
30439
f70bfe80
SP
304402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30441
3c8b4190
SP
30442 [BZ #14246]
30443 * manual/argp.texi (Argp Helper Functions): Move node to follow
30444 Argp Parsing State.
30445
f70bfe80
SP
30446 [BZ #14872]
30447 * manual/conf.texi (Limits on File System Capacity): Mention if
30448 terminating null is included in the max size.
30449
188f0adf
AJ
304502012-12-10 Andreas Jaeger <aj@suse.de>
30451
30452 * po/cs.po: Update from translation team.
30453
56e7d3ad
SP
304542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30455
30456 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30457 void pointer and cast to uintptr_t.
30458 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30459 path.
30460 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30461 * sysdeps/s390/s390-64/memset.S: Likewise.
30462
76f2d2ea 304632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30464
30465 [BZ #14833]
30466 * menual/message.texi (Message Translation): Fix typos.
30467 (Helper programs for gettext): Likewise.
30468
67cbf9a2
AS
304692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30470
30471 [BZ #14898]
30472 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30473 Change to -1.
30474
682d0e9a
DM
304752012-12-07 David S. Miller <davem@davemloft.net>
30476
30477 * po/libc.pot: Update.
30478
573cd484
RH
304792012-12-07 Richard Henderson <rth@redhat.com>
30480
7e9da188 30481 [BZ #10114]
573cd484
RH
30482 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30483 normal/normal case to before the switch.
30484 (_FP_DIV): Likewise.
30485
e933a943
MF
304862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30487 Mike Frysinger <vapier@gentoo.org>
30488
30489 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30490 check for __NR_fadvise64_64.
30491
82123268
CM
304922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30493
30494 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30495 0, not just to plain "0" as a statement.
30496 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30497 with cw.
30498
d9814526
JM
304992012-12-06 Joseph Myers <joseph@codesourcery.com>
30500
30501 * NEWS: Use sourceware.org in Bugzilla URL.
30502
7728c574
SP
305032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30504
f16946dd
SP
30505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30506 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30507
5704bbcb
SP
30508 * stdio-common/tst-put-error.c (do_test): Add newline to the
30509 padded test to ensure flush.
30510
17aa0516
JL
305112012-12-05 Jeff Law <law@redhat.com>
30512
30513 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30514
363313b5
JM
305152012-12-05 Joseph Myers <joseph@codesourcery.com>
30516
effbd42a
JM
30517 * README: Don't refer to ports add-on as distributed separately.
30518 Mention AArch64 in list of systems supported in the ports add-on.
30519
87600365
JM
30520 * LICENSES: Add more non-FSF copyright and license notices.
30521
a0d7066a
JM
30522 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30523 ((unused)).
30524
66ca5a5b
JM
30525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30526
363313b5
JM
30527 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30528 10000 as width of padded output.
30529
b37984ad
JM
305302012-12-04 Joseph Myers <joseph@codesourcery.com>
30531
9003570a
JM
30532 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30533
b37984ad
JM
30534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30535 variable LX with __attribute__ ((unused)).
30536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30537 Likewise.
30538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30541 with __attribute__ ((unused)).
30542
c8df52ec
DM
305432012-12-04 David S. Miller <davem@abraco.davemloft.net>
30544
30545 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30546
b3b099af
JM
305472012-12-04 Joseph Myers <joseph@codesourcery.com>
30548
c33aa6e3
JM
30549 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30550 (CFLAGS-nldbl-acos.c): New variable.
30551 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30552 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30553 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30554 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30555 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30556 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30557 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30558 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30559 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30560 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30561 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30562 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30563 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30564 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30565 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30566 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30567 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30568 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30569 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30570 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30571 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30572 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30573 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30574 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30575 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30576 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30577 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30578 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30579 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30580 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30581 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30582 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30583 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30584 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30585 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30586 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30587 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30588 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30589 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30590 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30591 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30592 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30593 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30594 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30595 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30596 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30597 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30598 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30599 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30600 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30601 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30602 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30603 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30604 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30605 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30606 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30607 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30608 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30609 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30610 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30611 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30612 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30613 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30614 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30615 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30616 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30617 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30618 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30619 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30620 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30621 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30622 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30623 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30624 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30625 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30626 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30627 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30628 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30629 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30630 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30631 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30632 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30633 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30634 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30635 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30636 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30637 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30638 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30639 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30640 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30641 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30642 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30643 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30644 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30645 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30646 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30647 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30648
20f0018d
JM
30649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30651
b3b099af
JM
30652 [BZ #14914]
30653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30654 whole low double instead of just low 47 bits when splitting values
30655 into two parts.
30656
029264d1
AM
306572012-12-03 Allan McRae <allan@archlinux.org>
30658
30659 * manual/stdio.texi (Predefined Printf Handlers): Remove
30660 @hsep and @vsep usage.
30661
c9d6789e
MF
306622012-12-03 Mike Frysinger <vapier@gentoo.org>
30663
30664 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30665 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30666
4b7634a5
JL
306672012-12-03 Jeff Law <law@redhat.com>
30668
30669 * time/sys/time.h (settimeofday): Do not mark TV argument
30670 as __nonnull.
30671
eb6cbd24
MF
306722012-12-01 Mike Frysinger <vapier@gentoo.org>
30673
30674 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30675 when currently writing and seek to current position when not.
30676 * libio/Makefile (tests): Remove bug-fclose1.
30677 * libio/bug-fclose1.c: Delete.
30678
f638872a
JM
306792012-12-01 Joseph Myers <joseph@codesourcery.com>
30680
30681 * manual/arith.texi (feenableexcept): Fix typo.
30682 (fedisableexcept): Likewise.
30683
48085d14
RM
306842012-11-30 Roland McGrath <roland@hack.frob.com>
30685
30686 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30687 second, differently-typed declaration, rather than a cast.
30688
1a538b9f
SP
306892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30690
30691 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30692 * include/rpc/svc.h: ... here.
30693
d07f2ff1 306942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30695
30696 [BZ #13013]
30697 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30698 depending n and resplen2 to catch cases where answer
30699 equals answerp2.
30700
c93ec1f0
CD
307012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30702
30703 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30704 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30705
37db69de
MF
307062012-11-29 Mike Frysinger <vapier@gentoo.org>
30707
30708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30709
e10c4e4f
RM
307102012-11-29 Roland McGrath <roland@hack.frob.com>
30711
30712 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30713
2af1b328
JL
307142012-11-28 Jeff Law <law@redhat.com>
30715
30716 [BZ #13761]
30717 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30718 dataset_temporary. Track alloca usage into alloca_used.
30719 If dataset is large allocate and release it via malloc/free.
30720
111db5b1
FW
307212012-06-04 Florian Weimer <fweimer@redhat.com>
30722
f06cc227 30723 [BZ #14197]
111db5b1
FW
30724 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30725
dd694abd
DM
307262012-11-28 David S. Miller <davem@davemloft.net>
30727
30728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30729
9984dd01
JM
307302012-11-28 Joseph Myers <joseph@codesourcery.com>
30731
30732 [BZ #14803]
30733 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30734 of pi/2 rounded to nearest to 64 bits.
30735 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30736 nearest to 64 bits.
30737 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30738 bits.
30739
14bc93a9
JL
307402012-11-28 Jeff Law <law@redhat.com>
30741 Martin Osvald <mosvald@redhat.com>
30742
30743 [BZ #14889]
30744 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30745 * sunrpc/svc.c: Include time.h.
30746 (__svc_accept_failed): New function.
30747 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30748 any reason other than EINTR, call __svc_accept_failed.
30749 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30750 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30751
e3c6aa3a
AS
307522012-11-28 Andreas Schwab <schwab@suse.de>
30753
30754 * scripts/abilist.awk: Also handle indirect functions in .opd
30755 section.
30756
1bead169
JM
307572012-11-28 Joseph Myers <joseph@codesourcery.com>
30758
30759 [BZ #13881]
30760 * sysdeps/x86/fpu/powl_helper.c: New file.
30761 * sysdeps/x86/fpu/Makefile: Likewise.
30762 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30763 (p3): New object.
30764 (__ieee754_powl): Use __powl_helper for finite arguments except
30765 integer exponents below 8.
30766 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30767 (p3): New object.
30768 (__ieee754_powl): Use __powl_helper for finite arguments except
30769 integer exponents below 8.
30770 * math/libm-test.inc (pow_test): Add more tests and enable some
30771 previously disabled tests.
30772 * sysdeps/i386/fpu/libm-test-ulps: Update.
30773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30774
0817d63d
SP
307752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30776 Carlos O'Donell <carlos_odonell@mentor.com>
30777
30778 * nss/makedb.c (is_prime): Assert that input is odd and greater
30779 than 4. Note that fact in a comment too.
30780 (next_prime): Add 4 to input.
30781
de2fd463
SP
307822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30783
30784 [BZ #11741]
30785 * libio/Makefile (tests): Add test case tst-fwrite-error.
30786 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30787 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30788 * libio/tst-fwrite-error.c: New test case.
30789
c515fb51
L
307902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30791
30792 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30793 before casting to void *.
30794 * include/libc-internal.h (__pointer_type): New macro.
30795 (__integer_if_pointer_type_sub): Likewise.
30796 (__integer_if_pointer_type): Likewise.
30797 (cast_to_integer): Likewise.
30798 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30799 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30800 before casting to atomic64_t.
30801 (atomic_exchange_acq): Likewise.
30802 (__arch_exchange_and_add_body): Likewise.
30803 (__arch_add_body): Likewise.
30804 (atomic_add_negative): Likewise.
30805 (atomic_add_zero): Likewise.
30806
4cf77aa9
JM
308072012-11-26 Joseph Myers <joseph@codesourcery.com>
30808
30809 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30810 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30811 (add_fdes): Likewise.
30812 (linear_search_fdes): Likewise.
30813 (binary_search_unencoded_fdes): Likewise.
30814
d260b3b4
AS
308152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30816
30817 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30818
67060746
AC
308192012-11-24 Adam Conrad <adconrad@0c3.net>
30820
30821 * configure.in: Autodetect C++ header directories.
30822 * configure: Regenerated.
30823
800938a1
MF
308242012-11-23 Mike Frysinger <vapier@gentoo.org>
30825
30826 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30827
4e6e34e6
AS
308282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30829
30830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30831
7c7feb47
JM
308322012-11-22 Joseph Myers <joseph@codesourcery.com>
30833
7184dcdf
JM
30834 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30835 LDBL_MANT_DIG == 106]: Disable some tests.
30836 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30837 Likewise.
30838 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30839 Likewise.
30840
0a42601f
JM
30841 [BZ #14871]
30842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30843 input for small inputs. Return +/- pi/2 for large inputs.
30844 * math/libm-test.inc (atan_test): Add more tests.
30845
79c9b9fe
JM
30846 * sysdeps/generic/unwind-dw2-fde-glibc.c
30847 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30848 __attribute__ ((unused)).
30849
c60d3bf2
JM
30850 [BZ #14645]
30851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30852 x * y if x and y are nonzero and z is zero.
30853
ef1e0867
JM
30854 [BZ #14811]
30855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30856 nonzero exponents with absolute value below 0x1p-117 to +/-
30857 0x1p-117.
30858
1468ded3
JM
30859 [BZ #14869]
30860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30861 up arguments below 2**-450, not just those below 2**-500.
30862 * math/libm-test.inc (hypot_test): Add another test.
30863
8e27e3cc
JM
30864 [BZ #14868]
30865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30866 Return a+b for ratio over 2**120, not 2**60.
30867 * math/libm-test.inc (hypot_test): Add another test.
30868
c9c0279b
JM
30869 * math/libm-test.inc (clog_test): Use
30870 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30871 (clog10_test): Likewise.
30872
7c7feb47
JM
30873 [BZ #6778]
30874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30875
fff1530e
AS
308762012-11-22 Andreas Schwab <schwab@suse.de>
30877
30878 * sysdeps/i386/fpu/libm-test-ulps: Update.
30879
94558d30
PT
308802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30881
30882 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30883 printf output with newline.
30884
7e1be741
L
308852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30886
6bfea974
L
30887 [BZ #14865]
30888 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30889 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30890 -z nodlopen, -z initfirst and -z execstack support.
30891 * configure: Regenerated.
30892
7e1be741
L
30893 * elf/elf.h (DF_1_NODIRECT): New macro.
30894 (DF_1_IGNMULDEF): Likewise.
30895 (DF_1_NOKSYMS): Likewise.
30896 (DF_1_NOHDR): Likewise.
30897 (DF_1_EDITED): Likewise.
30898 (DF_1_NORELOC): Likewise.
30899 (DF_1_SYMINTPOSE): Likewise.
30900 (DF_1_GLOBAUDIT): Likewise.
30901 (DF_1_SINGLETON): Likewise.
30902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30903 DT_1_SUPPORTED_MASK bits.
30904 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30905
105ce2ce
CD
309062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30907
30908 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30909
123be9de
TS
309102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30911
d072f3f7
TS
30912 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30913 macro.
30914
123be9de
TS
30915 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30916 (sendmmsg): Move declarations...
30917 * socket/sys/socket.h: ... here.
30918 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30919 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30920 include it from...
30921 * socket/recvmmsg.c: ... this new file.
30922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30923 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30924 definition of __sendmmsg hidden.
30925 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30926 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30927 Move ENOSYS stub into and include it from...
30928 * socket/sendmmsg.c: ... this new file.
30929 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30930 (sysdep_routines): Move recvmmsg and sendmmsg...
30931 * socket/Makefile (routines): ... here.
30932 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30933 (GLIBC_PRIVATE): Add __sendmmsg.
30934 * include/sys/socket.h (__sendmmsg): Add declarations.
30935 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30936 sendmmsg.
30937
cf9a5d18
JM
309382012-11-20 Joseph Myers <joseph@codesourcery.com>
30939
30940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30941 variable I1 with __attribute__ ((unused)).
30942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30943
ecd4caf9
JM
309442012-11-19 Joseph Myers <joseph@codesourcery.com>
30945
be14d48f
JM
30946 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30947 DUMMY variables with __attribute__ ((unused)).
30948
ecd4caf9
JM
30949 * bits/byteswap.h: Include <bits/types.h>.
30950 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30951
986cab95
PT
309522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30953
30954 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30955 string_t. Do not manually set errno.
30956 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30957 length with __strnlen. Make sure to both set errno and return it on
30958 failure.
30959
6d33cc9d
DM
309602012-11-19 David S. Miller <davem@davemloft.net>
30961
30962 With help from Joseph Myers.
30963 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30964 very large arguments properly.
30965 * math/libm-test.inc (atan_test): New tests.
30966 (atan2_test): New tests.
30967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30969
ee663277
JM
309702012-11-19 Joseph Myers <joseph@codesourcery.com>
30971
877f2d8e
JM
30972 [BZ #14856]
30973 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30974 Define to 3.
30975
116fc08a
JM
30976 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30977 [POSIX] (EADDRNOTAVAIL): Likewise.
30978 [POSIX] (EAFNOSUPPORT): Likewise.
30979 [POSIX] (EALREADY): Likewise.
30980 [POSIX] (ECONNABORTED): Likewise.
30981 [POSIX] (ECONNREFUSED): Likewise.
30982 [POSIX] (ECONNRESET): Likewise.
30983 [POSIX] (EDESTADDRREQ): Likewise.
30984 [POSIX] (EDQUOT): Likewise.
30985 [POSIX] (EHOSTUNREACH): Likewise.
30986 [POSIX] (EIDRM): Likewise.
30987 [POSIX] (EISCONN): Likewise.
30988 [POSIX] (ELOOP): Likewise.
30989 [POSIX] (EMULTIHOP): Likewise.
30990 [POSIX] (ENETDOWN): Likewise.
30991 [POSIX] (ENETUNREACH): Likewise.
30992 [POSIX] (ENOBUFS): Likewise.
30993 [POSIX] (ENODATA): Likewise.
30994 [POSIX] (ENOLINK): Likewise.
30995 [POSIX] (ENOMSG): Likewise.
30996 [POSIX] (ENOPROTOOPT): Likewise.
30997 [POSIX] (ENOSR): Likewise.
30998 [POSIX] (ENOSTR): Likewise.
30999 [POSIX] (ENOTCONN): Likewise.
31000 [POSIX] (ENOTSOCK): Likewise.
31001 [POSIX] (EOPNOTSUPP): Likewise.
31002 [POSIX] (EOVERFLOW): Likewise.
31003 [POSIX] (EPROTO): Likewise.
31004 [POSIX] (EPROTONOSUPPORT): Likewise.
31005 [POSIX] (EPROTOTYPE): Likewise.
31006 [POSIX] (ESTALE): Likewise.
31007 [POSIX] (ETIME): Likewise.
31008 [POSIX] (ETXTBSY): Likewise.
31009 [POSIX] (EWOULDBLOCK): Likewise.
31010 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31011 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31012 [POSIX] (SEEK_CUR): Likewise.
31013 [POSIX] (SEEK_END): Likewise.
31014 [POSIX || UNIX98] (mode_t): Do not require.
31015 [POSIX] (off_t): Likewise.
31016 [POSIX] (pid_t): Likewise.
31017 [POSIX] (sys/stat.h): Do not allow header.
31018 [POSIX] (unistd.h): Likewise.
31019 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31020 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31021 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31022 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31023 require.
31024 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31025 sigevent): Specify elements.
31026 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31027 entry.
31028 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31029 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31030
a483863f
JM
31031 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31032 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31033 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31034 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31035 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31036 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31037 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31039 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31041 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31043 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31044 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31045 Likewise.
31046 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31047 Likewise.
31048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31049 Likewise.
31050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31051 Likewise.
31052 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31053 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31056 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31057 Specify lower bound on value.
31058 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31059 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31060 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31061 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31062 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31063 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31064 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31065 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31066 value.
31067 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31068 as optional.
31069 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31070 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31071 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31072 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31073 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31074 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31075 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31077 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31079 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31080 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31081 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31082 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31083 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31084 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31085 entry.
31086 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31087 optional.
31088 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31090 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31091 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31092 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31093 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31094 Likewise.
31095 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31097 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31098 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31099 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31100 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31101 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31102 as optional.
31103 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31106 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31107 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31108 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31109 specify as optional.
31110 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31111 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31112 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31113 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31114 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31115 [XPG3] (NL_LANGMAX): Likewise.
31116 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31117 [POSIX || XPG3] (NL_NMAX): Likewise.
31118 [POSIX || XPG3] (NL_SETMAX): Likewise.
31119 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31120 [XPG3] (NZERO): Likewise.
31121 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31122 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31123 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31124 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31125 (REG_ERANGE): Expect.
31126 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31127 optional-constant.
31128 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31129 Use (void) in prototype.
31130 [POSIX] (*_t): Allow.
31131 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31132 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31133 (WRDE_BADVAL): Expect.
31134
5ba924e3
JM
31135 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31136 expect.
31137 [XPG3 || XPG4] (O_RSYNC): Likewise.
31138 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31139 Likewise.
31140 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31141 [XPG3 || XPG4] (sigqueue): Likewise.
31142 [XPG3 || XPG4] (sigtimedwait): Likewise.
31143 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31144 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31145 [XPG3 || XPG4] (vsnprintf): Likewise.
31146 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31147 Likewise.
31148 [XPG3 || XPG4] (blksize_t): Likewise.
31149 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31150 Likewise.
31151 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31152 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31153 [XPG3 || XPG4] (struct itimerspec): Likewise.
31154 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31155 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31156 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31157 [XPG3 || XPG4] (clockid_t): Likewise.
31158 [XPG3 || XPG4] (timer_t): Likewise.
31159 [XPG3 || XPG4] (clock_getres): Likewise.
31160 [XPG3 || XPG4] (clock_gettime): Likewise.
31161 [XPG3 || XPG4] (clock_settime): Likewise.
31162 [XPG3 || XPG4] (nanosleep): Likewise.
31163 [XPG3 || XPG4] (timer_create): Likewise.
31164 [XPG3 || XPG4] (timer_delete): Likewise.
31165 [XPG3 || XPG4] (timer_gettime): Likewise.
31166 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31167 [XPG3 || XPG4] (timer_settime): Likewise.
31168 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31169 [XPG3 || XPG4] (getlogin_r): Likewise.
31170 [XPG3 || XPG4] (pread): Likewise.
31171 [XPG3 || XPG4] (pthread_atfork): Likewise.
31172 [XPG3 || XPG4] (pwrite): Likewise.
31173
ee663277
JM
31174 [BZ #14835]
31175 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31176 <bits/siginfo.h>.
31177
942caa16
PT
311782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31179
e19af380
PT
31180 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31181 finalizing MALLSTREAM.
31182
942caa16
PT
31183 * sysdeps/mach/hurd/syncfs.c: New file.
31184
cfde9b46
SP
311852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31186
31187 [BZ #14719]
31188 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31189 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31190 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31191 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31192 (_nss_dns_gethostbyname4_r): Likewise.
31193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31194 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31195
f6da27e5
PH
311962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31197
31198 [BZ #13763]
31199 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31200
6665d4a2
SM
312012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31202
1f51ee92
SM
31203 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31204 * elf/cache.c (print_entry): Print ",AArch64" for
31205 FLAG_AARCH64_LIB64
31206
6665d4a2
SM
31207 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31208 * elf/cache.c (print_entry): Print ",hard-float" for
31209 FLAG_ARM_LIBHF.
31210
05b227bd
DM
312112012-11-18 David S. Miller <davem@davemloft.net>
31212
31213 With help from Joseph Myers.
31214 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31215 cutoff to 2**-13.
31216 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31217 cutoff to 2**-25.
31218 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31219 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31220 small.
31221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31222 * math/libm-test.inc (y0_test): New tests.
31223 (y1_test): New tests.
31224 * sysdeps/i386/fpu/libm-test-ulps: Update.
31225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31227
786b0b67
AS
312282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31229
31230 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31231 64-bit targets.
31232 * configure: Regenerated.
31233
8e18b86d
DM
312342012-11-17 David S. Miller <davem@davemloft.net>
31235
31236 [BZ #14811]
31237 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31238 nonzero exponents with absolute value below 0x1p-128 to +/-
31239 0x1p-128.
31240
531f1ae0
JM
312412012-11-17 Joseph Myers <joseph@codesourcery.com>
31242
12df29e2
JM
31243 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31244
150dc1a0
JM
31245 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31246
531f1ae0
JM
31247 * posix/getconf-speclist.c: New file.
31248 * posix/posix-envs.def: Likewise.
31249 * posix/confstr.c (START_ENV_GROUP): New macro.
31250 (END_ENV_GROUP): Likewise.
31251 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31252 (KNOWN_PRESENT_ENV_STRING): Likewise.
31253 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31254 (UNKNOWN_ENVIRONMENT): Likewise.
31255 (confstr): Include posix-envs.def instead of handling
31256 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31257 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31258 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31259 (END_ENV_GROUP): Likewise.
31260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31261 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31262 (UNKNOWN_ENVIRONMENT): Likewise.
31263 (__sysconf): Include posix-envs.def instead of handling associated
31264 cases directly here.
31265 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31266 preprocessing getconf-speclist.c rather than running getconf or
31267 generating empty file.
31268
a93f9cbc
PT
312692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31270
31271 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31272
d64d9f87
AL
312732012-11-16 Andrej Lajovic <natrij@gmail.com>
31274
31275 [BZ #14672]
31276 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31277
447885eb
DM
312782012-11-16 David S. Miller <davem@davemloft.net>
31279
31280 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31281 smaller than LDBL_EPSILON/2.0L, just return xm1.
31282
bcbf9830
L
312832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31284
31285 * elf/tst-array1.c (init): Set constructor priority to 1000.
31286 (fini): Set destructor priority to 1000.
31287 * elf/tst-array2dep.c: Likewise.
31288
2b766585
SP
312892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31290
31291 [BZ #11741]
31292 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31293 (_IO_new_file_xsputn): Also return EOF if none of the input
31294 data was written when overflow failed.
31295 * libio/iopadn.c (_IO_padn): Likewise.
31296 * libio/iowpadn.c (_IO_wpadn): Likewise.
31297 * stdio-common/tst-put-error.c: Add copyright notice.
31298 (do_test): Add case for printing padded string.
31299 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31300 _IO_padn returned error.
31301 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31302 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31303 return EOF.
31304
b1848fde
SP
313052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31306
31307 * libio/libioP.h: Add comment note that the references to C++
31308 bits are now obsolete.
31309
2fd89785
MS
313102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31311
31312 * math/libm-test.inc (check_complex): Use asprintf.
31313
e3ea5409
JM
313142012-11-14 Joseph Myers <joseph@codesourcery.com>
31315
31316 * debug/pcprofiledump.c (print_version): Update copyright year.
31317 * malloc/memusagestat.c (print_version): Likewise.
31318
2e64d265
L
313192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31320
31321 [BZ #14831]
31322 * elf/Makefile (tests): Add tst-audit8.
31323 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31324 ($(objpfx)tst-audit8.out): New target.
31325 (tst-audit8-ENV): New variable.
31326 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31327 audit if l_reloc_result is NULL.
31328 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31329 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31330 * elf/tst-audit8.c: New file.
31331
c485e4d2
MS
313322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31333
31334 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31335 * misc/Makefile (CFLAGS-select.c): Define.
31336 * posix/Makefile (CFLAGS-pause.c): Define.
31337
3a0d900a
DM
313382012-11-13 David S. Miller <davem@davemloft.net>
31339
31340 * crypt/Makefile: Move test targets after toplevel Rules
31341 inclusion. Grab any necessary sysdep routines when linking.
31342 * crypt/md5.c (md5_process_block): Remove define, we will always
31343 name it __md5_process_block.
31344 (md5_finish_ctx): Update md5_process_block call.
31345 (md5_stream): Likewise.
31346 (md5_process_bytes): Likewise.
31347 (md5_process_block): Rename to __md5_process_block and move to ...
31348 * crypt/md5-block.c: ... here.
31349 * crypt/sha256.c (sha256_process_block): Move to ...
31350 * crypt/sha256-block.c: ... here.
31351 * crypt/sha512.c (sha512_process_block): Move to ...
31352 * crypt/sha512-block.c: ... here.
31353 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31354 path.
31355 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31356 * sysdeps/sparc/sparc64/multiarch/Makefile
31357 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31358 crypt subdir.
31359 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31361 multiarch changes.
31362 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31363 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31364 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31365 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31366 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31367 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31368 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31371 file.
31372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31374 file.
31375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31376
8ca89318
JM
313772012-11-13 Joseph Myers <joseph@codesourcery.com>
31378
e27d476a
JM
31379 * timezone/tzselect.ksh: Update from tzcode git revision
31380 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31381 * timezone/zdump.c: Likewise.
31382 * timezone/zic.c: Likewise.
31383 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31384 in TZVERSION setting, not $(PKGVERSION).
31385 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31386 REPORT_BUGS_TO settings.
31387
8ca89318
JM
31388 [BZ #14838]
31389 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31390 macro.
31391
47594329
MS
313922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31393
31394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31395 detection to immediately after _FP_ROUND().
31396 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31397 bits are 0.
31398
640ac3f1
DM
313992012-11-11 David S. Miller <davem@davemloft.net>
31400
31401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31402 inttypes.h
31403 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31404 __close rather than their public counterparts.
31405
3d2577bb
JM
314062012-11-10 Joseph Myers <joseph@codesourcery.com>
31407
31408 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31409 file.
31410 [UNIX98] (sem_timedwait): Do not expect.
31411 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31412 [XPG4 || UNIX98] (sockatmark): Do not expect.
31413 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31414 (clock_getcpuclockid): Do not expect.
31415 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31416 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31417 Do not expect.
31418 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31419 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31420 [UNIX98] (vwscanf): Likewise.
31421 [UNIX98] (vswscanf): Likewise.
31422
fb1ae1ee
JM
314232012-11-09 Joseph Myers <joseph@codesourcery.com>
31424
9ec6f8bd
JM
31425 * timezone/version.h: Remove file.
31426 * timezone/README: Do not refer to version.h.
31427 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31428 $(objpfx)version.h.
31429 ($(objpfx)zdump.o): Likewise.
c3f81911 31430 ($(objpfx)version.h): New target.
9ec6f8bd 31431
0aa8f8a1
JM
31432 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31433 2012i.
31434 * timezone/README: Don't mention modification to tzselect.ksh.
31435 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31436 work on unmodified tzselect.ksh. Substitute version numbers in
31437 tzselect.ksh.
31438
4e87147f
JM
31439 * Makefile (format-me): Remove.
31440 (INSTALL): Adjust indentation. Use commands directly instead of
31441 using $(format-me).
31442
8b748aed
JM
31443 * aclocal.m4 (ACX_PKGVERSION): New macro.
31444 (ACX_BUGURL): Likewise.
31445 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31446 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31447 (REPORT_BUGS_TO): Likewise.
31448 * configure: Regenerated.
31449 * config.h.in (PKGVERSION): New macro.
31450 (REPORT_BUGS_TO): Likewise.
31451 * config.make.in (PKGVERSION): New variable.
31452 (PKGVERSION_TEXI): Likewise.
31453 (REPORT_BUGS_TO): Likewise.
31454 (REPORT_BUGS_TEXI): Likewise.
31455 * Makefile (format-me): Use -I$(common-objpfx)manual.
31456 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31457 ($(common-objpfx)manual/%): New target.
31458 (manual/%): Remove target.
31459 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31460 (print_version): Use PKGVERSION.
31461 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31462 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31463 and REPORT_BUGS_TO.
31464 ($(objpfx)xtrace): Likewise.
31465 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31466 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31467 (print_version): Use PKGVERSION.
31468 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31469 (do_version): Use PKGVERSION.
31470 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31471 REPORT_BUGS_TO.
31472 (common-ldd-rewrite): Likewise.
31473 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31474 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31475 (print_version): Use PKGVERSION.
31476 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31477 * elf/pldd.c (argp_program_bug_address): Remove variable.
31478 (more_help): New function.
31479 (argp): Use more_help.
31480 (print_version): Use PKGVERSION.
31481 * elf/sln.c (main): Use PKGVERSION.
31482 (usage): Use REPORT_BUGS_TO.
31483 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31484 (top level): Use PKGVERSION.
31485 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31486 (print_version): Use PKGVERSION.
31487 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31488 (print_version): Use PKGVERSION.
31489 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31490 (print_version): Use PKGVERSION.
31491 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31492 (print_version): Use PKGVERSION.
31493 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31494 (print_version): Use PKGVERSION.
31495 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31496 (print_version): Use PKGVERSION.
31497 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31498 and BUGURL.
31499 ($(objpfx)memusage): Likewise.
31500 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31501 (do_version): Use PKGVERSION.
31502 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31503 (print_version): Use PKGVERSION.
31504 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31505 ($PKGVERSION): New variable.
31506 ($REPORT_BUGS_TO): Likewise.
31507 (usage): Use $REPORT_BUGS_TO.
31508 (top level): Use $PKGVERSION.
31509 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31510 ($(objpfx)pkgvers.texi): New rule.
31511 ($(objpfx)stamp-pkgvers): Likewise.
31512 * manual/install.texi: Include pkgvers.texi.
31513 (--with-pkgversion): Document new configure option.
31514 (--with-bugurl): Likewise.
31515 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31516 than necessarily for this particular distribution. Use
31517 REPORT_BUGS_TO for where to report bugs.
31518 * INSTALL: Regenerated.
31519 * manual/libc.texinfo: Include pkgvers.texi.
31520 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31521 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31522 (print_version): Use PKGVERSION.
31523 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31524 (print_version): Use PKGVERSION.
31525 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31526 (print_version): Use PKGVERSION.
31527 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31528 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31529 macro.
31530 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31531 (print_version): Use PKGVERSION.
31532 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31533 (print_version): Use PKGVERSION.
31534 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31535 and PKGVERSION.
31536
92e4b6a9
JM
31537 * timezone/checktab.awk: Update from tzcode 2012i.
31538 * timezone/ialloc.c: Likewise.
31539 * timezone/private.h: Likewise.
31540 * timezone/scheck.c: Likewise.
31541 * timezone/tzfile.h: Likewise.
31542 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31543 (TZVERSION): Hardcode tzcode version number.
31544 * timezone/zdump.c: Update from tzcode 2012i.
31545 * timezone/zic.c: Likewise.
31546 * timezone/version.h: New file.
31547 * timezone/README: Describe version.h. Update upstream location.
31548
9bde902c
JM
31549 [BZ #14824]
31550 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31551 (mktemp): Enable declaration.
31552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31556 Likewise.
31557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31558 Likewise.
31559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31560 Likewise.
31561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31562 Likewise.
31563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31564 Likewise.
31565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31566 Likewise.
31567
fb1ae1ee
JM
31568 [BZ #14821]
31569 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31570 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31571 for copies of such integer values.
31572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31574
2c1adbcb
AJ
315752012-11-09 Andreas Jaeger <aj@suse.de>
31576
31577 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31578 definitions and declarations that are provided by
31579 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31580
d0f8457e
AK
315812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31582
3a235abb 31583 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31584 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31585 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31586 definition.
31587
57241e26
MS
315882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31589
31590 * elf/elf.h: Update comment before AArch64 relocations.
31591
60e8270d
DM
315922012-11-07 David S. Miller <davem@davemloft.net>
31593
31594 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31596 (__start_context): Declare.
31597 (__makecontext_ret): Delete.
31598 (__makecontext): Hook up __start_context instead of
31599 __makecontext_ret.
31600 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31601 (sysdep_routines): Add __start_context when in stdlib.
31602
0fbb0fbc
JM
316032012-11-07 Joseph Myers <joseph@codesourcery.com>
31604
31605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31606 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31607 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31608 hardcoded "nm".
31609 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31610 (READELF): New variable. Use it instead of hardcoded "readelf".
31611
eb48db7e
L
316122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31613
31614 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31615 * sysdeps/x86/Makefile: Here.
31616 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31617 * sysdeps/x86/tst-xmmymm.sh: This.
31618
05bcf62a
JM
316192012-11-07 Joseph Myers <joseph@codesourcery.com>
31620
c4b6cf53
JM
31621 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31622 expectations.
31623 [UNIX98] (pthread_barrier_t): Do not expect.
31624 [UNIX98] (pthread_barrierattr_t): Likewise.
31625 [UNIX98] (pthread_spinlock_t): Likewise.
31626 [UNIX98] (pthread_barrier_destroy): Likewise.
31627 [UNIX98] (pthread_barrier_init): Likewise.
31628 [UNIX98] (pthread_barrier_wait): Likewise.
31629 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31630 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31631 [UNIX98] (pthread_barrierattr_init): Likewise.
31632 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31633 [UNIX98] (pthread_getcpuclockid): Likewise.
31634 [UNIX98] (pthread_mutex_timedlock): Likewise.
31635 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31636 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31637 [UNIX98] (pthread_sigmask): Likewise.
31638 [UNIX98] (pthread_spin_destroy): Likewise.
31639 [UNIX98] (pthread_spin_init): Likewise.
31640 [UNIX98] (pthread_spin_lock): Likewise.
31641 [UNIX98] (pthread_spin_trylock): Likewise.
31642 [UNIX98] (pthread_spin_unlock): Likewise.
31643 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31644 Do not expect.
31645 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31646 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31647 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31648 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31649 [XPG3 || XPG4] (pthread_key_t): Likewise.
31650 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31651 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31652 [XPG3 || XPG4] (pthread_once_t): Likewise.
31653 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31654 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31655 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31656 [XPG3 || XPG4] (pthread_t): Likewise.
31657
cbe6e120
JM
31658 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31659 not expect.
31660 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31661
1b126443
JM
31662 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31663 Change function return type to int.
31664
b961a573
JM
31665 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31666 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31667 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31668 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31669 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31670 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31671 [!POSIX] (posix_madvise): Likewise.
31672 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31673 && !UNIX98].
31674 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31675 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31676 (mode_t): Likewise.
31677 (posix_mem_offset): Likewise.
31678 (posix_typed_mem_get_info): Likewise.
31679 (posix_typed_mem_open): Likewise.
31680
9e188909
JM
31681 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31682 Change condition to [XOPEN2K8].
31683
05bcf62a
JM
31684 * conform/conformtest.pl: Preprocess allow-header data with -x c
31685 instead of from stdin.
31686 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31687 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31688 [C99-based standards] (cerfc): Likewise.
31689 [C99-based standards] (cexp2): Likewise.
31690 [C99-based standards] (cexpm1): Likewise.
31691 [C99-based standards] (clog10): Likewise.
31692 [C99-based standards] (clog1p): Likewise.
31693 [C99-based standards] (clog2): Likewise.
31694 [C99-based standards] (clgamma): Likewise.
31695 [C99-based standards] (ctgamma): Likewise.
31696 [C99-based standards] (cerff): Likewise.
31697 [C99-based standards] (cerfcf): Likewise.
31698 [C99-based standards] (cexp2f): Likewise.
31699 [C99-based standards] (cexpm1f): Likewise.
31700 [C99-based standards] (clog10f): Likewise.
31701 [C99-based standards] (clog1pf): Likewise.
31702 [C99-based standards] (clog2f): Likewise.
31703 [C99-based standards] (clgammaf): Likewise.
31704 [C99-based standards] (ctgammaf): Likewise.
31705 [C99-based standards] (cerfl): Likewise.
31706 [C99-based standards] (cerfcl): Likewise.
31707 [C99-based standards] (cexp2l): Likewise.
31708 [C99-based standards] (cexpm1l): Likewise.
31709 [C99-based standards] (clog10l): Likewise.
31710 [C99-based standards] (clog1pl): Likewise.
31711 [C99-based standards] (clog2l): Likewise.
31712 [C99-based standards] (clgammal): Likewise.
31713 [C99-based standards] (ctgammal): Likewise.
31714 * conform/data/inttypes.h-data [C99-based standards]: Include
31715 stdint.h-data. Remove all expectations for stdint.h contents.
31716 [C99-based standards] (PRI*): Do not allow.
31717 [C99-based standards] (SCN*): Likewise.
31718 [C99-based standards] (*_t): Likewise.
31719 [C99-based-standards] (PRId8): Expect macro.
31720 [C99-based-standards] (PRIi8): Likewise.
31721 [C99-based-standards] (PRIo8): Likewise.
31722 [C99-based-standards] (PRIu8): Likewise.
31723 [C99-based-standards] (PRIx8): Likewise.
31724 [C99-based-standards] (PRIX8): Likewise.
31725 [C99-based-standards] (SCNd8): Likewise.
31726 [C99-based-standards] (SCNi8): Likewise.
31727 [C99-based-standards] (SCNo8): Likewise.
31728 [C99-based-standards] (SCNu8): Likewise.
31729 [C99-based-standards] (SCNx8): Likewise.
31730 [C99-based-standards] (PRIdLEAST8): Likewise.
31731 [C99-based-standards] (PRIiLEAST8): Likewise.
31732 [C99-based-standards] (PRIoLEAST8): Likewise.
31733 [C99-based-standards] (PRIuLEAST8): Likewise.
31734 [C99-based-standards] (PRIxLEAST8): Likewise.
31735 [C99-based-standards] (PRIXLEAST8): Likewise.
31736 [C99-based-standards] (SCNdLEAST8): Likewise.
31737 [C99-based-standards] (SCNiLEAST8): Likewise.
31738 [C99-based-standards] (SCNoLEAST8): Likewise.
31739 [C99-based-standards] (SCNuLEAST8): Likewise.
31740 [C99-based-standards] (SCNxLEAST8): Likewise.
31741 [C99-based-standards] (PRIdFAST8): Likewise.
31742 [C99-based-standards] (PRIiFAST8): Likewise.
31743 [C99-based-standards] (PRIoFAST8): Likewise.
31744 [C99-based-standards] (PRIuFAST8): Likewise.
31745 [C99-based-standards] (PRIxFAST8): Likewise.
31746 [C99-based-standards] (PRIXFAST8): Likewise.
31747 [C99-based-standards] (SCNdFAST8): Likewise.
31748 [C99-based-standards] (SCNiFAST8): Likewise.
31749 [C99-based-standards] (SCNoFAST8): Likewise.
31750 [C99-based-standards] (SCNuFAST8): Likewise.
31751 [C99-based-standards] (SCNxFAST8): Likewise.
31752 [C99-based-standards] (PRId16): Likewise.
31753 [C99-based-standards] (PRIi16): Likewise.
31754 [C99-based-standards] (PRIo16): Likewise.
31755 [C99-based-standards] (PRIu16): Likewise.
31756 [C99-based-standards] (PRIx16): Likewise.
31757 [C99-based-standards] (PRIX16): Likewise.
31758 [C99-based-standards] (SCNd16): Likewise.
31759 [C99-based-standards] (SCNi16): Likewise.
31760 [C99-based-standards] (SCNo16): Likewise.
31761 [C99-based-standards] (SCNu16): Likewise.
31762 [C99-based-standards] (SCNx16): Likewise.
31763 [C99-based-standards] (PRIdLEAST16): Likewise.
31764 [C99-based-standards] (PRIiLEAST16): Likewise.
31765 [C99-based-standards] (PRIoLEAST16): Likewise.
31766 [C99-based-standards] (PRIuLEAST16): Likewise.
31767 [C99-based-standards] (PRIxLEAST16): Likewise.
31768 [C99-based-standards] (PRIXLEAST16): Likewise.
31769 [C99-based-standards] (SCNdLEAST16): Likewise.
31770 [C99-based-standards] (SCNiLEAST16): Likewise.
31771 [C99-based-standards] (SCNoLEAST16): Likewise.
31772 [C99-based-standards] (SCNuLEAST16): Likewise.
31773 [C99-based-standards] (SCNxLEAST16): Likewise.
31774 [C99-based-standards] (PRIdFAST16): Likewise.
31775 [C99-based-standards] (PRIiFAST16): Likewise.
31776 [C99-based-standards] (PRIoFAST16): Likewise.
31777 [C99-based-standards] (PRIuFAST16): Likewise.
31778 [C99-based-standards] (PRIxFAST16): Likewise.
31779 [C99-based-standards] (PRIXFAST16): Likewise.
31780 [C99-based-standards] (SCNdFAST16): Likewise.
31781 [C99-based-standards] (SCNiFAST16): Likewise.
31782 [C99-based-standards] (SCNoFAST16): Likewise.
31783 [C99-based-standards] (SCNuFAST16): Likewise.
31784 [C99-based-standards] (SCNxFAST16): Likewise.
31785 [C99-based-standards] (PRId32): Likewise.
31786 [C99-based-standards] (PRIi32): Likewise.
31787 [C99-based-standards] (PRIo32): Likewise.
31788 [C99-based-standards] (PRIu32): Likewise.
31789 [C99-based-standards] (PRIx32): Likewise.
31790 [C99-based-standards] (PRIX32): Likewise.
31791 [C99-based-standards] (SCNd32): Likewise.
31792 [C99-based-standards] (SCNi32): Likewise.
31793 [C99-based-standards] (SCNo32): Likewise.
31794 [C99-based-standards] (SCNu32): Likewise.
31795 [C99-based-standards] (SCNx32): Likewise.
31796 [C99-based-standards] (PRIdLEAST32): Likewise.
31797 [C99-based-standards] (PRIiLEAST32): Likewise.
31798 [C99-based-standards] (PRIoLEAST32): Likewise.
31799 [C99-based-standards] (PRIuLEAST32): Likewise.
31800 [C99-based-standards] (PRIxLEAST32): Likewise.
31801 [C99-based-standards] (PRIXLEAST32): Likewise.
31802 [C99-based-standards] (SCNdLEAST32): Likewise.
31803 [C99-based-standards] (SCNiLEAST32): Likewise.
31804 [C99-based-standards] (SCNoLEAST32): Likewise.
31805 [C99-based-standards] (SCNuLEAST32): Likewise.
31806 [C99-based-standards] (SCNxLEAST32): Likewise.
31807 [C99-based-standards] (PRIdFAST32): Likewise.
31808 [C99-based-standards] (PRIiFAST32): Likewise.
31809 [C99-based-standards] (PRIoFAST32): Likewise.
31810 [C99-based-standards] (PRIuFAST32): Likewise.
31811 [C99-based-standards] (PRIxFAST32): Likewise.
31812 [C99-based-standards] (PRIXFAST32): Likewise.
31813 [C99-based-standards] (SCNdFAST32): Likewise.
31814 [C99-based-standards] (SCNiFAST32): Likewise.
31815 [C99-based-standards] (SCNoFAST32): Likewise.
31816 [C99-based-standards] (SCNuFAST32): Likewise.
31817 [C99-based-standards] (SCNxFAST32): Likewise.
31818 [C99-based-standards] (PRId64): Likewise.
31819 [C99-based-standards] (PRIi64): Likewise.
31820 [C99-based-standards] (PRIo64): Likewise.
31821 [C99-based-standards] (PRIu64): Likewise.
31822 [C99-based-standards] (PRIx64): Likewise.
31823 [C99-based-standards] (PRIX64): Likewise.
31824 [C99-based-standards] (SCNd64): Likewise.
31825 [C99-based-standards] (SCNi64): Likewise.
31826 [C99-based-standards] (SCNo64): Likewise.
31827 [C99-based-standards] (SCNu64): Likewise.
31828 [C99-based-standards] (SCNx64): Likewise.
31829 [C99-based-standards] (PRIdLEAST64): Likewise.
31830 [C99-based-standards] (PRIiLEAST64): Likewise.
31831 [C99-based-standards] (PRIoLEAST64): Likewise.
31832 [C99-based-standards] (PRIuLEAST64): Likewise.
31833 [C99-based-standards] (PRIxLEAST64): Likewise.
31834 [C99-based-standards] (PRIXLEAST64): Likewise.
31835 [C99-based-standards] (SCNdLEAST64): Likewise.
31836 [C99-based-standards] (SCNiLEAST64): Likewise.
31837 [C99-based-standards] (SCNoLEAST64): Likewise.
31838 [C99-based-standards] (SCNuLEAST64): Likewise.
31839 [C99-based-standards] (SCNxLEAST64): Likewise.
31840 [C99-based-standards] (PRIdFAST64): Likewise.
31841 [C99-based-standards] (PRIiFAST64): Likewise.
31842 [C99-based-standards] (PRIoFAST64): Likewise.
31843 [C99-based-standards] (PRIuFAST64): Likewise.
31844 [C99-based-standards] (PRIxFAST64): Likewise.
31845 [C99-based-standards] (PRIXFAST64): Likewise.
31846 [C99-based-standards] (SCNdFAST64): Likewise.
31847 [C99-based-standards] (SCNiFAST64): Likewise.
31848 [C99-based-standards] (SCNoFAST64): Likewise.
31849 [C99-based-standards] (SCNuFAST64): Likewise.
31850 [C99-based-standards] (SCNxFAST64): Likewise.
31851 [C99-based-standards] (PRIdMAX): Likewise.
31852 [C99-based-standards] (PRIiMAX): Likewise.
31853 [C99-based-standards] (PRIoMAX): Likewise.
31854 [C99-based-standards] (PRIuMAX): Likewise.
31855 [C99-based-standards] (PRIxMAX): Likewise.
31856 [C99-based-standards] (PRIXMAX): Likewise.
31857 [C99-based-standards] (SCNdMAX): Likewise.
31858 [C99-based-standards] (SCNiMAX): Likewise.
31859 [C99-based-standards] (SCNoMAX): Likewise.
31860 [C99-based-standards] (SCNuMAX): Likewise.
31861 [C99-based-standards] (SCNxMAX): Likewise.
31862 [C99-based-standards] (PRIdPTR): Likewise.
31863 [C99-based-standards] (PRIiPTR): Likewise.
31864 [C99-based-standards] (PRIoPTR): Likewise.
31865 [C99-based-standards] (PRIuPTR): Likewise.
31866 [C99-based-standards] (PRIxPTR): Likewise.
31867 [C99-based-standards] (PRIXPTR): Likewise.
31868 [C99-based-standards] (SCNdPTR): Likewise.
31869 [C99-based-standards] (SCNiPTR): Likewise.
31870 [C99-based-standards] (SCNoPTR): Likewise.
31871 [C99-based-standards] (SCNuPTR): Likewise.
31872 [C99-based-standards] (SCNxPTR): Likewise.
31873 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31874 allow.
31875 * conform/data/stdint.h-data: Update comments to clarify
31876 requirements.
31877 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31878 type.
31879 [C99-based standards] (INT8_MAX): Likewise.
31880 [C99-based standards] (INT16_MIN): Likewise.
31881 [C99-based standards] (INT16_MAX): Likewise.
31882 [C99-based standards] (INT32_MIN): Likewise.
31883 [C99-based standards] (INT32_MAX): Likewise.
31884 [C99-based standards] (INT64_MIN): Likewise.
31885 [C99-based standards] (INT64_MAX): Likewise.
31886 [C99-based standards] (UINT8_MAX): Likewise.
31887 [C99-based standards] (UINT16_MAX): Likewise.
31888 [C99-based standards] (UINT32_MAX): Likewise.
31889 [C99-based standards] (UINT64_MAX): Likewise.
31890 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31891 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31892 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31893 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31894 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31895 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31896 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31897 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31898 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31899 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31900 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31901 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31902 [C99-based standards] (INT_FAST8_MIN): Likewise.
31903 [C99-based standards] (INT_FAST8_MAX): Likewise.
31904 [C99-based standards] (INT_FAST16_MIN): Likewise.
31905 [C99-based standards] (INT_FAST16_MAX): Likewise.
31906 [C99-based standards] (INT_FAST32_MIN): Likewise.
31907 [C99-based standards] (INT_FAST32_MAX): Likewise.
31908 [C99-based standards] (INT_FAST64_MIN): Likewise.
31909 [C99-based standards] (INT_FAST64_MAX): Likewise.
31910 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31911 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31912 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31913 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31914 [C99-based standards] (INTPTR_MIN): Likewise.
31915 [C99-based standards] (INTPTR_MAX): Likewise.
31916 [C99-based standards] (UINTPTR_MAX): Likewise.
31917 [C99-based standards] (INTMAX_MIN): Likewise.
31918 [C99-based standards] (INTMAX_MAX): Likewise.
31919 [C99-based standards] (UINTMAX_MAX): Likewise.
31920 [C99-based standards] (PTRDIFF_MIN): Likewise.
31921 [C99-based standards] (PTRDIFF_MAX): Likewise.
31922 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31923 [C99-based standards] (SIZE_MAX): Likewise.
31924 [C99-based standards] (WCHAR_MAX): Likewise.
31925 [C99-based standards] (WINT_MAX): Likewise.
31926 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31927 constraint on value.
31928 [C99-based standards] (WCHAR_MIN): Likewise.
31929 [C99-based standards] (WINT_MIN): Likewise.
31930 [C99-based standards] (*_t): Allow.
31931 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31932 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31933 Include math.h-data and complex.h-data. Remove all expectations
31934 of math.h and complex.h contents.
31935 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31936 at end of line.
31937 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31938 (struct tm): Expect tag.
31939 [C99-based-standards] (wcstof): Expect function.
31940 [C99-based-standards] (wcstold): Likewise.
31941 [C99-based-standards] (wcstoll): Likewise.
31942 [C99-based-standards] (wcstoull): Likewise.
31943 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31944 macro-int-constant. Specify type.
31945 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31946 constraint on value.
31947 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31948 Specify type.
31949 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31950 Specify value.
31951 [ISO C standards]: Do not allow headers.
31952 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31953 wcs[abcdefghijklmnopqrstuvwxyz]*.
31954 [ISO C standards] (*_t): Do not allow.
31955 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31956 Expect function.
31957 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31959 Specify type.
31960 [ISO C standards]: Do not allow headers.
31961 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31962 is[abcdefghijklmnopqrstuvwxyz]*.
31963 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31964 to[abcdefghijklmnopqrstuvwxyz]*.
31965 [ISO C standards] (*_t): Do not allow.
31966 * conform/data/stdalign.h-data: New file.
31967 * conform/data/stdbool.h-data: Likewise.
31968 * conform/data/stdnoreturn.h-data: Likewise.
31969
7514feb8
RM
319702012-11-07 Roland McGrath <roland@hack.frob.com>
31971
31972 [BZ #14815]
31973 * manual/filesys.texi (Directory Entries): Typo fix.
31974 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31975
19b2ecfc
MS
319762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31977
31978 * elf/elf.h (EM_AARCH64): New macro.
31979 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31980 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31981 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31982 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31983 (R_AARCH64_TLSDESC): Likewise.
31984 (NT_ARM_TLS): Likewise.
31985 (NT_ARM_HW_BREAK): Likewise.
31986 (NT_ARM_HW_WATCH): Likewise.
31987
60e235ee
JM
319882012-11-07 Joseph Myers <joseph@codesourcery.com>
31989
31990 [BZ #14811]
31991 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31992 (__ieee754_powl): Saturate nonzero exponents with absolute value
31993 below 0x1p-79 to +/- 0x1p-79.
31994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31995 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31996 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31997 nonzero exponents with absolute value below 0x1p-32 to +/-
31998 0x1p-32.
31999 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32000 (__ieee754_powl): Saturate nonzero exponents with absolute value
32001 below 0x1p-79 to +/- 0x1p-79.
32002 * math/libm-test.inc (pow_test): Add more tests.
32003
0ab234b7
AK
320042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32005
32006 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32007 _dl_s390_cap_flags with kernel. Increase string length.
32008 (_dl_s390_platforms): Add z196 and zEC12.
32009
45832f74
JM
320102012-11-07 Joseph Myers <joseph@codesourcery.com>
32011
32012 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32013 Change XOPEN21K to XOPEN2K.
32014
19218757
MK
320152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32016
32017 * string/memmove.c: Use memcpy when possible.
32018
c5f45721
AJ
320192012-11-06 Andreas Jaeger <aj@suse.de>
32020
32021 * po/eo.po: Update from translation team.
32022
82477c28
JM
320232012-11-06 Joseph Myers <joseph@codesourcery.com>
32024
32025 [BZ #14793]
32026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32027 exponent and small x and y exponents, scale x or y up. Increase
32028 by 2 the exponent used in scaling up.
32029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32031 * math/libm-test.inc (fma_test): Add more tests.
32032 (fma_test_towardzero): Likewise.
32033 (fma_test_downward): Likewise.
32034 (fma_test_upward): Likewise.
32035
99252c8c
JM
320362012-11-05 Joseph Myers <joseph@codesourcery.com>
32037
acfa885f
JM
32038 [BZ #14805]
32039 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32040 fenv_t *.
32041
99252c8c
JM
32042 [BZ #14801]
32043 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32044 namespace for names of struct fields.
32045 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32046 fenv_t fields.
32047 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32048 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32049
d6d98dea
ST
320502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32051
32052 [BZ #3665]
32053 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32054
e10bb107
TS
320552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32056
32057 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32058 PTR_DEMANGLE.
32059
32060 [BZ #5246]
32061 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32062 PTR_DEMANGLE.
32063
a0c2940d
JM
320642012-11-04 Joseph Myers <joseph@codesourcery.com>
32065
32066 [BZ #14797]
32067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32068 definitely overflow as x * y not x * y + z.
32069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32071 * math/libm-test.inc (fma_test): Add more tests.
32072 (fma_test_towardzero): Likewise.
32073 (fma_test_downward): Likewise.
32074 (fma_test_upward): Likewise.
32075
b830319d
TS
320762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32077
32078 [BZ #157]
32079
32080 * include/stub-tag.h: Remove file.
32081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32082 '#include' of it.
32083 * manual/maint.texi (Porting): Don't reference it.
32084 * Makerules ($(objpfx)stubs): Likewise.
32085 * dirent/closedir.c: Don't include <stub-tag.h>.
32086 * dirent/dirfd.c: Likewise.
32087 * dirent/fdopendir.c: Likewise.
32088 * dirent/getdents.c: Likewise.
32089 * dirent/getdents64.c: Likewise.
32090 * dirent/opendir.c: Likewise.
32091 * dirent/readdir.c: Likewise.
32092 * dirent/readdir64.c: Likewise.
32093 * dirent/readdir64_r.c: Likewise.
32094 * dirent/readdir_r.c: Likewise.
32095 * dirent/rewinddir.c: Likewise.
32096 * dirent/seekdir.c: Likewise.
32097 * dirent/telldir.c: Likewise.
32098 * gmon/profil.c: Likewise.
32099 * grp/setgroups.c: Likewise.
32100 * inet/if_index.c: Likewise.
32101 * io/access.c: Likewise.
32102 * io/chdir.c: Likewise.
32103 * io/chmod.c: Likewise.
32104 * io/chown.c: Likewise.
32105 * io/close.c: Likewise.
32106 * io/dup.c: Likewise.
32107 * io/dup2.c: Likewise.
32108 * io/dup3.c: Likewise.
32109 * io/euidaccess.c: Likewise.
32110 * io/faccessat.c: Likewise.
32111 * io/fchdir.c: Likewise.
32112 * io/fchmod.c: Likewise.
32113 * io/fchmodat.c: Likewise.
32114 * io/fchown.c: Likewise.
32115 * io/fchownat.c: Likewise.
32116 * io/fcntl.c: Likewise.
32117 * io/flock.c: Likewise.
32118 * io/fstatfs.c: Likewise.
32119 * io/fstatfs64.c: Likewise.
32120 * io/fstatvfs.c: Likewise.
32121 * io/fstatvfs64.c: Likewise.
32122 * io/futimens.c: Likewise.
32123 * io/fxstat.c: Likewise.
32124 * io/fxstat64.c: Likewise.
32125 * io/fxstatat.c: Likewise.
32126 * io/fxstatat64.c: Likewise.
32127 * io/getcwd.c: Likewise.
32128 * io/isatty.c: Likewise.
32129 * io/lchmod.c: Likewise.
32130 * io/lchown.c: Likewise.
32131 * io/link.c: Likewise.
32132 * io/linkat.c: Likewise.
32133 * io/lseek.c: Likewise.
32134 * io/lseek64.c: Likewise.
32135 * io/lxstat64.c: Likewise.
32136 * io/mkdir.c: Likewise.
32137 * io/mkdirat.c: Likewise.
32138 * io/mkfifo.c: Likewise.
32139 * io/mkfifoat.c: Likewise.
32140 * io/open.c: Likewise.
32141 * io/open64.c: Likewise.
32142 * io/openat.c: Likewise.
32143 * io/openat64.c: Likewise.
32144 * io/pipe.c: Likewise.
32145 * io/pipe2.c: Likewise.
32146 * io/poll.c: Likewise.
32147 * io/posix_fadvise.c: Likewise.
32148 * io/posix_fadvise64.c: Likewise.
32149 * io/posix_fallocate.c: Likewise.
32150 * io/posix_fallocate64.c: Likewise.
32151 * io/read.c: Likewise.
32152 * io/readlink.c: Likewise.
32153 * io/readlinkat.c: Likewise.
32154 * io/rmdir.c: Likewise.
32155 * io/sendfile.c: Likewise.
32156 * io/sendfile64.c: Likewise.
32157 * io/statfs.c: Likewise.
32158 * io/statfs64.c: Likewise.
32159 * io/statvfs.c: Likewise.
32160 * io/statvfs64.c: Likewise.
32161 * io/symlink.c: Likewise.
32162 * io/symlinkat.c: Likewise.
32163 * io/ttyname.c: Likewise.
32164 * io/ttyname_r.c: Likewise.
32165 * io/umask.c: Likewise.
32166 * io/unlink.c: Likewise.
32167 * io/unlinkat.c: Likewise.
32168 * io/utime.c: Likewise.
32169 * io/utimensat.c: Likewise.
32170 * io/write.c: Likewise.
32171 * io/xmknod.c: Likewise.
32172 * io/xmknodat.c: Likewise.
32173 * io/xstat.c: Likewise.
32174 * io/xstat64.c: Likewise.
32175 * login/getpt.c: Likewise.
32176 * login/grantpt.c: Likewise.
32177 * login/unlockpt.c: Likewise.
32178 * math/e_acoshl.c: Likewise.
32179 * math/e_acosl.c: Likewise.
32180 * math/e_asinl.c: Likewise.
32181 * math/e_atan2l.c: Likewise.
32182 * math/e_atanhl.c: Likewise.
32183 * math/e_coshl.c: Likewise.
32184 * math/e_expl.c: Likewise.
32185 * math/e_fmodl.c: Likewise.
32186 * math/e_gammal_r.c: Likewise.
32187 * math/e_hypotl.c: Likewise.
32188 * math/e_j0l.c: Likewise.
32189 * math/e_j1l.c: Likewise.
32190 * math/e_jnl.c: Likewise.
32191 * math/e_lgammal_r.c: Likewise.
32192 * math/e_log10l.c: Likewise.
32193 * math/e_log2l.c: Likewise.
32194 * math/e_logl.c: Likewise.
32195 * math/e_powl.c: Likewise.
32196 * math/e_rem_pio2l.c: Likewise.
32197 * math/e_sinhl.c: Likewise.
32198 * math/e_sqrtl.c: Likewise.
32199 * math/fclrexcpt.c: Likewise.
32200 * math/fedisblxcpt.c: Likewise.
32201 * math/feenablxcpt.c: Likewise.
32202 * math/fegetenv.c: Likewise.
32203 * math/fegetexcept.c: Likewise.
32204 * math/fegetround.c: Likewise.
32205 * math/feholdexcpt.c: Likewise.
32206 * math/fesetenv.c: Likewise.
32207 * math/fesetround.c: Likewise.
32208 * math/feupdateenv.c: Likewise.
32209 * math/fgetexcptflg.c: Likewise.
32210 * math/fraiseexcpt.c: Likewise.
32211 * math/fsetexcptflg.c: Likewise.
32212 * math/ftestexcept.c: Likewise.
32213 * math/k_cosl.c: Likewise.
32214 * math/k_rem_pio2l.c: Likewise.
32215 * math/k_sinl.c: Likewise.
32216 * math/k_tanl.c: Likewise.
32217 * math/s_asinhl.c: Likewise.
32218 * math/s_atanl.c: Likewise.
32219 * math/s_cbrtl.c: Likewise.
32220 * math/s_erfl.c: Likewise.
32221 * math/s_expm1l.c: Likewise.
32222 * math/s_log1pl.c: Likewise.
32223 * math/s_tanhl.c: Likewise.
32224 * misc/acct.c: Likewise.
32225 * misc/brk.c: Likewise.
32226 * misc/chflags.c: Likewise.
32227 * misc/chroot.c: Likewise.
32228 * misc/fchflags.c: Likewise.
32229 * misc/fgetxattr.c: Likewise.
32230 * misc/flistxattr.c: Likewise.
32231 * misc/fremovexattr.c: Likewise.
32232 * misc/fsetxattr.c: Likewise.
32233 * misc/fsync.c: Likewise.
32234 * misc/ftruncate.c: Likewise.
32235 * misc/futimes.c: Likewise.
32236 * misc/futimesat.c: Likewise.
32237 * misc/getdomain.c: Likewise.
32238 * misc/getdtsz.c: Likewise.
32239 * misc/gethostid.c: Likewise.
32240 * misc/gethostname.c: Likewise.
32241 * misc/getloadavg.c: Likewise.
32242 * misc/getpagesize.c: Likewise.
32243 * misc/getsysstats.c: Likewise.
32244 * misc/getxattr.c: Likewise.
32245 * misc/gtty.c: Likewise.
32246 * misc/ioctl.c: Likewise.
32247 * misc/lgetxattr.c: Likewise.
32248 * misc/listxattr.c: Likewise.
32249 * misc/llistxattr.c: Likewise.
32250 * misc/lremovexattr.c: Likewise.
32251 * misc/lsetxattr.c: Likewise.
32252 * misc/lutimes.c: Likewise.
32253 * misc/madvise.c: Likewise.
32254 * misc/mincore.c: Likewise.
32255 * misc/mlock.c: Likewise.
32256 * misc/mlockall.c: Likewise.
32257 * misc/mmap.c: Likewise.
32258 * misc/mprotect.c: Likewise.
32259 * misc/msync.c: Likewise.
32260 * misc/munlock.c: Likewise.
32261 * misc/munlockall.c: Likewise.
32262 * misc/munmap.c: Likewise.
32263 * misc/preadv.c: Likewise.
32264 * misc/preadv64.c: Likewise.
32265 * misc/ptrace.c: Likewise.
32266 * misc/pwritev.c: Likewise.
32267 * misc/pwritev64.c: Likewise.
32268 * misc/readv.c: Likewise.
32269 * misc/reboot.c: Likewise.
32270 * misc/remap_file_pages.c: Likewise.
32271 * misc/removexattr.c: Likewise.
32272 * misc/revoke.c: Likewise.
32273 * misc/select.c: Likewise.
32274 * misc/setdomain.c: Likewise.
32275 * misc/setegid.c: Likewise.
32276 * misc/seteuid.c: Likewise.
32277 * misc/sethostid.c: Likewise.
32278 * misc/sethostname.c: Likewise.
32279 * misc/setregid.c: Likewise.
32280 * misc/setreuid.c: Likewise.
32281 * misc/setxattr.c: Likewise.
32282 * misc/sstk.c: Likewise.
32283 * misc/stty.c: Likewise.
32284 * misc/swapoff.c: Likewise.
32285 * misc/swapon.c: Likewise.
32286 * misc/sync.c: Likewise.
32287 * misc/syncfs.c: Likewise.
32288 * misc/syscall.c: Likewise.
32289 * misc/truncate.c: Likewise.
32290 * misc/ualarm.c: Likewise.
32291 * misc/usleep.c: Likewise.
32292 * misc/ustat.c: Likewise.
32293 * misc/utimes.c: Likewise.
32294 * misc/vhangup.c: Likewise.
32295 * misc/writev.c: Likewise.
32296 * posix/_exit.c: Likewise.
32297 * posix/alarm.c: Likewise.
32298 * posix/execve.c: Likewise.
32299 * posix/fexecve.c: Likewise.
32300 * posix/fork.c: Likewise.
32301 * posix/fpathconf.c: Likewise.
32302 * posix/getaddrinfo.c: Likewise.
32303 * posix/getegid.c: Likewise.
32304 * posix/geteuid.c: Likewise.
32305 * posix/getgid.c: Likewise.
32306 * posix/getgroups.c: Likewise.
32307 * posix/getlogin.c: Likewise.
32308 * posix/getlogin_r.c: Likewise.
32309 * posix/getpgid.c: Likewise.
32310 * posix/getpid.c: Likewise.
32311 * posix/getppid.c: Likewise.
32312 * posix/getresgid.c: Likewise.
32313 * posix/getresuid.c: Likewise.
32314 * posix/getsid.c: Likewise.
32315 * posix/getuid.c: Likewise.
32316 * posix/glob64.c: Likewise.
32317 * posix/nanosleep.c: Likewise.
32318 * posix/pathconf.c: Likewise.
32319 * posix/pause.c: Likewise.
32320 * posix/posix_madvise.c: Likewise.
32321 * posix/pread.c: Likewise.
32322 * posix/pread64.c: Likewise.
32323 * posix/pwrite.c: Likewise.
32324 * posix/pwrite64.c: Likewise.
32325 * posix/sched_getaffinity.c: Likewise.
32326 * posix/sched_getp.c: Likewise.
32327 * posix/sched_gets.c: Likewise.
32328 * posix/sched_primax.c: Likewise.
32329 * posix/sched_primin.c: Likewise.
32330 * posix/sched_rr_gi.c: Likewise.
32331 * posix/sched_setaffinity.c: Likewise.
32332 * posix/sched_setp.c: Likewise.
32333 * posix/sched_sets.c: Likewise.
32334 * posix/sched_yield.c: Likewise.
32335 * posix/setgid.c: Likewise.
32336 * posix/setlogin.c: Likewise.
32337 * posix/setpgid.c: Likewise.
32338 * posix/setresgid.c: Likewise.
32339 * posix/setresuid.c: Likewise.
32340 * posix/setsid.c: Likewise.
32341 * posix/setuid.c: Likewise.
32342 * posix/sleep.c: Likewise.
32343 * posix/spawni.c: Likewise.
32344 * posix/sysconf.c: Likewise.
32345 * posix/times.c: Likewise.
32346 * posix/wait.c: Likewise.
32347 * posix/wait3.c: Likewise.
32348 * posix/wait4.c: Likewise.
32349 * posix/waitpid.c: Likewise.
32350 * resolv/gai_sigqueue.c: Likewise.
32351 * resource/getpriority.c: Likewise.
32352 * resource/getrlimit.c: Likewise.
32353 * resource/getrusage.c: Likewise.
32354 * resource/nice.c: Likewise.
32355 * resource/setpriority.c: Likewise.
32356 * resource/setrlimit.c: Likewise.
32357 * resource/ulimit.c: Likewise.
32358 * rt/aio_cancel.c: Likewise.
32359 * rt/aio_fsync.c: Likewise.
32360 * rt/aio_read.c: Likewise.
32361 * rt/aio_sigqueue.c: Likewise.
32362 * rt/aio_suspend.c: Likewise.
32363 * rt/aio_write.c: Likewise.
32364 * rt/clock_getres.c: Likewise.
32365 * rt/clock_gettime.c: Likewise.
32366 * rt/clock_nanosleep.c: Likewise.
32367 * rt/clock_settime.c: Likewise.
32368 * rt/lio_listio.c: Likewise.
32369 * rt/mq_close.c: Likewise.
32370 * rt/mq_getattr.c: Likewise.
32371 * rt/mq_notify.c: Likewise.
32372 * rt/mq_open.c: Likewise.
32373 * rt/mq_receive.c: Likewise.
32374 * rt/mq_send.c: Likewise.
32375 * rt/mq_setattr.c: Likewise.
32376 * rt/mq_timedreceive.c: Likewise.
32377 * rt/mq_timedsend.c: Likewise.
32378 * rt/mq_unlink.c: Likewise.
32379 * rt/shm_open.c: Likewise.
32380 * rt/shm_unlink.c: Likewise.
32381 * rt/timer_create.c: Likewise.
32382 * rt/timer_delete.c: Likewise.
32383 * rt/timer_getoverr.c: Likewise.
32384 * rt/timer_gettime.c: Likewise.
32385 * rt/timer_settime.c: Likewise.
32386 * setjmp/__longjmp.c: Likewise.
32387 * setjmp/setjmp.c: Likewise.
32388 * signal/kill.c: Likewise.
32389 * signal/killpg.c: Likewise.
32390 * signal/raise.c: Likewise.
32391 * signal/sigaction.c: Likewise.
32392 * signal/sigaltstack.c: Likewise.
32393 * signal/sigblock.c: Likewise.
32394 * signal/sigignore.c: Likewise.
32395 * signal/sigintr.c: Likewise.
32396 * signal/signal.c: Likewise.
32397 * signal/sigpause.c: Likewise.
32398 * signal/sigpending.c: Likewise.
32399 * signal/sigqueue.c: Likewise.
32400 * signal/sigreturn.c: Likewise.
32401 * signal/sigset.c: Likewise.
32402 * signal/sigsetmask.c: Likewise.
32403 * signal/sigstack.c: Likewise.
32404 * signal/sigsuspend.c: Likewise.
32405 * signal/sigtimedwait.c: Likewise.
32406 * signal/sigvec.c: Likewise.
32407 * signal/sigwait.c: Likewise.
32408 * signal/sigwaitinfo.c: Likewise.
32409 * signal/sysv_signal.c: Likewise.
32410 * socket/accept.c: Likewise.
32411 * socket/accept4.c: Likewise.
32412 * socket/bind.c: Likewise.
32413 * socket/connect.c: Likewise.
32414 * socket/getpeername.c: Likewise.
32415 * socket/getsockname.c: Likewise.
32416 * socket/getsockopt.c: Likewise.
32417 * socket/isfdtype.c: Likewise.
32418 * socket/listen.c: Likewise.
32419 * socket/recv.c: Likewise.
32420 * socket/recvfrom.c: Likewise.
32421 * socket/recvmsg.c: Likewise.
32422 * socket/send.c: Likewise.
32423 * socket/sendmsg.c: Likewise.
32424 * socket/sendto.c: Likewise.
32425 * socket/setsockopt.c: Likewise.
32426 * socket/shutdown.c: Likewise.
32427 * socket/sockatmark.c: Likewise.
32428 * socket/socket.c: Likewise.
32429 * socket/socketpair.c: Likewise.
32430 * stdio-common/ctermid.c: Likewise.
32431 * stdio-common/cuserid.c: Likewise.
32432 * stdio-common/remove.c: Likewise.
32433 * stdio-common/rename.c: Likewise.
32434 * stdio-common/renameat.c: Likewise.
32435 * stdio-common/tempname.c: Likewise.
32436 * stdlib/getcontext.c: Likewise.
32437 * stdlib/makecontext.c: Likewise.
32438 * stdlib/setcontext.c: Likewise.
32439 * stdlib/swapcontext.c: Likewise.
32440 * stdlib/system.c: Likewise.
32441 * streams/fattach.c: Likewise.
32442 * streams/fdetach.c: Likewise.
32443 * streams/getmsg.c: Likewise.
32444 * streams/getpmsg.c: Likewise.
32445 * streams/putmsg.c: Likewise.
32446 * streams/putpmsg.c: Likewise.
32447 * sysdeps/unix/bsd/getpt.c: Likewise.
32448 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32449 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32452 Likewise.
32453 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32455 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32456 * sysvipc/msgctl.c: Likewise.
32457 * sysvipc/msgget.c: Likewise.
32458 * sysvipc/msgrcv.c: Likewise.
32459 * sysvipc/msgsnd.c: Likewise.
32460 * sysvipc/semctl.c: Likewise.
32461 * sysvipc/semget.c: Likewise.
32462 * sysvipc/semop.c: Likewise.
32463 * sysvipc/semtimedop.c: Likewise.
32464 * sysvipc/shmat.c: Likewise.
32465 * sysvipc/shmctl.c: Likewise.
32466 * sysvipc/shmdt.c: Likewise.
32467 * sysvipc/shmget.c: Likewise.
32468 * termios/tcdrain.c: Likewise.
32469 * termios/tcflow.c: Likewise.
32470 * termios/tcflush.c: Likewise.
32471 * termios/tcgetattr.c: Likewise.
32472 * termios/tcgetpgrp.c: Likewise.
32473 * termios/tcsendbrk.c: Likewise.
32474 * termios/tcsetattr.c: Likewise.
32475 * termios/tcsetpgrp.c: Likewise.
32476 * time/adjtime.c: Likewise.
32477 * time/clock.c: Likewise.
32478 * time/getitimer.c: Likewise.
32479 * time/gettimeofday.c: Likewise.
32480 * time/setitimer.c: Likewise.
32481 * time/settimeofday.c: Likewise.
32482 * time/stime.c: Likewise.
32483 * time/time.c: Likewise.
32484
324852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32486
a20492cf
PT
32487 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32488 /usr/old/bin.
32489
72e182e3
PT
32490 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32491 instead of spaces.
32492 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32493
fbeafede
JM
324942012-11-03 Joseph Myers <joseph@codesourcery.com>
32495
5b5b04d6
JM
32496 [BZ #14796]
32497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32498 FE_TONEAREST before applying Dekker multiplication and Knuth
32499 addition. Clear inexact exceptions and check for exact zero
32500 results afterwards.
32501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32504 * math/libm-test.inc (fma_test): Add more tests.
32505 (fma_test_towardzero): Likewise.
32506 (fma_test_downward): Likewise.
32507 (fma_test_upward): Likewise.
32508 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32509 function.
32510 (libc_fesetround): New macro.
32511 (libc_fesetroundf): Likewise.
32512 (libc_fesetroundl): Likewise.
32513 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32514 function.
32515 (libc_fesetround_387): Likewise.
32516 (libc_fesetroundf): New macro.
32517 (libc_fesetround): Likewise.
32518 (libc_fesetroundl): Likewise.
32519 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32520 function.
32521 (libc_fesetroundf): New macro.
32522 (libc_fesetround): Likewise.
32523 (libc_fesetroundl): Likewise.
32524 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32525 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32526 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32527 libm_hidden_ver.
32528 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32529 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32530 libm_hidden_def.
32531 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32532 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32533 libm_hidden_ver.
32534 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32535 libm_hidden_def.
32536
fbeafede
JM
32537 [BZ #3439]
32538 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32539 integer constant usable in #if and use that to give value to enum
32540 constant.
32541 (FE_DIVBYZERO): Likewise.
32542 (FE_UNDERFLOW): Likewise.
32543 (FE_OVERFLOW): Likewise.
32544 (FE_INVALID): Likewise.
32545 (FE_INVALID_SNAN): Likewise.
32546 (FE_INVALID_ISI): Likewise.
32547 (FE_INVALID_IDI): Likewise.
32548 (FE_INVALID_ZDZ): Likewise.
32549 (FE_INVALID_IMZ): Likewise.
32550 (FE_INVALID_COMPARE): Likewise.
32551 (FE_INVALID_SOFTWARE): Likewise.
32552 (FE_INVALID_SQRT): Likewise.
32553 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32554 (FE_TONEAREST): Likewise.
32555 (FE_TOWARDZERO): Likewise.
32556 (FE_UPWARD): Likewise.
32557 (FE_DOWNWARD): Likewise.
32558 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32559 (FE_DIVBYZERO): Likewise.
32560 (FE_OVERFLOW): Likewise.
32561 (FE_UNDERFLOW): Likewise.
32562 (FE_INEXACT): Likewise.
32563 (FE_TONEAREST): Likewise.
32564 (FE_DOWNWARD): Likewise.
32565 (FE_UPWARD): Likewise.
32566 (FE_TOWARDZERO): Likewise.
32567 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32568 (FE_UNDERFLOW): Likewise.
32569 (FE_OVERFLOW): Likewise.
32570 (FE_DIVBYZERO): Likewise.
32571 (FE_INVALID): Likewise.
32572 (FE_TONEAREST): Likewise.
32573 (FE_TOWARDZERO): Likewise.
32574 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32575 (FE_OVERFLOW): Likewise.
32576 (FE_UNDERFLOW): Likewise.
32577 (FE_DIVBYZERO): Likewise.
32578 (FE_INEXACT): Likewise.
32579 (FE_TONEAREST): Likewise.
32580 (FE_TOWARDZERO): Likewise.
32581 (FE_UPWARD): Likewise.
32582 (FE_DOWNWARD): Likewise.
32583 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32584 (FE_DIVBYZERO): Likewise.
32585 (FE_OVERFLOW): Likewise.
32586 (FE_UNDERFLOW): Likewise.
32587 (FE_INEXACT): Likewise.
32588 (FE_TONEAREST): Likewise.
32589 (FE_DOWNWARD): Likewise.
32590 (FE_UPWARD): Likewise.
32591 (FE_TOWARDZERO): Likewise.
32592
105ca950
CM
325932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32594
32595 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32596
a542b389
AS
325972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32598
32599 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32600 commands. Quote $PWD.
32601 (blacklist_exports): Don't use remove_newlines. Replace "declare
32602 -x" by "export".
32603 (remove_newlines): Remove.
32604
f62c8abc
L
326052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32606
32607 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32608 * stdlib/stdlib.h (atof): Moved to ...
32609 * include/bits/stdlib-float.h: Here. New file.
32610 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32611 * stdlib/bits/stdlib-float.h: New file.
32612 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32613 -mno-sse -mno-mmx.
32614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32615 <xmmintrin.h>.
32616
0155d5b2
JM
326172012-11-02 Joseph Myers <joseph@codesourcery.com>
32618
a68d0680
JM
32619 * conform/conformtest.pl (@headers): Add fenv.h.
32620 * conform/data/fenv.h-data: New file.
32621 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32622 include of <math/fenv.h>.
32623
caf7f573
JM
32624 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32625 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32626 && !UNIX98]. Enables tests for XOPEN2K8.
32627 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32628 POSIX2008]: Likewise.
32629
6c073ad6
JM
32630 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32631 (struct rusage): Do not expect type or its members.
32632
0155d5b2
JM
32633 [BZ #3439]
32634 * math/math.h (FP_NAN): Define macro to integer constant usable in
32635 #if and use that to give value to enum constant.
32636 (FP_INFINITE): Likewise.
32637 (FP_ZERO): Likewise.
32638 (FP_SUBNORMAL): Likewise.
32639 (FP_NORMAL): Likewise.
32640
b5dcacb4
AS
326412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32642
32643 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32644 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32645 arguments.
32646
f7934be8
RM
326472012-11-02 Roland McGrath <roland@hack.frob.com>
32648
32649 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32650 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32651 autoconf-time if not.
32652 * configure.in: Remove AC_PREREQ.
32653
d7d08bde
TMQMF
326542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32655
32656 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32657 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32658 of the internal implementation.
32659
dcdae19a
JM
326602012-11-02 Joseph Myers <joseph@codesourcery.com>
32661
32662 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32663 except include of <misc/sys/syslog.h>.
32664
d6cffd3e
AS
326652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32666
32667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32668 function returns with a NULL context exit with zero.
32669
b3563932
TMQMF
326702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32671
32672 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32673
b288a93d
L
326742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32675
32676 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32677 (run_program_cmd): This.
32678 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32679 (tst_langinfo): New variable. Use it.
32680
a2421a68
SAS
326812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32682
32683 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32684 floating point opcodes.
32685
6f796e1b
TS
326862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32687
7402596b
TS
32688 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32689 variable.
32690
d0d4f868
TS
32691 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32692
6f796e1b
TS
32693 * sysdeps/mach/hurd/powerpc: Remove directory.
32694 * sysdeps/mach/powerpc: Likewise.
32695
4da224a2
AS
326962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32697
32698 * scripts/check-local-headers.sh: Ignore c++ headers.
32699
341dd673
TS
327002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32701
32702 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32703 __libc_cleanup_region_start argument.
32704
473611b2
JM
327052012-11-01 Joseph Myers <joseph@codesourcery.com>
32706
32707 [BZ #14784]
32708 [BZ #14785]
32709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32710 x * y using scaling, not as x * y + z.
32711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32713 * math/libm-test.inc (fma_test): Add more tests.
32714 (fma_test_towardzero): Likewise.
32715 (fma_test_downward): Likewise.
32716 (fma_test_upward): Likewise.
32717
4078da3d
TS
327182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32719
32720 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32721
903252aa
JM
327222012-10-31 Joseph Myers <joseph@codesourcery.com>
32723
32724 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32725 New variable.
32726
cbc818d0
TS
327272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32728
32729 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32730
5a03cb1e
AS
327312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32732
32733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32734 Fix sort order.
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32736 Likewise.
32737
90aff2ff
TMQMF
327382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32739
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32741 Fix the order of the list for glibc 2.17.
32742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32743 Likewise.
32744
1818fcb7
AS
327452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32746
32747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32748
ef82f4da
JM
327492012-10-31 Joseph Myers <joseph@codesourcery.com>
32750
16a0e2ec
JM
32751 [BZ #14610]
32752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32753 for low part of x being zero before using __atanl (y).
32754 * math/libm-test.inc (atan2_test): Add another test.
32755
0eb69512
JM
32756 * manual/install.texi (Configuring and compiling): Document
32757 general use of test-wrapper and test-wrapper-env.
32758 * INSTALL: Regenerated.
32759
ef82f4da
JM
32760 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32761 (__fma): Do not extract and scale down low bits on after-rounding
32762 systems when result rounded to normal precision would have normal
32763 exponent.
32764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32765 (__fmal): Do not extract and scale down low bits on after-rounding
32766 systems when result rounded to normal precision would have normal
32767 exponent.
32768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32769 (__fmal): Do not extract and scale down low bits on after-rounding
32770 systems when result rounded to normal precision would have normal
32771 exponent.
32772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32773 macro.
32774 (fma_test): Add more tests.
32775 (fma_test_towardzero): Likewise.
32776 (fma_test_downward): Likewise.
32777 (fma_test_upward): Likewise.
32778
954ef0d9
L
327792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32780
32781 * sysdeps/i386/tininess.h: Renamed to ...
32782 * sysdeps/x86/tininess.h: This.
32783 * sysdeps/x86_64/tininess.h: Removed.
32784
df61ffb2
JM
327852012-10-30 Joseph Myers <joseph@codesourcery.com>
32786
32787 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32788 input. Use $(build-program-cmd).
32789 ($(objpfx)tst-array1-static.out): Likewise.
32790 ($(objpfx)tst-array2.out): Likewise.
32791 ($(objpfx)tst-array3.out): Likewise.
32792 ($(objpfx)tst-array4.out): Likewise.
32793 ($(objpfx)tst-array5.out): Likewise.
32794 ($(objpfx)tst-array5-static.out): Likewise.
32795
01767843
CM
327962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32797
47cc1490
CM
32798 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32799 if defined.
32800
01767843
CM
32801 * nss/nsswitch.h (nss_interface_function): Provide new
32802 macro for use with NSS functions.
32803 * grp/initgroups.c: Use new macro.
32804 * nss/getXXbyYY.c: Likewise.
32805 * nss/getXXbyYY_r.c: Likewise.
32806 * nss/getXXent.c: Likewise.
32807 * nss/getXXent_r.c: Likewise.
32808 * sysdeps/posix/getaddrinfo.c: Likewise.
32809
8321aa97
AJ
328102012-10-30 Andreas Jaeger <aj@suse.de>
32811
32812 * po/ru.po: Update Russion translation from translation project.
32813
2a27fd6d
JM
328142012-10-30 Joseph Myers <joseph@codesourcery.com>
32815
8627a232
JM
32816 [BZ #14152]
32817 [BZ #14783]
32818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32819 result and shift together with sticky bit instead of replicating
32820 round-to-nearest rounding.
32821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32823 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32824 missing underflow exceptions.
32825 (fma_test_towardzero): Add more tests.
32826 (fma_test_downward): Likewise.
32827 (fma_test_upward): Likewise.
32828
2a27fd6d
JM
32829 [BZ #14047]
32830 * sysdeps/generic/tininess.h: New file.
32831 * sysdeps/i386/tininess.h: Likewise.
32832 * sysdeps/sh/tininess.h: Likewise.
32833 * sysdeps/x86_64/tininess.h: Likewise.
32834 * stdlib/tst-strtod-underflow.c: Likewise.
32835 * stdlib/tst-tininess.c: Likewise.
32836 * stdlib/strtod_l.c: Include <tininess.h>.
32837 (round_and_return): Do not set errno for exact underflow cases.
32838 Force an underflow exception when setting errno for underflow.
32839 Determine underflow based on rounding to normal precision if
32840 TININESS_AFTER_ROUNDING.
32841 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32842 ERANGE for exact underflow cases.
32843 * stdlib/Makefile (tests): Add tst-tininess and
32844 tst-strtod-underflow.
32845 ($(objpfx)tst-tininess): Use $(link-libm).
32846 ($(objpfx)tst-strtod-underflow): Likewise.
32847
e7170363
AJ
328482012-10-30 Andreas Jaeger <aj@suse.de>
32849
e5088dc6
AJ
32850 [BZ#14767]
32851 * elf/Makefile (tests): Remove conditional for have-initfini-array
32852 since this is now always required and the variable does not exist
32853 anymore.
32854 (tests-static): Likewise.
32855 (modules-names): Likewise.
32856
e7170363 32857 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
32858
32859 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32860 merged with constructor/destructor.
32861 (init_array): Likewise.
32862 * elf/tst-array2dep.c (fini_array): Likewise.
32863 (init_array): Likewise.
32864
60457d8a
MF
328652012-10-29 Mike Frysinger <vapier@gentoo.org>
32866
32867 * manual/message.texi: Delete @cartouche tags.
32868
8bece752
PT
328692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32870
94ce799f
PT
32871 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32872 EOPNOTSUPP.
32873 * sysdeps/mach/hurd/fsync.c: Likewise.
32874
8bece752
PT
32875 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32876 [_POSIX_REALTIME_SIGNALS]: Change condition to
32877 [_POSIX_REALTIME_SIGNALS > 0].
32878
86ebe6b1
AJ
328792012-10-27 Andreas Jaeger <aj@suse.de>
32880
32881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32882 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32884 [__WORDSIZE != 64]: Likewise.
32885
54399c08
L
328862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32887
32888 * iconvdata/tst-table.sh: Remove ${SHELL}.
32889 * iconvdata/tst-tables.sh: Likewise.
32890
e2211bed
DM
328912012-10-25 David S. Miller <davem@davemloft.net>
32892
32893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32894 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32895 of strtoull.
32896
f303f97c
DM
32897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32898 ifunc-impl-list.c
32899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32900 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32901 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32902 file.
32903
1e9d84cd
RM
329042012-10-25 Roland McGrath <roland@hack.frob.com>
32905
32906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32907 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32908 __getdirentries.
32909
df381762
JM
329102012-10-25 Joseph Myers <joseph@codesourcery.com>
32911 Jim Blandy <jimb@codesourcery.com>
32912
32913 * scripts/cross-test-ssh.sh: New file.
32914 * manual/install.texi (Configuring and compiling): Document use of
32915 cross-test-ssh.sh.
32916 * INSTALL: Regenerated.
32917
bff64913
PT
329182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32919
32920 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32921 EOPNOTSUPP.
32922
25fe8932
JM
329232012-10-25 Joseph Myers <joseph@codesourcery.com>
32924
32925 * Makeconfig (run-program-prefix): Fix comment.
32926
cc1290d0
JM
329272012-10-24 Joseph Myers <joseph@codesourcery.com>
32928 Jim Blandy <jimb@codesourcery.com>
32929
32930 * Makeconfig (test-wrapper): New variable,
32931 (test-wrapper-env): Likewise.
32932 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32933 (run-built-tests): Define to yes.
32934 (run-program-prefix): Use $(test-wrapper).
32935 (built-program-cmd): Likewise.
32936 * Rules (make-test-out): Use $(test-wrapper-env) and
32937 $(host-built-program-cmd).
32938 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32939 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32940 tst-pathopt.sh.
32941 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32942 $(test-wrapper-env) to tst-rtld-load-self.sh.
32943 ($(objpfx)order2.out): Use $(test-wrapper).
32944 ($(objpfx)tst-initorder.out): Likewise.
32945 ($(objpfx)tst-initorder2.out): Likewise.
32946 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32947 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32948 (test_wrapper_env): New variable. Use it to run ld.so.
32949 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32950 Use it to run ld.so.
32951 (test_wrapper_env): Likewise.
32952 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32953 $(test-wrapper) to run-iconv-test.sh.
32954 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32955 (ICONV): Use $test_wrapper.
32956 * posix/Makefile ($(objpfx)globtest.out): Pass
32957 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32958 globtest.sh, not $(run-program-prefix).
32959 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32960 (test_wrapper): Likewise.
32961 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32962 set together with run_via_rtld_prefix.
32963 (run_program_prefix): Define in terms of test_wrapper and
32964 run_via_rtld_prefix.
32965
6e6249d0
RM
329662012-10-24 Roland McGrath <roland@hack.frob.com>
32967
32968 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32969 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32970 Targets removed.
32971
32972 [BZ #14743]
32973 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32974 Declare __clock_getres, __clock_gettime, __clock_settime,
32975 __clock_nanosleep, and __clock_getcpuclockid.
32976 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32977 Remove librt_hidden_def (clock_gettime).
32978 * sysdeps/unix/clock_gettime.c: Likewise.
32979 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32981 * rt/clock_getres.c: Define __clock_getres as an alias.
32982 * sysdeps/posix/clock_getres.c: Likewise.
32983 * rt/clock_settime.c: Define __clock_settime as an alias.
32984 * sysdeps/unix/clock_settime.c: Likewise.
32985 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32986 * sysdeps/unix/clock_nanosleep.c: Likewise.
32987 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32988 * rt/clock-compat.c: New file.
32989 * rt/Makefile (librt-routines): Add clock-compat and move
32990 $(clock-routines) to ...
32991 (routines): ... here, new variable.
32992 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32993 Don't add get_clockfreq here.
32994 * rt/Versions (libc: GLIBC_2.17): New version set.
32995 Add clock_* symbols here.
32996 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32998 (GLIBC_2.17): Add clock_* symbols.
32999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33003 Likewise.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33005 Likewise.
33006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33010 * NEWS: Mention the move.
33011
33012 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33013 Use __open, __read, __close rather than their public counterparts.
33014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33015 (__get_clockfreq_via_cpuinfo): Likewise.
33016 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33017 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33018
33019 * config.h.in (HAVE_IFUNC): New #undef.
33020 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33021 was successful.
33022 * configure: Regenerated.
33023
0cae3f4b
MF
330242012-10-24 Mike Frysinger <vapier@gentoo.org>
33025
33026 * configure.in: Move READELF check to start of file.
33027 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33028 libc_cv_asm_gnu_indirect_function in the process.
33029 * configure: Regenerated.
33030
8175a253
MF
330312012-10-24 Mike Frysinger <vapier@gentoo.org>
33032
33033 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33034 send the output to /dev/null.
33035 (libc_cv_cc_with_libunwind): Likewise.
33036 (libc_cv_as_noexecstack): Likewise.
33037 * configure: Regenerate.
33038
0708a7d1
JM
330392012-10-24 Joseph Myers <joseph@codesourcery.com>
33040
10b40d85
JM
33041 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33042
0708a7d1
JM
33043 * posix/globtest.sh (TMPDIR): Do not set.
33044 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33045 (testout): Likewise.
33046
9fddec1a
AJ
330472012-10-24 Andreas Jaeger <aj@suse.de>
33048
3a8db22f
AJ
33049 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33050 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33051 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33052 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33053 posix_fadvise64, posix_fallocate64.
33054
9fddec1a
AJ
33055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33056 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33057 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33058 Likewise.
33059 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33060 Likewise.
33061 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33062
33063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33064 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33065 <bits/fcntl-linux.h>.
33066 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33067
33068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33069 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33070 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33071 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33072 [__WORDSIZE != 64]: Likewise.
33073
ebfd1bbd
JM
330742012-10-23 Joseph Myers <joseph@codesourcery.com>
33075
03ac099f
JM
33076 * Makeconfig (run-built-tests): New variable.
33077 * Rules [$(cross-compiling) = yes]: Change condition to
33078 [$(run-built-tests) = no].
33079 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33080 to [$(run-built-tests) = yes].
33081 * elf/Makefile [$(cross-compiling) = no]: Likewise
33082 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33083 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33084 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33085 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33086 * io/Makefile [$(cross-compiling) = no]: Likewise.
33087 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33088 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33089 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33090 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33091 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33092 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33093 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33094 * string/Makefile [$(cross-compiling) = no]: Likewise.
33095
ebfd1bbd
JM
33096 * posix/Makefile ($(objpfx)globtest.out): Pass
33097 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33098 $(rtld-installed-name).
33099 * posix/globtest.sh (elf_objpfx): Remove variable.
33100 (rtld_installed_name): Likewise.
33101 (library_path): Likewise.
33102 (run_program_prefix): New variable. Use for running globtest
33103 binary.
33104
166bca24
JB
331052012-10-23 Jim Blandy <jimb@codesourcery.com>
33106 Joseph Myers <joseph@codesourcery.com>
33107
33108 * Makeconfig (host-built-program-cmd): New variable.
33109 * elf/Makefile (tst-stackguard1-ARGS): Use
33110 $(host-built-program-cmd).
33111 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33112 (tst-spawn-ARGS): Likewise.
33113 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33114
88866099
JM
331152012-10-23 Joseph Myers <joseph@codesourcery.com>
33116 Jim Blandy <jimb@codesourcery.com>
33117
33118 * Makeconfig (run-via-rtld-prefix): New variable.
33119 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33120 (built-program-cmd): Likewise.
33121
b4b4c296
AJ
331222012-10-22 Andreas Jaeger <aj@suse.de>
33123
33124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33125 __O_RSYNC if it exists, otherwise to O_SYNC.
33126
6fb54a22
JB
331272012-10-22 Jim Blandy <jimb@codesourcery.com>
33128 Joseph Myers <joseph@codesourcery.com>
33129
33130 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33131 /dev/null.
33132 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33133 from /dev/null
33134 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33135 /dev/null.
33136
481b90b9
AJ
331372012-10-22 Andreas Jaeger <aj@suse.de>
33138
2a0e2669
AJ
33139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33140 Define always.
33141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33142
76e38f9a
AJ
33143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33144 bits/fcntl-linux.h.
33145
7cd37b43
AJ
33146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33147 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33148
481b90b9
AJ
33149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33150 to __O_LARGEFILE.
33151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33152 to __O_LARGEFILE.
33153
aba75984
JB
331542012-10-21 Jim Blandy <jimb@codesourcery.com>
33155 Joseph Myers <joseph@codesourcery.com>
33156
33157 * config.make.in (NM): New variable.
33158
88d4247f
AJ
331592012-10-21 Andreas Jaeger <aj@suse.de>
33160
33161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33162 definitions and declarations that are provided by
33163 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33164
f2eed205
L
331652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33166
33167 [BZ #14683]
33168 * elf/Makefile (tests-static): Add tst-leaks1-static.
33169 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33170 ($(objpfx)tst-leaks1-static): New rule.
33171 ($(objpfx)tst-leaks1-static-mem): Likewise.
33172 (tst-leaks1-static-ENV): New macro.
33173 * elf/dl-open.c (dl_open_worker): Check the main application
33174 only if SHARED is defined.
33175 * elf/tst-leaks1-static.c: New file.
33176
335e6931
AJ
331772012-10-20 Andreas Jaeger <aj@suse.de>
33178
33179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33180 generic values for Linux.
33181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33182 and declarations that are provided by <bits/fcntl-linux.h> and
33183 include <bits/fcntl-linux.h>.
33184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33186
ac5c94d3
RM
331872012-10-20 Roland McGrath <roland@hack.frob.com>
33188
33189 * io/fcntl.h: Move include of <bits/types.h> to the top and
33190 include it unconditionally.
33191
de54b33a
L
331922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33193
228cfb01
L
33194 * wcsmbs/Makefile (tests-ifunc): New variable.
33195 (tests): Add $(tests-ifunc).
33196 * wcsmbs/test-wcschr-ifunc.c: New file.
33197 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33198 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33199 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33200 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33201 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33202
69f07e5f
L
33203 * string/Makefile (tests-ifunc): New variable.
33204 (tests): Add $(tests-ifunc).
33205 * string/test-memccpy.c (TEST_NAME): New macro.
33206 * string/test-memchr.c (TEST_NAME): Likewise.
33207 * string/test-memcmp.c (TEST_NAME): Likewise.
33208 * string/test-memcpy.c (TEST_NAME): Likewise.
33209 * string/test-memmem.c (TEST_NAME): Likewise.
33210 * string/test-memmove.c (TEST_NAME): Likewise.
33211 * string/test-memset.c (TEST_NAME): Likewise.
33212 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33213 * string/test-stpcpy.c (TEST_NAME): Likewise.
33214 * string/test-stpncpy.c (TEST_NAME): Likewise.
33215 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33216 * string/test-strcasestr.c (TEST_NAME): Likewise.
33217 * string/test-strcat.c (TEST_NAME): Likewise.
33218 * string/test-strchr.c (TEST_NAME): Likewise.
33219 * string/test-strcmp.c(TEST_NAME): Likewise.
33220 * string/test-strcpy.c (TEST_NAME): Likewise.
33221 * string/test-strcspn.c (TEST_NAME): Likewise.
33222 * string/test-strlen.c (TEST_NAME): Likewise.
33223 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33224 * string/test-strncmp.c (TEST_NAME): Likewise.
33225 * string/test-strncpy.c (TEST_NAME): Likewise.
33226 * string/test-strnlen.c (TEST_NAME): Likewise.
33227 * string/test-strpbrk.c (TEST_NAME): Likewise.
33228 * string/test-strrchr.c (TEST_NAME): Likewise.
33229 * string/test-strspn.c (TEST_NAME): Likewise.
33230 * string/test-strstr.c (TEST_NAME): Likewise.
33231 * string/test-bcopy-ifunc.c: New file.
33232 * string/test-bzero-ifunc.c: Likewise.
33233 * string/test-memccpy-ifunc.c: Likewise.
33234 * string/test-memchr-ifunc.c: Likewise.
33235 * string/test-memcmp-ifunc.c: Likewise.
33236 * string/test-memcpy-ifunc.c: Likewise.
33237 * string/test-memmem-ifunc.c: Likewise.
33238 * string/test-memmove-ifunc.c: Likewise.
33239 * string/test-mempcpy-ifunc.c: Likewise.
33240 * string/test-memset-ifunc.c: Likewise.
33241 * string/test-rawmemchr-ifunc.c: Likewise.
33242 * string/test-stpcpy-ifunc.c: Likewise.
33243 * string/test-stpncpy-ifunc.c: Likewise.
33244 * string/test-strcasecmp-ifunc.c: Likewise.
33245 * string/test-strcasestr-ifunc.c: Likewise.
33246 * string/test-strcat-ifunc.c: Likewise.
33247 * string/test-strchr-ifunc.c: Likewise.
33248 * string/test-strchrnul-ifunc.c: Likewise.
33249 * string/test-strcmp-ifunc.c: Likewise.
33250 * string/test-strcpy-ifunc.c: Likewise.
33251 * string/test-strcspn-ifunc.c: Likewise.
33252 * string/test-strlen-ifunc.c: Likewise.
33253 * string/test-strncasecmp-ifunc.c: Likewise.
33254 * string/test-strncat-ifunc.c: Likewise.
33255 * string/test-strncmp-ifunc.c: Likewise.
33256 * string/test-strncpy-ifunc.c: Likewise.
33257 * string/test-strnlen-ifunc.c: Likewise.
33258 * string/test-strpbrk-ifunc.c: Likewise.
33259 * string/test-strrchr-ifunc.c: Likewise.
33260 * string/test-strspn-ifunc.c: Likewise.
33261 * string/test-strstr-ifunc.c: Likewise.
33262
de54b33a
L
33263 * debug/Makefile (tests-ifunc): New variable.
33264 (tests): Add $(tests-ifunc).
33265 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33266 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33267 * debug/test-stpcpy_chk-ifunc.c: New file.
33268 * debug/test-strcpy_chk-ifunc.c: Likewise.
33269
88481c16
SP
332702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33271
33272 [BZ #13601]
33273 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33274 header is not read in.
33275
135948bd
JM
332762012-10-19 Joseph Myers <joseph@codesourcery.com>
33277
89f1c388
JM
33278 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33279 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33280 directly. Pass built executable to script as
33281 $(built-program-cmd).
33282 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33283 $testprogram without using LD_LIBRARY_PATH and $ldso.
33284
e40a0d21
JM
33285 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33286 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33287 $(rtld-installed-name).
33288 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33289 (rtld_installed_name): Likewise.
33290 (library_path): Likewise.
33291 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33292 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33293 $(run-program-prefix) to tst-tables.sh.
33294 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33295 it to run tst-table-from and tst-table-to.
33296 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33297 Pass it to tst-table.sh.
33298 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33299 $(run-program-prefix) to tst-gettext.sh.
33300 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33301 tst-translit.sh.
33302 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33303 tst-gettext2.sh.
33304 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33305 to run tst-gettext.
33306 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33307 to run tst-gettext2.
33308 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33309 to run tst-translit.
33310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33311 $(run-program-prefix) to tst-mtrace.sh.
33312 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33313 to run tst-mtrace.
33314 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33315 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33316 $(rtld-installed-name).
33317 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33318 (rtld_installed_name): Likewise.
33319 (run_program_prefix): New variable. Use it to run wordexp-test.
33320
728e272a
JM
33321 * Makeconfig (ARCH): Remove all definitions.
33322 (machine): Likewise.
33323 [ARCH]: Remove conditional code.
33324 [!objdir]: Give error.
33325 [!objdir] (objpfx): Remove.
33326 [!objdir] (common-objpfx): Likewise.
33327 [!objdir] (common-objdir): Likewise.
33328 * configure.in (config_makefile): Remove. Hardcode Makefile in
33329 AC_CONFIG_FILES call.
33330 * configure: Regenerated.
33331
d528cdcf
JM
33332 [BZ #13888]
33333 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33334 or TMPDIR.
33335 (testout): Likewise.
33336
135948bd
JM
33337 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33338 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33339 $(rtld-installed-name).
33340 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33341 (rtld_installed_name): Likwise.
33342 (runit): Remove function.
33343 (run_getconf): New variable, Use it for running getconf binary.
33344
38c78296
L
333452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33346
33347 [BZ #14716]
33348 * string/test-memmem.c (check_result): New function.
33349 (do_one_test): Use it.
33350 (check1): New function.
33351 (test_main): Use it.
33352
d077f65f
MT
333532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33354
33355 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33356
ced52c71
JM
333572012-10-18 Joseph Myers <joseph@codesourcery.com>
33358
33359 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33360 (_G_LSEEK64): Likewise.
33361 (_G_MMAP64): Likewise.
33362 (_G_FSTAT64): Likewise.
33363 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33364 (_G_LSEEK64): Likewise.
33365 (_G_MMAP64): Likewise.
33366 (_G_FSTAT64): Likewise.
33367 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33368 unconditional. Call __mmap64 directly.
33369 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33370 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33371 __lseek64 directly.
33372 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33373 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33374 __mmap64 directly.
33375 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33376 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33377 __lseek64 directly.
33378 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33379 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33380 __lseek64 directly.
33381 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33382 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33383 __lseek64 directly.
33384 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33385 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33386 __fxstat64 directly.
33387 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33388 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33389 unconditional.
33390 (freopen64) [!_G_OPEN64]: Remove conditional code.
33391 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33392 unconditional.
33393 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33394 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33395 unconditional.
33396 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33397 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33398 unconditional.
33399 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33400 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33401 unconditional.
33402 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33403 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33404 unconditional.
33405 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33406 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33407 unconditional.
33408 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33409 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33410 unconditional.
33411 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33412
b741de23
SP
334132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33414
33415 [BZ #12140]
33416 * manual/memory.texi (Malloc Tunable Parameters): Add note
33417 about free list pointers overwriting some perturb bytes.
33418 Wording suggested by Roland McGrath.
33419
f9b9d9c9
JM
334202012-10-17 Joseph Myers <joseph@codesourcery.com>
33421
33422 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33423 (lgamma_test): Likewise.
33424 (tgamma_test): Likewise.
33425
172a631a
FW
334262012-10-16 Florian Weimer <fweimer@redhat.com>
33427
33428 [BZ #14700]
33429 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33430 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33431
e9f37252
MK
334322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33433
33434 * NEWS: Mention BZ #14716.
33435 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33436 when removing AVAILABLE1_USES_J macro.
33437
d394eb74
L
334382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33439
33440 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33441 (__bswap_64): __uint64_t for unsigned 64-bit int.
33442
ca38dc17
AS
334432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33444
33445 * include/string.h (memmem): Declare libc hidden alias.
33446 * string/memmem.c (memmem): Define libc hidden alias.
33447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33448 __read, __close instead of open, read, close.
33449
9a387d1f
L
334502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33451
ac49ecaf
L
33452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33453 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33454 global and hidden.
33455 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33456 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33457 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33458 Likewise.
33459 (__rawmemchr_sse2): Likewise.
33460 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33461 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33462 (__strchr_sse2): Likewise.
33463 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33464 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33465 (__strcasecmp_sse2): Likewise.
33466 (__strncasecmp_sse2): Likewise.
33467 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33468 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33469 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33470 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33471 (__strrchr_sse2): Likewise.
33472 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33473 ifunc-impl-list.c.
33474 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33475 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33476 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33478 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33480 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33482 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33483 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33484 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33485 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33486 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33487 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33488 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33489 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33490 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33491 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33492 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33493 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33494 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33495 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33496 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33497 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33498 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33500 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33502 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33503 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33504
b090e8ea
L
33505 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33506 global and hidden.
33507 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33508 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33509 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33510 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33511 Likewise.
33512 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33513 Likewise.
33514 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33515 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33516 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33517 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33518 ifunc-impl-list.c.
33519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33532 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33533 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33536 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33537 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33538 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33544 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33545 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33546 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33547 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33549 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33552 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33559 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33560
11dd4af6
L
33561 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33562 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33563 * include/ifunc-impl-list.h: New file.
33564 * misc/ifunc-impl-list.c: Likewise.
33565 * misc/Makefile (routines): Add ifunc-impl-list.
33566 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33567 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33568 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33569 TEST_NAME]: New variables.
11dd4af6
L
33570 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33571 are defined.
33572 (test_init): Call __libc_ifunc_impl_list to initialize
33573 func_list if TEST_IFUNC and TEST_NAME are defined.
33574
9a387d1f
L
33575 * string/Makefile (strop-tests): Add bcopy and bzero.
33576 * string/test-bcopy.c: New file.
33577 * string/test-bzero.c: Likewise.
33578 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33579 defined.
33580 * string/test-memset.c: Support bzero test if TEST_BZERO is
33581 defined.
33582 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33583 __libc_memmove.
33584 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33585 __libc_memset.
33586 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33587 of memset.
33588
472371b9
JM
335892012-10-10 Joseph Myers <joseph@codesourcery.com>
33590
1e4a9536
JM
33591 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33592 * configure: Regenerated.
33593
d173d12e
JM
33594 * Makeconfig (+link-static-before-libc): Don't include
33595 $(link-static-libc).
33596
472371b9
JM
33597 * libio/libio.h (_IO_pos_t): Remove.
33598
89a3ad0b
AO
335992012-10-10 Alexandre Oliva <aoliva@redhat.com>
33600
33601 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33602 McGrath.
33603
e7451425
AO
336042012-10-10 Alexandre Oliva <aoliva@redhat.com>
33605
33606 * crypt/crypt-entry.c: Include fips-private.h.
33607 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33608 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33609 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33610 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33611
4ba74a35
AO
336122012-10-10 Alexandre Oliva <aoliva@redhat.com>
33613
33614 * crypt/crypt-private.h: Include stdbool.h.
33615 (_ufc_setup_salt_r): Return bool.
33616 * crypt/crypt-entry.c: Include errno.h.
33617 (__crypt_r): Return NULL with EINVAL for bad salt.
33618 * crypt/crypt_util.c (bad_for_salt): New.
33619 (_ufc_setup_salt_r): Check that salt is long enough and within
33620 the specified alphabet.
33621 * crypt/badsalttest.c: New file.
33622 * crypt/Makefile (tests): Add it.
33623 ($(objpfx)badsalttest): New.
33624
f96f1242
MK
336252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33626
33627 * NEWS: Add entry for BZ #14602.
33628
0e8e0c1c
JM
336292012-10-09 Joseph Myers <joseph@codesourcery.com>
33630
33631 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33632 type-generic.
33633 * math/libm-test.inc: Update comment listing what functions and
33634 macros are tested.
33635 (isgreater_test): New function.
33636 (isgreaterequal_test): Likewise.
33637 (isless_test): Likewise.
33638 (islessequal_test): Likewise.
33639 (islessgreater_test): Likewise.
33640 (isunordered_test): Likewise.
33641 (main): Call the new functions.
33642
273edc5e
RM
336432012-10-09 Roland McGrath <roland@hack.frob.com>
33644
b8493de0
RM
33645 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33646 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33647 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33648 * sysdeps/i386/configure: Regenerated.
33649 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33650 * sysdeps/mach/configure: Regenerated.
33651 * sysdeps/mach/hurd/configure: Regenerated.
33652 * sysdeps/powerpc/configure: Regenerated.
33653 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33654 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33655 * sysdeps/s390/s390-32/configure: Regenerated.
33656 * sysdeps/s390/s390-64/configure: Regenerated.
33657 * sysdeps/sh/configure: Regenerated.
33658 * sysdeps/sparc/configure: Regenerated.
33659 * sysdeps/unix/sysv/linux/configure: Regenerated.
33660 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33661 * sysdeps/x86_64/configure: Regenerated.
33662
273edc5e
RM
33663 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33664 defined. Don't check if MAP is NULL.
33665
c8450f70
JM
336662012-10-09 Joseph Myers <joseph@codesourcery.com>
33667
33668 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33669 (_G_stat64): Likewise.
33670 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33671 (_G_stat64): Likewise.
33672 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33673 instead of struct _G_stat64.
33674 * libio/fileops.c (mmap_remap_check): Likewise.
33675 (decide_maybe_mmap): Likewise.
33676 (_IO_new_file_seekoff): Likewise.
33677 (_IO_file_stat): Likewise.
33678 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33679 _G_off64_t.
33680 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33681 instead of struct _G_stat64.
33682 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33683
57e605ba
MK
336842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33685
33686 [BZ #14602]
33687 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33688 Replace with ...
33689 (CHECK_EOL): New macro.
33690 (two_way_short_needle): Check beginning of haystack for EOL. Use
33691 CHECK_EOL.
33692 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33693 Replace with CHECK_EOL.
33694 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33695 Replace with CHECK_EOL.
33696
ef1bb361
JM
336972012-10-08 Joseph Myers <joseph@codesourcery.com>
33698
33699 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33700 type-generic.
33701 * math/libm-test.inc: Update comment listing what functions and
33702 macros are tested.
33703 (finite_test): New function.
33704 (isinf_test): Likewise.
33705 (isnan_test): Likewise.
33706 (fpclassify_test): Test subnormal input.
33707 (isfinite_test): Likewise.
33708 (isnormal_test): Likewise.
33709 (main): Call the new functions.
33710
55f11534
JN
337112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33712
33713 [BZ #14660]
33714 * Makerules (%.dynsym): Force C locale when running
33715 $(OBJDUMP) --dynamic-syms.
33716
1ab29350
AS
337172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33718
33719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33720 <stdint.h>.
33721
f1ecb7ef
DM
337222012-10-06 David S. Miller <davem@davemloft.net>
33723
33724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33725 upper 32-bits of the length value in %o2 since we use branch-on-register
33726 tests which consider the entire 64-bit register.
33727
5d41d91a
L
337282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33729
33730 * string/test-strstr.c (check2): Add a test for page boundary.
33731
3baddb72
DM
337322012-10-05 David S. Miller <davem@davemloft.net>
33733
33734 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33736 file.
33737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33738 sysdep_routines.
33739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33740 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33741 and bzero when HWCAP_SPARC_CRYPTO is present.
33742
9cee5585
L
337432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33744
d7e0dab9
L
33745 [BZ #14602]
33746 * string/test-strstr.c (check2): New function.
33747 (test_main): Call check2.
33748
03759f47
L
33749 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33750 and bug-strchr1.
33751 * string/bug-strcasestr1.c (do_test): Moved to ...
33752 * string/test-strcasestr.c (check1): Here. New function.
33753 (do_one_test): Break out result checking code into ...
33754 (check_result): This. New function.
33755 (do_one_test): Call check_result.
33756 (test_main): Call check1.
33757 * string/bug-strchr1.c (do_test): Moved to ...
33758 * string/test-strchr.c (check1): Here. New function.
33759 (do_one_test): Break out result checking code into ...
33760 (check_result): This. New function.
33761 (do_one_test): Call check_result.
33762 (test_main): Call check1.
33763 * string/bug-strstr1.c (main): Moved to ...
046f153e 33764 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33765 (do_one_test): Break out result checking code into ...
33766 (check_result): This. New function.
33767 (do_one_test): Call check_result.
33768 (test_main): Call check1.
33769 * string/bug-strcasestr1.c: Removed.
33770 * string/bug-strchr1.c: Likewise.
33771 * string/bug-strstr1.c: Likewise.
33772
53cea63e
L
33773 * elf/Makefile (dl-routines): Add hwcaps.
33774 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33775 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33776 (_dl_important_hwcaps): Moved to ...
33777 * elf/dl-hwcaps.c: Here. New file.
33778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33779
9cee5585 33780 [BZ #14557]
bb859b06
L
33781 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33782 if IS_IN_rtld isn't defined.
33783
9cee5585
L
33784 * elf/dl-support.c (_dl_sysinfo_map): New.
33785 Include "get-dynamic-info.h" and "setup-vdso.h".
33786 (_dl_non_dynamic_init): Call setup_vdso.
33787 * elf/dynamic-link.h: Don't include <assert.h>.
33788 (elf_get_dynamic_info): Moved to ...
33789 * elf/get-dynamic-info.h: Here. New file.
33790 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33791 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33792 * elf/setup-vdso.h: Here. New file.
33793 * elf/rtld.c: Include "setup-vdso.h".
33794 (dl_main): Call setup_vdso.
33795
23c31b76
JM
337962012-10-05 Joseph Myers <joseph@codesourcery.com>
33797
28234b07
JM
33798 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33799 creal in comment listing functions tested. List finite, isinf,
33800 isnan, isless, islessequal, isgreater, isgreaterequal,
33801 islessgreater, isunordered, lgamma_r and pow10 as functions and
33802 macros not tested. Mention which functions not tested are aliases
33803 for other functions. Fix typo. Note that signs of NaNs are not
33804 tested.
33805
23c31b76
JM
33806 * scripts/config.guess: Update from config.git.
33807 * scripts/config.sub: Likewise.
33808
9043e228
RM
338092012-10-04 Roland McGrath <roland@hack.frob.com>
33810
33811 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33812 * misc/madvise.c (madvise): Renamed to __madvise.
33813 Make madvise a weak alias.
33814 * include/sys/mman.h: Declare __madvise.
33815 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33816 * sysdeps/unix/syscalls.list
33817 (madvise): Make __madvise the strong name, and madvise a weak alias.
33818 * sysdeps/unix/sysv/linux/syscalls.list
33819 (madvise, mmap): Remove redundant entries.
33820 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33821 * malloc/malloc.c (mtrim): Likewise.
33822 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33823
f57f8055
RM
338242012-10-03 Roland McGrath <roland@hack.frob.com>
33825
33826 * sysdeps/mach/hurd/dl-cache.c: File removed.
33827 * config.h.in (USE_LDCONFIG): New #undef.
33828 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33829 * configure: Regenerated.
33830 * elf/Makefile (dl-routines): Add dl-cache only under
33831 [$(use-ldconfig) = yes].
33832 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33833 cache on [USE_LDCONFIG].
33834 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33835 [USE_LDCONFIG].
33836 * elf/rtld.c (dl_main): Likewise.
33837
5bb0c10a
PT
338382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33839
33840 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33841 _SC_LEVEL4_CACHE_LINESIZE.
33842
010188c6
RM
338432012-10-03 Roland McGrath <roland@hack.frob.com>
33844
33845 * sysdeps/unix/bsd/confstr.h: File removed.
33846
b6c5ec07
AO
338472012-10-02 Alexandre Oliva <aoliva@redhat.com>
33848
33849 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33850 sys/sdt-config.h.
33851
408223d4
RM
338522012-10-02 Roland McGrath <roland@hack.frob.com>
33853
33854 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33855 Make 'mapoff' field ElfW(Off) rather than off_t.
33856
bb9510dc
DL
338572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33858
fc997c6e
DL
33859 * nscd/Makefile: Remove nscd-cflags and all its users.
33860 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33861 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33862
bb9510dc
DL
33863 [BZ #10631]
33864 * malloc.c (malloc_printerr): Clarify error message.
33865
05699367
L
338662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33867
33868 [BZ #14648]
33869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33870 Set bit_FMA_Usable if FMA is supported.
33871 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33872 macro.
33873 (bit_FMA4_Usable): Updated.
33874 (index_FMA_Usable): New macro.
33875 (CPUID_FMA): Likewise
33876 (HAS_FMA): Defined with bit_FMA_Usable.
33877
51367701
RM
338782012-10-01 Roland McGrath <roland@hack.frob.com>
33879
33880 * bits/types.h (__swblk_t): Type removed.
33881 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33882 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33884 (__SWBLK_T_TYPE): Likewise.
33885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33886 (__SWBLK_T_TYPE): Likewise.
33887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33888 (__SWBLK_T_TYPE): Likewise.
33889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33890 (__SWBLK_T_TYPE): Likewise.
33891
4d57bf63 338922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 33893 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
33894
33895 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33896 (xdr_mapname): Use YPMAXMAP as maxsize.
33897 (xdr_peername): Use YPMAXPEER as maxsize.
33898 (xdr_keydat): Use YPAXRECORD as maxsize.
33899 (xdr_valdat): Use YPMAXRECORD as maxsize.
33900
93c65d43
RM
339012012-10-01 Roland McGrath <roland@hack.frob.com>
33902
497a03d6
RM
33903 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33904
93c65d43
RM
33905 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33906 * csu/init-first.c: ... here.
33907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33908 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33909 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33911 * sysdeps/i386/init-first.c: File removed.
33912 * sysdeps/sh/init-first.c: File removed.
33913
bec749fd
JM
339142012-10-01 Joseph Myers <joseph@codesourcery.com>
33915
33916 [BZ #14645]
33917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33918 if x * y might underflow to zero and z is zero.
33919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33921 * math/libm-test.inc (min_subnorm_value): New variable.
33922 (fma_test): Add more tests.
33923 (fma_test_towardzero): Likewise.
33924 (fma_test_downward): Likewise
33925 (fma_test_upward): Likewise.
33926 (initialize): Set min_subnorm_value.
33927
8ec5b013
JM
339282012-09-29 Joseph Myers <joseph@codesourcery.com>
33929
33930 [BZ #14638]
33931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33932 0 + 0.
33933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33934 mode for addition resulting in exact zero.
33935 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33937 exact 0 + 0.
33938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33940 * math/libm-test.inc (fma_test): Add more tests.
33941 (fma_test_towardzero): New function.
33942 (fma_test_downward): Likewise.
33943 (fma_test_upward): Likewise.
33944 (main): Call the new functions.
33945
b1fa802e
DM
339462012-09-28 David S. Miller <davem@davemloft.net>
33947
33948 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33949
d3b9fd9e
RM
339502012-09-28 Roland McGrath <roland@hack.frob.com>
33951
ea4d37b3
RM
33952 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33953 instead of SIGALRM.
33954
ac51c949
RM
33955 * sysdeps/gnu/_G_config.h: Moved to ...
33956 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33957 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33958 * sysdeps/generic/_G_config.h: ... here.
33959
28c195f7
RM
33960 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33961
848917f9
RM
33962 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33963
6bacf05b
RM
33964 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33965 Conditionalize target on [libnss_test1.so-version].
33966
91363dbb
RM
33967 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33968
cc87f7d8
RM
33969 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33970 (elfobjdir): Move out of conditionals.
33971
b1c608fe
RM
33972 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33973 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33974 (__nss_lookup_function): Conditionalize label remove_from_tree on
33975 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33976
1d9a6d96
DM
339772012-09-28 David S. Miller <davem@davemloft.net>
33978
33979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33981 file.
33982 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33983 sysdep_routines.
33984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33986 when HWCAP_SPARC_CRYPTO is present.
33987
72581615
PT
339882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33989
33990 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33991
715a900c
JL
339922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33993
33994 [BZ #6530]
33995 * stdio-common/vfprintf.c (process_string_arg): Revert
33996 2000-07-22 change.
33997
339982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33999
34000 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34001 for testcase.
34002 * stdio-common/tst-sprintf.c: Include <locale.h>
34003 (main): Test sprintf's handling of incomplete multibyte
34004 characters.
34005
9bac1d86
L
340062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34007
34008 * elf/dl-runtime.c (VERSYMIDX): Removed.
34009 * elf/dl-version.c (VERSYMIDX): Likewise.
34010 * elf/do-rel.h (VERSYMIDX): Likewise.
34011 (VALIDX): Likewise.
34012 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34013 * elf/rtld.c (VALIDX): Likewise.
34014 (ADDRIDX): Likewise.
9bac1d86
L
34015 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34016 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34017 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34018 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34019 (VALIDX): Likewise.
34020 (ADDRIDX): Likewise.
9bac1d86 34021
b31606c0
PT
340222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34023
34024 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34025
11541177
JL
340262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34027
34028 [BZ #11438]
34029 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34030 to global scope.
34031 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34032 addresses are in the same scope as 192.0.2/24.
34033 * posix/gai.conf: Document new scope table defaults.
34034
adb26fae
SP
340352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34036
34037 [BZ #5298]
34038 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34039 for ftell. Compute offsets from write pointers instead.
34040 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34041
4573c6b0
SP
340422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34043
34044 [BZ #14543]
34045 * libio/Makefile (tests): New test case tst-fseek.
34046 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34047 combination works in wide mode.
34048 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34049 state when the external buffer state changes.
34050
aa9bbfe6
DM
340512012-09-27 David S. Miller <davem@davemloft.net>
34052
34053 [BZ #14376]
34054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34055 pass reloc->r_addend in as the 'high' argument to
34056 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34057
784421e7
DM
34058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34059
c39bc8b8
PT
340602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34061
34062 * rt/tst-aio2.c: Include <pthread.h>.
34063 * rt/tst-aio3.c: Likewise.
34064
1ccc2399
SE
340652012-09-27 Steve Ellcey <sellcey@mips.com>
34066
34067 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34068
31ed4153
L
340692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34070
25f5f885
L
34071 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34072 contents on [SHARED].
31ed4153 34073
b7bfe116
MP
340742012-09-26 Marek Polacek <polacek@redhat.com>
34075
34076 [BZ #14530]
34077 [BZ #13741]
34078 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34079 for C++ and GCC <4.3 as well as for non GCC compilers.
34080
43c4edba
MT
340812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34082
34083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34084
6a1bf82f
RM
340852012-09-25 Roland McGrath <roland@hack.frob.com>
34086
34087 * Makefile.in (all, install): Declare with .PHONY.
34088 Reported by Michael Hope <michael.hope@linaro.org>.
34089
8ad11b9a
TMQMF
340902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34091
34092 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34093 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34094 system header.
34095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34096 Likewise.
34097 (sydep_routines): Add the new and the internal functions.
34098 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34099 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34101 (GLIBC_2.17): Add the new function.
34102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34103 (GLIBC_2.17): Likewise.
34104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34105 (GLIBC_2.17): Likewise.
34106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34107 (GLIBC_2.17): Likewise.
34108 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34109
7e2fca8d
AM
341102012-09-25 Alan Modra <amodra@gmail.com>
34111
34112 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34113 Add release barrier before setting once_control to say
34114 initialisation is done. Add hints on lwarx. Use macro in
34115 place of isync.
34116 (clear_once_control): Add release barrier.
34117
b87c4b24
JM
341182012-09-25 Joseph Myers <joseph@codesourcery.com>
34119
d032e0d2
JM
34120 [BZ #13629]
34121 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34122 specially.
34123 * math/s_clog10.c (__clog10): Likewise.
34124 * math/s_clog10f.c (__clog10f): Likewise.
34125 * math/s_clog10l.c (__clog10l): Likewise.
34126 * math/s_clogf.c (__clogf): Likewise.
34127 * math/s_clogl.c (__clogl): Likewise.
34128 * math/Makefile (libm-calls): Add x2y2m1.
34129 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34130 (__x2y2m1): Likewise.
34131 (__x2y2m1l): Likewise.
34132 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34133 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34136 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34137 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34138 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34139 * sysdeps/i386/fpu/libm-test-ulps: Update.
34140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34141
b87c4b24
JM
34142 [BZ #14621]
34143 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34144 int as type of variable DEPTH.
34145 (glob): Use size_t instead of int as type of variables NEWCOUNT
34146 and OLD_PATHC.
34147
6d3bf199
LD
341482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34149
22bf5c17
LD
34150 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34151 Add s_sincosf-sse2.
34152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34154 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34155 macros for using routine as __sincosf_ia32.
34156 Use macro for function declaration and weak_alias.
34157 * sysdeps/i386/fpu/libm-test-ulps: Update.
34158
34159 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34161
34162 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34163 subnormal argument.
34164 * math/s_cexpf.c (__cexpf): Likewise.
34165 * math/s_csinf.c (__csinf): Likewise.
34166 * math/s_csinhf.c (__csinhf): Likewise.
34167 * math/s_ctanf.c (__ctanf): Likewise.
34168 * math/s_ctanhf.c (__ctanhf): Likewise.
34169 * math/s_ccosh.c (__ccoshf): Likewise.
34170 * math/s_cexp.c (__cexpl): Likewise.
34171 * math/s_csin.c (__csin): Likewise.
34172 * math/s_csinh.c (__csinh): Likewise.
34173 * math/s_ctan.c (__ctan): Likewise.
34174 * math/s_ctanh.c (ctanh): Likewise.
34175 * math/s_ccoshl.c (__ccoshl): Likewise.
34176 * math/s_cexpl.c (__cexpl): Likewise.
34177 * math/s_csinl.c (__csinl): Likewise.
34178 * math/s_csinhl.c (__csinhl): Likewise.
34179 * math/s_ctanl.c (__ctanl): Likewise.
34180 * math/s_ctanhl.c (__ctanhl): Likewise.
34181
203e5603
JM
341822012-09-25 Joseph Myers <joseph@codesourcery.com>
34183
34184 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34185 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34186 (_IO_off_t): Define to __off_t, not _G_off_t.
34187 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34188 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34189 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34190 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34191 type of __dummy and __dummy2 fields.
34192 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34193 (_G_ssize_t): Likewise.
34194 (_G_off_t): Likewise.
34195 (_G_pid_t): Likewise.
34196 (_G_uid_t): Likewise.
34197 (_G_wchar_t): Likewise.
34198 (_G_wint_t): Likewise.
34199 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34200 (_G_ssize_t): Likewise.
34201 (_G_off_t): Likewise.
34202 (_G_pid_t): Likewise.
34203 (_G_uid_t): Likewise.
34204 (_G_wchar_t): Likewise.
34205 (_G_wint_t): Likewise.
34206 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34207 (_G_ssize_t): Likewise.
34208 (_G_off_t): Likewise.
34209 (_G_pid_t): Likewise.
34210 (_G_uid_t): Likewise.
34211 (_G_wchar_t): Likewise.
34212 (_G_wint_t): Likewise.
34213
9fab36eb
SP
342142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34215
34216 * malloc/arena.c: Include malloc-sysdep.h.
34217 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34218 is sufficient to shrink the heap or an unmap is needed.
34219 * sysdeps/generic/malloc-sysdep.h: New file. Define
34220 new function check_may_shrink_heap.
34221 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34222 new function check_may_shrink_heap.
34223
2b4f00d1
SP
342242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34225
34226 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34227 comments.
34228
9a9028b1
DL
342292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34230
57c69bef
DL
34231 * catgets/test-gencat.sh: Add "set -e".
34232 * elf/tst-pathopt.sh: Likewise.
34233 * grp/tst_fgetgrent.sh: Likewise.
34234 * iconvdata/run-iconv-test.sh: Likewise.
34235 * intl/tst-gettext.sh: Likewise.
34236 * intl/tst-gettext2.sh: Likewise.
34237 * intl/tst-gettext4.sh: Likewise.
34238 * intl/tst-gettext6.sh: Likewise.
34239 * intl/tst-translit.sh: Likewise.
34240 * io/ftwtest-sh: Likewise.
34241 * libio/test-freopen.sh: Likewise.
34242 * malloc/tst-mtrace.sh: Likewise.
34243 * posix/globtest.sh: Likewise.
34244 * posix/tst-getconf.sh: Likewise.
34245 * posix/wordexp-tst.sh: Likewise.
34246 * stdio-common/tst-printf.sh: Likewise.
34247 * stdio-common/tst-unbputc.sh: Likewise.
34248 * stdlib/tst-fmtmsg.sh: Likewise.
34249 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34250 * catgets/Makefile: Do not specify -e option when running
34251 testsuite shell scripts.
34252 * elf/Makefile: Likewise.
34253 * grp/Makefile: Likewise.
34254 * iconvdata/Makefile: Likewise.
34255 * intl/Makefile: Likewise.
34256 * io/Makefile: Likewise.
34257 * libio/Makefile: Likewise.
34258 * malloc/Makefile: Likewise.
34259 * posix/Makefile: Likewise.
34260 * stdio-common/Makefile: Likewise.
34261 * stdlib/Makefile: Likewise.
34262 * sysdeps/x86_64/Makefile: Likewise.
34263
9a9028b1
DL
34264 * io/ftwtest-sh: Add copyright header.
34265 * posix/globtest.sh: Likewise.
34266 * posix/tst-getconf.sh: Likewise.
34267 * posix/wordexp-tst.sh: Likewise.
34268 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34269
ced6f16e
L
342702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34271
94b32c39
L
34272 [BZ #13679]
34273 * Makeconfig (+link): Defined as $(+link-static) if
34274 $(build-shared) isn't yes.
34275 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34276 isn't yes.
34277 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34278
189e935b
L
34279 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34280
ced6f16e
L
34281 [BZ #14562]
34282 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34283 new chunk size with MALLOC_ALIGN_MASK.
34284
a9f8e53a
JM
342852012-09-24 Joseph Myers <joseph@codesourcery.com>
34286
34287 [BZ #5044]
34288 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34289 <rounding-mode.h>.
34290 (__printf_fphex): Determine rounding using get_rounding_mode and
34291 round_away.
34292 * stdio-common/tst-printf-round.c (struct hex_test): New
34293 structure.
34294 (hex_tests): New variable.
34295 (test_hex_in_one_mode): New function.
34296 (do_test): Also run tests for hex float output.
34297
43153109
JM
342982012-09-21 Joseph Myers <joseph@codesourcery.com>
34299
34300 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34301 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34302 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34303 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34304 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34305 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34306 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34308
8a26625d
JM
343092012-09-20 Joseph Myers <joseph@codesourcery.com>
34310
34311 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34312 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34313 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34314 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34315
f3fd569c
DL
343162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34317
34318 [BZ #14579]
34319 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34320 mode only.
34321 * elf/tst-rtld-load-self.sh: New test.
34322 * elf/Makefile: Run it.
34323
63bbedd4
JM
343242012-09-18 Joseph Myers <joseph@codesourcery.com>
34325
34326 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34327 (tst-writev-ENV): Remove.
34328 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34329
626f8b6a
CM
343302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34331
34332 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34333
b7aaa4d6
JM
343342012-09-17 Joseph Myers <joseph@codesourcery.com>
34335
34336 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34337 unconditional.
34338 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34339 Likewise.
34340 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34341 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34343 Likewise.
34344
65513990
L
343452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34346
34347 [BZ #14587]
34348 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34349 * config.make.in (have-cpp-asm-debuginfo): Removed.
34350 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34351 * configure: Regenerated.
34352
784761be
JM
343532012-09-14 Joseph Myers <joseph@codesourcery.com>
34354
34355 [BZ #5044]
34356 * stdio-common/printf_fp.c: Include <stdbool.h> and
34357 <rounding-mode.h>.
34358 (___printf_fp): Determine rounding using get_rounding_mode and
34359 round_away.
34360 * stdio-common/tst-printf-round.c: New file.
34361 * stdio-common/Makefile (tests): Add tst-printf-round.
34362 (link-libm): New variable.
34363 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34364
9503345f
L
343652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34366
34367 [BZ #14576]
34368 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34369 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34370 Likewise.
34371 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34372 Likewise.
34373
ad35fc00
JM
343742012-09-13 Joseph Myers <joseph@codesourcery.com>
34375
34376 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34377 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34378 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34380
6c9b0f68
JM
343812012-09-12 Joseph Myers <joseph@codesourcery.com>
34382
34383 [BZ #14518]
34384 * include/rounding-mode.h: New file.
34385 * sysdeps/generic/get-rounding-mode.h: Likewise.
34386 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34387 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34388 (MAX_VALUE): New macro.
34389 (MIN_VALUE): Likewise.
34390 (overflow_value): New function.
34391 (underflow_value): Likewise.
34392 (round_and_return): Use overflow_value and underflow_value to
34393 determine return values in overflow and underflow cases. Use
34394 round_away to determine rounding depending on rounding mode.
34395 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34396 determine return values in overflow and underflow cases.
34397 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34398 (struct test_results): New structure.
34399 (struct test): Use struct test_results to store expected results
34400 for all rounding modes.
34401 (TEST): Include expected results for all rounding modes.
34402 (test_in_one_mode): New function.
34403 (do_test): Use test_in_one_mode to compute and check results.
34404 Check results for all rounding modes.
34405 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34406 $(link-libm).
34407
19fcedd5
AM
344082012-12-09 Allan McRae <allan@archlinux.org>
34409
1e9d84cd 34410 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34411
8bbfd2f1
JM
344122012-09-11 Joseph Myers <joseph@codesourcery.com>
34413
34414 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34415 (_G_int32_t): Likewise.
34416 (_G_uint16_t): Likewise.
34417 (_G_uint32_t): Likewise.
34418 (_G_HAVE_BOOL): Likewise.
34419 (_G_HAVE_ATEXIT): Likewise.
34420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34421 (_G_HAVE_IO_FILE_OPEN): Likewise.
34422 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34423 (_G_int32_t): Likewise.
34424 (_G_uint16_t): Likewise.
34425 (_G_uint32_t): Likewise.
34426 (_G_HAVE_BOOL): Likewise.
34427 (_G_HAVE_ATEXIT): Likewise.
34428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34429 (_G_HAVE_IO_FILE_OPEN): Likewise.
34430 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34431 (_G_int32_t): Likewise.
34432 (_G_uint16_t): Likewise.
34433 (_G_uint32_t): Likewise.
34434 (_G_HAVE_BOOL): Likewise.
34435 (_G_HAVE_ATEXIT): Likewise.
34436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34437 (_G_HAVE_IO_FILE_OPEN): Likewise.
34438
b1dc5912
L
344392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34440
34441 * csu/libc-tls.c: Update copyright years.
34442
0e886ef9
JM
344432012-09-10 Joseph Myers <joseph@codesourcery.com>
34444
28361c5e
JM
34445 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34446 [!_G_USING_THUNKS]: Remove conditional code.
34447 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34448 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34449
0e886ef9
JM
34450 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34451 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34452 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34453 (_G_VTABLE_LABEL_PREFIX): Likewise.
34454 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34455 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34456 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34457 (_G_VTABLE_LABEL_PREFIX): Likewise.
34458 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34459 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34461 (_G_VTABLE_LABEL_PREFIX): Likewise.
34462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34463
bcba7aa2
L
344642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34465
34466 * libio/Makefile: Include ../Makeconfig before tests.
34467 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34468 only if $(build-shared) is yes.
34469
06585ee8
L
34470 * iconv/gconv_db.c: Update copyright years.
34471
80ccd52c
LD
344722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34473
34474 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34475 unwind info if defined PIC. Fix special cases description.
34476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34477
34478 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34479 DP_HI_MASK entry.
34480 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34481
691bc9c1
L
344822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34483
3d9b46b3
L
34484 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34485
de2139a9
L
34486 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34487 is NULL.
34488
5ca78dd0
L
34489 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34490 (LDLIBS-tst-chk4): This.
34491 (LDFLAGS-tst-chk5): Renamed to ...
34492 (LDLIBS-tst-chk5): This.
34493 (LDFLAGS-tst-chk6): Renamed to ...
34494 (LDLIBS-tst-chk6): This.
34495 (LDFLAGS-tst-lfschk4): Renamed to ...
34496 (LDLIBS-tst-lfschk4): This.
34497 (LDFLAGS-tst-lfschk5): Renamed to ...
34498 (LDLIBS-tst-lfschk5): This.
34499 (LDFLAGS-tst-lfschk6): Renamed to ...
34500 (LDLIBS-tst-lfschk6): This.
34501
691bc9c1
L
34502 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34503 on $(common-objpfx)soversions.mk.
34504
65cafb1c
JM
345052012-09-07 Joseph Myers <joseph@codesourcery.com>
34506
34507 [BZ #10014]
34508 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34509 example host name.
34510
c78ab094
SP
345112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34512
34513 * malloc/arena.c (arena_get_retry): New function that gets
34514 another arena for the caller to try its request on.
34515 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34516 current arena cannot fulfill the request.
34517 (__libc_memalign): Likewise.
34518 (__libc_memalign): Likewise.
34519 (__libc_pvalloc): Likewise.
34520 (__libc_calloc): Likewise.
34521
01f49f59
JT
345222012-09-05 John Tobey <john.tobey@gmail.com>
34523
34524 [BZ #13542]
34525 * manual/arith.texi (Operations on Complex): Fix description
34526 of carg branch cut.
34527
4c23fed5
JM
345282012-09-06 Joseph Myers <joseph@codesourcery.com>
34529
1d3c8572
JM
34530 [BZ #10014]
34531 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34532 host name.
34533
4c23fed5
JM
34534 [BZ #10038]
34535 * manual/memory.texi (Memory): Make order of menu items match
34536 order of sections.
34537
04570aaa
L
345382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34541 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34542 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34543
b80af2f4
L
345442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34545
34546 * csu/libc-tls.c (static_dtv): Renamed to ...
34547 (_dl_static_dtv): This. Make it global.
34548 (_dl_initial_dtv): Removed.
34549 (__libc_setup_tls): Updated.
34550 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34551 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34552 DL_INITIAL_DTV.
34553
2abe9f15
PM
345542012-09-06 Petr Machata <pmachata@redhat.com>
34555
34556 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34557 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34558 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34559 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34560
0948c3af
L
345612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34562
34563 [BZ #14545]
34564 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34565 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34566 freeing dtv[-1].
34567
a5055ad1
L
345682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34569
34570 [BZ #14544]
34571 * Makeconfig (link-static-before-libc): Replace $(+prector)
34572 with $(+prectorT).
34573 (link-static-after-libc): Replace $(+postctor) with
34574 $(+postctorT).
34575 (link-bounded): Replace $(+prector)/$(+postctor) with
34576 $(+prectorT)/$(+postctorT).
34577 (+prectorT): New macro.
34578 (+postctorT): Likewise.
34579
ed8c2ecd
JM
345802012-09-06 Joseph Myers <joseph@codesourcery.com>
34581
34582 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34583 (round_str): Handle values above the maximum for IBM long double
34584 as inexact.
34585 * stdlib/tst-strtod-round.c (tests): Regenerated.
34586
14c996c8
AK
345872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34588
34589 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34590 assembler flag.
34591 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34592 zarch_nohighgprs around the zarch optimized routines.
34593 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34594 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34596 for zarch.
34597
430d6ce6
DM
345982012-09-05 David S. Miller <davem@davemloft.net>
34599
34600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34601
57f41c40
AS
34602 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34603 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34604 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34605 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34606 entries.
34607
24d4e01b
AO
346082012-09-05 Alexandre Oliva <aoliva@redhat.com>
34609
34610 * malloc/arena.c: Fold copyright years.
34611 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34612
61d58174
AO
346132012-09-05 Alexandre Oliva <aoliva@redhat.com>
34614
34615 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34616
20196a5e
AO
346172012-09-05 Alexandre Oliva <aoliva@redhat.com>
34618
34619 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34620
5c447383
AO
346212012-09-05 Alexandre Oliva <aoliva@redhat.com>
34622
34623 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34624 change internal state upon failure.
34625
fad64255
AO
346262012-09-05 Alexandre Oliva <aoliva@redhat.com>
34627
34628 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34629 * malloc/memusage.c (mmap): Likewise.
34630 (mmap64, mremap): Likewise. Adjust name in comment.
34631
1ffb8c90
SP
346322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34633
34634 * libio/fileops.c: Fix typos in comments.
34635 * libio/oldfileops.c: Likewise.
34636 * libio/wfileops.c: Likewise.
34637
6ef9cc37
SP
346382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34639
34640 [BZ #1349]
34641 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34642 (tst-malloc-usable-ENV): Set environment for test case.
34643 * malloc/hooks.c (malloc_check_get_size): New function to get
34644 requested size.
34645 * malloc/malloc.c (musable): Use malloc_check_get_size.
34646 * malloc/tst-malloc-usable.c: New test case.
34647
4d038ae3
AS
346482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34649
34650 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34651
c4e85184
AM
346522012-09-05 Allan McRae <allan@archlinux.org>
34653
b9dafc56 34654 [BZ #13966]
c4e85184
AM
34655 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34656 determine header location.
34657 * configure: Regenerated.
34658
e1343020
AS
346592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34660
34661 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34662 float format.
34663 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34664 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34665 format.
e1343020
AS
34666 (test): Regenerate.
34667
0a9f1987
DM
346682012-09-04 David S. Miller <davem@davemloft.net>
34669
34670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34673
29237804
FW
346742012-09-04 Florian Weimer <fweimer@redhat.com>
34675
34676 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34677 failures.
34678
edb3cb88
FW
34679 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34680
60160d83
JM
346812012-09-04 Joseph Myers <joseph@codesourcery.com>
34682
34683 [BZ #9914]
34684 * libio/iogetdelim.c: Include <limits.h>.
34685 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34686 + len + 1 would overflow.
34687
bcd6c8dc
AJ
346882012-09-03 Andreas Jaeger <aj@suse.de>
34689
34690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34691 * sysdeps/i386/fpu/libm-test-ulps: Update.
34692
4ffffbd2
LD
346932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34694
34695 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34696 Add s_sinf-sse2, s_conf-sse2.
34697
34698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34700 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34701 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34702
34703 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34704 for using routine as __sinf_ia32.
34705 Use macro for function declaration and weak_alias.
34706 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34707 for using routine as __cosf_ia32.
34708 Use macro for function declaration and weak_alias.
34709
34710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34711 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34712
34713 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34714 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34716
34717 * math/libm-test.inc (cos_test): Add more test cases.
34718 (sin_test): Likewise.
34719 (sincos_test): Likewise.
34720
511fa286
AK
347212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34722
34723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34724 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34725 hidden.
34726 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34727
5f30cfec
L
347282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34729
34730 [BZ #14538]
34731 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34732 first element of the GOT.
34733 (elf_machine_load_address): Return the difference between
34734 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34735
0786794f
AM
347362012-09-01 Allan McRae <allan@archlinux.org>
34737
5f30cfec
L
34738 [BZ #13412]
34739 * configure.in (AWK): Require gawk version 3.0 or later.
34740 * configure: Regenerated.
0786794f 34741
26889eac
JM
347422012-09-01 Joseph Myers <joseph@codesourcery.com>
34743
34744 * sysdeps/unix/sysv/linux/kernel-features.h
34745 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34747 [__NR_clock_getres]: Make code unconditional.
34748 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34749 (clock_getcpuclockid): Remove code left unreachable by removal of
34750 conditionals.
34751 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34752 code unconditional.
34753 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34754 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34755 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34756 Make code unconditional.
34757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34759 * sysdeps/unix/sysv/linux/clock_settime.c
34760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34761 conditional code.
34762 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34764
d22e28b0
L
347652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34766
34767 [BZ #14476]
34768 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34769 scripts/test-installation.pl.
34770
34771 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34772 and $ld_so_version if it is set.
34773
050af9c4
SP
347742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34775
34776 [BZ #14516]
34777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34778 failure if reading from procfs failed.
34779 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34780
ad845c0b
JM
347812012-08-27 Joseph Myers <joseph@codesourcery.com>
34782
34783 * sysdeps/unix/sysv/linux/kernel-features.h
34784 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34785 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34786 Remove conditional code.
34787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34788 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34789 Remove conditional code.
34790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34791 * sysdeps/unix/sysv/linux/i386/fxstat.c
34792 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34794 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34795 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34797 * sysdeps/unix/sysv/linux/i386/lxstat.c
34798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34800 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34801 Remove conditional code.
34802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34803 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34804 Remove conditional code.
34805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34806 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34807 <kernel-features.h>.
34808 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34809 Remove.
34810 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34811 Remove conditional code.
34812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34813 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34814 Remove conditional.
34815
5dbf56af
MF
348162012-08-27 Mike Frysinger <vapier@gentoo.org>
34817
34818 [BZ #5400]
34819 * NEWS: Add fixed bug number.
34820
d6e70f43
JM
348212012-08-27 Joseph Myers <joseph@codesourcery.com>
34822
7efb4737
JM
34823 [BZ #14519]
34824 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34825 underflowing exponent in case of negative sign.
34826 * stdlib/tst-strtod-round-data: Add more tests.
34827 * stdlib/tst-strtod-round.c (tests): Regenerated.
34828
af92131a
JM
34829 [BZ #3479]
34830 * stdlib/strtod_l.c (NDIG): Remove.
34831 (HEXNDIG): Likewise.
34832 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34833 smallest representable value.
34834 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34835 lie within an exact representation of 1/2 ulp of the result.
34836 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34837 unconditionally.
34838 (TENS_P9_IDX): Define unconditionally.
34839 (TENS_P9_SIZE): Likewise.
34840 (TENS_P10_IDX): Likewise.
34841 (TENS_P10_SIZE): Likewise.
34842 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34843 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34844 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34845 entries for 10^2^13 and 10^2^14.
34846 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34847 (TENS_P13_IDX): Define.
34848 (TENS_P13_SIZE): Likewise.
34849 (TENS_P14_IDX): Likewise.
34850 (TENS_P14_SIZE): Likewise.
34851 (_fpioconst_pow10): Change array size to
34852 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34853 unconditional.
34854 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34855 1024]: Add entries for 10^2^13 and 10^2^14.
34856 [LAST_POW10 > _LAST_POW10]: Remove #error.
34857 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34858 (_fpioconst_pow10): Change array size to
34859 FPIOCONST_POW10_ARRAY_SIZE.
34860 * stdlib/gen-fpioconst.c: New file.
34861 * stdlib/gen-tst-strtod-round.c: Likewise.
34862 * stdlib/tst-strtod-round-data: Likewise.
34863 * stdlib/tst-strtod-round.c: Likewise.
34864 * stdlib/Makefile (tests): Add tst-strtod-round.
34865
d6e70f43
JM
34866 [BZ #14459]
34867 * stdlib/strtod_l.c: Include <stdint.h>.
34868 (NDEBUG): Do not define.
34869 (round_and_return): Change EXPONENT parameter to type intmax_t.
34870 Rearrange calculations to avoid internal overflow possibilities.
34871 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34872 Rearrange calculations to avoid internal overflow possibilities.
34873 Assert that number fits inside MPNSIZE limbs.
34874 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34875 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34876 calculations and add assertions to avoid internal overflow
34877 possibilities. Add casts to avoid signed/unsigned operations.
34878 * stdlib/tst-strtod-overflow.c: New file.
34879 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34880
1f529f7d
MP
348812012-08-25 Marek Polacek <polacek@redhat.com>
34882
34883 * time/time.h: Fix some typos in comments.
34884
59a629f1
RM
348852012-08-23 Roland McGrath <roland@hack.frob.com>
34886
34887 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34888 * posix/tst-rfc3484-2.c: Likewise.
34889 * posix/tst-rfc3484-3.c: Likewise.
34890
d3bafbc9
SM
348912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34892
34893 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34894 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34895
4efcc022
JM
348962012-08-23 Joseph Myers <joseph@codesourcery.com>
34897
34898 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34899 #include of fxstatat64.c.
34900
3cc3ef96
RM
349012012-08-22 Roland McGrath <roland@hack.frob.com>
34902
f04e2132
RM
34903 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34904 * shadow/getspent_r.c: Likewise.
34905 * shadow/getspnam.c: Likewise.
34906 * shadow/getspnam_r.c: Likewise.
34907 * gshadow/getsgent.c: Likewise.
34908 * gshadow/getsgent_r.c: Likewise.
34909 * gshadow/getsgnam.c: Likewise.
34910 * gshadow/getsgnam_r.c: Likewise.
34911 * inet/getnetbyad.c: Likewise.
34912 * inet/getnetbyad_r.c: Likewise.
34913 * inet/getnetbynm.c: Likewise.
34914 * inet/getnetbynm_r.c: Likewise.
34915 * inet/getnetent.c: Likewise.
34916 * inet/getnetent_r.c: Likewise.
34917 * inet/getproto.c: Likewise.
34918 * inet/getproto_r.c: Likewise.
34919 * inet/getprtent.c: Likewise.
34920 * inet/getprtent_r.c: Likewise.
34921 * inet/getprtname.c: Likewise.
34922 * inet/getprtname_r.c: Likewise.
34923 * inet/getrpcbyname.c: Likewise.
34924 * inet/getrpcbyname_r.c: Likewise.
34925 * inet/getrpcbynumber.c: Likewise.
34926 * inet/getrpcbynumber_r.c: Likewise.
34927 * inet/getrpcent.c: Likewise.
34928 * inet/getrpcent_r.c: Likewise.
34929 * inet/getaliasent.c: Likewise.
34930 * inet/getaliasent_r.c: Likewise.
34931 * inet/getaliasname.c: Likewise.
34932 * inet/getaliasname_r.c: Likewise.
34933 * nscd/getgrgid_r.c: Likewise.
34934 * nscd/getgrnam_r.c: Likewise.
34935 * nscd/gethstbyad_r.c: Likewise.
34936 * nscd/gethstbynm3_r.c: Likewise.
34937 * nscd/getpwnam_r.c: Likewise.
34938 * nscd/getpwuid_r.c: Likewise.
34939 * nscd/getsrvbynm_r.c: Likewise.
34940 * nscd/getsrvbypt_r.c: Likewise.
34941 * nscd/gai.c: Likewise.
34942
c53d909c
RM
34943 * configure.in (build_nscd): New substituted variable, set
34944 by --disable-build-nscd and defaults to $use_nscd.
34945 * configure: Regenerated.
34946 * config.make.in (build-nscd): New substituted variable.
34947 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34948 Change conditional to require [$(build-nscd) = yes] as well.
34949 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34950
3cc3ef96
RM
34951 [BZ# 13696]
34952 * configure.in (use_nscd): New substituted variable, set by
34953 --disable-nscd. If enabled, define USE_NSCD.
34954 * configure: Regenerated.
34955 * config.h.in: Add USE_NSCD.
34956 * config.make.in (use-nscd): New substituted variable.
34957 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34958 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34959 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34960 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34961 (CFLAGS-getgrnam_r.c): Likewise.
34962 (CFLAGS-initgroups.c): Likewise.
34963 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34964 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34965 Variables removed.
34966 * inet/getnetgrent_r.c
34967 (nscd_setnetgrent): New function, broken out of ...
34968 (setnetgrent): ... here. Call it.
34969 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34970 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34971 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34972 * nscd/Makefile (routines, aux): Move definitions after include of
34973 Makeconfig. Conditionalize on [$(use-nscd) != no].
34974 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34975 Conditionalize on [USE_NSCD].
34976 (is_nscd, nscd_init_cb): Likewise.
34977 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34978 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34979 * nss/nss_db/db-init.c: Likewise.
34980 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34981 [USE_NSCD].
34982 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34983 (make_request): Use it.
34984 (cache_valid_p): New function.
34985 (__check_pf): Use it.
34986 * NEWS: Add item for --disable-nscd.
34987
07e51550
DL
349882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34989
34990 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34991 to support sed >= 4.2.1-20-ga9bf076.
34992 * configure: Regenerated.
34993
35a5b08b
RM
349942012-08-22 Roland McGrath <roland@hack.frob.com>
34995
34996 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34997 Conditionalize whole body on [IREL].
34998
8479f23a
JL
349992012-08-22 Jeff Law <law@redhat.com>
35000
35001 [BZ #14505]
35002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35003 if the family is PF_UNSPEC.
35004
48da0b21
MF
350052012-08-22 Mike Frysinger <vapier@gentoo.org>
35006
35007 * Makerules (lib-version): Rename from V.
35008 (install-lib-nosubdir): Change V to lib-version.
35009
15d0da8c
WS
350102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35011
35012 [BZ #14252]
35013 * powerpc32/power6/wcschr.c: New file.
35014 * powerpc32/power6/wcscpy.c: New file.
35015 * powerpc32/power6/wcsrchr.c: New file.
35016 * powerpc64/power6/wcschr.c: New file.
35017 * powerpc64/power6/wcscpy.c: New file.
35018 * powerpc64/power6/wcsrchr.c: New file.
35019
bcca0895
MK
350202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35021
35022 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35023 (two_way_short_needle): Use it.
5a4aaa33
RM
35024 * string/strstr.c (AVAILABLE1_USES_J): Define.
35025 * string/strcasestr.c: Likewise.
99677e57
MK
35026
35027 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35028 array references.
35029 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35030
400726de
MK
35031 [BZ #11607]
35032 * NEWS: Add an entry.
35033 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35034 define their defaults.
35035 (two_way_short_needle): Detect end-of-string on-the-fly.
35036 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35037 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35038 * string/bug-strcasestr1.c: New test.
35039 * string/Makefile: Run it.
35040
20a71f2c
MK
350412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35042
35043 [BZ #11607]
35044 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35045 the first character.
35046
21ad0558
RM
350472012-08-21 Roland McGrath <roland@hack.frob.com>
35048
35049 * csu/elf-init.c (__libc_csu_irel): Function removed.
35050 * csu/libc-start.c (apply_irel): New function.
35051 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35052
0e1d9911
JM
350532012-08-21 Joseph Myers <joseph@codesourcery.com>
35054
35055 * sysdeps/unix/sysv/linux/kernel-features.h
35056 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35057 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35058 <kernel-features.h>.
35059 [__NR_fadvise64_64]: Make code unconditional.
35060 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35061 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35062 !__NR_fadvise64_64)]: Likewise.
35063 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35064 !__NR_fadvise64_64))]: Likewise.
35065 [__NR_fadvise64]: Make code unconditional.
35066 [!__NR_fadvise64]: Remove conditional code.
35067 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35068 <kernel-features.h>.
35069 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35070 unconditional.
35071 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35072 conditional code.
35073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35074 not include <kernel-features.h>.
35075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35076 unconditional.
35077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35078 conditional code.
35079 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35080 include <kernel-features.h>.
35081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35082 unconditional.
35083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35084 conditional code.
35085
14a50c9d
WS
350862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35087
35088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35089 slight instruction rearrangements per scrollpipe analysis.
35090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35091
c0f4faf0
RM
350922012-08-20 Roland McGrath <roland@hack.frob.com>
35093
696da859
RM
35094 * manual/syslog.texi (syslog; vsyslog, closelog):
35095 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35096 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35097
c0f4faf0
RM
35098 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35099 DSOCAPS to match condition on defining it.
35100
348363b2
JM
351012012-08-20 Joseph Myers <joseph@codesourcery.com>
35102
a35cbf28
JM
35103 * sysdeps/unix/sysv/linux/kernel-features.h
35104 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35109 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35110 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35114
445f7ecd
JM
35115 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35116 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35117
348363b2
JM
35118 * sysdeps/unix/sysv/linux/kernel-features.h
35119 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35120 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35121 unconditional.
35122 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35123 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35124 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35125 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35126 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35127 Make code unconditional.
35128 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35129 (__mmap64) [!__NR_mmap2]: Likewise.
35130 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35134 [__NR_mmap2]: Make code unconditional.
35135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35136 (__mmap64) [!__NR_mmap2]: Likewise.
35137
bc5bc0e5
AK
351382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35139
35140 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35141
88d506de
AJ
351422012-08-18 Andreas Jaeger <aj@suse.de>
35143
35144 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35145
493387d2
MF
351462012-08-18 Mike Frysinger <vapier@gentoo.org>
35147
35148 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35149 * include/unistd.h (__have_sock_cloexec): Likewise.
35150 (__have_pipe2): Likewise.
35151 (__have_dup3): Likewise.
35152
a277af22
MF
351532012-08-18 Mike Frysinger <vapier@gentoo.org>
35154
35155 [BZ #9685]
35156 * include/unistd.h (__have_pipe2): Change define into an extern int.
35157 (__have_dup3): Likewise.
35158 * socket/have_sock_cloexec.c: Include fcntl.h.
35159 (__have_pipe2): New variable.
35160 (__have_dup3): Likewise.
35161
fdab8fd3
MF
351622012-08-17 Mike Frysinger <vapier@gentoo.org>
35163
35164 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35165
31035e80
MP
351662012-08-17 Marek Polacek <polacek@redhat.com>
35167
35168 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35169 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35170
3bd9e993
RM
351712012-08-17 Roland McGrath <roland@hack.frob.com>
35172
c91c505f
RM
35173 * configure.in: Add AC_SUBST for sysheaders.
35174 * configure: Regenerated.
35175 * config.make.in (sysheaders): New substituted variable.
35176
7c6f9d53
RM
35177 * sysdeps/unix/mkfifo.c: Moved ...
35178 * sysdeps/posix/mkfifo.c: ... here.
35179 * sysdeps/unix/mkfifoat.c: Moved ...
35180 * sysdeps/posix/mkfifoat.c: ... here.
35181
35182 * sysdeps/unix/utime.c: Moved ...
35183 * sysdeps/posix/utime.c: ... here.
35184
35185 * sysdeps/unix/time.c: Moved ...
35186 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35187 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35188 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35189
35190 * sysdeps/unix/nice.c: Moved ...
35191 * sysdeps/posix/nice.c: ... here.
35192
35193 * sysdeps/unix/alarm.c: Moved ...
35194 * sysdeps/posix/alarm.c: ... here.
35195
3bd9e993
RM
35196 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35197
d1f09384
JL
351982012-08-17 Jeff Law <law@redhat.com>
35199
35200 * intl/Makefile (codeset_mo): New variable.
35201 ($(codeset_mo)): New target.
35202 (tst-codeset.out): Depend on that. Remove explicit rule.
35203 (tst-gettext3.out, tst-gettext5.out): Likewise.
35204 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35205 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35206 * intl/tst-codeset.sh: Remove.
35207 * intl/tst-gettext3.sh: Likewise.
35208 * intl/tst-gettext5.sh: Likewise.
35209
2ae1ae5c
RM
352102012-08-17 Roland McGrath <roland@hack.frob.com>
35211
c31fdb83
RM
35212 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35213 * sysdeps/unix/syscalls.list: ... here.
35214
a0844057
RM
35215 * sysdeps/posix/getaddrinfo.c
35216 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35217 (gaiconf_init, gaiconf_reload): Use them.
35218 [!_STATBUF_ST_NSEC]
35219 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35220 Define using time_t rather than struct timespec.
35221
750c1f2a
RM
35222 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35223 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35224 Macros removed.
35225 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35226 [!NO_THREADS].
35227 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35228 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35229 Likewise.
35230
2ae1ae5c
RM
35231 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35232 __libc_cleanup_push argument.
35233
e66a42f5
RM
35234 * bits/param.h: New file.
35235 * misc/sys/param.h: New file.
35236 * include/sys/param.h: New file.
35237 * misc/Makefile (headers): Add bits/param.h.
35238 * sysdeps/generic/sys/param.h: File removed.
35239 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35240 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35241 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35242 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35243
b7c08a66
RM
35244 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35245 last change.
35246
b2e1c562
RM
35247 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35248 [_IO_MTSAFE_IO].
35249 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35250 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35251 New macros.
35252
c75ccd4c
RM
35253 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35254 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35255 rather than -D_IO_MTSAFE_IO conditionally.
35256 * stdio-common/Makefile (CPPFLAGS): Likewise.
35257 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35258 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35259 Use $(libio-mtsafe).
35260 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35261 of -D_IO_MTSAFE_IO.
35262 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35263 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35264 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35265 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35266 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35267 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35268 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35269 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35270 (CFLAGS-fread_u_chk.c): Likewise.
35271 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35272 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35273 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35274 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35275 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35276 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35277 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35278 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35279 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35280
35281 * libio/Makefile: Test [$(libc-reentrant) = yes]
35282 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35283
35284 * Makeconfig
35285 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35286 * sysdeps/pthread/configure: File removed.
35287 * sysdeps/pthread/Makeconfig: New file.
35288 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35289 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35290
d9195db8
GB
352912012-08-16 Gary Benson <gbenson@redhat.com>
35292
35293 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35294 unmapping the first object in a namespace.
35295
86466cd9
RM
352962012-08-16 Roland McGrath <roland@hack.frob.com>
35297
35298 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35299 (__internal_setnetgrent): ... this. Add internal_function to
35300 definition. Add libc_hidden_def.
35301 (setnetgrent): Update caller.
35302 (internal_endnetgrent): Renamed to ...
35303 (__internal_endnetgrent): ... this. Add internal_function to
35304 definition. Add libc_hidden_def.
35305 (endnetgrent): Update caller.
35306 (internal_getnetgrent_r): Renamed to ...
35307 (__internal_getnetgrent_r): ... this. Add internal_function to
35308 definition. Add libc_hidden_def.
35309 (__getnetgrent_r): Update caller.
35310 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35311
c3c8283c
JM
353122012-08-16 Joseph Myers <joseph@codesourcery.com>
35313
35314 * stdlib/longlong.h: Update from GCC.
35315
db1ee0a8
RM
353162012-08-16 Roland McGrath <roland@hack.frob.com>
35317
35318 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35319 on _QL, which is set by umul_ppmm but never used.
35320 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35321 variables, which are set by GMP macros but never used.
35322 * stdio-common/_itowa.c (_itowa): Likewise.
35323 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35324 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35325
30f69637
CD
353262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35327
35328 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35329 struct La_sh_regs is not constant.
35330 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35331 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35332 and struct La_sparc64_regs are not constant.
35333
93a78ac4
JM
353342012-08-16 Joseph Myers <joseph@codesourcery.com>
35335
35336 * sysdeps/unix/sysv/linux/kernel-features.h
35337 (__ASSUME_POSIX_TIMERS): Remove.
35338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35340 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35341 Make code unconditional.
35342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35343 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35344 Make code unconditional.
35345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35346 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35347 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35349 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35350 Make code unconditional.
35351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35353 (__libc_missing_posix_timers): Remove.
35354
dd924cd7
RM
353552012-08-15 Roland McGrath <roland@hack.frob.com>
35356
4b4f2771
RM
35357 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35358 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35359
601c888b
RM
35360 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35361
176790a7
RM
35362 * elf/dl-sym.c: Include <stdlib.h>.
35363
329bc018
RM
35364 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35365 constants, which avoids warnings in 32-bit builds.
35366
e04e272d
RM
35367 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35368 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35369
952bf94a
RM
35370 * misc/lseek.c: File moved to ...
35371 * io/lseek.c: ... here.
35372
7c99b50a
RM
35373 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35374
dd924cd7
RM
35375 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35376 shifting LEN more than 31 bits at once.
35377
b3f479a8
LD
353782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35379
35380 [BZ #14195]
8c4ae0d4
RM
35381 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35382 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35383 * string/test-strncasecmp.c (check1): Renamed to...
35384 (bz12205): ...this.
35385 (bz14195): Add new testcase for two empty input strings and N > 0.
35386 (test_main): Call new testcase, adapt for renamed function.
35387
9c55864e
AJ
353882012-08-15 Andreas Jaeger <aj@suse.de>
35389
35390 [BZ #14090]
35391 * crypt/md5test2.c: New test, based on test supplied by Serge
35392 Belyshev <belyshev@depni.sinp.msu.ru>.
35393 * crypt/Makefile (xtests): Add md5test-giant..
35394 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35395
02dcb6c5
PE
353962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35397
35398 [BZ #14090]
35399 * crypt/md5.c (md5_process_block): Don't assume the buffer
35400 length is less than 2**32.
35401 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35402 length is less than 2**64.
35403
a3f95dcc
RM
354042012-08-15 Roland McGrath <roland@hack.frob.com>
35405
be75d758
RM
35406 * string/str-two-way.h: Include <sys/param.h>.
35407 (MAX): Macro removed.
35408
7312ca90
RM
35409 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35410 Move #define and #undef of memmove to just before and after
35411 including <string.h>.
35412
9a0a5486
RM
35413 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35414 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35415 and after including <string.h>. Move declarations of
35416 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35417 to before #include "string/memmove.c".
35418
67cc348d
RM
35419 * include/dirent.h: Declare __getdirentries.
35420
a3f95dcc
RM
35421 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35422 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35423
ca98e171
MF
354242012-08-14 Mike Frysinger <vapier@gentoo.org>
35425
35426 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35427 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35428 * sysdeps/i386/configure: Regenerated.
35429 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35430 STABS_CURRENT_FILE, and STABS_FUN.
35431 (END): Remove call to STABS_FUN_END.
35432 (STABS_CURRENT_FILE1): Delete.
35433 (STABS_CURRENT_FILE): Likewise.
35434 (STABS_FUN): Likewise.
35435 (STABS_FUN_END): Likewise.
35436 (STABS_FUN2): Likewise.
35437 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35438 * sysdeps/x86_64/configure: Regenerated.
35439
5908bf46
RM
354402012-08-14 Roland McGrath <roland@hack.frob.com>
35441
35442 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35443 * elf/dl-lookup.c: Likewise.
5908bf46 35444
f2c05b9e
JM
354452012-08-14 Joseph Myers <joseph@codesourcery.com>
35446
35447 * sysdeps/unix/sysv/linux/kernel-features.h
35448 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35449 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35450 unconditionally.
35451 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35452 unconditionally.
35453 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35454 condition on __ASSUME_CLONE_THREAD_FLAGS.
35455
e11f5155
AJ
354562012-08-14 Andreas Jaeger <aj@suse.de>
35457
35458 * sysdeps/i386/fpu/libm-test-ulps: Update.
35459
51a9ba86
MK
354602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35461
2fdd4f78
AJ
35462 * include/atomic.h (atomic_exchange_and_add): Split into ...
35463 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35464 New atomic macros.
51a9ba86 35465
ba6cba9e
MT
354662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35467
35468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35469
42443a47
JL
354702012-08-13 Jeff Law <law@redhat.com>
35471
35472 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35473 null byte in the output string.
35474
121dce05
JM
354752012-08-10 Joseph Myers <joseph@codesourcery.com>
35476
35477 * sysdeps/unix/sysv/linux/kernel-features.h
35478 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35479 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35480 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35482 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35483 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35484 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35485
bf51f568
JL
354862012-08-09 Jeff Law <law@redhat.com>
35487
35488 [BZ #13939]
35489 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35490 When avoid_arena is set, don't retry in the that arena. Pick the
35491 next one, whatever it might be.
35492 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35493 (arena_lock): Pass in new parameter to arena_get2.
35494 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35495 arena_get2.
35496 (__libc_malloc): Unify retrying after main arena failure with
35497 __libc_memalign version.
35498 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35499
f85fa270
L
355002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35501
35502 [BZ #14166]
35503 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35504 to __redirect_strstr.
35505 (__strstr_sse42): Use typeof __redirect_strstr.
35506 (__strstr_ia32): Likewise.
35507 (__libc_strstr): New prototype.
35508 (strstr): Renamed to ...
35509 (__libc_strstr): This.
35510 (strstr): New strong alias of __libc_strstr.
35511 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35512 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35513 __redirect_time.
35514 Include <time.h>.
35515 (__libc_time): New prototype.
35516 (time_ifunc): Replace time with __libc_time.
35517 (time): New strong alias and hidden definition of __libc_time.
35518 (__GI_time): Remove strong alias.
35519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35520 Include <stddef.h>.
35521 (memmove): Redefined to __redirect_memmove.
35522 (__memmove_sse2): Use typeof __redirect_memmove.
35523 (__memmove_ssse3): Likewise.
35524 (__memmove_ssse3_back): Likewise.
35525 (__libc_memmove): New prototype.
35526 (memmove): Renamed to ...
35527 (__libc_memmove): This.
35528 (memmove): New strong alias of __libc_memmove.
35529
33b4a91e
MS
355302012-08-08 Mark Salter <msalter@redhat.com>
35531
35532 * elf/elf.h
35533 (R_MN10300_TLS_GD): Define.
35534 (R_MN10300_TLS_LD): Likewise.
35535 (R_MN10300_TLS_LDO): Likewise.
35536 (R_MN10300_TLS_GOTIE): Likewise.
35537 (R_MN10300_TLS_IE): Likewise.
35538 (R_MN10300_TLS_LE): Likewise.
35539 (R_MN10300_TLS_DTPMOD): Likewise.
35540 (R_MN10300_TLS_DTPOFF): Likewise.
35541 (R_MN10300_TLS_TPOFF): Likewise.
35542 (R_MN10300_SYM_DIFF): Likewise.
35543 (R_MN10300_ALIGN): Likewise.
35544 (R_MN10300_NUM): Update.
35545
b36137f1
JM
355462012-08-08 Joseph Myers <joseph@codesourcery.com>
35547
35548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35549 Remove.
35550
cdd915fd
RM
355512012-08-08 Roland McGrath <roland@hack.frob.com>
35552
a2433aac
RM
35553 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35554
cdd915fd
RM
35555 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35556 sysdeps/unix -> sysdeps/posix move.
35557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35558
bf9b740a
AM
355592012-08-07 Allan McRae <allan@archlinux.org>
35560
35561 [BZ #14303]
35562 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35563 (SUNOS_CPP): Likewise.
35564 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35565 not found.
35566 (open_input): Call CPP using execvp.
35567
93df14ee
JM
355682012-08-07 Joseph Myers <joseph@codesourcery.com>
35569
35570 * sysdeps/unix/sysv/linux/kernel-features.h
35571 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35572 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35573 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35574 (__ASSUME_WAITID_SYSCALL): Likewise.
35575 * sysdeps/unix/sysv/linux/dl-execstack.c
35576 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35577 code unconditional.
35578 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35579 conditional code.
35580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35581 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35582 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35583 code.
35584 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35585 unconditional.
35586 [__ASSUME_WAITID_SYSCALL]: Likewise.
35587 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35588
d34689de
RM
355892012-08-07 Roland McGrath <roland@hack.frob.com>
35590
a281decc
RM
35591 * sysdeps/unix/closedir.c: Renamed to ...
35592 * sysdeps/posix/closedir.c: ... here.
35593 * sysdeps/unix/dirfd.c: Renamed to ...
35594 * sysdeps/posix/dirfd.c: ... here.
35595 * sysdeps/unix/dirstream.h: Renamed to ...
35596 * sysdeps/posix/dirstream.h: ... here.
35597 * sysdeps/unix/fdopendir.c: Renamed to ...
35598 * sysdeps/posix/fdopendir.c: ... here.
35599 * sysdeps/unix/opendir.c: Renamed to ...
35600 * sysdeps/posix/opendir.c: ... here.
35601 * sysdeps/unix/readdir.c: Renamed to ...
35602 * sysdeps/posix/readdir.c: ... here.
35603 * sysdeps/unix/readdir_r.c: Renamed to ...
35604 * sysdeps/posix/readdir_r.c: ... here.
35605 * sysdeps/unix/rewinddir.c: Renamed to ...
35606 * sysdeps/posix/rewinddir.c: ... here.
35607 * sysdeps/unix/seekdir.c: Renamed to ...
35608 * sysdeps/posix/seekdir.c: ... here.
35609 * sysdeps/unix/telldir.c: Renamed to ...
35610 * sysdeps/posix/telldir.c: ... here.
35611 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35612 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35613 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35614 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35615
22895b47
RM
35616 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35617 * bits/fcntl.h: ... here.
35618
707a53b6
RM
35619 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35620 not 0.
35621 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35622 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35623 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35624 (struct flock): Move l_start, l_len to the beginning.
35625 Use __pid_t for l_pid.
35626 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35627 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35628 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35629 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35630 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35631 [__USE_LARGEFILE64] (struct flock64): New type.
35632 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35633
f0bd3e25
RM
35634 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35635 * bits/dirent.h: ... here.
35636
d34689de
RM
35637 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35638 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35639
6dad2c06
JM
356402012-08-07 Joseph Myers <joseph@codesourcery.com>
35641
35642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35643 Change from 2.6.0 to 2.6.16.
35644 * sysdeps/unix/sysv/linux/configure: Regenerated.
35645 * sysdeps/unix/sysv/linux/kernel-features.h
35646 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35647 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35648 version.
35649 (__ASSUME_UTIMES): Likewise.
35650 (__ASSUME_CLONE_STOPPED): Remove.
35651 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35652 architectures, not kernel version.
35653 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35654 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35655 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35656 (__ASSUME_WAITID_SYSCALL): Likewise.
35657 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35658 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35659 * README: State 2.6.16 as minimum Linux kernel version. Do not
35660 refer to older versions.
35661
03af9520
RM
356622012-08-06 Roland McGrath <roland@hack.frob.com>
35663
8e49df1d
RM
35664 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35665 Define alphasort64 as an alias.
35666 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35667 Define versionsort64 as an alias.
35668 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35669 Define scandir64 as an alias.
35670 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35671 Define scandirat64 as an alias.
35672 * dirent/alphasort64.c (alphasort64):
35673 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35674 * dirent/versionsort64.c: Likewise.
35675 * dirent/scandir64.c: Likewise.
35676 * dirent/scandirat64.c: Likewise.
35677 * sysdeps/wordsize-64/alphasort.c: File removed.
35678 * sysdeps/wordsize-64/alphasort64.c: File removed.
35679 * sysdeps/wordsize-64/scandir.c: File removed.
35680 * sysdeps/wordsize-64/scandir64.c: File removed.
35681 * sysdeps/wordsize-64/scandirat.c: File removed.
35682 * sysdeps/wordsize-64/scandirat64.c: File removed.
35683 * sysdeps/wordsize-64/versionsort.c: File removed.
35684 * sysdeps/wordsize-64/versionsort64.c: File removed.
35685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35687 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35689 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35693
35694 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35696 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35698 [defined __arch64__ || defined __sparcv9]
35699 (__INO_T_MATCHES_INO64_T): New macro.
35700 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35701 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35702 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35703 * sysdeps/unix/sysv/linux/bits/dirent.h
35704 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35705 (_DIRENT_MATCHES_DIRENT64): New macro.
35706
03af9520
RM
35707 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35708 Define lockf64 as an alias.
35709 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35710 Define fseeko64 as an alias.
35711 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35712 Define ftello64 as an alias.
35713 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35714 Define _IO_fgetpos64 and fgetpos64 as aliases.
35715 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35716 Define _IO_fsetpos64 and fsetpos64 as aliases.
35717 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35718 Conditionalize body on this.
35719 * libio/fseeko64.c: Likewise.
35720 * libio/ftello64.c: Likewise.
35721 * libio/iofgetpos64.c: Likewise.
35722 * libio/iofsetpos64.c: Likewise.
35723 * sysdeps/wordsize-64/lockf.c: File removed.
35724 * sysdeps/wordsize-64/lockf64.c: File removed.
35725 * sysdeps/wordsize-64/fseeko.c: File removed.
35726 * sysdeps/wordsize-64/fseeko64.c: File removed.
35727 * sysdeps/wordsize-64/ftello.c: File removed.
35728 * sysdeps/wordsize-64/ftello64.c: File removed.
35729 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35730 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35731 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35732 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35741 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35743
35744 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35746 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35748 [defined __arch64__ || defined __sparcv9]
35749 (__OFF_T_MATCHES_OFF64_T): New macro.
35750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35751 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35753 (__OFF_T_MATCHES_OFF64_T): New macro.
35754
c5757acd
L
357552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35756
35757 * stdlib/secure-getenv.c (__secure_getenv): Replace
35758 GLIBC_2_16 with GLIBC_2_17.
35759
3a31811e
L
357602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35761
35762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35764
faa2bccb
DM
357652012-08-03 David S. Miller <davem@davemloft.net>
35766
35767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35768
85fe1997
JM
357692012-08-03 Joseph Myers <joseph@codesourcery.com>
35770
35771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35772 Remove.
35773 (__ASSUME_CORRECT_SI_PID): Likewise.
35774 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35775 (__ASSUME_TMPFS_NAME): Likewise.
35776 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35777 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35778 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35779 (HAVE_AUX_SECURE): Make definition unconditional.
35780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35781 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35782
4f75b7a0
RM
357832012-08-03 Roland McGrath <roland@hack.frob.com>
35784
35785 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35786 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35787 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35789 __eloop_threshold instead of SYMLOOP_MAX.
35790
35791 * sysdeps/generic/eloop-threshold.h: New file.
35792 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35793 of MAXSYMLINKS.
35794 * elf/chroot_canon.c (chroot_canon): Likewise.
35795
7aab07e4
JM
357962012-08-03 Joseph Myers <joseph@codesourcery.com>
35797
35798 [BZ #13717]
35799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35800 Change to 2.6.0 everywhere.
35801 * sysdeps/unix/sysv/linux/configure: Regenerated.
35802 * sysdeps/unix/sysv/linux/kernel-features.h
35803 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35804 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35805 kernel versions.
35806 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35807 (__ASSUME_FUTEX_REQUEUE): Remove.
35808 (__ASSUME_STATFS64): Define unconditionally.
35809 (__ASSUME_AT_SECURE): Likewise.
35810 (__ASSUME_CORRECT_SI_PID): Likewise.
35811 (__ASSUME_TGKILL): Define without depending on kernel version for
35812 i386.
35813 (__ASSUME_UTIMES): Likewise.
35814 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35815 kernel version.
35816 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35817 (__ASSUME_TMPFS_NAME): Likewise.
35818 * README: Update reference to Linux kernel versions.
35819
b67e9372
MP
358202012-08-02 Marek Polacek <polacek@redhat.com>
35821
1f529f7d 35822 [BZ# 14150]
b67e9372
MP
35823 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35824 libc_cv_asm_type_prefix with %.
35825 * configure: Regenerated.
d2441631
RM
35826 * include/libc-symbols.h: Remove comment about
35827 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
35828 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35829 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35830 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35831 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35832 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35833 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35835 * elf/tst-unique2mod1.c: Likewise.
35836 * elf/tst-unique1mod2.c: Likewise.
35837 * elf/tst-unique1mod1.c: Likewise.
35838 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35839 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35840 Replace ASM_TYPE_DIRECTIVE with .type.
35841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35842 * sysdeps/i386/sysdep.h: Likewise.
35843 * sysdeps/x86_64/sysdep.h: Likewise.
35844 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
35845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35846 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 35847 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
35848 * sysdeps/powerpc/powerpc32/sysdep.h:
35849 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
35850 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35852 * sysdeps/i386/fpu/e_powf.S: Likewise.
35853 * sysdeps/i386/fpu/e_expl.S: Likewise.
35854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35856 * sysdeps/i386/fpu/e_pow.S: Likewise.
35857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35861 * sysdeps/i386/fpu/e_log2.S: Likewise.
35862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35864 * sysdeps/i386/fpu/e_powl.S: Likewise.
35865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35867 * sysdeps/i386/fpu/e_logl.S: Likewise.
35868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35869 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35870 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35873 * sysdeps/i386/fpu/e_log.S: Likewise.
35874 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35875 * sysdeps/i386/fpu/e_logf.S: Likewise.
35876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35877 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35878 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35879 * sysdeps/i386/fpu/e_log10.S: Likewise.
35880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35886 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35887 * sysdeps/i386/i686/strtok.S: Likewise.
35888 * sysdeps/i386/i386-mcount.S: Likewise.
35889 * sysdeps/i386/strtok.S: Likewise.
35890 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35894 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35896 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35897 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35899 * sysdeps/x86_64/_mcount.S: Likewise.
35900 * sysdeps/x86_64/strtok.S: Likewise.
35901 * sysdeps/sh/_mcount.S: Likewise.
35902
2747bf9a
RM
359032012-08-01 Roland McGrath <roland@hack.frob.com>
35904
35905 * libio/iofopen.c: Include <fcntl.h>.
35906 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35907 (_IO_fopen64, fopen64): Define as aliases.
35908 * libio/iofopen64.c: Include <fcntl.h>.
35909 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35910 Conditionalize body on this.
35911 * sysdeps/wordsize-64/iofopen.c: File removed.
35912 * sysdeps/wordsize-64/iofopen64.c: File removed.
35913
3fb791b8
MP
359142012-08-01 Marek Polacek <polacek@redhat.com>
35915
35916 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35917 Use dlfcn directly instead of a variable.
35918 (binfmt-subdir): Do not define.
35919 (dlfcn): Likewise.
35920
a9f1039f
JM
359212012-08-01 Joseph Myers <joseph@codesourcery.com>
35922
23bddc06
JM
35923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35924 Remove all definitions.
35925 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35926 <kernel-features.h>.
35927 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35928 (miss_F_GETOWN_EX): Remove all definitions.
35929 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35930 macro definition.
35931 [!__ASSUME_FCNTL64]: Remove conditional code.
35932 [__ASSUME_FCNTL64]: Make code unconditional.
35933 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35934 <kernel-features.h>.
35935 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35936 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35937 (lockf64) [__NR_fcntl64]: Make code unconditional.
35938 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35939
a9f1039f
JM
35940 * sysdeps/unix/sysv/linux/kernel-features.h
35941 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35942 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35943 Make code unconditional.
35944 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35945 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35947 [__NR_vfork]: Make code unconditional.
35948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35951 [__NR_vfork]: Make code unconditional.
35952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35954
09c0ee5f
RM
359552012-08-01 Roland McGrath <roland@hack.frob.com>
35956
48aec5b9
RM
35957 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35958 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35959
cd97c966
RM
35960 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35961 Define mkstemp64 as an alias.
3f55550c
RM
35962 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35963 Define mkstemps64 as an alias.
cd97c966
RM
35964 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35965 Define mkostemp64 as an alias.
b8625cfc
RM
35966 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35967 Define mkostemps64 as an alias.
cd97c966
RM
35968 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35969 Conditionalize body on this.
35970 * misc/mkostemp64.c: Likewise.
b8625cfc 35971 * misc/mkostemps64.c: Likewise.
3f55550c 35972 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35973 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35974 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35975 * sysdeps/wordsize-64/mkostemp.c: File removed.
35976 * sysdeps/wordsize-64/mkstemp.c: File removed.
35977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35981
09c0ee5f
RM
35982 [BZ #14138]
35983 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35984 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35985 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35986 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35987
35988 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35989 compat_symbol macros from <shlib-compat.h> rather than the underlying
35990 default_symbol_version and symbol_version macros, so that DEFAULT
35991 lines in shlib-versions are respected.
35992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35993
7e66ee51
FW
359942012-08-01 Florian Weimer <fweimer@redhat.com>
35995
35996 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35997 Declare with warn_unused_result.
35998 (setgid, setregid, setegid, setresgid): Likewise.
35999 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36000 Likewise.
36001 * WUR-REPORT: Remove set*id functions.
36002
d2a54255
PT
360032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36004
36005 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36006
7ecdb005
RM
360072012-07-31 Roland McGrath <roland@hack.frob.com>
36008
b4180a5e 36009 [BZ #10191]
789bd351
RM
36010 * include/sys/socket.h (__libc_accept, __libc_accept4):
36011 Add attribute_hidden.
36012 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36013
40ce302d
RM
36014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36015 use of PTR_MANGLE.
36016 * inet/getnetgrent_r.c (setup): Likewise.
36017
7ecdb005
RM
36018 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36019
e2eabb2c
DM
360202012-07-31 David S. Miller <davem@davemloft.net>
36021
36022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36023
d0419dbf
JM
360242012-07-31 Joseph Myers <joseph@codesourcery.com>
36025
36026 [BZ #13629]
36027 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36028 value between 1.0 and 2.0 and smaller part has absolute value less
36029 than 1.0.
36030 * math/s_clog10.c (__clog10): Likewise.
36031 * math/s_clog10f.c (__clog10f): Likewise.
36032 * math/s_clog10l.c (__clog10l): Likewise.
36033 * math/s_clogf.c (__clogf): Likewise.
36034 * math/s_clogl.c (__clogl): Likewise.
36035 * math/libm-test.inc (clog_test): Add more tests.
36036 (clog10_test): Likewise.
36037 * sysdeps/i386/fpu/libm-test-ulps: Update.
36038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36039
2bc13872
FW
360402012-07-31 Florian Weimer <fweimer@redhat.com>
36041
36042 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36043 Exit with zero in case no suitable GID is found, and write a
36044 message to standard error.
36045
bea9b193
RM
360462012-07-30 Roland McGrath <roland@hack.frob.com>
36047
36048 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36049 rather than to 1.
36050 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36051 (MAXPATHLEN): Removed.
36052 (NOGROUP, NODEV): New macros.
36053 (setbit, clrbit, isset, isclr): New macros.
36054 (howmany, roundup, powerof2): New macros.
36055 (DEV_BSIZE): New macro.
36056
36057 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36058 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36059
36060 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36061 definition on [!__NO_LONG_DOUBLE_MATH].
36062
36063 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36064 PTR_MANGLE and PTR_DEMANGLE.
36065
36066 * socket/accept4.c (accept4): Rename to __libc_accept4.
36067 Define accept4 as a weak alias.
36068
36069 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36070 on [_DIRENT_HAVE_D_TYPE].
36071 * io/ftw.c (ftw_dir): Likewise.
36072
36073 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36074
36075 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36076
36077 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36078 Use the BSD numbers rather than the arbitrary ones we had.
36079 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36080 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36081 (SIGXCPU, SIGXFSZ): New macros.
36082 (_NSIG): Now 32.
36083
36084 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36085 initializer on [_LIBC_REENTRANT].
36086
36087 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36088 definitions inside [_POSIX_MAPPED_FILES].
36089
36090 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36091
36092 * dirent/opendir.c: Include <fcntl.h>.
36093
36094 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36095 (__libc_getspecific): Likewise.
36096 (__libc_key_create): Likewise.
36097
36098 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36099 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36100 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36101 (tmpfile64): Define as alias.
36102 * sysdeps/wordsize-64/tmpfile.c: File removed.
36103 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36106
36107 * stdio-common/vfscanf.c: Include <stdbool.h>.
36108 * nss/makedb.c: Likewise.
36109 * stdio-common/_i18n_number.h: Likewise.
36110 * argp/argp-help.c: Likewise.
36111 * posix/wordexp.c: Likewise.
36112 * sysdeps/posix/spawni.c: Likewise.
36113 * nss/nss_files/files-initgroups.c: Likewise.
36114 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36115 * nss/nss_files/files-initgroups.c: Likewise.
36116 * nss/nss_db/db-netgrp.c: Likewise.
36117 * nss/nss_db/db-initgroups.c: Likewise.
36118 * io/fchmodat.c: Include <sys/stat.h>.
36119
36120 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36121 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36122
36123 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36124 [HAVE_MMAP].
36125
36126 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36127 Add multiple inclusion protection.
36128
e5abc686
DM
361292012-07-27 David S. Miller <davem@davemloft.net>
36130
36131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36132
815e6fa3
GB
361332012-07-27 Gary Benson <gbenson@redhat.com>
36134
36135 [BZ #14298]
36136 * elf/rtld.c: Include <stap-probe.h>.
36137 (dl_main): Added static probes "init_start" and "init_complete".
36138 * elf/dl-load.c: Include <stap-probe.h>.
36139 (lose): Take new parameter "nsid".
36140 Added static probe "map_failed".
36141 (_dl_map_object_from_fd): Pass namespace id to lose.
36142 Added static probe "map_start".
36143 (open_verify): Pass namespace id to lose.
36144 * elf/dl-open.c: Include <stap-probe.h>.
36145 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36146 and "reloc_complete".
36147 * elf/dl-close.c: Include <stap-probe.h>.
36148 (_dl_close_worker): Added static probes "unmap_start" and
36149 "unmap_complete".
36150 * elf/rtld-debugger-interface.txt: New file documenting the above.
36151
9f98c16c
RM
361522012-07-26 Roland McGrath <roland@hack.frob.com>
36153
36154 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36155 rather than a string variable.
36156 * sunrpc/rpc_main.c (h_output): Likewise.
36157 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36158
f3c22df3
PT
361592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36160
36161 * inet/check_native.c: New file.
36162
3129cfc6
JM
361632012-07-26 Joseph Myers <joseph@codesourcery.com>
36164
da865e95
JM
36165 [BZ #13629]
36166 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36167 if larger part has absolute value 1.0.
36168 * math/s_clog10.c (__clog10): Likewise.
36169 * math/s_clog10f.c (__clog10f): Likewise.
36170 * math/s_clog10l.c (__clog10l): Likewise.
36171 * math/s_clogf.c (__clogf): Likewise.
36172 * math/s_clogl.c (__clogl): Likewise.
36173 * math/libm-test.inc (clog_test): Add more tests.
36174 (clog10_test): Likewise.
36175 * sysdeps/i386/fpu/libm-test-ulps: Update.
36176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36177
3129cfc6
JM
36178 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36179 (pltexit): Likewise.
36180 (La_regs): Likewise.
36181 (La_retval): Likewise.
36182 (int_retval): Likewise.
36183 Update #error for removed macros to refer only to definitions in
36184 tst-audit.h.
36185 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36186 macro.
36187 (pltexit): Likewise.
36188 (La_regs): Likewise.
36189 (La_retval): Likewise.
36190 (int_retval): Likewise.
36191 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36192 macro.
36193 (pltexit): Likewise.
36194 (La_regs): Likewise.
36195 (La_retval): Likewise.
36196 (int_retval): Likewise.
36197 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36198 macro.
36199 (pltexit): Likewise.
36200 (La_regs): Likewise.
36201 (La_retval): Likewise.
36202 (int_retval): Likewise.
36203 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36204 macro.
36205 (pltexit): Likewise.
36206 (La_regs): Likewise.
36207 (La_retval): Likewise.
36208 (int_retval): Likewise.
36209 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36210 macro.
36211 (pltexit): Likewise.
36212 (La_regs): Likewise.
36213 (La_retval): Likewise.
36214 (int_retval): Likewise.
36215 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36216 macro.
36217 (pltexit): Likewise.
36218 (La_regs): Likewise.
36219 (La_retval): Likewise.
36220 (int_retval): Likewise.
36221 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36222 macro definitions in tst-audit.h.
36223 * sysdeps/i386/tst-audit.h: New file.
36224 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36225 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36226 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36227 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36228 * sysdeps/sh/tst-audit.h: Likewise.
36229 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36230 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36231 * sysdeps/x86_64/tst-audit.h: Likewise.
36232
bfc07087
AJ
362332012-07-26 Andreas Jaeger <aj@suse.de>
36234
b1b2aaf8
AJ
36235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36236 ptrace.
36237
36238 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36239 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36240 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36241 PTRACE_O_MASK.
36242 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36243 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36244 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36245
bfc07087
AJ
36246 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36247 value.
36248
36249 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36250 _sigsys.
36251 (si_call_addr, si_syscall, si_arch): Define new macro.
36252 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36253 _sigsys.
36254 (si_call_addr, si_syscall, si_arch): Define new marcro.
36255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36256 _sigsys.
36257 (si_call_addr, si_syscall, si_arch): Define new macro.
36258 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36259 _sigsys.
36260 (si_call_addr, si_syscall, si_arch): Define new macro.
36261
89b4b02f
JM
362622012-07-25 Joseph Myers <joseph@codesourcery.com>
36263
36264 [BZ #13717]
36265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36266 Change to 2.4.21 where previously 2.4.1.
36267 * sysdeps/unix/sysv/linux/configure: Regenerated.
36268 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36269 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36270 Linux kernel version.
36271 (__ASSUME_STD_AUXV): Remove.
36272 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36273 kernel version.
36274 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36275 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36276 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36277 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36278 (__ASSUME_NETLINK_SUPPORT): Likewise.
36279 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36280 (__no_netlink_support): Remove conditional definition.
36281 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36282 Remove.
36283 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36284 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36286 (if_nameindex_ioctl): Remove.
36287 (if_nameindex_netlink): Do not handle __no_netlink_support.
36288 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36289 code.
36290 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36291 Remove conditional code.
36292 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36293 code.
36294 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36295 unconditional.
36296 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36297 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36298 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36299 Remove.
36300 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36301 [!__ASSUME_STD_AUXV]: Remove conditional code.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36303 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36304 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36306 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36307 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36308 code.
36309 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36312 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36313 conditional code.
36314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36317 code.
36318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36319 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36320 conditional code.
36321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36322 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36323 code unconditional.
36324 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36325 conditional code.
36326 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36327 unconditional.
36328 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36329 conditional code.
36330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36331 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36332 unconditional.
36333 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36334 conditional code.
36335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36336 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36337 code unconditional.
36338 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36339 conditional code.
36340 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36341 unconditional.
36342 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36343 conditional code.
36344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36345 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36346 code unconditional.
36347 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36348 conditional code.
36349 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36350 unconditional.
36351 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36352 conditional code.
36353
842a39cd
AS
363542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36355
36356 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36357 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36358 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36359 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36360 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36361 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36363 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36364 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36365 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36366 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36367 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36368 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36369 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36372 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36374 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36376 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36377 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36379
84b3fd84
FW
363802012-07-25 Florian Weimer <fweimer@redhat.com>
36381
36382 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36383 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36384 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36385 Introduce __libc_secure_getenv.
0c7936d5
FW
36386 * stdlib/Versions (2.17): Add secure_getenv
36387 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36388 * stdlib/secure-getenv.c: Rename __secure_getenv to
36389 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36390 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36391 * stdlib/tst-secure-getenv.c: New.
36392 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36393 * manual/startup.texi (Environment Access): Document
36394 secure_getenv.
84b3fd84
FW
36395 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36396 __libc_secure_getenv.
36397 * inet/ruserpass.c (ruserpass): Likewise.
36398 * malloc/mtrace.c (mtrace): Likewise.
36399 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36400 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36401 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36402 * sysdeps/posix/tempname.c: Likewise. Evaluate
36403 HAVE_SECURE_GETENV.
36404 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36405 __secure_getenv to __libc_secure_getenv.
84b3fd84 36406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36408 Likewise.
36409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36410 Likewise.
36411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36418
56e49b71
JM
364192012-07-25 Joseph Myers <joseph@codesourcery.com>
36420
36421 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36422 (struct La_i86_retval): Likewise.
36423 (struct La_x86_64_regs): Likewise.
36424 (struct La_x86_64_retval): Likewise.
36425 (struct La_x32_regs): Likewise.
36426 (struct La_x32_retval): Likewise.
36427 (struct La_ppc32_regs): Likewise.
36428 (struct La_ppc32_retval): Likewise.
36429 (struct La_ppc64_regs): Likewise.
36430 (struct La_ppc64_retval): Likewise.
36431 (struct La_sh_regs): Likewise.
36432 (struct La_sh_retval): Likewise.
36433 (struct La_s390_32_regs): Likewise.
36434 (struct La_s390_32_retval): Likewise.
36435 (struct La_s390_64_regs): Likewise.
36436 (struct La_s390_64_retval): Likewise.
36437 (struct La_sparc32_regs): Likewise.
36438 (struct La_sparc32_retval): Likewise.
36439 (struct La_sparc64_regs): Likewise.
36440 (struct La_sparc64_retval): Likewise.
36441 (struct audit_ifaces): Remove architecture-specific pltenter and
36442 pltexit members.
36443 * sysdeps/i386/ldsodefs.h: New file.
36444 * sysdeps/powerpc/ldsodefs.h: Likewise.
36445 * sysdeps/s390/ldsodefs.h: Likewise.
36446 * sysdeps/sh/ldsodefs.h: Likewise.
36447 * sysdeps/sparc/ldsodefs.h: Likewise.
36448 * sysdeps/x86_64/ldsodefs.h: Likewise.
36449
354691b7
MP
364502012-07-25 Marek Polacek <polacek@redhat.com>
36451
36452 [BZ #6808]
36453 * math/libm-test.inc (yn_test): Add another test.
36454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36455 to ERANGE when the result is +-Inf.
36456 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36460
bf9e2071
JM
364612012-07-24 Joseph Myers <joseph@codesourcery.com>
36462
36463 * conform/data/time.h-data (NULL): Use macro-constant. Require
36464 equal to 0.
36465 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36466 clock_t.
36467 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36468
57633811
TS
364692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36470
36471 * configure.in <sysdeps resolving>: Correct printing
36472 Implies_before.
36473 * configure: Regenerate.
36474
c23c33b0
TS
364752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36476
36477 * math/w_ilogb.c: Include <limits.h>.
36478 * math/w_ilogbl.c: Likewise.
36479
b5982523
JM
364802012-07-20 Joseph Myers <joseph@codesourcery.com>
36481
36482 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36483 va_copy. Document allowing for unavailable va_copy only as
36484 pre-C99 compatibility.
36485 * manual/string.texi (Copying and Concatenation): Use va_copy
36486 instead of __va_copy in concat example.
36487
ac4ea442
PT
364882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36489
36490 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36491 (__sendto): Use create_address_port. Initialize APORT and deallocate
36492 it if not null.
36493
f98eafbd
PT
36494 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36495 with O_NOLINK passed to __file_name_lookup.
36496
898c7aab
PT
36497 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36498 with O_NOLINK passed to __file_name_lookup.
36499
0ced335a
PT
36500 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36501 negative N or less than NGIDS.
36502
b3404dbd
PT
36503 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36504 type to string_t. Set ERANGE as errno and return it if NAME is not big
36505 enough. Use memcpy instead of strncpy.
36506
0f48659e
JM
365072012-07-20 Joseph Myers <joseph@codesourcery.com>
36508
36509 * elf/Makefile (check-data): Remove.
36510 (localplt.data): New vpath directive.
36511 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36512 instead of $(check-data).
36513 * scripts/data/localplt-generic.data: Move to ...
36514 * sysdeps/generic/localplt.data: ... here.
36515 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36516 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36517 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36519 ... here.
36520 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36522 ... here.
36523 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36525 ... here.
36526 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36528 ... here.
36529 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36531 ... here.
36532 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36534 ... here.
36535
d37cbdaa
AZ
365362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36537
36538 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36539 PPC32 and PPC64 files.
36540 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36541 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36542
46f85fc2
AK
365432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36544
36545 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36546 __makecontext_ret to ...
36547 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36548 ... here and call exit if uc_link is NULL. New file.
36549 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36550 __makecontext_ret.S.
36551 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36552 __makecontext_ret to ...
36553 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36554 ... here and call exit if uc_link is NULL. New file.
36555 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36556 __makecontext_ret.S.
36557
08f43f9b
AK
365582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36559
36560 * elf/elf.h (R_390_IRELATIVE): New definition.
36561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36562 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36563 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36564 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36565 (elf_machine_lazy_rel): Likewise.
36566 * sysdeps/s390/dl-irel.h: New file.
36567 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36568 * sysdeps/s390/s390-64/memset.S: New asm code.
36569 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36570 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36571 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36572 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36573 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36574 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36576 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36577 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36578 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36579 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36580 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36581 * sysdeps/s390/s390-32/memset.S: New asm code.
36582 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36583
3b05db33
MP
365842012-07-17 Marek Polacek <polacek@redhat.com>
36585
36586 [BZ #14349]
36587 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36588 * sysdeps/s390/s390-64/configure.in: Likewise.
36589 * sysdeps/sparc/configure.in: Likewise.
36590 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36591 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36592 * sysdeps/i386/configure.in: Likewise.
36593 * sysdeps/x86_64/configure.in: Likewise.
36594 * sysdeps/sh/configure.in: Likewise.
36595 * sysdeps/s390/s390-32/configure: Regenerated.
36596 * sysdeps/s390/s390-64/configure: Likewise.
36597 * sysdeps/x86_64/configure: Likewise.
36598 * sysdeps/sh/configure: Likewise.
36599 * sysdeps/powerpc/powerpc64/configure: Likewise.
36600 * sysdeps/powerpc/powerpc32/configure: Likewise.
36601 * sysdeps/sparc/configure: Likwise.
36602 * sysdeps/i386/configure: Likewise.
36603
a66877c6
MP
36604 * elf/dl-open.c: Comment fixes.
36605
cfc82fd8
JM
366062012-07-17 Joseph Myers <joseph@codesourcery.com>
36607
bd29910a
JM
36608 * Makefile [CXX] (check-data): Remove.
36609 [CXX] (c++-types.data): New vpath directive.
36610 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36611 vpath. Do not allow for C++ type data being missing.
36612 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36613 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36614 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36615 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36616 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36617 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36618 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36620 ... here.
36621 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36623 ... here.
36624 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36626 ... here.
36627 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36629 ... here.
36630 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36632 ... here.
36633 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36635 ... here.
36636 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36638 ... here.
36639 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36641
cfc82fd8
JM
36642 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36643 definitions to architecture-specific files.
36644 (TLS_IE): Likewise.
36645 (TLS_LD): Likewise.
36646 (TLS_GD): Likewise.
36647 * sysdeps/i386/tls-macros.h: New file.
36648 * sysdeps/powerpc/tls-macros.h: Likewise.
36649 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36650 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36651 * sysdeps/sh/tls-macros.h: Likewise.
36652 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36653 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36654 * sysdeps/x86_64/tls-macros.h: Likewise.
36655
f7db3170
TS
366562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36657
07cbfc23
TS
36658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36659 zero value for regular exit case.
36660
f7db3170
TS
36661 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36662 (__start_context): Preserve zero value for regular exit case.
36663
dc97c227
TS
366642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36665 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36666
36667 * manual/setjmp.texi (setcontext): Clarify normal process
36668 termination when uc_link is the null pointer.
36669 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36670 exit call.
36671
d0cd7d02
AS
366722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36673
36674 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36675 preprocessor. Test for each exception mask separately.
36676
dd318934
AJ
366772012-07-16 Andreas Jaeger <aj@suse.de>
36678
36679 * po/ru.po: Update from translation team.
36680
8048311a
JM
366812012-07-15 Joseph Myers <joseph@codesourcery.com>
36682
36683 * conform/data/string.h-data (NULL): Use macro-constant. Require
36684 equal to 0.
36685 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36687 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36688 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36690
b637d46e
AJ
366912012-07-13 Andreas Jaeger <aj@suse.de>
36692
36693 * po/fr.po: Update from translation team.
36694
541428fe
MP
366952012-07-12 Marek Polacek <polacek@redhat.com>
36696
36697 [BZ #14173]
36698 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36700 loop condition.
36701
ec332e94
JM
367022012-07-12 Joseph Myers <joseph@codesourcery.com>
36703
36704 [BZ #13717]
36705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36706 Change to 2.4.1 where previously 2.4.0.
36707 * sysdeps/unix/sysv/linux/configure: Regenerated.
36708 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36709 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36710 version.
36711 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36712 (__ASSUME_AT_CLKTCK): Remove.
36713 (__ASSUME_AT_PAGESIZE): Likewise.
36714 (__ASSUME_AT_XID): Likewise.
36715 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36716 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36717 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36718 unconditionally.
36719 (HAVE_AUX_PAGESIZE): Likewise.
36720 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36721 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36722 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36723
7b6e99be
JB
367242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36725
36726 [BZ #14307]
36727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36728 the temporary buffer used to invoke __gethostbyname2_r,
36729 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36730 host_data / struct gaih_addrtuple.
36731 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36732 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36733 header file nss/nsswitch.h.
36734 * nss/nsswitch.h (global scope): Add definition of implementation
36735 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36736 resolv/nss_dns/dns-host.c).
36737
608404eb
AJ
367382012-07-11 Andreas Jaeger <aj@suse.de>
36739
36740 * po/fr.po: Update from translation team.
36741
71220aca
AJ
36742 * po/sv.po: Update from translation team
36743 * po/fr.po: Another update from translation team.
36744
28cfe843
AZ
367452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36746
36747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36748 for subnormals or multiply small sinh result by itself.
36749 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36751
6b90f981
DM
367522012-07-11 David S. Miller <davem@davemloft.net>
36753
36754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36755
c6825772
AS
367562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36757
36758 [BZ #14347]
36759 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36760 (INTERNAL_MARK): Shift it here.
36761
7b8e0d49
MP
367622012-07-10 Marek Polacek <polacek@redhat.com>
36763
36764 [BZ #14151]
36765 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36766 libc_cv_asm_global_directive with .globl.
36767 * configure: Regenerated.
36768 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36769 with .globl.
36770 * sysdeps/i386/configure: Regenerated.
36771 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36772 with .globl.
36773 * sysdeps/x86_64/configure: Regenerated.
36774 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36775 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36776 * elf/tst-unique2mod2.c: Likewise.
36777 * elf/tst-unique2mod1.c: Likewise.
36778 * elf/tst-unique1mod2.c: Likewise.
36779 * elf/tst-unique1mod1.c: Likewise.
36780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36781 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36782 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36784 * sysdeps/mach/sysdep.h: Likewise.
36785 * sysdeps/i386/sysdep.h: Likewise.
36786 * sysdeps/i386/i386-mcount.S: Likewise.
36787 * sysdeps/x86_64/_mcount.S: Likewise.
36788 * sysdeps/x86_64/sysdep.h: Likewise.
36789 * sysdeps/sh/_mcount.S: Likewise.
36790 * sysdeps/sh/sysdep.h: Likewise.
36791 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36792 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36793 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36795 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36796 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36797 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36798 * locale/localeinfo.h: Likewise.
36799 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36800 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36801
6c55cda3
RM
368022012-07-09 Roland McGrath <roland@hack.frob.com>
36803
36804 [BZ #14336]
36805 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36806 system".
36807 * manual/message.texi (The Uniforum approach): Likewise.
36808 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36809 (glibc iconv Implementation): Likewise.
36810
638a572e
JM
368112012-07-09 Joseph Myers <joseph@codesourcery.com>
36812
36813 [BZ #14337]
36814 * math/s_clog.c (__clog): Avoid scaling a value down where that
36815 could result in underflow.
36816 * math/s_clog10.c (__clog10): Likewise.
36817 * math/s_clog10f.c (__clog10f): Likewise.
36818 * math/s_clog10l.c (__clog10l): Likewise.
36819 * math/s_clogf.c (__clogf): Likewise.
36820 * math/s_clogl.c (__clogl): Likewise.
36821 * math/libm-test.inc (clog_test): Add more tests.
36822 (clog10_test): Likewise.
36823 * sysdeps/i386/fpu/libm-test-ulps: Update.
36824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36825
261f4859
AS
368262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36827
0abaf3e4
AS
36828 [BZ #14283]
36829 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36830 by 7 not 8 to examine high bit of fractional part.
36831
261f4859
AS
36832 [BZ #14042]
36833 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36834 for call to __mcount_internal.
36835 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36836 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36837 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36838
f17ac40d
JM
368392012-07-06 Joseph Myers <joseph@codesourcery.com>
36840
9ad63c23
JM
36841 [BZ #14154]
36842 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36843 approximation for values within 0x1p-13f of an odd multiple of
36844 pi/4.
36845 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36846 exception. Add more tests.
36847 * sysdeps/i386/fpu/libm-test-ulps: Update.
36848
f17ac40d
JM
36849 [BZ #6778]
36850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36851 inputs and return -1 for them. Do not check for +Inf in case not
36852 reachable for +Inf.
36853 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36854 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36856 and return -1 for them. Do not check for +Inf in case not
36857 reachable for +Inf.
36858 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36859 define.
36860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36861 and return -1 for them. Do not check for +Inf in case not
36862 reachable for +Inf.
36863 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36864 spurious underflow.
36865 * sysdeps/i386/fpu/libm-test-ulps: Update.
36866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36867
fb21f89b
MF
368682012-07-06 Mike Frysinger <vapier@gentoo.org>
36869
36870 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36871
cdfe2c5e
JM
368722012-07-05 Joseph Myers <joseph@codesourcery.com>
36873
36874 [BZ #14157]
36875 [BZ #14331]
36876 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36877 could result in spurious underflow. Scale down values above
36878 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36879 * math/s_csqrtf.c (__csqrtf): Likewise.
36880 * math/s_csqrtl.c (__csqrtl): Likewise.
36881 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36882 spurious underflow.
36883 * sysdeps/i386/fpu/libm-test-ulps: Update.
36884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36885
70d35b67
AS
368862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36887
704bc459
AS
36888 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36889 xopen-msg.sed.
36890 * catgets/xopen-msg.awk: New file.
36891 * catgets/xopen-msg.sed: Removed.
36892
70d35b67
AS
36893 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36894 po2text.sed.
36895 * intl/po2test.awk: New file.
36896 * intl/po2test.sed: Removed.
36897
ca61cf32
JM
368982012-07-04 Joseph Myers <joseph@codesourcery.com>
36899
36900 [BZ #14328]
36901 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36902 or multiply small sinh result by itself.
36903 * math/s_ctanf.c (__ctanf): Likewise.
36904 * math/s_ctanh.c (__ctanh): Likewise.
36905 * math/s_ctanhf.c (__ctanhf): Likewise.
36906 * math/s_ctanhl.c (__ctanhl): Likewise.
36907 * math/s_ctanl.c (__ctanl): Likewise.
36908 * math/libm-test.inc (ctan_test_tonearest): New function.
36909 (ctan_test_towardzero): Likewise.
36910 (ctan_test_downward): Likewise.
36911 (ctan_test_upward): Likewise.
36912 (ctanh_test_tonearest): Likewise.
36913 (ctanh_test_towardzero): Likewise.
36914 (ctanh_test_downward): Likewise.
36915 (ctanh_test_upward): Likewise.
36916 (main): Call these new functions.
36917 * sysdeps/i386/fpu/libm-test-ulps: Update.
36918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36919
ca48a46a
MF
369202012-07-03 Mike Frysinger <vapier@gentoo.org>
36921
36922 * .gitignore: Delete /ports entry.
36923
9d63d37d
AJ
369242012-07-03 Andreas Jaeger <aj@suse.de>
36925
36926 * po/bg.po: Update from translation team.
36927 * po/cs.po: Likewise.
36928 * po/de.po: Likewise.
36929 * po/hr.po: Likewise.
36930 * po/nl.pl: Likewise.
36931 * po/pl.po: Likewise.
36932 * po/vi.po: Likewise.
36933
370ca3d2
JM
369342012-07-03 Joseph Myers <joseph@codesourcery.com>
36935
95f5a9a8
JM
36936 * Makeconfig [!+link] (+link-before-libc): New variable.
36937 [!+link] (+link-after-libc): Likewise.
36938 [!+link] (+link-tests): Likewise.
36939 [!+link] (+link): Define in terms of $(+link-before-libc) and
36940 $(+link-after-libc).
36941 [!+link-static] (+link-static-before-libc): New variable.
36942 [!+link-static] (+link-static-after-libc): Likewise.
36943 [!+link-static] (+link-static-tests): Likewise.
36944 [!+link-static] (+link-static): Define in terms of
36945 $(+link-static-before-libc) and $(+link-static-after-libc).
36946 [build-shared] (link-libc-before-gnulib): New variable.
36947 [build-shared] (link-libc-tests): Likewise.
36948 [build-shared] (link-libc): Define in terms of
36949 $(link-libc-before-gnulib).
36950 [!build-shared] (link-libc-tests): New variable.
36951 (link-libc-static-tests): New variable.
36952 [!gnulib] (gnulib-arch): New variable.
36953 [!gnulib] (gnulib-tests): Likewise.
36954 [!gnulib] (static-gnulib-arch): Likewise.
36955 [!gnulib] (static-gnulib-tests): Likewise.
36956 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36957 Define with "=" instead of ":=".
36958 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36959 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36960 * Rules (binaries-all-notests): New variable.
36961 (binaries-all-tests): Likewise.
36962 (binaries-static-notests): Likewise.
36963 (binaries-static-tests): Likewise.
36964 (binaries-all): Define using $(binaries-all-notests) and
36965 $(binaries-all-tests).
36966 (binaries-static): Define using $(binaries-static-notests) and
36967 $(binaries-static-tests).
36968 (binaries-shared-tests): New variable.
36969 (binaries-shared-notests): Likewise.
36970 (binaries-shared): Remove variable.
36971 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36972 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36973 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36974 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36975 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36976 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36977 * elf/Makefile (sln-modules): New variable.
36978 (extra-objs): Add $(sln-modules:=.o).
36979 (ldconfig-modules): Add static-stubs.
36980 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36981 * elf/static-stubs.c: New file.
36982
7a845b2c
JM
36983 [BZ #14283]
36984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36985 by 7 not 8 to examine high bit of fractional part. Use volatile
36986 variables when splitting into final array of floats if
36987 __FLT_EVAL_METHOD__ != 0.
36988 * math/libm-test.inc (cos_test): Add another test.
36989 (sin_test): Likewise.
36990 * sysdeps/i386/fpu/libm-test-ulps: Update.
36991
e2283f38
JM
36992 [BZ #14273]
36993 * math/libm-test.inc (cosh_test): Add more tests.
36994
370ca3d2
JM
36995 * version.h (RELEASE): Set to "development".
36996 (VERSION): Set to "2.16.90".
36997
ee9247c3
CD
369982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36999
37000 * NEWS: Update copyright. Remove last-updated date.
37001 Mention math library bug fixes and timezone data changes.
37002 * README: Mention GNU/Hurd, x32, and HPPA support status.
37003
4648c381
TS
370042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37005
37006 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37007
aac78a43
AJ
370082012-06-27 Andreas Jaeger <aj@suse.de>
37009
37010 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37011
ed3dbfad
AJ
370122012-06-25 Andreas Jaeger <aj@suse.de>
37013
37014 * sysdeps/s390/fpu/libm-test-ulps: Update.
37015
4d0ee855
AS
370162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37017 Thomas Schwinge <thomas@codesourcery.com>
37018
37019 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37020 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37022 fanotify_mark.
37023
af1bce34
TS
370242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37025
a9fa33ba
TS
37026 * sysdeps/mach/start.c: Remove file.
37027 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37028 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37029 * sysdeps/sh/init-first.c: Likewise.
37030
58f902b8
TS
37031 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37032 registers for frame unwinding purposes, add CFI directives.
37033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37035 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37036 Likewise.
37037
1518f58b
TS
37038 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37039 __fortify_fail returning.
37040 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37041
db9b5059
TS
37042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37043 sysdeps/sh/____longjmp_chk.S.
37044 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37045 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37046 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37047 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37048
967705fe
TS
37049 * sysdeps/sh/abort-instr.h: New file.
37050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37051 process in case exit returns.
37052
a9def8c4
TS
37053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37054 initialize the GOT register before use.
37055
2a649725
TS
37056 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37057 calculation of ARGC > 4.
37058
af1bce34
TS
37059 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37060 meaningful names to some local labels.
37061
d230f50a
KK
370622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37063 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37064
37065 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37066 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37067 (__arch_compare_and_exchange_val_16_acq): Likewise.
37068 (__arch_compare_and_exchange_val_32_acq): Likewise.
37069 (atomic_exchange_and_add): Fix gUSA sequence.
37070 (atomic_add): Likewise.
37071 (atomic_add_negative): Likewise.
37072 (atomic_add_zero): Likewise.
37073 (atomic_bit_test_set): Likewise.
37074
0479b305
AS
370752012-06-22 Andreas Schwab <schwab@redhat.com>
37076
37077 [BZ #13579]
37078 * include/link.h (struct link_map): Add l_free_initfini.
37079 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37080 l_initfini.
37081 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37082 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37083 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37084 set.
37085
0e3933b9
CD
370862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37087
37088 * configure.in: Use AC_LANG_SOURCE.
37089 * configure: Regenerate.
37090
4248b1b1
RM
370912012-06-22 Roland McGrath <roland@hack.frob.com>
37092
37093 * configure.in (libc_cv_localstatedir): New substituted variable.
37094 * configure: Regenerated.
37095 * config.make.in (localstatedir): New variable, substituted from
37096 libc_cv_localstatedir.
37097 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37098 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37099 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37100 * sysdeps/gnu/configure: Regenerated.
37101
006dd861
JL
371022012-06-21 Jeff Law <law@redhat.com>
37103
37104 [BZ #14277]
37105 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37106 free. Simplify list management for _LIBC case.
37107
79662d42
JM
371082012-06-21 Joseph Myers <joseph@codesourcery.com>
37109
b7abb4bf
JM
37110 [BZ #14273]
37111 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37112 Clear sign bit of 64-bit integer value before comparing against
37113 overflow value.
37114
79662d42
JM
37115 * sysdeps/mach/configure: Regenerated.
37116
1f150908
L
371172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37118
37119 [BZ #14278]
37120 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37121
28363bbf
JL
371222012-06-21 Jeff Law <law@redhat.com>
37123
37124 [BZ #13882]
37125 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37126 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37128 * elf/dl-open.c (dl_open_worker): Likewise.
37129
09615db4
CD
371302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37131
37132 * scripts/list-sources.sh: Scan PORTS for translations.
37133 * po/libc.pot: Regenerated.
37134
2174c6dd
AJ
371352012-06-21 Andreas Jaeger <aj@suse.de>
37136
37137 [BZ #12194]
37138 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37139 warning.
37140 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37141 * bits/byteswap-16.h (__bswap_16): Likewise.
37142 * bits/byteswap.h (__bswap_constant_16): Likewise.
37143
3ee947b1
L
371442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37145
37146 [BZ #14117]
a2f34833
L
37147 * sysdeps/i386/fpu_control.h: Removed.
37148 * sysdeps/x86_64/fpu_control.h: Moved to ...
37149 * sysdeps/x86/fpu_control.h: Here.
37150
3ee947b1
L
37151 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37152 (_FPU_SETCW): Likewise.
37153
ed1825f8
L
371542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37155
25f1282a
L
37156 [BZ #14117]
37157 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37158 * sysdeps/x86/fpu/bits/mathinline.h: This.
37159 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37160
ed1825f8
L
37161 [BZ #14050]
37162 [BZ #14117]
37163 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37164 functions if __x86_64__ is defined.
37165
36d54b74
CLT
371662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37167
37168 * string/endian.h: Add !__ASSEMBLER__ condition for including
37169 conversion interfaces.
37170
10285c21
JM
371712012-06-15 Joseph Myers <joseph@codesourcery.com>
37172
37173 [BZ #14241]
37174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37175 of ABS(x) in calculating zero to negative powers other than odd
37176 integers.
37177 * math/libm-test.inc (pow_test): Add more tests.
37178
06c5abbd
AJ
371792012-06-15 Andreas Jaeger <aj@suse.de>
37180
37181 * manual/contrib.texi (Contributors): Update entry of Liubov
37182 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37183 Machado Filho.
37184
a3aeac40
CH
371852012-06-15 Cyril Hrubis <metan@ucw.cz>
37186
37187 * string/string.h: Add __wur to GNU version of strerror_r.
37188
49bdf4c1
L
371892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37190
37191 [BZ #14229]
37192 * string/Makefile (tests): Add tst-strtok_r.
37193 * string/tst-strtok_r.c: New file.
37194 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37195 RAX_LP/RDX_LP on SAVE_PTR.
37196
834f9b8d
RM
371972012-06-14 Roland McGrath <roland@hack.frob.com>
37198
37199 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37200
75fa1921
JM
372012012-06-14 Joseph Myers <joseph@codesourcery.com>
37202
37203 * libm_test.inc (csqrt_test): Allow more spurious underflow
37204 exceptions.
37205 (j0_test): Likewise.
37206 (j1_test): Likewise.
37207 (y0_test): Likewise.
37208 (y1_test): Likewise.
37209
771766df
CD
372102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37211
37212 * po/Makefile (libc.pot): Use UTF-8 charset.
37213
ceb9e56b
PP
372142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37215
37216 [BZ #14210]
37217 Suppress sign-conversion warning from FD_SET.
37218 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37219 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37220 not unsigned long int.
37221 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37222
ddb28975
L
372232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37224
37225 [BZ #14050]
37226 [BZ #14117]
37227 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37228 __extern_always_inline instead of __extern_inline.
37229 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37230 (__signbit): Likewise.
37231 (__signbitl): Support C++ namespace.
37232 (lrintf): New inline function.
37233 (lrint): Likewise.
37234 (llrintf): Likewise.
37235 (llrint): Likewise.
37236 (fmaxf): Likewise.
37237 (fmax): Likewise.
37238 (fminf): Likewise.
37239 (fmin): Likewise.
37240 (rint): Likewise.
37241 (rintf): Likewise.
37242 (ceil): Likewise.
37243 (ceilf): Likewise.
37244 (floor): Likewise.
37245 (floorf): Likewise.
37246 (nearbyint): Likewise.
37247 (nearbyintf): Likewise.
37248
d7b4fb26
TS
372492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37250
37251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37252 non-default versions.
37253
eb55f5c2
RM
372542012-06-11 Roland McGrath <roland@hack.frob.com>
37255
37256 [BZ #14218]
37257 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37258
366af02c
TS
372592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37260
99ff6e5c
TS
37261 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37262 (FE_UPWARD, FE_DOWNWARD): Don't define.
37263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37265
366af02c
TS
37266 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37267 reading it.
37268 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37270
793ea851
KK
372712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37272
37273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37276 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37277
a728a38f
L
372782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37279
37280 [BZ #14117]
c08010c7
L
37281 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37282 * sysdeps/i386/fpu/Implies: New file.
37283 * sysdeps/x86_64/fpu/Implies: Likewise.
37284 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37285 * sysdeps/x86/fpu/bits/fenv.h: This.
37286
a728a38f
L
37287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37288 __SSE_MATH__.
37289
6e230d11
SP
372902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37291
37292 [BZ #14134]
37293 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37294 character 0xffff that matches the last element of the
37295 conversion table.
37296
1b671feb
AZ
372972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37298
37299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37300 fmodl commit.
37301
6043738b
AZ
373022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37303
37304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37305 values higher than 25.6283.
37306
34ae0b32
AZ
373072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37308
37309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37310 subnormal exponent extraction and add some __builtin_expect.
37311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37312 Fix for subnormal mantissa calculation.
37313
1214ec8f
MF
373142012-06-04 Mike Frysinger <vapier@gentoo.org>
37315
37316 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37317 cpu2 is -1 and errno is not ENOSYS.
37318
f3d1f93c
L
373192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37320
37321 [BZ #14117]
0e4a3cd7
L
37322 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37323 * sysdeps/x86/bits/string.h: This.
37324 * sysdeps/x86_64/bits/string.h: Removed.
37325
6704c645
L
37326 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37327 if not compiling for x86-64, but compiling for >= i486.
37328
48495318
L
37329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37330 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37331
14adcbfc
L
37332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37333 New macro from Linux kernel 3.4.0.
37334 (FP_XSTATE_MAGIC2): Likewise.
37335 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37336 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37337 (struct _fpx_sw_bytes): New struct.
37338 (struct _xsave_hdr): Likewise.
37339 (struct _ymmh_state): Likewise.
37340 (struct _xstate): Likewise.
37341
68e408ab
L
37342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37343 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37345 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37347 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37348
f3d1f93c
L
37349 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37351 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37352 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37353 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37354 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37355
d9dc34cd
TMQMF
373562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37357
37358 [BZ #13743]
37359 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37360 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37361 (sysdep_headers): Include sys/platform/ppc.h.
37362 * sysdeps/powerpc/test-gettimebase.c: Test for
37363 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37364 * manual/Makefile (appendices): Include platform.texi.
37365 * manual/contrib.texi (Contributors): Update @node pointers.
37366 * manual/maint.texi (Maintenance): Likewise.
37367 (Platform): New node.
37368 * manual/platform.texi: New file. Document the new features.
37369
4af3879c
SP
373702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37371 Jakub Jelinek <jakub@redhat.com>
37372
37373 [BZ #14188]
37374 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37375 where __builtin_expect is unavailable.
37376
2fd6ff13
DM
373772012-06-03 David S. Miller <davem@davemloft.net>
37378
37379 * stdlib/longlong.h: Updated from GCC.
37380
173f7220
AS
373812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37382
37383 [BZ #14042]
37384 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37385 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37386 __mcount_internal.
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37388 (GLIBC_2.16): Likewise.
37389
f34a1c6f
L
373902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37391
37392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37393
88a4576f
JM
373942012-06-01 Joseph Myers <joseph@codesourcery.com>
37395
ea32bcdd
JM
37396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37397 (default-abi): New variable.
37398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37399 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37400 variable.
37401 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37402 Likewise.
37403 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37404 Likewise.
37405 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37406 Likewise.
37407
88a4576f
JM
37408 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37409 definition. Document in comment.
37410
402fe938
DM
374112012-06-01 David S. Miller <davem@davemloft.net>
37412
37413 * stdlib/longlong.h: Updated from GCC.
37414
3553723f
L
374152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37416
37417 [BZ #14117]
3bd872c4
L
37418 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37419 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37420 sys/debugreg.h sys/io.h here.
37421 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37422 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37423 sys/io.h.
37424 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37425 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37426 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37427 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37428 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37429 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37430
3553723f
L
37431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37432 Define only if __x86_64__ is defined.
37433
4842e4fe
JM
374342012-06-01 Joseph Myers <joseph@codesourcery.com>
37435
c5bfe3d5
JM
37436 [BZ #14048]
37437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37438 Use int64_t for variable i.
37439 * math/libm-test.inc (fmod_test): Add more tests.
37440
4842e4fe
JM
37441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37442 z computation is not scheduled after fetestexcept.
37443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37444 Use math_force_eval instead of asm to ensure calculation scheduled
37445 before exception test.
37446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37447 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37448
efb73488
AJ
374492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37450
37451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37452 computation is not scheduled after fetestexcept.
37453
29bcce7c
L
374542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37455
37456 [BZ #14117]
37457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37458 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37459
73a68f94
AZ
374602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37461
37462 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37463 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37464
67b6df78
L
374652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37466
edf2933a 37467 [BZ #14117]
ebc64a18
L
37468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37469 <bits/wordsize.h>.
37470 (__WCHAR_MIN): Support __WORDSIZE == 64.
37471 (__WCHAR_MAX): Likewise.
37472
edf2933a
L
37473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37475
57c6cf40
L
37476 [BZ #14183]
37477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37478 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37479
67b6df78 37480 [BZ #14117]
8eb6281e
L
37481 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37483
aac639f4
L
37484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37485 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37486
67b6df78
L
37487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37488 Defined to 1 if __x86_64__ isn't defined.
37489 (_STAT_VER_LINUX_OLD): New.
37490 (st_atime): Remove duplicate.
37491 (st_mtime): Likewise.
37492 (st_ctime): Likewise.
37493
1c2cfe81
DM
374942012-05-31 David S. Miller <davem@davemloft.net>
37495
37496 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37497 entries.
37498
5be8418c
AS
374992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37500
e7725326
AS
37501 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37502 gen-libm-test.pl.
37503
5be8418c
AS
37504 [BZ #14132]
37505 * elf/dl-reloc.c: Include <_itoa.h>.
37506 (_dl_reloc_bad_type): Remove use of INTUSE.
37507 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37508 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37509 * stdio-common/psiginfo.c (psiginfo): Likewise.
37510 * stdio-common/psignal.c (psignal): Likewise.
37511 * string/strsignal.c (strsignal): Likewise.
37512 * include/signal.h (_sys_siglist): Declare hidden proto.
37513 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37514 INTVARDEF with libc_hidden_data_def.
37515 * stdio-common/itoa-udigits.c: Likewise.
37516 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37517 (_itoa_lower_digits_internal): Remove declaration.
37518 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37519 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37520 (_sys_sigabbrev_internal): Remove aliases.
37521 (_sys_siglist): Define hidden alias.
37522
507352f1
MT
375232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37524
37525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37526 bits/sysctl.h.
37527
42bbb1c3
L
375282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37529
37530 [BZ #14117]
6bd784b6
L
37531 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37532 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37533
8bca20f0
L
37534 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37535 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37537 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37539 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37540
f9e890a9
L
37541 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37542 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37543 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37544
471101a1
L
37545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37546 with __addr.
37547 (insw): Likewise.
37548 (insl): Likewise.
37549 (outsb): Likewise.
37550 (outsw): Likewise.
37551 (outsl): Likewise.
37552
6451c862
L
37553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37556
a254b8c9
L
37557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37560 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37561 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37562 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37563
b8dfdd92
L
37564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37565 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37566
578cd270
L
37567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37568 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37569
de662f5f
L
37570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37573
25653439
L
37574 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37575 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37576 to ...
37577 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37578
6bad24a0
L
37579 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37581 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37582
42bbb1c3
L
37583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37584 for x86-64.
37585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37586
2d10d547
JM
375872012-05-31 Joseph Myers <joseph@codesourcery.com>
37588
37589 * math/math.h (M_El): Use two more decimal places.
37590 (M_LOG2El): Likewise.
37591 (M_LOG10El): Likewise.
37592 (M_LN2l): Likewise.
37593 (M_LN10l): Likewise.
37594 (M_PIl): Likewise.
37595 (M_PI_2l): Likewise.
37596 (M_PI_4l): Likewise.
37597 (M_1_PIl): Likewise.
37598 (M_2_PIl): Likewise.
37599 (M_2_SQRTPIl): Likewise.
37600 (M_SQRT2l): Likewise.
37601 (M_SQRT1_2l): Likewise.
37602
f230c29b
DM
376032012-05-31 David S. Miller <davem@davemloft.net>
37604
37605 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37606 values between float registers.
37607 * sysdeps/sparc/sparc64/memset.S: Likewise.
37608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37609
fed806c3
MF
376102012-05-31 Mike Frysinger <vapier@gentoo.org>
37611
37612 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37613 -D_FORTIFY_SOURCE=1.
37614 (CPPFLAGS-tst-longjmp_chk.c): Define.
37615 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37616 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37617 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37618 CFLAGS-tst-wchar-h.c.
37619
30917259
MP
376202012-05-31 Marek Polacek <polacek@redhat.com>
37621
37622 [BZ #14132]
37623 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37624 __endmntent_internal): Remove declaration.
37625 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37626 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37627 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37628
1c58d5dc
DM
376292012-05-30 David S. Miller <davem@davemloft.net>
37630
37631 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37632 (___Q_simulate_exceptions): Use real FP ops rather than writing
37633 into the %fsr.
37634 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37635 Likewise.
37636
7dc00e0d
L
376372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37638
37639 [BZ #14117]
0bd53985
L
37640 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37641 * sysdeps/x86/bits/xtitypes.h: This.
37642
3a257e66
L
37643 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37644 * sysdeps/x86/bits/wordsize.h: This.
37645
62f62904
L
37646 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37647 * sysdeps/x86/bits/huge_vall.h: This.
37648
404fe9d9
L
37649 * sysdeps/i386/bits/select.h: Removed.
37650 * sysdeps/x86_64/bits/select.h: Renamed to ...
37651 * sysdeps/x86/bits/select.h: This.
37652
d48d0446
L
37653 * sysdeps/i386/bits/setjmp.h: Removed.
37654 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37655 * sysdeps/x86/bits/setjmp.h: This.
37656
7dc00e0d
L
37657 * sysdeps/i386/bits/mathdef.h: Removed.
37658 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37659 * sysdeps/x86/bits/mathdef.h: This.
37660
03277f8f
AS
376612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37662
37663 [BZ #14132]
37664 * include/sys/socket.h (__connect_internal)
37665 (__libc_sa_len_internal): Remove declaration.
37666 (__connect, __libc_sa_len): Declare hidden_proto.
37667 (SA_LEN): Remove use of INTUSE.
37668 * socket/connect.c: Add libc_hidden_def.
37669 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37670 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37671 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37672 alias.
37673 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37675 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37676 of adding _internal alias.
37677
13764867
L
376782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37679
37680 [BZ #14117]
6bd97696
L
37681 * sysdeps/i386/bits/link.h: Removed.
37682 * sysdeps/i386/bits/linkmap.h: Likewise.
37683 * sysdeps/x86_64/bits/link.h: Renamed to ...
37684 * sysdeps/x86/bits/link.h: This.
37685 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37686 * sysdeps/x86/bits/linkmap.h: This.
37687
f726f0bb
L
37688 * sysdeps/i386/bits/endian.h: Removed.
37689 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37690 * sysdeps/x86/bits/endian.h: This.
37691
13764867
L
37692 * sysdeps/i386/bits/byteswap.h: Removed.
37693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37694 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37695 * sysdeps/x86/bits/byteswap.h: This.
37696 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37697 * sysdeps/x86/bits/byteswap-16.h: This.
37698 * sysdeps/i386/Implies: Add x86.
37699 * sysdeps/x86_64/Implies: Likewise.
37700
ae251b0b
DM
377012012-05-30 David S. Miller <davem@davemloft.net>
37702
37703 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37704 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37706 (FP_TRAPPING_EXCEPTIONS): Define.
37707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37708 (FP_TRAPPING_EXCEPTIONS): Define.
37709 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37710 subnormals only when inexact has been signalled or underflow
37711 exceptions are enabled.
37712 (_FP_PACK_CANONICAL): Likewise.
37713
d5c90867
L
377142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37715
37716 [BZ #14183]
37717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37718 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37719
63f1549e
RH
377202012-05-30 Richard Henderson <rth@twiddle.net>
37721
8d8f2279
RH
37722 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37723 with #ifndef NOT_IN_libc.
37724
63f1549e
RH
37725 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37726 marked to avoid plt entry.
37727
0ab0291b
L
377282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37729
37730 [BZ #14112]
37731 * Makeconfig (default-abi): New macro.
37732 (abi-includes): Likewise.
37733 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37734 $(abi-$(default-abi)-lib-soname) for soname if defined.
37735 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37736 abi-variants.
37737 * Makefile (installed-stubs): Likewise.
37738 * include/stubs-biarch.h: Removed.
37739 * scripts/lib-names.awk: Only handle one library at a time.
37740 * scripts/soversions.awk: Remove WORDSIZE support.
37741 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37742 entries.
37743 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37744 Removed.
37745 (syscall-list-default-condition): Likewise.
37746 (syscall-list-default-condition): Likewise.
37747 (syscall-list-includes): Likewise.
37748 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37749 syscall-list-* with abi-*. Handle undefined abi-variants.
37750 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37751 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37752 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37753 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37754 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37755 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37756 Removed.
37757 (syscall-list-32-options): Likewise.
37758 (syscall-list-32-condition): Likewise.
37759 (syscall-list-64-options): Likewise.
37760 (syscall-list-64-condition): Likewise.
37761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37762 macro.
37763 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37764 Renamed to ...
37765 (abi-*): This.
37766 (abi-64-ld-soname): New macro.
37767 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37768 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37769 Renamed to ...
37770 (abi-*): This.
37771 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37772 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37773
4da0431d
JM
377742012-05-30 Joseph Myers <joseph@codesourcery.com>
37775
3a85279c
JM
37776 * sysdeps/unix/sysv/linux/kernel-features.h
37777 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37778 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37779 include <kernel-features.h>.
37780 [!__NR_ftruncate64]: Remove conditional code.
37781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37782 [__NR_ftruncate64]: Make code unconditional.
37783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37784 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37785 include <kernel-features.h>.
37786 [!__NR_ftruncate64]: Remove conditional code.
37787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37788 [__NR_ftruncate64]: Make code unconditional.
37789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37791 include <kernel-features.h>.
37792 [!__NR_ftruncate64]: Remove conditional code.
37793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37794 [__NR_ftruncate64]: Make code unconditional.
37795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37797 include <kernel-features.h>.
37798 [!__NR_ftruncate64]: Remove conditional code.
37799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37800 [__NR_ftruncate64]: Make code unconditional.
37801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37802
4da0431d
JM
37803 * configure.in (libc_cv_fpie): Weaken to a compile test using
37804 LIBC_TRY_CC_OPTION.
37805 * configure: Regenerated.
37806
11ef492c
AK
378072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37808
37809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37813 Refreshed.
37814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37820 Refreshed.
37821
d66ef399
DM
378222012-05-27 David S. Miller <davem@davemloft.net>
37823
37824 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37825 (___Q_zero): New.
37826 (__Q_simulate_exceptions): Return void. Change to simulate
37827 exceptions by writing into the %fsr.
37828 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37829 (__Qp_handle_exceptions): Likewise.
37830 (numbers): Delete.
37831 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37832 __Qp_handle_exceptions.
37833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37834 __Qp_handle_exceptions.
37835 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37836 as unused and give dummy FP_RND_NEAREST initializer.
37837 (FP_INHIBIT_RESULTS): Define.
37838 (___Q_simulate_exceptions): Update declaration.
37839 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37840 formatting.
37841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37842 as unused and give dummy FP_RND_NEAREST initializer.
37843 (__Qp_handle_exceptions): Update declaration.
37844 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37845 formatting.
37846
04fb54b5
TS
378472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37848
37849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37850 the temporary FPU control word.
37851 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37852 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37854 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37856 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37857 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37860 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37862
3f99608f
KK
378632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37864
37865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37866 fields.
37867
65a4de4e
CLT
378682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37869
37870 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37871 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37872 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37873 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37874 Likewise.
37875 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37876 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37877 Likewise.
37878
15749d40
UD
378792012-05-27 Ulrich Drepper <drepper@gmail.com>
37880
37881 * po/h.po: Update from translation team.
37882
25dbcb27
AS
378832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37884
3d3f8e55
AS
37885 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37886
25dbcb27
AS
37887 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37888 handling of denormals.
37889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37890 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37892 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37896 Likewise.
37897
7ad47a80 378982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
37899
37900 [BZ #14152]
37901 * math/libm-test.inc (fma_test): Don't always expect underflow
37902 exception.
37903
9c6ea9fa
SP
379042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37905
37906 [BZ #12416]
37907 * elf/tst-execstack.c: Include stackinfo.h.
37908 (do_test): Adjust test case to ensure that pthread_getattr_np
37909 behaviour remains the same after marking stack executable.
37910
a8239222
JM
379112012-05-25 Joseph Myers <joseph@codesourcery.com>
37912
37913 * sysdeps/unix/sysv/linux/kernel-features.h
37914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37915 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37916 kernel-features.h.
37917 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37918 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37919 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37920 kernel-features.h.
37921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37923
918b5606
L
379242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37925
37926 * configure.in: Define the default includes to being none.
37927 * configure: Regenerated.
37928
3a097cc7
RM
379292012-05-25 Roland McGrath <roland@hack.frob.com>
37930
8422c9a5
RM
37931 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37932 * sysdeps/x86_64/setjmp.S: Likewise.
37933 * sysdeps/i386/bsd-setjmp.S: Likewise.
37934 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37935 * sysdeps/i386/setjmp.S: Likewise.
37936 * sysdeps/i386/__longjmp.S: Likewise.
37937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37939
3a097cc7
RM
37940 * include/stap-probe.h: New file.
37941 * configure.in: Handle --enable-systemtap.
37942 * configure: Regenerated.
37943 * config.h.in (USE_STAP_PROBE): New #undef.
37944 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37945 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37946 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37947
21708942
JM
379482012-05-25 Joseph Myers <joseph@codesourcery.com>
37949
37950 [BZ #13717]
37951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37952 to 2.4.0 where earlier.
37953 * sysdeps/unix/sysv/linux/configure: Regenerated.
37954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37955 <kernel-features.h>.
37956 [__ASSUME_32BITUIDS]: Make code unconditional.
37957 [!__ASSUME_32BITUIDS]: Remove conditional code.
37958 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37959 <kernel-features.h>.
37960 [__ASSUME_32BITUIDS]: Make code unconditional.
37961 [!__ASSUME_32BITUIDS]: Remove conditional code.
37962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37963 [__ASSUME_32BITUIDS]: Make code unconditional.
37964 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37965 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37966 <kernel-features.h>.
37967 [__ASSUME_32BITUIDS]: Make code unconditional.
37968 [!__ASSUME_32BITUIDS]: Remove conditional code.
37969 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37970 <kernel-features.h>.
37971 [__ASSUME_32BITUIDS]: Make code unconditional.
37972 [!__ASSUME_32BITUIDS]: Remove conditional code.
37973 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37974 <kernel-features.h>.
37975 [__ASSUME_32BITUIDS]: Make code unconditional.
37976 [!__ASSUME_32BITUIDS]: Remove conditional code.
37977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37978 <kernel-features.h>.
37979 [__ASSUME_32BITUIDS]: Make code unconditional.
37980 [!__ASSUME_32BITUIDS]: Remove conditional code.
37981 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37982 <kernel-features.h>.
37983 [__ASSUME_32BITUIDS]: Make code unconditional.
37984 [!__ASSUME_32BITUIDS]: Remove conditional code.
37985 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37986 <kernel-features.h>.
37987 [__ASSUME_32BITUIDS]: Make code unconditional.
37988 [!__ASSUME_32BITUIDS]: Remove conditional code.
37989 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37990 <kernel-features.h>.
37991 [__ASSUME_32BITUIDS]: Make code unconditional.
37992 [!__ASSUME_32BITUIDS]: Remove conditional code.
37993 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37994 <kernel-features.h>.
37995 [__ASSUME_32BITUIDS]: Make code unconditional.
37996 [!__ASSUME_32BITUIDS]: Remove conditional code.
37997 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37998 <kernel-features.h>.
37999 [__ASSUME_32BITUIDS]: Make code unconditional.
38000 [!__ASSUME_32BITUIDS]: Remove conditional code.
38001 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38002 <kernel-features.h>.
38003 [__ASSUME_32BITUIDS]: Make code unconditional.
38004 [!__ASSUME_32BITUIDS]: Remove conditional code.
38005 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38006 <kernel-features.h>.
38007 [__NR_setresgid] (__setresgid): Do not declare.
38008 [__ASSUME_32BITUIDS]: Make code unconditional.
38009 [!__ASSUME_32BITUIDS]: Remove conditional code.
38010 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38011 <kernel-features.h>.
38012 [__NR_setresuid] (__setresuid): Do not declare.
38013 [__ASSUME_32BITUIDS]: Make code unconditional.
38014 [!__ASSUME_32BITUIDS]: Remove conditional code.
38015 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38016 <kernel-features.h>.
38017 [__ASSUME_32BITUIDS]: Make code unconditional.
38018 [!__ASSUME_32BITUIDS]: Remove conditional code.
38019 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38020 <kernel-features.h>.
38021 [__ASSUME_32BITUIDS]: Make code unconditional.
38022 [!__ASSUME_32BITUIDS]: Remove conditional code.
38023 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38024 <kernel-features.h>.
38025 [__ASSUME_32BITUIDS]: Make code unconditional.
38026 [!__ASSUME_32BITUIDS]: Remove conditional code.
38027 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38028 <kernel-features.h>.
38029 [__ASSUME_32BITUIDS]: Make code unconditional.
38030 [!__ASSUME_32BITUIDS]: Remove conditional code.
38031 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38032 <kernel-features.h>.
38033 [__ASSUME_32BITUIDS]: Make code unconditional.
38034 [!__ASSUME_32BITUIDS]: Remove conditional code.
38035 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38036 <kernel-features.h>.
38037 [__ASSUME_32BITUIDS]: Make code unconditional.
38038 [!__ASSUME_32BITUIDS]: Remove conditional code.
38039 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38040 <kernel-features.h>.
38041 [__ASSUME_32BITUIDS]: Make code unconditional.
38042 [!__ASSUME_32BITUIDS]: Remove conditional code.
38043 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38044 <kernel-features.h>.
38045 [__ASSUME_32BITUIDS]: Make code unconditional.
38046 [!__ASSUME_32BITUIDS]: Remove conditional code.
38047 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38048 <kernel-features.h>.
38049 [__ASSUME_32BITUIDS]: Make code unconditional.
38050 [!__ASSUME_32BITUIDS]: Remove conditional code.
38051 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38052 <kernel-features.h>.
38053 [__ASSUME_32BITUIDS]: Make code unconditional.
38054 [!__ASSUME_32BITUIDS]: Remove conditional code.
38055 * sysdeps/unix/sysv/linux/kernel-features.h
38056 (__ASSUME_SETRESUID_SYSCALL): Remove.
38057 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38058 (__ASSUME_32BITUIDS): Likewise.
38059 (__ASSUME_LDT_WORKS): Likewise.
38060 (__ASSUME_O_DIRECTORY): Likewise.
38061 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38062 architecture but not kernel version.
38063 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38064 (__ASSUME_MMAP2_SYSCALL): Likewise.
38065 (__ASSUME_STAT64_SYSCALL): Likewise.
38066 (__ASSUME_IPC64): Likewise.
38067 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38068 <kernel-features.h>.
38069 [__ASSUME_32BITUIDS]: Make code unconditional.
38070 [!__ASSUME_32BITUIDS]: Remove conditional code.
38071 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38072 <kernel-features.h>.
38073 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38074 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38075 132096]: Remove conditional code.
38076 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38078 <kernel-features.h>.
38079 [__ASSUME_32BITUIDS]: Make code unconditional.
38080 [!__ASSUME_32BITUIDS]: Remove conditional code.
38081 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38082 <kernel-features.h>.
38083 [__ASSUME_32BITUIDS]: Make code unconditional.
38084 [!__ASSUME_32BITUIDS]: Remove conditional code.
38085 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38086 <kernel-features.h>.
38087 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38088 unconditional.
38089 (__setresgid): Do not declare.
38090 [__ASSUME_32BITUIDS]: Make code unconditional.
38091 [!__ASSUME_32BITUIDS]: Remove conditional code.
38092 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38093 <kernel-features.h>.
38094 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38095 unconditional.
38096 (__setresuid): Do not declare.
38097 [__ASSUME_32BITUIDS]: Make code unconditional.
38098 [!__ASSUME_32BITUIDS]: Remove conditional code.
38099 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38100 <kernel-features.h>.
38101 [__ASSUME_32BITUIDS]: Make code unconditional.
38102 [!__ASSUME_32BITUIDS]: Remove conditional code.
38103 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38104 <kernel-features.h>.
38105 [__ASSUME_32BITUIDS]: Make code unconditional.
38106 [!__ASSUME_32BITUIDS]: Remove conditional code.
38107
a386f1cc
RH
381082012-05-25 Richard Henderson <rth@twiddle.net>
38109
38110 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38111 dl_hwcap to ifunc resolver.
38112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38113 elf_ifunc_invoke.
38114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38115 dl_hwcap to ifunc resolver.
38116 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38117
b6550497
JM
381182012-05-24 Joseph Myers <joseph@codesourcery.com>
38119
38120 [BZ #14153]
38121 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38122 for |x| <= 2**-26, not 2**-57.
38123 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38124 exception.
38125
b0bc23a1
JL
381262012-05-24 Jeff Law <law@redhat.com>
38127
38128 * stdio-common/Makefile (tests): Add bug25.
38129 * stdio-common/bug25.c: New test.
38130
347c92e9
L
381312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38132
38133 [BZ #13576]
38134 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38135 multiple of MALLOC_ALIGNMENT in size.
38136 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38137
6bcc8b3f
JM
381382012-05-24 Joseph Myers <joseph@codesourcery.com>
38139
38140 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38141 Require >= 256.
38142 (FILENAME_MAX): Use macro-int-constant.
38143 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38144 (_IOFBF): Use macro-int-constant.
38145 (_IOLBF): Likewise.
38146 (_IONBF): Likewise.
38147 (SEEK_CUR): Likewise.
38148 (SEEK_END): Likewise.
38149 (SEEK_SET): Likewise.
38150 (TMP_MAX): Likewise.
38151 (EOF): Use macro-int-constant. Require < 0.
38152 (NULL): Use macro-constant. Require == 0.
38153 (stdin): Require type to be FILE *.
38154 (stdout): Likewise.
38155 (stderr): Likewise.
38156 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38157 macro-int-constant.
38158 (EXIT_SUCCESS): Likewise.
38159 (NULL): Use macro-constant. Require == 0.
38160 (RAND_MAX): Use macro-int-constant.
38161 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38162 [C99-based standards] (strtof): Require function.
38163 [C99-based standards] (strtold): Likewise.
38164 [C99-based standards] (strtoll): Likewise.
38165 [C99-based standards] (strtoull): Likewise.
38166 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38167 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38168 [ISO || ISO99 || ISO11] (math.h): Likewise.
38169 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38170 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38172
d18ea0c5
AS
381732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38174
38175 [BZ #14132]
56d25bb8
AS
38176 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38177 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38178 * intl/dgettext.c (DCGETTEXT): Likewise.
38179 * intl/gettext.c (DCGETTEXT): Likewise.
38180 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38181 * posix/regex_internal.h (gettext): Likewise.
38182 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38183 Remove declaration.
38184 * include/argz.h (__argz_count_internal)
38185 (__argz_stringify_internal): Remove declaration.
38186 (__argz_count, __argz_stringify): Declare hidden proto.
38187 * intl/dcgettext.c: Remove use of INTDEF.
38188 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38189 * string/argz-stringify.c: Likewise.
38190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38192 Declare hidden proto.
d18ea0c5
AS
38193 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38194 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38195 Declare hidden proto.
38196 * include/stdio.h (__asprintf_internal): Don't declare.
38197 (__asprintf): Don't define as macro. Declare hidden proto.
38198 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38199 (__fsetlocking): Declare hidden proto.
38200 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38201 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38202 hidden proto.
38203 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38204 (_IO_setlinebuf): Remove use of INTUSE.
38205 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38206 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38207 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38208 Remove declaration.
38209 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38210 (_IO_do_flush): Remove use of INTUSE.
38211 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38212 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38213 (_IO_adjust_column, _IO_least_wmarker)
38214 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38215 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38216 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38217 (_IO_default_doallocate, _IO_wdefault_doallocate)
38218 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38219 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38220 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38221 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38222 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38223 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38224 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38225 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38226 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38227 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38228 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38229 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38230 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38231 proto.
38232 (_IO_flush_all_internal, _IO_adjust_column_internal)
38233 (_IO_default_uflow_internal, _IO_default_finish_internal)
38234 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38235 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38236 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38237 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38238 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38239 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38240 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38241 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38242 (_IO_file_close_internal, _IO_file_close_it_internal)
38243 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38244 (_IO_file_init_internal, _IO_file_attach_internal)
38245 (_IO_file_fopen_internal, _IO_file_read_internal)
38246 (_IO_file_sync_internal, _IO_file_seek_internal)
38247 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38248 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38249 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38250 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38251 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38252 (_IO_list_all_internal, _IO_link_in_internal)
38253 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38254 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38255 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38256 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38257 (_IO_do_write_internal, _IO_padn_internal)
38258 (_IO_getline_info_internal, _IO_getline_internal)
38259 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38260 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38261 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38262 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38263 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38264 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38265 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38266 with libc_hidden_ver, remove use of INTUSE.
38267 * libio/genops.c: Likewise.
38268 * libio/freopen.c: Likewise.
38269 * libio/freopen64.c: Likewise.
38270 * libio/iofclose.c: Likewise.
38271 * libio/iofdopen.c: Likewise.
38272 * libio/iofflush.c: Likewise.
38273 * libio/iofflush_u.c: Likewise.
38274 * libio/iofgets.c: Likewise.
38275 * libio/iofgets_u.c: Likewise.
38276 * libio/iofopen.c: Likewise.
38277 * libio/iofopncook.c: Likewise.
38278 * libio/iofread.c: Likewise.
38279 * libio/iofread_u.c: Likewise.
38280 * libio/ioftell.c: Likewise.
38281 * libio/iofwrite.c: Likewise.
38282 * libio/iogetline.c: Likewise.
38283 * libio/iogets.c: Likewise.
38284 * libio/iogetwline.c: Likewise.
38285 * libio/iopadn.c: Likewise.
38286 * libio/iopopen.c: Likewise.
38287 * libio/ioseekoff.c: Likewise.
38288 * libio/ioseekpos.c: Likewise.
38289 * libio/iosetbuffer.c: Likewise.
38290 * libio/iosetvbuf.c: Likewise.
38291 * libio/ioungetc.c: Likewise.
38292 * libio/ioungetwc.c: Likewise.
38293 * libio/iovdprintf.c: Likewise.
38294 * libio/iovsprintf.c: Likewise.
38295 * libio/iovsscanf.c: Likewise.
38296 * libio/memstream.c: Likewise.
38297 * libio/obprintf.c: Likewise.
38298 * libio/oldfileops.c: Likewise.
38299 * libio/oldiofclose.c: Likewise.
38300 * libio/oldiofdopen.c: Likewise.
38301 * libio/oldiofopen.c: Likewise.
38302 * libio/oldiopopen.c: Likewise.
38303 * libio/oldstdfiles.c: Likewise.
38304 * libio/putc.c: Likewise.
38305 * libio/setbuf.c: Likewise.
38306 * libio/setlinebuf.c: Likewise.
38307 * libio/stdfiles.c: Likewise.
38308 * libio/strops.c: Likewise.
38309 * libio/vasprintf.c: Likewise.
38310 * libio/vscanf.c: Likewise.
38311 * libio/vsnprintf.c: Likewise.
38312 * libio/vswprintf.c: Likewise.
38313 * libio/wfiledoalloc.c: Likewise.
38314 * libio/wfileops.c: Likewise.
38315 * libio/wgenops.c: Likewise.
38316 * libio/wmemstream.c: Likewise.
38317 * libio/wstrops.c: Likewise.
38318 * libio/__fpurge.c: Likewise.
38319 * libio/__fsetlocking.c: Likewise.
38320 * assert/assert.c: Likewise.
38321 * debug/fgets_chk.c: Likewise.
38322 * debug/fgets_u_chk.c: Likewise.
38323 * debug/fread_chk.c: Likewise.
38324 * debug/fread_u_chk.c: Likewise.
38325 * debug/gets_chk.c: Likewise.
38326 * debug/obprintf_chk.c: Likewise.
38327 * debug/vasprintf_chk.c: Likewise.
38328 * debug/vdprintf_chk.c: Likewise.
38329 * debug/vsnprintf_chk.c: Likewise.
38330 * debug/vsprintf_chk.c: Likewise.
38331 * malloc/mtrace.c: Likewise.
38332 * misc/error.c: Likewise.
38333 * misc/syslog.c: Likewise.
38334 * stdio-common/asprintf.c: Likewise.
38335 * stdio-common/fxprintf.c: Likewise.
38336 * stdio-common/getw.c: Likewise.
38337 * stdio-common/isoc99_fscanf.c: Likewise.
38338 * stdio-common/isoc99_scanf.c: Likewise.
38339 * stdio-common/isoc99_vfscanf.c: Likewise.
38340 * stdio-common/isoc99_vscanf.c: Likewise.
38341 * stdio-common/isoc99_vsscanf.c: Likewise.
38342 * stdio-common/printf-prs.c: Likewise.
38343 * stdio-common/printf_fp.c: Likewise.
38344 * stdio-common/printf_fphex.c: Likewise.
38345 * stdio-common/printf_size.c: Likewise.
38346 * stdio-common/putw.c: Likewise.
38347 * stdio-common/scanf.c: Likewise.
38348 * stdio-common/sprintf.c: Likewise.
38349 * stdio-common/tmpfile.c: Likewise.
38350 * stdio-common/vfprintf.c: Likewise.
38351 * stdio-common/vfscanf.c: Likewise.
38352 * stdlib/strfmon_l.c: Likewise.
38353 * sunrpc/openchild.c: Likewise.
38354 * sunrpc/xdr_stdio.c: Likewise.
38355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38356 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38357
d6c33fda
RM
383582012-05-24 Roland McGrath <roland@hack.frob.com>
38359
c1487492
RM
38360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38361
38362 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38363 in the third column, to generate for the shared library an IFUNC
38364 that uses _dl_vdso_vsym.
38365 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38366 * Makeconfig (object-suffixes-noshared): New variable.
38367
38368 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38369 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38370 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38371 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38372
d6c33fda
RM
38373 [BZ #14132]
38374 * include/sys/time.h (__gettimeofday): Remove macro.
38375 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38376 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38377 Remove INTDEF.
38378 (__gettimeofday): Add libc_hidden_def.
38379 (gettimeofday): Add libc_hidden_weak.
38380 * sysdeps/mach/gettimeofday.c: Likewise.
38381 * sysdeps/posix/gettimeofday.c: Likewise.
38382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38385 (__gettimeofday_internal): Remove strong_alias.
38386 (__gettimeofday): Add libc_hidden_def.
38387 (gettimeofday): Add libc_hidden_weak.
38388 * sysdeps/unix/syscalls.list (gettimeofday):
38389 Remove __gettimeofday_internal alias.
38390
b5a2bbe6
L
383912012-05-24 Daniel Jacobowitz <drow@false.org>
38392 H.J. Lu <hongjiu.lu@intel.com>
38393
38394 [BZ #12495]
38395 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38396 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38397 (largebin_index_32_big): New.
38398 (largebin_index): Use it for 16-byte alignment.
38399 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38400 correction with front_misalign.
38401
cfba4fda
L
384022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38403
7f907421
L
38404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38406 Likewise.
38407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38408 Likewise.
38409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38410 Likewise.
38411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38412 Likewise.
38413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38414 Likewise.
38415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38416 Likewise.
38417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38418 Likewise.
38419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38420 Likewise.
38421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38422 Likewise.
38423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38424 Likewise.
38425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38426 Likewise.
38427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38428 Likewise.
38429
cfba4fda
L
38430 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38431 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38432
80bad0cc
JM
384332012-05-24 Joseph Myers <joseph@codesourcery.com>
38434
7a25eb06
JM
38435 [BZ #10846]
38436 [BZ #14036]
38437 * math/libm-test.inc (exp_test): Add test from bug 14036.
38438 (pow_test): Add test from bug 10846.
38439
795405f9
JM
38440 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38441 and other flags.
38442 (special_function): Do not include flags in test name.
38443 (parse_args): Likewise.
38444 * sysdeps/i386/fpu/libm-test-ulps: Update.
38445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38449
80bad0cc
JM
38450 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38451 exceptions.
38452 * math/libm-test.inc ("Philosophy"): Update comment about
38453 exception testing.
38454 (UNDERFLOW_EXCEPTION): New macro.
38455 (UNDERFLOW_EXCEPTION_OK): Likewise.
38456 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38457 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38458 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38459 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38460 (INVALID_EXCEPTION_OK): Update value.
38461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38462 (OVERFLOW_EXCEPTION_OK): Likewise.
38463 (IGNORE_ZERO_INF_SIGN): Likewise.
38464 (test_exceptions): Handle underflow exceptions.
38465 (acos_test): Update for underflow exception expectations.
38466 (cexp_test): Likewise.
38467 (clog_test): Likewise.
38468 (clog10_test): Likewise.
38469 (csqrt_test): Likewise.
38470 (ctan_test): Likewise.
38471 (ctanh_test): Likewise.
38472 (exp_test): Likewise.
38473 (exp10_test): Likewise.
38474 (exp2_test): Likewise.
38475 (expm1_test): Likewise.
38476 (fma_test): Likewise.
38477 (j0_test): Likewise.
38478 (jn_test): Likewise.
38479 (nexttoward_test): Likewise.
38480 (pow_test): Likewise.
38481 (scalbn_test): Likewise.
38482 (scalbln_test): Likewise.
38483 (tan_test): Likewise.
38484 (y1_test): Likewise.
38485 * sysdeps/i386/fpu/libm-test-ulps: Update.
38486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38487
9e0e3d0b
DM
384882012-05-23 David S. Miller <davem@davemloft.net>
38489
38490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38491 (__libc_sigaction): Remove unused local variables.
38492
ccd0a08f
L
384932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38494
38495 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38496
62bdf9a6
PE
384972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38498
f8591f80
PE
38499 mktime: avoid signed integer overflow
38500 * time/mktime.c (__mktime_internal): Do not mishandle the case
38501 where diff == INT_MIN.
38502
94c7d826
PE
38503 mktime: simplify computation of average
38504 * time/mktime.c (ranged_convert): Use new time_t_avg function
38505 instead of rolling our own (probably-slower) code.
38506
ce73d683
PE
38507 mktime: do not assume signed right shift propagates sign bit
38508 * time/mktime.c (isdst_differ): New static function.
38509 (__mktime_internal): No need to normalize tm_isdst now.
38510 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38511 tm_isdst values.
38512
72a22e59
PE
38513 mktime: merge another wrapv change from gnulib
38514 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38515 from some compilers.
38516
68605433
PE
38517 mktime: remove incorrect attempt at unusual arithmetics
38518 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38519 The code didn't really work on such machines anyway.
38520 (TYPE_MINIMUM): Assume two's complement.
38521 (twos_complement_arithmetic): Verify that long_int and time_t
38522 are two's complement (or unsigned, in the latter case).
38523
03cf7fe3
PE
38524 mktime: check signed shifts on long_int and time_t, too
38525 * time/mktime.c (SHR): Check that shifts work as desired
38526 on the types long_int and time_t too, as SHR is used on
38527 such types.
38528
f04dfbc2
PE
38529 mktime: do not assume 'long' is wide enough
38530 * time/mktime.c (verify): Move decl up.
38531 (long_int): New type.
38532 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38533 to remove assumption in the code that 'long' is wide enough to
38534 store year values. This assumption is not true on x32 and on
38535 some non-glibc platforms.
38536
62bdf9a6
PE
38537 mktime: merge wrapv change from gnulib
38538 * time/mktime.c (WRAPV): New macro.
38539 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38540 (guess_time_tm, __mktime_internal): Do not assume that signed
38541 integer overflow wraps around; modern compilers generate code
38542 where this assumption is no longer valid.
38543
5e292e4f
L
385442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38545
38546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38547 Replace "jmp L(pseudo_end)" with "ret".
38548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38549 Likewise.
38550
8caf8c87
AJ
385512012-05-23 Andreas Jaeger <aj@suse.de>
38552
38553 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38554 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38555
1a09dc56
AJ
385562012-05-23 Andreas Jaeger <aj@suse.de>
38557 Maximilian Attems <max@stro.at>
38558
38559 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38560 New macros.
38561
1c87aba0
L
385622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38563
38564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38565 code so that pseudo_end is just ret and the stack pointer is
38566 correct also for static library in error case.
38567
40e45bd5
JM
385682012-05-23 Joseph Myers <joseph@codesourcery.com>
38569
c2670533
JM
38570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38571 move to syscalls.list.
38572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38576
40e45bd5
JM
38577 * manual/install.texi (Running make install): Do not mention Linux
38578 kernel version for which pt_chown is not needed.
38579 (Linux): Do not mention problems with nscd with 2.0 kernels.
38580 * INSTALL: Regenerated.
38581
be08eda5
AJ
385822012-05-23 Andreas Jaeger <aj@suse.de>
38583
38584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38585 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38586 macro.
38587 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38589 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38591 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38597 * sysdeps/unix/sysv/linux/bits/in.h
38598 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38599
a6a056bb
RM
386002012-05-22 Roland McGrath <roland@hack.frob.com>
38601
38602 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38603 (PREPARE_VERSION): Just use assert instead, it will be elided
38604 under [NDEBUG] anyway.
38605
c9009328
L
386062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38607
38608 * sysdeps/unix/sysv/linux/Makefile: Include
38609 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38610 (sysdep_routines): Remove sysctl.
c9009328
L
38611 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38612 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38613 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38614 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38615 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38616
73338355
AJ
386172012-05-22 Andreas Jaeger <aj@suse.de>
38618
38619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38620 that pseudo_end is just ret and the stack pointer is correct also
38621 for static library in error case.
38622
d44638b0
PP
386232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38624
38625 [BZ #14122]
38626 * nss/nsswitch.c (defconfig_entries): New variable.
38627 (__nss_database_lookup): Don't leak defconfig entries.
38628 (nss_parse_service_list): Don't leak on error paths.
38629 (free_database_entries): New function.
38630 (free_defconfig): New function.
38631 (free_mem): Move common code to free_database_entries.
38632
31a39bd8
L
386332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38634
da0331a8
L
38635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38636 Add arch_prctl.
38637 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38638
31a39bd8
L
38639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38640 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38642 New macro.
38643 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38644 (INTERNAL_SYSCALL_TYPES): Likewise.
38645 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38646 (LOAD_REGS_TYPES_[1-6]): Likewise.
38647 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38648 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38649
45470df3
AZ
386502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38651
38652 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38653 copysignl for GLIBC_2_0.
38654 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38655 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38657 logbl for GLIBC_2_0.
38658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38659 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38660
98a61bcb
L
386612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38662
a4f6e481
L
38663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38665
f63d5db6
L
38666 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38667 Use "neg %eax".
38668
98a61bcb
L
38669 * time/mktime.c: Update copyright years.
38670
95770f14
PE
386712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38672
6226efbd
PE
38673 mktime: merge comment-quoting-style change from gnulib
38674 * time/mktime.c: Quote 'like this' in comments.
38675 The GNU coding standards suggest that we no longer quote `like this',
38676 as "`" and "'" are typically rendered asymmetrically nowadays.
38677 The typical gnulib style is to quote 'like this' when quoting
38678 code, and "like this" when quoting English.
38679
b99e4f78
PE
38680 * time/mktime.c (compile-command): Add "-I.".
38681
643e01e6
PE
38682 mktime: merge mktime-internal.h change from gnulib
38683 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38684
2554247d
PE
38685 mktime: merge time_r change from gnulib
38686 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38687
826dd0ab
PE
38688 mktime: merge DEBUG change from gnulib
38689 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38690 case system <time.h> has a #define.
38691
bd83aabe
PE
38692 mktime: merge <sys/types.h> change from gnulib
38693 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38694 since <time.t> is now guaranteed to define time_t.
38695
95770f14
PE
38696 mktime: merge HAVE_CONFIG_H change from gnulib
38697 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38698
5e1a27a9
L
386992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38700
0e44a77e
L
38701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38702 Use "neg %eax".
38703
5e1a27a9
L
38704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38705 __rlim_t cast.
38706 (struct rusage): Use anonymous union to pad each field to
38707 __syscall_slong_t.
38708
46259bec
DM
387092012-05-21 David S. Miller <davem@davemloft.net>
38710
38711 * Makefules (o-iterator): Remove .s cases.
38712 (compile-command.s): Delete.
38713 (COMPILE.s): Delete.
38714 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38715
59f0c22e
JM
387162012-05-21 Joseph Myers <joseph@codesourcery.com>
38717
38718 * configure.in (libc_cv_predef_stack_protector): Only consider
38719 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38720 * configure: Regenerated.
38721
20c07380
L
387222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38723
bbb3154b
L
38724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38725 New macro. Use R*LP on int and pointer.
38726 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38727 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38728 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38729 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38730
20c07380
L
38731 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38732 [__WORDSIZE_TIME64_COMPAT32] instead of
38733 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38734 (struct utmp): Likewise.
38735 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38736 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38737 Renamed to ...
38738 (__WORDSIZE_TIME64_COMPAT32): This.
38739 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38740 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38741 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38742 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38744 (__WORDSIZE_TIME64_COMPAT32): New macro.
38745
d8d1017e
AJ
387462012-05-21 Andreas Jaeger <aj@suse.de>
38747
38748 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38749 only if [SHARED]. Add prototype for __wcschr_ia32.
38750
6c7fb145
RM
387512012-05-21 Roland McGrath <roland@hack.frob.com>
38752
38753 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38754 of %rbp unmolested in the jmp_buf while mangling the low bits.
38755 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38756 unmolested high bits of %rbp while demangling the low bits.
38757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38758
66274218
AJ
387592012-05-21 Andreas Jaeger <aj@suse.de>
38760
07c58f8f
AJ
38761 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38762 * sunrpc/svc_simple.c: Use it for registerrpc.
38763 * sunrpc/xcrypt.c: Use it for passwd2des.
38764
66274218
AJ
38765 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38766
61f65140
L
387672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38768
38769 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38770 Don't define if [__SYSCALL_WORDSIZE != 32].
38771 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38772 New macro.
38773
5fefb436
AJ
387742012-05-21 Bruno Haible <bruno@clisp.org>
38775 Andreas Jaeger <aj@suse.de>
38776
38777 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38778 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38779 inptr and inend for must_buffer_ch.
38780 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38781 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38782 * stdio-common/Makefile (tests): Remove bug15.
38783 (bug15-ENV): Remove macro.
38784 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38785 anymore.
38786
d8e272ab
AJ
387872012-05-19 Andreas Jaeger <aj@suse.de>
38788 Roland McGrath <roland@hack.frob.com>
38789
38790 * manual/contrib.texi: Completely rewritten. It contains now an
38791 alphabetical list of contributors and their contributions.
38792
4a56a162
RH
387932012-05-21 Richard Henderson <rth@twiddle.net>
38794
38795 * misc/getauxval.c (__getauxval): Use unsigned long int.
38796 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38797 (getauxval): Use unsigned long int.
38798
d024d23c
L
387992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38800
38801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38802
cbc00a03
RM
388032012-05-21 Roland McGrath <roland@hack.frob.com>
38804
38805 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38806 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38807 __alignof__ (long double).
38808
478143fa
AZ
388092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38810
38811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38812
c7683a6d
RH
388132012-05-20 Richard Henderson <rth@twiddle.net>
38814
38815 * misc/getauxval.c: New file.
38816 * misc/sys/auxv.h: New file.
38817 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38818 (routines): Add getauxval.
38819 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38821 * elf/dl-sysdep.c (_dl_auxv): Remove.
38822 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38823 * elf/dl-support.c (_dl_auxv): New variable.
38824 (_dl_aux_init): Initialize it.
38825 * manual/startup.texi (Auxiliary Vector): New node.
38826 * sysdeps/generic/bits/hwcap.h: New file.
38827 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38828 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38829 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38830 * sysdeps/sparc/sysdep.h: ... here. Include it.
38831 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
38833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38834 Update.
c7683a6d
RH
38835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38843
a6f1845d
AZ
388442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38845
38846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38847
cbcbe830
DM
388482012-05-19 David S. Miller <davem@davemloft.net>
38849
38850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38851
e0b16cc2
JM
388522012-05-19 Joseph Myers <joseph@codesourcery.com>
38853
38854 [BZ #14123]
38855 * math/s_ccosh.c: Include <float.h>
38856 (__ccosh): Avoid internal overflow calculating sinh and cosh
38857 values before multiplying by sin and cos values.
38858 * math/s_ccoshf.c: Likewise.
38859 * math/s_ccoshl.c: Likewise.
38860 * math/s_csin.c: Likewise.
38861 * math/s_csinf.c: Likewise.
38862 * math/s_csinl.c: Likewise.
38863 * math/s_csinh.c: Likewise.
38864 * math/s_csinhf.c: Likewise.
38865 * math/s_csinhl.c: Likewise.
38866 * math/libm-test.inc (ccos_test): Add more tests.
38867 (ccosh_test): Likewise.
38868 (csin_test): Likewise.
38869 (csinh_test): Likewise.
38870 * sysdeps/i386/fpu/libm-test-ulps: Update.
38871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38872
6ad13e08
L
388732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38874
f66f0ce8
L
38875 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38876 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38877
6ad13e08
L
38878 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38879
b1d072a7
JM
388802012-05-19 Joseph Myers <joseph@codesourcery.com>
38881
38882 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38883 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38884 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38885 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38886 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38887 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38888 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38889 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38890 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38891 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38892 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38893 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38894 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38895 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38896 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38897 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38898 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38899 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38900 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38901 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38902 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38903 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38904 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38905 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38906 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38907 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38908 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38909 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38910 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38911 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38912 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38913
9eae47cb
AJ
389142012-05-18 Andreas Jaeger <aj@suse.de>
38915
38916 * csu/.gitignore: Delete.
38917
bb07f69f
L
389182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38919
38920 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38921 (timex): Use __syscall_slong_t.
38922
e6bdb741
AJ
389232012-05-18 Andreas Jaeger <aj@suse.de>
38924 Carlos O'Donell <carlos_odonell@mentor.com>
38925
38926 * manual/install.texi (Configuring and compiling): Update
38927 description about files modified in the source directory.
d6c33fda 38928 * INSTALL: Regenerated.
e6bdb741 38929
1b74487e
L
389302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38931
38932 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38933 value. Use "or" to set return value to -1.
38934 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38935 negate return value.
38936
a88b64b9
TMQMF
389372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38938
57f41c40
AS
38939 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38940 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
38941 failure if the compiler has Graphite support disabled.
38942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38943 Likewise.
57f41c40
AS
38944 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38945 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
38946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38947 Likewise.
38948
3707636e
L
389492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38950
610b8622
L
38951 * sysdeps/x86_64/x32/_itoa.h: New file.
38952
7cd195df
L
38953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38954 getdents system call only if kernel and user dirents have the
38955 same d_ino and d_off.
38956
94b07d20
L
38957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38958 LLONG_MAX != LONG_MAX.
38959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38960 (_fitoa_word): Likewise.
38961
18298070
L
38962 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38963 years.
38964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38965 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38967
553c7ea4
L
38968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38969 include <bits/wordsize.h>. Check __x86_64__ instead of
38970 __WORDSIZE.
38971 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38972 if __x86_64__ is defined. Use anonymous union on fpstate.
38973
3707636e
L
38974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38975 anonymous union.
38976
b53ef01a
AS
389772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38978
37fb1dc0
AS
38979 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38980 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38982 Refer to _rtld_local_ro instead of _rtld_global_ro.
38983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38984 Likewise.
38985 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38986 Likewise.
38987 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38988 Likewise.
38989 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38990 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38991 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38992
b53ef01a
AS
38993 * sysdeps/powerpc/powerpc32/dl-machine.c
38994 (__elf_machine_runtime_setup) [PROF]: Don't reference
38995 _dl_prof_resolve.
38996
7a185db2
AJ
389972012-05-18 Andreas Jaeger <aj@suse.de>
38998
38999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39000 function only available for GCCs before 3.4 since GCC 3.4
39001 introduced a builtin.
39002 (lrint): Likewise.
39003 (llrintf): Likewise.
39004 (llrint): Likewise.
39005 (fmaxf): Likewise.
39006 (fmax): Likewise.
39007 (fminf): Likewise.
39008 (fmin): Likewise.
39009 (rint): Likewise.
39010 (rintf): Likewise.
39011 (nearbyint): Likewise.
39012 (nearbyintf): Likewise.
39013 (ceil): Likewise.
39014 (ceilf): Likewise.
39015 (floor): Likewise.
39016 (floorf): Likewise.
39017
3e5aef87
L
390182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39019
428bd707
L
39020 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39021 on both fields and cast pointer to __syscall_ulong_t.
39022
3e5aef87
L
39023 * bits/types.h (__fsword_t): New type.
39024 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39025 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39027 (__FSWORD_T_TYPE): Likewise.
39028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39029 (__FSWORD_T_TYPE): Likewise.
39030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39031 (__FSWORD_T_TYPE): Likewise.
39032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39033 (__FSWORD_T_TYPE): Likewise.
39034 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39035 __SWORD_TYPE with __fsword_t.
39036 (statfs64): Likewise.
39037
1ba7c3dc
DM
390382012-05-17 David S. Miller <davem@davemloft.net>
39039
39040 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39041
59910343
AJ
390422012-05-17 Andreas Jaeger <aj@suse.de>
39043
39044 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39045 warning.
39046
2e4c1e9e
L
390472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39048
39049 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39050
de7f5ce7
AJ
390512012-05-17 Andreas Jaeger <aj@suse.de>
39052
39053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39054 when it is used.
39055
286abc3d
CM
390562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39057
39058 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39059
477cc68e
L
390602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39061
39062 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39063 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39064
1a0994f5
CD
390652012-05-17 Andreas Jaeger <aj@suse.de>
39066 Carlos O'Donell <carlos_odonell@mentor.com>
39067
39068 [BZ #14059]
39069 * sysdeps/x86_64/multiarch/init-arch.h
39070 (bit_YMM_Usable): Rename to...
39071 (bit_AVX_Usable): ... this.
39072 (bit_FMA4_Usable): New macro.
39073 (bit_XMM_state): New macro.
39074 (bit_YMM_state): New macro.
39075 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39076 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39077 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39078 (CPUID_OSXSAVE): New macro.
39079 (CPUID_AVX): New macro.
39080 (CPUID_FMA4): New macro.
39081 (index_YMM_Usable): Rename to...
39082 (index_AVX_Usable): ... this.
39083 (HAS_AVX): Use HAS_ARCH_FEATURE.
39084 (HAS_FMA4): Likewise.
39085 (HAS_YMM_USABLE): Remove.
39086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39087 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39088 are present.
39089 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39090 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39091 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39092 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39093 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39094
0af797de
CM
390952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39096
39097 * math/libm-test.c: Support platforms without multiple rounding modes.
39098 * math/bug-nextafter.c: Support platforms without FP exceptions.
39099 * math/bug-nexttoward.c: Likewise.
39100 * math/test-fenv.c: Likewise.
39101 * math/test-misc.c: Likewise.
39102 * stdlib/bug-getcontext.c: Likewise.
39103
e39745ff
AJ
391042012-05-17 Andreas Jaeger <aj@suse.de>
39105
39106 * manual/examples/search.c (critter_cmp): Change signature to
39107 avoid warnings.
39108 * manual/string.texi (Collation Functions): Likewise.
39109
48970aba
L
391102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39111
39112 * bits/types.h: Fold copyright years.
39113 * bits/typesizes.h: Likewise.
39114 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39118 * time/time.h: Likewise.
39119
bedee953
PP
391202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39121
39122 [BZ #208]
39123 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39124 in instead of returning them. Return void.
39125 (__libc_mallinfo): Accumulate over all arenas.
39126 (__malloc_stats): Adjust for change in int_mallinfo interface.
39127
61653dfb
RM
391282012-05-16 Roland McGrath <roland@hack.frob.com>
39129
30b99d79
RM
39130 [BZ #10375]
39131 * configure.in (NM): Add AC_CHECK_TOOL for it.
39132 (libc_extra_cflags): New substituted variable.
39133 Check for -fstack-protector being used implicitly.
39134 * configure: Regenerated.
39135 * config.make.in (config-extra-cflags): New variable,
39136 gets @libc_extra_cflags@.
39137 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39138
61653dfb
RM
39139 [BZ #10375]
39140 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39141 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39142 * configure: Regenerated.
39143 * config.make.in (CPPUNDEFS): New substituted variable.
39144 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39145 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39146 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39147
661768bb
L
391482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39149
39150 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39151 (mq_attr): Use __syscall_slong_t.
39152
d4261567
L
391532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39154
39155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39156 Check __x86_64__ instead of __WORDSIZE.
39157 (_STAT_VER_LINUX): Likewise.
39158 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39159 __syscall_ulong_t and __syscall_slong_t.
39160 (stat64): Likewise.
39161
cf3ff365
L
391622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39163
39164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39165
76cf3e4d
L
391662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39167
39168 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39169
a637753a
L
391702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39171
39172 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39173 __syscall_ulong_t.
39174
d5e05119
L
39175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39176 include <bits/wordsize.h>. Check __x86_64__ instead of
39177 __WORDSIZE.
39178 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39179 defined.
39180 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39181
f62ee380
L
39182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39183 include <bits/wordsize.h>. Check __x86_64__ instead of
39184 __WORDSIZE.
39185 (user_regs_struct): Use "__extension__ unsigned long long"
39186 instead of "unsigned long" if __x86_64__ is defined.
39187 (user): Likewise. Pad after pointer field if __ILP32__ is
39188 defined.
39189
4e124ced
JM
391902012-05-16 Joseph Myers <joseph@codesourcery.com>
39191
6a3951a0
JM
39192 * configure.in (makeinfo): Require version 4.5 or later. Allow
39193 versions 5 to 9.
39194 * configure: Regenerated.
39195 * manual/install.texi (texinfo): Increase version requirement to
39196 4.5 or later.
39197 * INSTALL: Regenerated.
39198
4e124ced
JM
39199 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39200
953ca31a
L
392012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39202
39203 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39204
617aca05
L
39205 * sysdeps/x86_64/x32/ffs.c: New file.
39206
5762f7ae
L
39207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39208 __syscall_ulong_t.
39209 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39210 defined. Use __syscall_ulong_t.
39211 (shminfo): Use __syscall_ulong_t.
39212 (shm_info): Likewise.
39213
a26b6856
L
39214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39215 __syscall_ulong_t.
39216
cb2b9ef7
L
39217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39218 <bits/wordsize.h>.
39219 (msgqnum_t): Use __syscall_ulong_t.
39220 (msglen_t): Likewise.
39221 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39222 __syscall_ulong_t.
39223
34683bb0
L
39224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39226
84a68786
L
39227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39228
48baa5f1
L
39229 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39230 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39231
180be88b
L
39232 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39233 __syscall_slong_t.
39234
5e90c8ad
L
39235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39236 include <bits/wordsize.h>. Check __x86_64__ instead of
39237 __WORDSIZE.
39238
23dfb58b
L
39239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39240 "unsigned long long int" if __x86_64__ is defined.
39241 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39242
ce5d54b0
L
39243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39245 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39246
13dc9eac
L
39247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39248 <stdint.h>.
39249 (GET_PC): Cast to uintptr_t first.
39250 (GET_FRAME): Likewise.
39251 (GET_STACK): Likewise.
39252
a7895d15
L
39253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39259 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39270 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39282
656416c9
AS
392832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39284
5bd66283
AS
39285 * Makerules (+depfiles): Also collect depfiles from .oS in
39286 $(extra-objs).
39287 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39288 .oS, $(libnldbl-routines)).
39289
656416c9
AS
39290 * Makerules (native-compile-mkdep-flags): Define.
39291 * sunrpc/Makefile (extra-objs): Add $(addprefix
39292 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39293 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39294 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39295 calling $(make-target-directory).
39296
a46f2169
L
392972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39298
39299 * bits/types.h (__snseconds_t): Removed.
39300 * time/time.h (struct timespec): Replace __snseconds_t with
39301 __syscall_slong_t.
39302 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39303 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39304 Likewise.
39305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39306 (__SNSECONDS_T_TYPE): Likewise.
39307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39308 (__SNSECONDS_T_TYPE): Likewise.
39309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39310 (__SNSECONDS_T_TYPE): Likewise.
39311
6af6528b
L
393122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39313
39314 * sysdeps/mach/hurd/bits/typesizes.h
39315 (__SYSCALL_SLONG_TYPE): New macro.
39316 (__SYSCALL_ULONG_TYPE): Likewise.
39317
de986b56
L
393182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39319
39320 * bits/types.h (__syscall_slong_t): New type.
39321 (__syscall_ulong_t): Likewise.
39322
39323 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39324 (__SYSCALL_ULONG_TYPE): Likewise.
39325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39326 (__SYSCALL_SLONG_TYPE): Likewise.
39327 (__SYSCALL_ULONG_TYPE): Likewise.
39328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39329 (__SYSCALL_SLONG_TYPE): Likewise.
39330 (__SYSCALL_ULONG_TYPE): Likewise.
39331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39332 (__SYSCALL_SLONG_TYPE): Likewise.
39333 (__SYSCALL_ULONG_TYPE): Likewise.
39334
85736dc7
L
393352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39336
39337 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39338 Add sigaltstack-offsets.sym.
39339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39340 <sigaltstack-offsets.h>.
39341 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39342 longjmp_msg pointer.
39343 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39344 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39345 signal stack.
39346 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39347
cc03b296
JM
393482012-05-15 Joseph Myers <joseph@codesourcery.com>
39349
a9538892
JM
39350 * elf/stackguard-macros.h: Remove file.
39351 * sysdeps/generic/stackguard-macros.h: New file.
39352 * sysdeps/i386/stackguard-macros.h: Likewise.
39353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39359 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39360 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39361 <elf/stackguard-macros.h>.
39362
cc03b296
JM
39363 [BZ #14109]
39364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39365 __aligned__ in attribute.
39366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39367 (gregset_t): Likewise.
39368
93171016
L
393692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39370
39371 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39372 * sysdeps/x86_64/64/Implies-after: Here. New file.
39373 * sysdeps/x86_64/x32/Implies-after: New file.
39374
d86813a0
L
393752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39376
39377 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39378 and access return value for _dl_profile_fixup. Use R10_LP to
39379 load frame size.
39380
2953ec75
L
393812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39382
39383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39384
3b550e9e
L
393852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39386
39387 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39388 * sysdeps/x86_64/x32/sysdep.h: New file.
39389
eda41706
L
393902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39391
39392 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39393 * sysdeps/x86_64/setjmp.S: Likewise.
39394
9ea01d93
AZ
393952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39396
39397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39399 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39401 remove unused global constant.
39402
02a91938
CM
394032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39404
39405 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39406 include of <not-cancel.h>.
39407
6540185f
RM
394082012-05-15 Roland McGrath <roland@hack.frob.com>
39409
39410 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39411
509072a0
AJ
394122012-05-15 Jeff Law <law@redhat.com>
39413 Andreas Jaeger <aj@suse.de>
39414
39415 [BZ #13594]
39416 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39417 out from...
39418 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39419 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39421 code changing __hst_map_handle.map.
39422
ba75122d
RM
394232012-05-15 Roland McGrath <roland@hack.frob.com>
39424
39425 * configure.in (sysnames): Look for Implies-before and Implies-after
39426 files.
39427 * configure: Regenerated.
39428
890d8bd8
L
394292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39430
39431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39432 8-byte data alignment with LP_SIZE alignment.
39433
f6ee6623
L
394342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39435
39436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39437 into R10_LP.
39438
ea2626f6
L
394392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39440
39441 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39442
085f715e
L
394432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39444
39445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39446 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39448 Likewise.
39449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39450
be8498fc
L
394512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39452
39453 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39454 (stackinfo_sub_sp): Likewise.
39455
70bc83b9
L
394562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39457
39458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39459 RAX_LP.
39460
9bc0b730
L
394612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39462
39463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39464 into R*_LP.
39465
6d2850e7
L
394662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39467
39468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39469 sizes into R*_LP.
39470
3cb84561
L
394712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39472
39473 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39474
54e2ed81
L
394752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39476
39477 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39478 into R11_LP and load __x86_64_shared_cache_size_half into
39479 R8_LP.
39480
8a17f349
L
394812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39482
39483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39484 R8_LP.
39485
777b1eea
AZ
394862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39487
39488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39489 logb for POWER7.
39490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39491 logbf for POWER7.
39492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39493 logbl for POWER7.
39494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39495 powerpc32/power7/fpu/s_logb.c via #include.
39496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39497 powerpc32/power7/fpu/s_logbf.c via #include.
39498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39499 powerpc32/power7/fpu/s_logbl.c via #include.
39500
d20d4ac2
JM
395012012-05-15 Joseph Myers <joseph@codesourcery.com>
39502
39503 * README.libm: Remove file.
39504
6cdef1ab
L
395052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39506
39507 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39508 count for x32. Use R*_LP and omit operand-size suffix.
39509
0b254d8f
L
395102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39511
39512 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39513 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39514 * sysdeps/x86_64/x32/shlib-versions: New file.
39515
ceb809dc
RM
395162012-05-14 Roland McGrath <roland@hack.frob.com>
39517
39518 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39519 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39520 Use _dl_fatal_printf instead.
39521
37f1abd4
JM
395222012-05-14 Joseph Myers <joseph@codesourcery.com>
39523
39524 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39525 set if not set by the user. Do not allow for being unset.
39526 * sysdeps/unix/sysv/linux/configure: Regenerated.
39527
11de3a33
L
395282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39529
39530 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39531 the `q' suffix from lea and replace .quad with ASM_ADDR.
39532
e02f153a
L
395332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39534
39535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39536 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39537 instead of $17.
39538 (PTR_DEMANGLE): Likewise.
39539
520ae0fd
L
395402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39541
39542 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39543 (LP_OP): Likewise.
39544 (ASM_ADDR): Likewise.
39545 (RAX_LP): Likewise.
39546 (RBP_LP): Likewise.
39547 (RBX_LP): Likewise.
39548 (RCX_LP): Likewise.
39549 (RDI_LP): Likewise.
39550 (RSI_LP): Likewise.
39551 (RSP_LP): Likewise.
39552 (R8_LP): Likewise.
39553 (R9_LP): Likewise.
39554 (R10_LP): Likewise.
39555 (R10_LP): Likewise.
39556 (R11_LP): Likewise.
39557 (R12_LP): Likewise.
39558 (R13_LP): Likewise.
39559 (R14_LP): Likewise.
39560 (R15_LP): Likewise.
39561
b985be81
L
395622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39563
39564 * sysdeps/x86_64/x32/dl-machine.h: New file.
39565
6a4888ff
AJ
395662012-05-14 Andreas Jaeger <aj@suse.de>
39567
39568 * manual/Makefile (subdir): Remove export of subdir.
39569 (all): Remove target.
39570 (.PHONY): Remove all from list.
39571 (mkinstalldirs): Remove.
39572 (.PHONY): Remove installdirs from list.
39573 ($(inst_infodir)/libc.info): Use make-target-directory.
39574 (installdirs): Remove.
39575 (subdir_%): Remove.
39576 (glibc-targets): Remove.
39577 (lib): Remove.
39578 (stubs): Remove.
39579 ($(objpfx)stubs ../po/manual.pot): Remove.
39580 ($(objpfx)stamp%): Remove.
39581 (make-target-directory): Remove.
39582 (subdir_install): Remove.
39583 (routines): Remove.
39584 (aux): Remove.
39585 (sources): Remove.
39586 (objects): Remove.
39587 (headers): Remove.
39588
39589 [BZ #13750]
39590 * manual/.gitignore: Remove, it's not needed anymore.
39591 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39592 all files in it.
39593 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39594 directory.
39595 (texis): Renamed to $(objpfx)texis.
39596 (texis-path): New, contains path to generated files.
39597 (chapters.%): Use texis-path for complete path, add extra argument
39598 libc-texinfo.sh.
39599 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39600 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39601 (summary,texi, stamp-summary): Use complete path of
39602 files. Generate files in build dir.
39603 (dir-add.texi): Build in build dir.
39604 (libm-err.texi,stamp-libm-err): Likewise.
39605 (version.texi, stamp-version): Likewise.
39606 (.%c.texi): Likewise.
39607 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39608 (mostlyclean): Remove target.
39609 (realclean): Remove target.
39610 (generated): Add new variable with contents from mostlyclean and
39611 realclean, remove entries duplicated in common-mostlyclean, add
39612 stamp-libm-err and stamp-version.
39613 (generated-dirs): Add libc directory.
39614 ($(inst_infodir)/libc.info): Install files from build dir.
39615
39616 * manual/install.texi (Configuring and compiling): Adjust since
39617 the info files are not part of the tar ball anymore.
39618
7ac77294
AJ
396192012-05-14 Andreas Jaeger <aj@suse.de>
39620
39621 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39622 variable.
39623
ffb7875d
JM
396242012-05-14 Joseph Myers <joseph@codesourcery.com>
39625
39626 [BZ #13717]
39627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39628 to 2.2.0 where earlier.
39629 * sysdeps/unix/sysv/linux/configure: Regenerated.
39630 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39631 Remove conditional code.
39632 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39633 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39634 Remove conditional code.
39635 [!__NR_lchown]: Likewise.
39636 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39637 [__NR_lchown]: Likewise.
39638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39639 comment referencing __ASSUME_LCHOWN_SYSCALL.
39640 * sysdeps/unix/sysv/linux/i386/sigaction.c
39641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39644 Remove conditional code.
39645 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39646 (__protocol_available): Remove #if 0 code.
39647 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39648 conditional code.
39649 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39650 * sysdeps/unix/sysv/linux/kernel-features.h
39651 (__ASSUME_GETCWD_SYSCALL): Don't define.
39652 (__ASSUME_REALTIME_SIGNALS): Likewise.
39653 (__ASSUME_PREAD_SYSCALL): Likewise.
39654 (__ASSUME_PWRITE_SYSCALL): Likewise.
39655 (__ASSUME_POLL_SYSCALL): Likewise.
39656 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39657 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39658 non-SPARC.
39659 (__ASSUME_SIOCGIFNAME): Don't define.
39660 (__ASSUME_MSG_NOSIGNAL): Likewise.
39661 (__ASSUME_SENDFILE): Define unconditionally.
39662 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39663 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39664 conditional code.
39665 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39666 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39668 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39671 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39696 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39697 Remove conditional code.
39698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39699 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39700 Remove conditional code.
39701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39702 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39703 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39704 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39705 Remove conditional code.
39706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39707 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39708 Remove conditional code.
39709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39710 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39711 Remove conditional code.
39712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39713 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39714 Remove conditional code.
39715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39716 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39717 Remove conditional code.
39718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39719 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39722 * sysdeps/unix/sysv/linux/sigaction.c
39723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39725 * sysdeps/unix/sysv/linux/sigpending.c
39726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39728 * sysdeps/unix/sysv/linux/sigprocmask.c
39729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39731 * sysdeps/unix/sysv/linux/sigsuspend.c
39732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39735 (__libc_missing_rt_sigs): Remove.
39736 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39737 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39738 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39739 Remove conditional code.
39740 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39741 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39742 return 1.
39743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39744 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39747
1bfb7291
AJ
397482012-05-14 Andreas Jaeger <aj@suse.de>
39749
caae5a81
AJ
39750 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39751 it's not used in glibc.
39752 (__coshm1): Likewise.
39753 (__acosh1p): Likewise.
39754 (__sgn): Likewise.
39755
1bfb7291
AJ
39756 * manual/string.texi (Copying and Concatenation): Add missing
39757 variable in concat example.
39758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39759
c044d724
L
397602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39761
144c5467 39762 [BZ #14103]
c044d724
L
39763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39764 __builtin_clzl with __builtin_clzll.
39765
2523c62b
L
397662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39767
39768 [BZ #14104]
39769 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39770 libc_freeres_ptr.
39771
d7bb4c42
LD
397722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39773
39774 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39775 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39776 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39778
9dc4e1fb
MF
397792012-05-14 Mike Frysinger <vapier@gentoo.org>
39780
39781 * NEWS: Update ia64 info.
39782
c7df0112
AS
397832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39784
39785 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39786 used as bcopy.
39787
dc70356c
TS
397882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39789
39790 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39791 * sysdeps/unix/syscalls.list (dup3): Likewise.
39792 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39793 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39794
9fb1a21f
L
397952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39796
39797 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39798 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39799
4822a2a5
L
398002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39801
39802 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39803 thread pointer.
39804 (TLS_IE): Use mov/add instead of movq/addq to load thread
39805 pointer.
39806 (TLS_GD_PREFIX): New.
39807 (TLS_GD): Use it.
39808
842b81d6
DM
398092012-05-11 David S. Miller <davem@davemloft.net>
39810
39811 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39812 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39813 (_FPU_SETCW): Likewise.
39814
1cf463cd
L
398152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39816
39817 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39818 is 32-byte aligned.
39819
60cc4a18
AS
398202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39821
39822 [BZ #11837]
39823 * iconvdata/gb18030.c: Update tables.
39824 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39825 characters specially.
39826 (BODY for TO_LOOP): Add encoding of missing ranges.
39827
febb44a4
TS
398282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39829
39830 [BZ #13673]
39831 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39832 * sysdeps/mach/hurd/dup3.c: Likewise.
39833 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39834 * sysdeps/powerpc/memmove.c:: Likewise.
39835
0a10fb9e
L
398362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39837
39838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39839 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39840
df8a552f
L
398412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39842
39843 * elf/elf.h (R_X86_64_RELATIVE64): New.
39844 (R_X86_64_NUM): Updated.
39845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39846 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39847 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39848 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39849 tst-quad1pie tst-quad2pie
39850 (modules-names): Add tst-quadmod1 tst-quadmod2.
39851 ($(objpfx)tst-quad1): New dependency.
39852 ($(objpfx)tst-quad2): Likewise.
39853 ($(objpfx)tst-quad1pie): Likewise.
39854 ($(objpfx)tst-quad2pie): Likewise.
39855 * sysdeps/x86_64/tst-quad1.c: New file.
39856 * sysdeps/x86_64/tst-quad1pie.c: New file.
39857 * sysdeps/x86_64/tst-quad2.c: Likewise.
39858 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39859 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39860 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39861 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39862 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39863
f34d6f84
ST
398642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39865
f42d41d1
ST
39866 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39867 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39868 * streams/stropts.h (t_scalar_t): Define type.
39869
3c3571fc
ST
39870 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39871 (_PATH_PRESERVE): Set to "/var/lib".
39872 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39873
61f06bd3
ST
39874 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39875 instead of int.
39876
918d4d71
ST
39877 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39878 if __dir_mkfile succeeded.
39879
f34d6f84
ST
39880 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39881 checking for _hurd_dtablesize. Unlock it right after having
39882 finished _hurd_dtable allocation.
39883
10589b4a
TS
398842012-05-10 Thomas Schwinge <thomas@schwinge.name>
39885
674cdbc7
TS
39886 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39887 * sysdeps/mach/hurd/configure: Regenerated.
39888 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39889 special-casing to...
39890 * sysdeps/gnu/configure.in: ... this new file.
39891 * sysdeps/unix/sysv/linux/configure: Regenerated.
39892 * sysdeps/gnu/configure: New generated file.
39893
8e41b99f
TS
39894 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39895 for Linux: use nsec instead of usec, as well as:
39896 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39897 members of type struct timespec.
39898 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39899 New macros.
39900 (struct stat64): Likewise.
39901 (_STATBUF_ST_NSEC): New macro.
39902 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39903
10589b4a
TS
39904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39905 __strtoul_internal rather than strtoul.
39906
63643c85
PT
399072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39908
39909 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39910 and reject them.
39911
3faebe6a
ST
399122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39913
39914 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39915 which preserves existing values.
39916 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39917
c6474b07
PT
399182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39919
39920 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39921 TIMEOUT values. Return EINVAL for NFDS values either negative or
39922 greater than FD_SETSIZE.
39923
1043890b
ST
399242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39925
39926 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39927 allocated, call __vm_protect to finish enabling the existing space, and
39928 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39929 allocate the remainder.
39930
37ed8b9b
PT
399312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39932
39933 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39934 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39935
db653660
ST
399362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39937
37ed8b9b
PT
39938 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39939 sysdeps/mach/hurd/readlink.c.
b29d4053 39940
db653660
ST
39941 * posix/tst-sysconf.c (posix_options): Only use
39942 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39943 _POSIX_SYNCHRONIZED_IO when they are defined
39944 * sysdeps/mach/hurd/bits/posix_opt.h:
39945 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39946 (_XOPEN_REALTIME): Undefine macro.
39947 (_XOPEN_REALTIME_THREADS): Undefine macro.
39948 (_XOPEN_SHM): Undefine macro.
39949 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39950 macro to -1.
39951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39952 macro to -1.
39953 (_POSIX_ASYNC_IO): Undefine macro.
39954 (_POSIX_PRIORITIZED_IO): Undefine macro.
39955 (_POSIX_SPIN_LOCKS): Define macro to -1.
39956
ee16e894
ST
39957 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39958 SA_NODEFER, SA_RESETHAND.
39959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39960 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39961 F_DUPFD_CLOEXEC.
39962
6103ae3b
TS
399632012-05-10 Thomas Schwinge <thomas@schwinge.name>
39964
39965 * elf/Makefile (pldd-modules): Define unconditionally.
39966
80b4e5f3
TS
399672012-05-10 Thomas Schwinge <thomas@schwinge.name>
39968
39969 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39970
edadcbd6
ST
399712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39972
39973 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39974 Return ENOENT when name is empty.
39975 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39976
80694780
TS
399772012-05-10 Thomas Schwinge <thomas@schwinge.name>
39978
1792c087
TS
39979 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39980
80694780
TS
39981 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39982
6b645f0d
ST
399832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39984
80694780
TS
39985 Fix mlock in all cases except non-readable pages.
39986 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39987 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39988
6b645f0d
ST
39989 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39990 (__mkdir): When path is `/', just fail with EEXIST.
39991 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39992
e468f8a3
TS
399932012-05-10 Thomas Schwinge <thomas@schwinge.name>
39994
39995 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39996 <sys/uio.h> (for writev).
39997 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39998 and <sys/param.h> (for MIN).
39999
a4186cff
PT
400002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40001
40002 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40003 REQUESTED_TIME. Properly set the remaining time and return EINTR
40004 if interrupted.
40005
510bbf14
TS
400062012-05-10 Thomas Schwinge <thomas@schwinge.name>
40007
40008 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40009 Depend on against $(link-rpcuserlibs).
40010
5d5722e8
ST
400112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40012
a4186cff
PT
40013 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40014 (__libc_stack_end): Do not use attribute_relro.
40015 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40016 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40017 to libthread-provided value.
a4186cff
PT
40018 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40019 attribute_relro.
5d5722e8 40020
37233df9
TS
400212012-05-10 Thomas Schwinge <thomas@schwinge.name>
40022
be971a2b
TS
40023 [BZ #3748]
40024 * bits/libc-lock.h (__libc_once_get): New macro.
40025 * sysdeps/mach/bits/libc-lock.h: Likewise.
40026 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40028 instead of using implementation details.
40029
37233df9
TS
40030 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40031 * libio/freopen.c: Likewise.
40032 * libio/freopen64.c: Likewise.
40033 * misc/syslog.c: Likewise.
40034 * nscd/connections.c: Likewise.
40035 * nscd/netgroupcache.c: Likewise.
40036 * sysdeps/posix/getcwd.c: Likewise.
40037
38de94a5
RM
400382012-05-10 Roland McGrath <roland@hack.frob.com>
40039
40040 * math/w_ilogbf.c: Add #include <limits.h>.
40041
67530489
ST
400422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40043
a4186cff 40044 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40045 path instead of returning without unlocking.
40046
67530489
ST
40047 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40048 immediate-write ioctls.
40049 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40050
5aa3a74a
TS
400512012-05-10 Thomas Schwinge <thomas@schwinge.name>
40052
18bad2ae
TS
40053 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40054 __builtin_frame_address instead of making assumptions about the
40055 location of the return address relative to DATA. Force early load of
40056 the return address.
40057 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40058 __builtin_frame_address.
40059
5aa3a74a
TS
40060 dup3 for GNU Hurd.
40061 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40062 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40063 implement dup3 and do some further code clean-ups.
40064 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40066
ecd0de9a
ST
400672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40068
cd9fa985
ST
40069 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40070
a4186cff
PT
40071 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40072 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40073 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40074 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40075 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40076 d->port.lock.
802ca5a5 40077
a4186cff
PT
40078 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40079 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40080 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40081
bcf55240
TS
400822012-05-10 Thomas Schwinge <thomas@schwinge.name>
40083
6960eb42
TS
40084 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40085 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40086 definitions.
40087
eb43375f
TS
40088 accept4 for GNU Hurd.
40089 * include/sys/socket.h (__libc_accept4): New prototype.
40090 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40091 to implement __libc_accept4.
40092 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40093 __libc_accept4.
40094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40095
bcf55240
TS
40096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40097 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40098 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40099 signal-defines.sym.
40100
6178c55b
ST
401012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40102
a4186cff 40103 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40104
6f080c2f
TS
401052012-05-10 Thomas Schwinge <thomas@schwinge.name>
40106
40107 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40108 assertion on O_CLOEXEC flag.
40109 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40110 * hurd/intern-fd.c: Likewise.
40111 * hurd/port2fd.c: Likewise.
40112
bcfe3a54
ST
401132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40114
40115 [BZ #3906]
40116 * bits/in.h (IPV6_PKTINFO): Define new macro.
40117 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40118
89c9aa49
AZ
401192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40120
40121 [BZ #13954]
40122 [BZ #13955]
40123 [BZ #13956]
40124 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40126 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40127 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40130 * math/libm-test.inc (logb_test) : Additional logb tests.
40131
021db4be
AJ
401322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40133 Andreas Jaeger <aj@suse.de>
40134
40135 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40136 * configure: Regenerated.
40137 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40138 * config.make.in (link-obsolete-rpc): New substituted variable.
40139 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40140 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40141 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40142 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40143 so that libc.a contains the symbols.
40144 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40145 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40146 * sunrpc/auth_none.c: Likewise.
40147 * sunrpc/auth_unix.c: Likewise.
40148 * sunrpc/authdes_prot.c: Likewise.
40149 * sunrpc/authuxprot.c: Likewise.
40150 * sunrpc/clnt_gen.c: Likewise.
40151 * sunrpc/clnt_perr.c: Likewise.
40152 * sunrpc/clnt_raw.c: Likewise.
40153 * sunrpc/clnt_simp.c: Likewise.
40154 * sunrpc/clnt_tcp.c: Likewise.
40155 * sunrpc/clnt_udp.c: Likewise.
40156 * sunrpc/clnt_unix.c: Likewise.
40157 * sunrpc/des_crypt.c: Likewise.
40158 * sunrpc/des_soft.c: Likewise.
40159 * sunrpc/get_myaddr.c: Likewise.
40160 * sunrpc/key_call.c: Likewise.
40161 * sunrpc/key_prot.c: Likewise.
40162 * sunrpc/netname.c: Likewise.
40163 * sunrpc/pm_getmaps.c: Likewise.
40164 * sunrpc/pm_getport.c: Likewise.
40165 * sunrpc/pmap_clnt.c: Likewise.
40166 * sunrpc/pmap_prot.c: Likewise.
40167 * sunrpc/pmap_prot2.c: Likewise.
40168 * sunrpc/pmap_rmt.c: Likewise.
40169 * sunrpc/publickey.c: Likewise.
40170 * sunrpc/rpc_cmsg.c: Likewise.
40171 * sunrpc/rpc_common.c: Likewise.
40172 * sunrpc/rpc_dtable.c: Likewise.
40173 * sunrpc/rpc_prot.c: Likewise.
40174 * sunrpc/rpc_thread.c: Likewise.
40175 * sunrpc/rtime.c: Likewise.
40176 * sunrpc/svc.c: Likewise.
40177 * sunrpc/svc_auth.c: Likewise.
40178 * sunrpc/svc_raw.c: Likewise.
40179 * sunrpc/svc_run.c: Likewise.
40180 * sunrpc/svc_tcp.c: Likewise.
40181 * sunrpc/svc_udp.c: Likewise.
40182 * sunrpc/svc_unix.c: Likewise.
40183 * sunrpc/svcauth_des.c: Likewise.
40184 * sunrpc/xcrypt.c: Likewise.
40185 * sunrpc/xdr.c: Likewise.
40186 * sunrpc/xdr_array.c: Likewise.
40187 * sunrpc/xdr_float.c: Likewise.
40188 * sunrpc/xdr_intXX_t.c: Likewise.
40189 * sunrpc/xdr_mem.c: Likewise.
40190 * sunrpc/xdr_rec.c: Likewise.
40191 * sunrpc/xdr_ref.c: Likewise.
40192 * sunrpc/xdr_sizeof.c: Likewise.
40193 * sunrpc/xdr_stdio.c: Likewise.
40194
b5c086a2
RM
401952012-05-10 Roland McGrath <roland@hack.frob.com>
40196
40197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40198 change. Update copyright years.
40199
6d74dd09
JM
402002012-05-10 Joseph Myers <joseph@codesourcery.com>
40201
40202 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40203
28e72501
MK
402042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40205 Joseph Myers <joseph@codesourcery.com>
40206 Paul Pluzhnikov <ppluzhnikov@google.com>
40207
40208 [BZ #14012]
40209 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40210 requiring rpcgen.
40211 [cross-compiling] (extra-libs): Likewise.
40212 [cross-compiling] (extra-libs-others): Likewise.
40213 [cross-compiling] (librpcsvc-routines): Likewise.
40214 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40215 [cross-compiling] (omit-deps): Likewise.
40216 (sunrpc-CPPFLAGS): New variable.
40217 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40218 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40219 (cross-rpcgen-objs): New variable.
40220 (extra-objs): Append $(cross-rpcgen-objs).
40221 ($(cross-rpcgen-objs)): New rule.
40222 ($(objpfx)cross-rpcgen): Likewise.
40223 (rpcgen-cmd): Define to use $(built-program-file). Expand
40224 comment.
40225 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40226 ($(objpfx)x%.stmp): Likewise.
40227 * sunrpc/proto.h [IS_IN_build] (_): Define.
40228 [IS_IN_build] (_libc_intl_domainname): Likewise.
40229
c8c59454
L
402302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40231
40232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40233 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40234 and R_X86_64_TPOFF64.
40235
6f27cd16
JM
402362012-05-10 Joseph Myers <joseph@codesourcery.com>
40237
40238 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40239 sysdeps/unix/sysv/syscalls.list.
40240 (stime): Likewise.
40241 (utime): Likewise.
40242 * sysdeps/unix/sysv/syscalls.list: Remove file.
40243
02467e1c
PE
402442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40245
40246 [BZ #3440]
40247 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40248 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40249 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40250 (__LC_IDENTIFICATION): Make these macros useful in #if
40251 expressions, as required by C99.
40252
da392631
AS
402532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40254
40255 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40256 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40257 after this.
40258
8115f29b
L
402592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40260
40261 * stdlib/longlong.h: Updated from GCC.
40262
bdd74070
AJ
402632012-05-09 Andreas Jaeger <aj@suse.de>
40264
edfe0dbe
AJ
40265 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40266 default is first entry.
40267 (run_mode): Set type.
40268 (main): Remove informal message about syslog.
40269 (options): Fix typo.
40270
bcfe3a54
ST
40271 [BZ #14053]
40272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40273 to asm.
bcfe3a54
ST
40274 (lrint): Likewise.
40275 (llrintf): Likewise.
40276 (llrint): Likewise.
40277 (rint): Likewise.
40278 (rintf): Likewise.
40279 (nearbyint): Likewise.
40280 (nearbyintf): Likewise.
bdd74070 40281
91d8d69e
AJ
402822012-05-09 Andreas Jaeger <aj@suse.de>
40283 Pedro Alves <palves@redhat.com>
40284
40285 * nscd/nscd.c (run_mode): Use enum.
40286 (main): Cleanup coding style issue.
40287
bb90b80b
AJ
402882012-05-09 Alexandre Oliva <aoliva@redhat.com>
40289 Andreas Jaeger <aj@suse.de>
40290
bcfe3a54
ST
40291 * nscd/nscd.c (go_background): Replaced with...
40292 (run_mode): ... this.
bb90b80b 40293 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40294 (options): Add -F --foreground.
40295 (main): Implement it.
40296 (parse_opt): Parse it.
bb90b80b 40297
1a4b75a1
AJ
402982012-05-09 Andreas Jaeger <aj@suse.de>
40299
40300 [BZ #14083]
40301 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40302 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40303 -Wconversion warning.
40304 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40305 Likewise.
40306
b1cc2472
JM
403072012-05-09 Joseph Myers <joseph@codesourcery.com>
40308
40309 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40310 == 0.
40311 (LC_ALL): Use macro-int-constant.
40312 (LC_COLLATE): Likewise.
40313 (LC_CTYPE): Likewise.
40314 (LC_MESSAGES): Likewise.
40315 (LC_MONETARY): Likewise.
40316 (LC_NUMERIC): Likewise.
40317 (LC_TIME): Likewise.
40318 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40319 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40321 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40322 Specify type.
40323 [C99-based standards] (float_t): Expect type.
40324 [C99-based standards] (double_t): Expect type.
40325 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40326 type.
40327 [C99-based standards] (HUGE_VALL): Likewise.
40328 [C99-based standards] (INFINITY): Likewise.
40329 [C99-based standards] (NAN): Likewise.
40330 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40331 [C99-based standards] (FP_NAN): Likewise.
40332 [C99-based standards] (FP_NORMAL): Likewise.
40333 [C99-based standards] (FP_SUBNORMAL): Likewise.
40334 [C99-based standards] (FP_ZERO): Likewise.
40335 [C99-based standards] (FP_FAST_FMA): Use
40336 optional-macro-int-constant. Specify type. Require == 1.
40337 [C99-based standards] (FP_FAST_FMAF): Likewise.
40338 [C99-based standards] (FP_FAST_FMAL): Likewise.
40339 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40340 [C99-based standards] (FP_ILOGBNAN): Likewise.
40341 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40342 Specify type.
40343 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40344 [C99-based standards] (math_errhandling): Specify type.
40345 [ISO99 || ISO11] (signgam): Do not allow.
40346 [non-C99-based standards] (copysignf): Do not allow.
40347 [non-C99-based standards] (exp2f): Likewise.
40348 [non-C99-based standards] (log2f): Likewise.
40349 [non-C99-based standards] (modff): Allow.
40350 [non-C99-based standards] (erff): Do not allow.
40351 [non-C99-based standards] (erfcf): Likewise.
40352 [non-C99-based standards] (gammaf): Likewise.
40353 [non-C99-based standards] (hypotf): Likewise.
40354 [non-C99-based standards] (j0f): Likewise.
40355 [non-C99-based standards] (j1f): Likewise.
40356 [non-C99-based standards] (jnf): Likewise.
40357 [non-C99-based standards] (lgammaf): Likewise.
40358 [non-C99-based standards] (tgammaf): Likewise.
40359 [non-C99-based standards] (y0f): Likewise.
40360 [non-C99-based standards] (y1f): Likewise.
40361 [non-C99-based standards] (ynf): Likewise.
40362 [non-C99-based standards] (isnanf): Likewise.
40363 [non-C99-based standards] (acoshf): Likewise.
40364 [non-C99-based standards] (asinhf): Likewise.
40365 [non-C99-based standards] (atanhf): Likewise.
40366 [non-C99-based standards] (cbrtf): Likewise.
40367 [non-C99-based standards] (expm1f): Likewise.
40368 [non-C99-based standards] (ilogbf): Likewise.
40369 [non-C99-based standards] (log1pf): Likewise.
40370 [non-C99-based standards] (logbf): Likewise.
40371 [non-C99-based standards] (nextafterf): Likewise.
40372 [non-C99-based standards] (remainderf): Likewise.
40373 [non-C99-based standards] (rintf): Likewise.
40374 [non-C99-based standards] (scalbf): Likewise.
40375 [non-C99-based standards] (copysignl): Likewise.
40376 [non-C99-based standards] (exp2l): Likewise.
40377 [non-C99-based standards] (log2l): Likewise.
40378 [non-C99-based standards] (modfl): Allow.
40379 [non-C99-based standards] (erfl): Do not allow.
40380 [non-C99-based standards] (erfcl): Likewise.
40381 [non-C99-based standards] (gammal): Likewise.
40382 [non-C99-based standards] (hypotl): Likewise.
40383 [non-C99-based standards] (j0l): Likewise.
40384 [non-C99-based standards] (j1l): Likewise.
40385 [non-C99-based standards] (jnl): Likewise.
40386 [non-C99-based standards] (lgammal): Likewise.
40387 [non-C99-based standards] (tgammal): Likewise.
40388 [non-C99-based standards] (y0l): Likewise.
40389 [non-C99-based standards] (y1l): Likewise.
40390 [non-C99-based standards] (ynl): Likewise.
40391 [non-C99-based standards] (isnanl): Likewise.
40392 [non-C99-based standards] (acoshl): Likewise.
40393 [non-C99-based standards] (asinhl): Likewise.
40394 [non-C99-based standards] (atanhl): Likewise.
40395 [non-C99-based standards] (cbrtl): Likewise.
40396 [non-C99-based standards] (expm1l): Likewise.
40397 [non-C99-based standards] (ilogbl): Likewise.
40398 [non-C99-based standards] (log1pl): Likewise.
40399 [non-C99-based standards] (logbl): Likewise.
40400 [non-C99-based standards] (nextafterl): Likewise.
40401 [non-C99-based standards] (remainderl): Likewise.
40402 [non-C99-based standards] (rintl): Likewise.
40403 [non-C99-based standards] (scalbl): Likewise.
40404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40405 [non-C99-based standards] (FP_*): Do not allow.
40406 [C99-based standards] (FP_*): Change to
40407 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40408 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40409 allow.
40410 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40411 (SIG_ERR): Likewise.
40412 [X/Open-based standards] (SIG_HOLD): Likewise.
40413 (SIG_IGN): Likewise.
40414 (SIGABRT): Use macro-int-constant. Specify type. Require
40415 positive value.
40416 (SIGFPE): Likewise.
40417 (SIGILL): Likewise.
40418 (SIGINT): Likewise.
40419 (SIGSEGV): Likewise.
40420 (SIGTER): Likewise.
40421 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40422 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40423 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40424 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40425 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40426 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40427 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40428 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40429 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40430 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40431 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40432 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40433 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40434 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40435 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40436 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40437 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40438 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40439 [X/Open-based standards] (SIGTRAP): Likewise.
40440 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40441 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40442 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40443 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40444 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40445 allow.
40446
b9f1922d
IW
404472012-05-08 Ian Wienand <ianw@vmware.com>
40448
40449 [BZ #14080]
40450 * time/tzset.c (__tzset_parse_tz): Update default rules for
40451 daylight time changes in the Energy Policy Act of 2005.
40452
1db86e88
AJ
404532012-05-09 Andreas Jaeger <aj@suse.de>
40454
40455 [BZ #13983]
40456 * elf/ldconfig.c (parse_conf): Change string to make clear that
40457 ldconfig only issued a warning if ld.so.conf does not exist.
40458
dee4a4e3
DM
404592012-05-08 David S. Miller <davem@davemloft.net>
40460
ee0db190
DM
40461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40462 movxtod instead of popping the value on the stack.
40463
dee4a4e3
DM
40464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40465
6a43ec98
CD
404662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40467
40468 * config.h.in: Add HAVE_ARM_PCS_VFP.
40469
05c2c961
RMG
404702012-05-08 Roland Mc Grath <roland@hack.frob.com>
40471
bcfe3a54
ST
40472 [BZ #13979]
40473 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40474 checking but the checks are disabled for any reason.
05c2c961 40475
4b30f61a
L
404762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40477
40478 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40479 and ELF64_R_TYPE with ELFW(R_TYPE).
40480
eee2bc67
JM
404812012-05-08 Joseph Myers <joseph@codesourcery.com>
40482
7ea5391a
JM
40483 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40484 (ulimit): Likewise.
40485
eee2bc67
JM
40486 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40487 (settimeofday): Likewise.
40488
abb66a67
MF
404892012-05-08 Mike Frysinger <vapier@gentoo.org>
40490
40491 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40492 a struct th_u2 inside the union, and move tu_block/tu_code into
40493 a new th_u3 union of tu_block/tu_code inside of that. Move
40494 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40495 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40496 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40497 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40498 (th_stuff): Change to th_u1.tu_stuff.
40499 (th_data): Define.
40500 (th_msg): Change to th_u1.th_u2.tu_data.
40501
7f18b530
DM
405022012-05-07 David S. Miller <davem@davemloft.net>
40503
05760585
DM
40504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40505
7f18b530
DM
40506 [BZ #14074]
40507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40508 (SETUP_PIC_REG): Use it.
40509 (SETUP_PIC_REG_LEAF): Use it.
40510
495fd99f
JM
405112012-05-07 Joseph Myers <joseph@codesourcery.com>
40512
40513 [BZ #13885]
40514 [BZ #13923]
40515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40516 USE_AS_EXPM1L.
40517 (EXPL_FINITE): Likewise.
40518 (FLDLOG): Likewise.
40519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40520 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40521 e_expl.S.
40522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40523 USE_AS_EXPM1L.
40524 (EXPL_FINITE): Likewise.
40525 (FLDLOG): Likewise.
40526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40527 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40528 e_expl.S.
40529 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40530 test of -max_value argument for long double.
40531 * sysdeps/i386/fpu/libm-test-ulps: Update.
40532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40533
6693d694
DM
405342012-05-06 David S. Miller <davem@davemloft.net>
40535
40536 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40537 quad soft-float symbols whose references which are compiler
40538 generated.
40539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40540
6c23e11c
JM
405412012-05-06 Joseph Myers <joseph@codesourcery.com>
40542
d8b82cad
JM
40543 [BZ #13884]
40544 [BZ #13914]
40545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40546 USE_AS_EXP10L.
40547 (EXPL_FINITE): Likewise.
40548 (FLDLOG): Likewise.
40549 (c0): Likewise.
40550 (c1): Likewise.
40551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40552 Adjust comments for base varying.
40553 (__expl_finite): Change alias to EXPL_FINITE.
40554 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40555 e_expl.S.
40556 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40557 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40559 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40561 USE_AS_EXP10L.
40562 (EXPL_FINITE): Likewise.
40563 (FLDLOG): Likewise.
40564 (c0): Likewise.
40565 (c1): Likewise.
40566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40567 Adjust comments for base varying.
40568 (__expl_finite): Change alias to EXPL_FINITE.
40569 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40570 tests for bugs.
40571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40572
6c23e11c
JM
40573 [BZ #14064]
40574 * math/libm-test.inc (check_float_internal): Correct ulp
40575 calculation for subnormal expected results.
40576
29ba805c
AJ
405772012-05-06 Andreas Jaeger <aj@suse.de>
40578
40579 * Makeconfig (+math-flags): New, set to -frounding-math.
40580 (+cflags): Add +math-flags so that all of glibc gets compiled with
40581 it.
40582
40583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40584
7b17aeda
JM
405852012-05-05 Joseph Myers <joseph@codesourcery.com>
40586
5779f134
JM
40587 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40588 Disable one test.
40589
41498f4d
JM
40590 [BZ #13787]
40591 [BZ #13922]
40592 [BZ #14036]
40593 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40594 (__ieee754_expl): Allow for and saturate large arguments.
40595 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40596 (u_threshold): Likewise.
40597 (__exp): Call __ieee754_exp before checking for overflow and
40598 underflow.
40599 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40600 (u_threshold): Likewise.
40601 (__expf): Call __ieee754_expf before checking for overflow and
40602 underflow.
40603 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40604 (u_threshold): Likewise.
40605 (__expl): Call __ieee754_expl before checking for overflow and
40606 underflow.
40607 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40608 (__ieee754_expl): Allow for and saturate large arguments.
40609 * math/libm-test.inc (exp_test): Add another test. Do not allow
40610 missing overflow exception on overflow.
40611 (expm1_test): Do not allow missing overflow exception on overflow.
40612
6698b8bf
JM
40613 * sysdeps/i386/fpu/e_expl.c: Move to ...
40614 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40615 rather than using inline asm.
40616 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40617 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40618 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40619
7b17aeda
JM
40620 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40621 (nice): Likewise.
40622 (poll): Likewise.
40623 (signal): Likewise.
40624 (time): Likewise.
40625 (times): Likewise.
40626
f7c85819
JM
406272012-05-04 Joseph Myers <joseph@codesourcery.com>
40628
40629 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40630 sysdeps/unix/common/syscalls.list.
40631 (fchmod): Likewise.
40632 (fchown): Likewise.
40633 (ftruncate): Likewise.
40634 (getrusage): Likewise.
40635 (gettimeofday): Likewise.
40636 (setpgid): Likewise.
40637 (setregid): Likewise.
40638 (setreuid): Likewise.
40639 (sigaction): Likewise.
40640 (truncate): Likewise.
40641 (vhangup): Likewise.
40642 * sysdeps/unix/common/syscalls.list: Remove file.
40643 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40644 * sysdeps/unix/sysv/linux/Implies: Likewise.
40645
336270d0
L
406462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40647
40648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40651 Moved to ...
40652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40653 Here.
40654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40655 to ...
40656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40658 to ...
40659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40661 to ...
40662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40664 to ...
40665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40667 to ...
40668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40670 to ...
40671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40673 to ...
40674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40675 Here.
40676 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40677 to ...
40678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40679 Here.
40680 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40681 to ...
40682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40684 Moved to ...
40685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40686 Here.
40687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40688 to ...
40689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40690
d128e450
JM
406912012-05-04 Joseph Myers <joseph@codesourcery.com>
40692
fa8ee516
JM
40693 * sysdeps/unix/common/bits/dirent.h: Remove file.
40694 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40695
d128e450
JM
40696 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40697 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40698 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40699 * sysdeps/unix/bsd/isatty.c: Likewise.
40700 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40701 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40702 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40703
ff8faaf0 407042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40705
62881be4 40706 [BZ #13563]
31dc8730
AZ
40707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40708 long double comparison inaccuracies.
40709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40711
6fef930c
AS
407122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40713
40714 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40716
8f203e6c
JM
407172012-05-04 Joseph Myers <joseph@codesourcery.com>
40718
40719 [BZ #14049]
40720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40721 nonzero digits before rounding a hex value.
40722 * stdlib/tst-strtod.c (tests): Add another test.
40723
5197d9c2
AK
407242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40725
40726 * sysdeps/s390/fpu/libm-test-ulps: Update.
40727
f0c1dedf
AJ
407282012-05-03 Andreas Jaeger <aj@suse.de>
40729
40730 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40731 does not get optimized out.
40732 (malloc_opt_barrier): New.
40733
a65ef2ae 407342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40735 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40736
2b942cb7 40737 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40738 intermediate file deletion.
2b942cb7 40739 (generated): Add .symlist files.
a65ef2ae 40740
54b71e02
JM
407412012-05-03 Joseph Myers <joseph@codesourcery.com>
40742
40743 [BZ #13775]
40744 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40745 Redirect under this condition.
40746 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40747 [__USE_GNU] (__dprintf_chk): Not under this condition.
40748 [__USE_GNU] (__vdprintf_chk): Likewise.
40749 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40750 under this condition.
40751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40752 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40753 [__USE_XOPEN2K8] (vdprintf): Likewise.
40754 [__USE_GNU] (__dprintf_chk): Not under this condition.
40755 [__USE_GNU] (__vdprintf_chk): Likewise.
40756 [__USE_GNU] (dprintf): Likewise.
40757 [__USE_GNU] (vdprintf): Likewise.
40758
d3dfcc41
RM
407592012-05-03 Roland McGrath <roland@hack.frob.com>
40760
40761 * elf/Makefile (common-generated): Set this instead of generated for
40762 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40763 $(all-built-dso)-derived lists.
40764
7ac30cc5
AJ
407652012-05-03 Andreas Jaeger <aj@suse.de>
40766
0c51e550
AJ
40767 * sysdeps/i386/fpu/libm-test-ulps: Update.
40768
7ac30cc5
AJ
40769 * FAQ: Removed.
40770 * FAQ.in: Likewise.
40771 * scripts/gen-FAQ.pl: Likewise.
40772 * manual/install.texi (Installation): Point to online location of
40773 FAQ.
40774 * Makefile (files-for-dist): Remove FAQ.
40775 (FAQ): Remove.
40776
d4c2917f
AM
407772012-05-02 Allan McRae <allan@archlinux.org>
40778
40779 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40780 (LDFLAGS-reldepmod5.so): Likewise.
40781 (LDFLAGS-reldep6mod1.so): Likewise.
40782 (LDFLAGS-reldep6mod4.so): Likewise.
40783 (LDFLAGS-reldep8mod3.so): Likewise.
40784 (LDFLAGS-unload4mod1.so): Likewise.
40785 (LDFLAGS-unload4mod2.so): Likewise.
40786 (LDFLAGS-tst-initorder): Likewise.
40787 (LDFLAGS-tst-initordera2.so): Likewise.
40788 (LDFLAGS-tst-initordera3.so): Likewise.
40789 (LDFLAGS-tst-initordera4.so): Likewise.
40790 (LDFLAGS-tst-initorderb2.so): Likewise.
40791 (LDFLAGS-noload): Likewise.
40792 (LDFLAGS-next): Likewise.
40793 (LDFLAGS-order2mod1.so): Likewise.
40794 (LDFLAGS-order2mod2.so): Likewise.
40795 (LDFLAGS-tst-initorder2): Likewise.
40796 (LDFLAGS-tst-initorder2a.so): Likewise.
40797 (LDFLAGS-tst-initorder2b.so): Likewise.
40798 (LDFLAGS-tst-initorder2c.so): Likewise.
40799 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40800
d77f993f
DM
408012012-05-02 David S. Miller <davem@davemloft.net>
40802
40803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40804
171a70b4
PP
408052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40806
40807 [BZ #14055]
40808 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40809
0be196ad
AJ
408102012-05-02 Andreas Jaeger <aj@suse.de>
40811
40812 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40813 since we manipulate rounding mode.
40814 (CPPFLAGS-test-idouble.c): Likewise.
40815 (CPPFLAGS-test-ifloat.c): Likewise.
40816 (CFLAGS-test-ldouble.c): Likewise.
40817 (CFLAGS-test-double.c): Likewise.
40818 (CFLAGS-test-float.c): Likewise.
40819 (CFLAGS-test-misc.c): Likewise.
40820 (CFLAGS-test-test-fenv.c): Likewise.
40821
4f9d04aa
AZ
408222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40823
2b942cb7
RM
40824 [BZ #2550]
40825 [BZ #2570]
40826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40827 comparisons to determine direction to adjust input.
4f9d04aa 40828
82a79e7d
RM
408292012-05-01 Roland McGrath <roland@hack.frob.com>
40830
f5a01ca9
RM
40831 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40832 output to the target.
40833
90fe4186
RM
40834 * scripts/localplt.awk: New file.
40835 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40836 (check-localplt-CFLAGS): Variable removed.
40837 ($(all-built-dso:=.jmprel)): New static pattern rule.
40838 (generated): Add those targets.
40839 (localplt-built-dso): New variable.
40840 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40841
40842 * elf/check-localplt.c: File removed.
40843
82397ed6
RM
40844 * scripts/check-execstack.awk: New file.
40845 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40846 (check-execstack-CFLAGS): Variable removed.
40847 ($(objpfx)check-execstack.h): Target removed.
40848 ($(objpfx)execstack-default): New target.
40849 (generated): Add that instead of check-execstack.h.
40850 ($(all-built-dso:=.phdr)): New static pattern rule.
40851 (generated): Add those targets.
40852 * elf/check-execstack.c: File removed.
40853
82a79e7d
RM
40854 * scripts/check-textrel.awk: New file.
40855 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40856 (check-textrel-CFLAGS): Variable removed.
40857 (all-built-dso): Use := to define.o
40858 ($(all-built-dso:=.dyn)): New static pattern rule.
40859 (generated): Add those targets.
40860 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40861 * config.make.in (READELF): New substituted variable.
40862 * elf/check-textrel.c: File removed.
40863
62fde54f 408642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 40865
615605c9
JM
40866 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40867 allow.
40868 * conform/data/ctype.h-data [C99-based standards] (isblank):
40869 Expect function.
40870 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40871 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40873 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40874 Specify type. Require positive value.
40875 (EILSEQ): Likewise.
40876 (ERANGE): Likewise.
40877 [ISO || POSIX] (EILSEQ): Do not expect.
40878 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40879 Specify type. Require positive value.
40880 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40881 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40882 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40883 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40884 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40885 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40886 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40887 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40888 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40889 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40890 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40891 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40892 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40893 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40894 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40895 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40896 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40897 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40898 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40899 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40900 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40901 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40902 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40903 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40904 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40905 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40906 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40907 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40908 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40909 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40910 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40911 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40912 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40913 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40914 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40915 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40916 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40917 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40918 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40919 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40920 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40921 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40922 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40923 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40924 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40925 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40926 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40927 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40928 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40929 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40930 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40931 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40932 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40933 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40934 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40935 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40936 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40937 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40938 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40939 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40940 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40941 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40942 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40943 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40944 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40945 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40946 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40947 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40948 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40949 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40950 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40951 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40952 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40953 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40954 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40955 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40956 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40957 Require >= 2.
40958 (FLT_ROUNDS): Expect as macro, not constant.
40959 (FLT_MANT_DIG): Use macro-int-constant.
40960 (DBL_MANT_DIG): Likewise.
40961 (LDBL_MANT_DIG): Likewise.
40962 (FLT_DIG): Likewise.
40963 (DBL_DIG): Likewise.
40964 (LDBL_DIG): Likewise.
40965 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40966 (DBL_MIN_EXP): Likewise.
40967 (LDBL_MIN_EXP): Likewise.
40968 (FLT_MAX_EXP): Use macro-int-constant.
40969 (DBL_MAX_EXP): Likewise.
40970 (LDBL_MAX_EXP): Likewise.
40971 (FLT_MAX_10_EXP): Likewise.
40972 (DBL_MAX_10_EXP): Likewise.
40973 (LDBL_MAX_10_EXP): Likewise.
40974 (FLT_MAX): Use macro-constant.
40975 (DBL_MAX): Likewise.
40976 (LDBL_MAX): Likewise.
40977 (FLT_EPSILON): Use macro-constant. Give upper bound.
40978 (DBL_EPSILON): Likewise.
40979 (LDBL_EPSILON): Likewise.
40980 (FLT_MIN): Likewise.
40981 (DBL_MIN): Likewise.
40982 (LDBL_MIN): Likewise.
40983 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40984 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40985 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40986 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40987 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40988 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40989 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40990 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40991 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40992 [ISO11] (FLT_TRUE_MIN): Likewise.
40993 [ISO11] (LDBL_TRUE_MIN): Likewise.
40994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40995 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40996 (SCHAR_MIN): Use macro-int-constant. Specify type.
40997 (SCHAR_MAX): Likewise.
40998 (UCHAR_MAX): Likewise.
40999 (CHAR_MIN): Likewise.
41000 (CHAR_MAX): Likewise.
41001 (MB_LEN_MAX): Use macro-int-constant.
41002 (SHRT_MIN): Use macro-int-constant. Specify type.
41003 (SHRT_MAX): Likewise.
41004 (USHRT_MAX): Likewise.
41005 (INT_MAX): Likewise.
41006 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41007 bound negative.
41008 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41009 bound with "U".
41010 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41011 bound with "L".
41012 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41013 bound negative. Suffix upper bound with "L".
41014 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41015 bound with "UL".
41016 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41017 Specify type.
41018 [C99-based standards] (LLONG_MAX): Likewise.
41019 [C99-based standards] (ULLONG_MAX): Likewise.
41020 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41021 == 0.
41022 [ISO11] (max_align_t): Require type.
41023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41024
c9140a62
JM
41025 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41026 from $CFLAGS, without defining away __attribute__ calls.
41027 (checknamespace): Use $CFLAGS_namespace.
41028
9af0bf29
JM
41029 * conform/conformtest.pl (@keywords): Only include C99 keywords
41030 for standards based on C99 or C11.
41031
343222a2
JM
41032 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41033 Disable tests.
41034 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41035 UNIX98]: Likewise.
41036
661f8cf0
JM
41037 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41038 usability of symbols in #if.
41039
ee74b9cb
JM
41040 * conform/conformtest.pl: If macro or constant types start
41041 "promoted:", expect the symbol to be of the following type
41042 promoted by the integer promotions.
62fde54f 41043
aafc49b3
JM
41044 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41045 in one place. Also handle "macro-constant".
41046
fefdf574
JM
41047 * conform/conformtest.pl: Only accept expected macro values with
41048 "==". Parse all "macro" lines in one place.
41049 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41050
f2d922fe
JM
41051 * conform/conformtest.pl: Handle braced types on "constant" lines
41052 instead of handling "typed-constant".
41053 * conform/data/signal.h-data: Use "constant" instead of
41054 "typed-constant".
41055
d22956c9
JM
41056 * conform/conformtest.pl: Handle "optional-" at start of lines in
41057 one place rather than duplicating several cases. Handle each
41058 format of "macro" line with initial "optional-".
41059
028e2e38
JM
41060 * conform/conformtest.pl: Only accept expected constant or
41061 optional-constant values with "==". Parse all "constant" lines in
41062 one place. Parse all "optional-constant" lines in one place.
41063 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41064 * conform/data/fmtmsg.h-data: Likewise.
41065 * conform/data/netinet/in.h-data: Likewise.
41066 * conform/data/tar.h-data: Likewise.
41067 * conform/data/limits.h-data: Use "==" form on "constant" and
41068 "optional-constant" lines.
41069
1b8f2850
JM
41070 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41071 Use -std=c99 for XOPEN2K.
41072 (@knownproblems): Remove.
41073 (newtoken): Don't check %isknown.
41074
a05a144b
JM
41075 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41076 Do not expect macro.
41077 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41081 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41082 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41083 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41084 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41085 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41086 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41087 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41088 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41089 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41090 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41091 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41094 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41095 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41101 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41102 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41103 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41104 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41105 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41106 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41107 [XPG3] (acosh): Likewise.
41108 [XPG3] (asinh): Likewise.
41109 [XPG3] (atanh): Likewise.
41110 [XPG3] (cbrt): Likewise.
41111 [XPG3] (expm1): Likewise.
41112 [XPG3] (ilogb): Likewise.
41113 [XPG3] (log1p): Likewise.
41114 [XPG3] (logb): Likewise.
41115 [XPG3] (nextafter): Likewise.
41116 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41117 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41118 [XPG3] (remainder): Likewise.
41119 [XPG3] (rint): Likewise.
41120 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41121 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41122 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41123 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41124 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41125 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41126 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41127 [UNIX98 || XOPEN2K] (scalb): Expect.
41128 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41129 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41130 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41131 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41132 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41133 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41134 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41135 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41136 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41137 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41138 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41139 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41140 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41141 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41142 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41143 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41144 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41145 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41146 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41147 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41148 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41149 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41150 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41151 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41152 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41153 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41154 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41155 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41156 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41157 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41158 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41159 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41160 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41161 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41162 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41163 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41164 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41165 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41166 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41167 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41168 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41169 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41170 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41171 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41172 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41173 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41174 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41175 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41176 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41177 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41178 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41179 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41185 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41186 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41188 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41189 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41190 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41191 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41192 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41193 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41194 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41195 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41196 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41197 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41198 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41199 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41200 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41201 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41202 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41203 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41204 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41205 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41206 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41207 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41208 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41209 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41210 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41211 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41212 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41213 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41214 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41215 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41216 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41217 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41218 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41219 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41220 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41221 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41222 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41223 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41224 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41225 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41226 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41227 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41228 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41229 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41230 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41231 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41232 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41233 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41234 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41235 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41236 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41237 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41238 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41239 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41240 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41241 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41242 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41243 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41244 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41245 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41246 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41247 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41248 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41249 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41250 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41251 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41252 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41253 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41254 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41255 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41256 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41257 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41258 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41259 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41260 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41261 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41262 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41263 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41264 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41265
73c5ebe3
JM
41266 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41267 _XOPEN_SOURCE_EXTENDED for XPG4.
41268
39c33b6c
JM
41269 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41270
62fde54f
JM
41271 * Makeconfig (localtime): Remove variable.
41272 (inst_localtime-file): Likewise.
41273
0741d64c
AS
412742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41275
41276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41277 Update.
41278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41279 Update.
41280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41281 Update.
41282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41283 Update.
41284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41285 Update.
41286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41287 Update.
41288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41289 Update.
41290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41291 Update.
41292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41293 Update.
41294
7cb029ee
JM
412952012-05-01 Joseph Myers <joseph@codesourcery.com>
41296
41297 [BZ #2550]
41298 [BZ #2570]
41299 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41300 comparisons to determine direction to adjust input.
41301 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41302 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41304 Likewise.
41305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41306 Likewise.
41307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41308 Likewise.
41309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41311 Likewise.
41312 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41313 Likewise.
41314 * math/libm-test.inc (nexttoward_test): Add more tests.
41315
412bd966
AS
413162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41317
41318 [BZ #14040]
41319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41320 in version GLIBC_2.1, not GLIBC_2.0.
41321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41322 Likewise.
41323
9568c0c2
JM
413242012-04-30 Joseph Myers <joseph@codesourcery.com>
41325
adfbc8ac
JM
41326 [BZ #13942]
41327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41328 (1 - x) * (1 + x).
41329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41330 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41331 * math/libm-test.inc (acos_test): Add more tests.
41332 (asin_test): Likewise.
41333 * sysdeps/i386/fpu/libm-test-ulps: Update.
41334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41335
5ba3cc69
JM
41336 [BZ #14034]
41337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41338 of square root.
41339 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41341 * math/libm-test.inc (acos_test_tonearest): New function.
41342 (acos_test_towardzero): Likewise.
41343 (acos_test_downward): Likewise.
41344 (acos_test_upward): Likewise.
41345 (asin_test_tonearest): Likewise.
41346 (asin_test_towardzero): Likewise.
41347 (asin_test_downward): Likewise.
41348 (asin_test_upward): Likewise.
41349 (main): Call the new functions.
41350 * sysdeps/i386/fpu/libm-test-ulps: Update.
41351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41352
9568c0c2
JM
41353 [BZ #13884]
41354 [BZ #13924]
41355 * math/e_exp10.c: Include <float.h>.
41356 (__ieee754_exp10): Handle underflow here rather than multiplying
41357 large negative argument by M_LN10.
41358 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41359 of __ieee754_expf.
41360 * math/e_exp10l.c: Include <float.h>.
41361 (__ieee754_exp10l): Handle underflow here rather than multiplying
41362 large negative argument by M_LN10l.
41363 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41364 spurious overflow exception on underflow.
41365
5ac3ea17
MP
413662012-04-29 Marek Polacek <polacek@redhat.com>
41367
41368 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41369 (__fortify_function): New macro.
41370 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41371 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41372 __extern_always_inline.
41373 * libio/bits/stdio2.h: Likewise.
41374 * libio/bits/stdio.h: Likewise.
41375 * string/string.h: Likewise.
41376 * string/bits/string3.h: Likewise.
41377 * include/stdio.h: Likewise.
41378 * stdlib/bits/stdlib.h: Likewise.
41379 * stdlib/stdlib.h: Likewise.
41380 * rt/bits/mqueue2.h: Likewise.
41381 * rt/mqueue.h: Likewise.
41382 * posix/bits/unistd.h: Likewise.
41383 * posix/unistd.h: Likewise.
41384 * io/bits/poll2.h: Likewise.
41385 * io/bits/fcntl2.h: Likewise.
41386 * io/fcntl.h: Likewise.
41387 * io/sys/poll.h: Likewise.
41388 * misc/bits/syslog.h: Likewise.
41389 * misc/bits/syslog-ldbl.h: Likewise.
41390 * misc/sys/syslog.h: Likewise.
41391 * socket/bits/socket2.h: Likewise.
41392 * socket/sys/socket.h: Likewise.
41393 * debug/tst-chk1.c: Likewise.
41394 * wcsmbs/bits/wchar2.h: Likewise.
41395 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41396 * wcsmbs/wchar.h: Likewise.
41397
ecf0ebfb
AJ
413982012-04-29 Andreas Jaeger <aj@suse.de>
41399
41400 * Makerules (tests): Remove enable-check-abi protection.
41401 (check-abi-warn): Remove.
41402 (check-abi-%): Remove check-abi-warn usage.
41403
41404 * configure.in: Remove check-abi configure option.
41405 * configure: Regenerated.
41406 * config.make.in (enable-check-abi): Remove.
41407
6d5c57fa
AS
414082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41409
24c5d07e 41410 [BZ #14033]
ded5180a
AS
41411 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41412 double functions to double *_finite functions.
41413
7e0d315d
AS
41414 [BZ #13941]
41415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41416 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41417 LDBL_MIN_EXP.
41418 * stdio-common/Makefile (tests): Add tst-sprintf3.
41419 * stdio-common/tst-sprintf3.c: New file.
41420
6d5c57fa
AS
41421 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41422 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41423
0749ff8b
JM
414242012-04-28 Joseph Myers <joseph@codesourcery.com>
41425
41426 * conform/conformtest.pl: Remove duplicate typed-constant
41427 handling.
41428
8dbd5d7b
DM
414292012-04-28 David S. Miller <davem@davemloft.net>
41430
41431 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41432 (check-abi-%): Remove AWK script prerequisite and explicit
41433 abilist directory.
41434 (check-abi): Rewrite to just diff the symlist with the abilist.
41435 (config-tls, config-abi-config): Delete, no longer used.
41436 (update-abi-%): Remove AWK script and explicit abilist directory.
41437 (update-abi): Rewrite to simply compare and conditionally copy the
41438 symlist and the sysdep abilist file. Remove update-abi-config
41439 checks.
41440 * abilist/ld.abilist: Remove.
41441 * abilist/libBrokenLocale.abilist: Remove.
41442 * abilist/libanl.abilist: Remove.
41443 * abilist/libcrypt.abilist: Remove.
41444 * abilist/libdl.abilist: Remove.
41445 * abilist/librt.abilist: Remove.
41446 * abilist/libthread_db.abilist: Remove.
41447 * abilist/libutil.abilist: Remove.
41448 * scripts/extract-abilist.awk: Remove.
41449 * scripts/merge-abilist.awk: Remove.
41450 * sysdeps/generic/libcidn.abilist: New file.
41451 * sysdeps/generic/libnss_compat.abilist: New file.
41452 * sysdeps/generic/libnss_db.abilist: New file.
41453 * sysdeps/generic/libnss_dns.abilist: New file.
41454 * sysdeps/generic/libnss_files.abilist: New file.
41455 * sysdeps/generic/libnss_hesiod.abilist: New file.
41456 * sysdeps/generic/libnss_nis.abilist: New file.
41457 * sysdeps/generic/libnss_nisplus.abilist: New file.
41458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41459 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41461 file.
41462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41463 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41466 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41467 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41470 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41471 file.
41472 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41474 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41476 file.
41477 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41482 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41483 file.
41484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41486 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41487 file.
41488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41490 New file.
41491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41492 New file.
41493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41494 New file.
41495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41496 New file.
41497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41498 New file.
41499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41500 New file.
41501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41502 New file.
41503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41504 New file.
41505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41506 New file.
41507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41508 New file.
41509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41510 New file.
41511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41512 New file.
41513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41514 New file.
41515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41516 file.
41517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41518 New file.
41519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41520 New file.
41521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41522 file.
41523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41524 New file.
41525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41526 New file.
41527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41528 file.
41529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41530 New file.
41531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41532 New file.
41533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41534 New file.
41535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41536 New file.
41537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41538 New file.
41539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41540 New file.
41541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41543 file.
41544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41545 New file.
41546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41547 file.
41548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41549 file.
41550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41551 file.
41552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41553 file.
41554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41555 file.
41556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41557 New file.
41558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41559 file.
41560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41561 file.
41562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41563 New file.
41564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41565 file.
41566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41568 file.
41569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41570 New file.
41571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41572 file.
41573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41574 file.
41575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41576 file.
41577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41578 file.
41579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41580 file.
41581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41582 New file.
41583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41584 file.
41585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41586 file.
41587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41588 New file.
41589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41590 file.
41591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41592 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41593 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41594 file.
41595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41596 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41599 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41600 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41601 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41603 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41604 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41607 file.
41608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41609 New file.
41610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41611 file.
41612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41613 file.
41614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41615 file.
41616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41617 file.
41618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41619 file.
41620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41621 New file.
41622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41623 New file.
41624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41625 file.
41626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41627 New file.
41628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41629 file.
41630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41632 file.
41633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41634 New file.
41635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41636 file.
41637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41638 file.
41639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41640 file.
41641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41642 file.
41643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41644 file.
41645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41646 New file.
41647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41648 New file.
41649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41650 file.
41651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41652 New file.
41653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41654 file.
41655
41d73a1b
JM
416562012-04-28 Joseph Myers <joseph@codesourcery.com>
41657
41658 * conform/conformtest.pl: Fix typo in handling typed-constant from
41659 allow-header.
41660
28aeeda4
JM
416612012-04-27 Joseph Myers <joseph@codesourcery.com>
41662
adae8f5e
JM
41663 * README: Cut down references to pre-2.6 Linux kernels and
41664 Linuxthreads. Update lists of configurations in libc and ports
41665 and sort alphabetically. Say "or newer" with Linux kernel version
41666 requirements.
41667
28aeeda4
JM
41668 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41669
a462cb63
RA
416702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41671
41672 [BZ #887]
41673 * math/libm-test.inc (logb_test_downward): New test to expose
41674 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41675 rounding mode.
41676
6ad3493e
JM
416772012-04-27 Joseph Myers <joseph@codesourcery.com>
41678
41679 [BZ #14027]
41680 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41681 to be done.
41682 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41683 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41684
2ce4f015
JM
416852012-04-26 Joseph Myers <joseph@codesourcery.com>
41686
5aeb141a
JM
41687 * sysdeps/unix/i386/brk.S: Remove file.
41688 * sysdeps/unix/i386/dl-brk.S: Likewise.
41689 * sysdeps/unix/i386/pipe.S: Likewise.
41690 * sysdeps/unix/i386/sigreturn.S: Likewise.
41691 * sysdeps/unix/i386/syscall.S: Likewise.
41692 * sysdeps/unix/i386/vfork.S: Likewise.
41693 * sysdeps/unix/i386/wait.S: Likewise.
41694
7143acae
JM
41695 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41696 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41697
2ce4f015
JM
41698 * configure.in (arm*-none*): Do not allow without
41699 --enable-hacker-mode.
41700 (netbsd*): Remove case setting base_os.
41701 (386bsd*): Likewise.
41702 (freebsd*): Likewise.
41703 (bsdi*): Likewise.
41704 (osf*): Likewise.
41705 (sunos*): Likewise.
41706 (ultrix*): Likewise.
41707 (newsos*): Likewise.
41708 (dynix*): Likewise.
41709 (*bsd*): Likewise.
41710 (sysv*): Likewise.
41711 (isc*): Likewise.
41712 (esix*): Likewise.
41713 (sco*): Likewise.
41714 (minix*): Likewise.
41715 (irix4*): Likewise.
41716 (irix6*): Likewise.
41717 (solaris[2-9]*): Likewise.
41718 (none): Likewise.
41719 * configure: Regenerated.
41720
0ac229c8
AZ
417212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41722
41723 [BZ #11521]
41724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41725 overflow or cancellation in calculating denominator.
41726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41728 down expression to avoid unexpected rounding in newer GCCs.
41729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41730
33f244f4
DM
417312012-04-26 David S. Miller <davem@davemloft.net>
41732
41733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41734 long-double compat symbols.
41735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41748
cfa1f3e8
DM
417492012-04-25 David S. Miller <davem@davemloft.net>
41750
41751 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41752 HWCAP_* values only after the memory barriers have been defined.
41753 (atomic_full_barrier): Define.
41754 (atomic_read_barrier): Define.
41755 (atomic_write_barrier): Define.
41756
6e236b92
SP
417572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41758
41759 * shlib-versions: Add libgcc_s version information.
41760 * sysdeps/generic/libgcc_s.h: Remove.
41761 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41762 libgcc_s.h.
41763 * sysdeps/gnu/unwind-resume.c: Likewise.
41764 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41765
aab39a09
DM
417662012-04-25 David S. Miller <davem@davemloft.net>
41767
41768 * sysdeps/unix/sparc/brk.S: Delete.
41769 * sysdeps/unix/sparc/dl-brk.S: Delete.
41770 * sysdeps/unix/sparc/pipe.S: Delete.
41771 * sysdeps/unix/sparc/sysdep.S: Delete.
41772 * sysdeps/unix/sparc/sysdep.h: Delete.
41773 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41775 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41777 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41778 (JUMPTARGET): Remove.
41779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41780 sysdeps/unix/sparc/sysdep.h
41781 (ENTRY, END): Remove.
41782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41783
a3cc4f48
JM
417842012-04-25 Joseph Myers <joseph@codesourcery.com>
41785
2ed8cda2
JM
41786 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41787 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41788 -DIS_IN_build.
41789
35d76d59
JM
41790 * timezone/README: Update upstream location and email address for
41791 tzcode and tzdata.
41792 * timezone/zdump.c: Update from tzcode 2012b.
41793 * timezone/zic.c: Likewise.
41794
a3cc4f48
JM
41795 * configure.in (libc_cv_as_needed): Remove test.
41796 * configure: Regenerated.
41797 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41798 conditional definition.
41799 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41800 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41801 * config.make.in (have-as-needed): Remove variable.
41802
ceab42c3
SP
418032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41804 Paul Pluzhnikov <ppluzhnikov@google.com>
41805
41806 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41807 strings correctly.
41808
3ce2865f
CLT
418092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41810
41811 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41812 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41813 * sysdeps/sh/strlen.S: Likewise.
41814
f37e0d68
JM
418152012-04-24 Joseph Myers <joseph@codesourcery.com>
41816
ae186e9a
JM
41817 * sysdeps/unix/fork.S: Remove file.
41818 * sysdeps/unix/i386/fork.S: Likewise.
41819 * sysdeps/unix/sparc/fork.S: Likewise.
41820
b96914af
JM
41821 * sysdeps/unix/system.c: Remove file.
41822 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41823
f37e0d68
JM
41824 * sysdeps/unix/getegid.S: Remove file.
41825 * sysdeps/unix/geteuid.S: Likewise.
41826
87ef29ca
RM
418272012-04-24 Roland McGrath <roland@hack.frob.com>
41828
83bcd236
RM
41829 * scripts/check-localplt.awk: New file.
41830 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41831 of diff.
41832 * scripts/data/localplt-generic.data: Add a comment.
41833
87ef29ca
RM
41834 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41835 NODE when __dir_mkfile failed.
41836 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41837 Reported by Ludovic Courtès <ludo@gnu.org>.
41838
e5a6e567
AJ
418392012-04-24 Andreas Jaeger <aj@suse.de>
41840
41841 * Makerules (common-clean): Also remove gen-as-const-headers
41842 files.
41843
c1820385
JM
418442012-04-24 Joseph Myers <joseph@codesourcery.com>
41845
41846 * Makerules (native-compile): Do not change working directory for
41847 build. Use $(OUTPUT_OPTION) in command.
41848 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41849
94e02fc4
AZ
418502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41851
41852 [BZ #13886]
41853 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41854 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41855 * math/libm-test.inc (floor_test): Add more tests.
41856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41857
3a533ca3
JM
418582012-04-24 Joseph Myers <joseph@codesourcery.com>
41859
940ab4b3
JM
41860 * sysdeps/unix/getdents.c: Remove file.
41861 * sysdeps/unix/sysv/getdents.c: Likewise.
41862 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41863
90e037bd
JM
41864 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41865 sysdeps/unix/mman/syscalls.list.
41866 (mmap): Likewise.
41867 (mprotect): Likewise.
41868 (msync): Likewise.
41869 (munmap): Likewise.
41870 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41871 * sysdeps/unix/mman/syscalls.list: Remove.
41872 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41873
3a533ca3
JM
41874 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41875 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41876 * configure: Regenerated.
41877 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41878 $(libgcc_s_suffix).
41879 * config.make.in (libgcc_s_suffix): Remove variable.
41880
1ad743de
JM
418812012-04-23 Joseph Myers <joseph@codesourcery.com>
41882
4ad451e2
JM
41883 * sysdeps/unix/sysv/gethostname.c: Move to ...
41884 * sysdeps/posix/gethostname.c: ... here.
41885
5e37ce39
JM
41886 * sysdeps/unix/execve.S: Remove file.
41887
1ad743de
JM
41888 * sysdeps/unix/_exit.S: Remove file.
41889
4e681b5b
AJ
418902012-04-23 Andreas Jaeger <aj@suse.de>
41891
41892 [BZ #13739]
41893 * manual/Makefile: Remove make dist support, there's no
41894 need for a stand-alone documentation tar ball.
41895 (TEXI2DVI): Define always, it's not in Makeconfig.
41896 (dist): Removed.
41897 (tar-it): Removed.
41898 (edition): Removed.
41899 (glibc-doc-$(edition).tar): Removed
41900 (%.Z): Removed.
41901 (%.gz): Removed.
41902 (%.uu): Removed.
41903 (ETAGS): Remove, it's in Makeconfig.
41904 (move-if-change): Remove, it's in Makeconfig.
41905
38686a03 419062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
41907
41908 [BZ #13970]
41909 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41910 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41911 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41912 (strtod_l, strtof_l, strtold_l): Remove __wur.
41913 It is not necessarily an error to ignore strtol's return value.
41914 One can reliably look at the stored endptr to decide whether
41915 the number had valid syntax.
41916
7c0616fa
AJ
419172012-04-21 Andreas Jaeger <aj@suse.de>
41918
803cb6b7 41919 [BZ #13739]
7c0616fa
AJ
41920 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41921
b0fe253f
JM
419222012-04-21 Joseph Myers <joseph@codesourcery.com>
41923
41924 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41925 * sysdeps/unix/sysv/Versions: Remove file.
41926
8280f22d
MT
419272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41928
41929 [BZ #13927]
41930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41931
75ce411f 419322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
41933
41934 [BZ #7064]
41935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41936 version from __vm86.
41937
097d59fa
JM
419382012-04-20 Joseph Myers <joseph@codesourcery.com>
41939
a90f3bcb
JM
41940 * sysdeps/unix/common/lxstat.c: Remove file.
41941 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41942
edc7ea78
JM
41943 * sysdeps/unix/sysv/Makefile: Remove file.
41944
cb78c221
JM
41945 * sysdeps/unix/sysv/direct.h: Remove file.
41946
efa6a45f
JM
41947 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41948 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41949 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41950 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41951 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41952 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41953 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41954
9c9f2d0c
JM
41955 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41956
4541c83b
JM
41957 * sysdeps/unix/xmknod.c: Remove file.
41958 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41959
f5d153a0
JM
41960 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41961
aa746595
JM
41962 * sysdeps/unix/sysv/i386/time.S: Remove file.
41963
cce5905e
JM
41964 * sysdeps/unix/fxstat.c: Remove file.
41965 * sysdeps/unix/xstat.c: Likewise.
41966 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41967
37fa3841
JM
41968 * sysdeps/unix/sysv/sigaction.c: Remove file.
41969
ff1962a3
JM
41970 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41971 (sysdep_headers): Remove variable.
41972 [termio.h not in sysdep_headers] (generated): Likewise.
41973 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41974 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41975 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41976 * sysdeps/unix/sysv/tcflow.c: Likewise.
41977 * sysdeps/unix/sysv/tcflush.c: Likewise.
41978 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41979 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41980 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41981 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41982 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41983
e7740d31
JM
41984 * sysdeps/unix/siglist.c: Remove file.
41985
ee06f18b
JM
41986 * sysdeps/unix/getppid.S: Remove file.
41987
097d59fa
JM
41988 * sysdeps/unix/mkdir.c: Remove file.
41989 * sysdeps/unix/rmdir.c: Likewise.
41990
ff3d51ec
AS
419912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41992
41993 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41994 ERR_MAX value.
41995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41996 errlist-compat value.
41997
50f81fd7
DM
419982012-04-18 David S. Miller <davem@davemloft.net>
41999
42000 * sysdeps/generic/memcopy.h (reg_char): Delete.
42001 * debug/strcat_chk.c: Use char, not reg_char.
42002 * debug/strcpy_chk.c: Likewise.
42003 * debug/strncat_chk.c: Likewise.
42004 * debug/strncpy_chk.c: Likewise.
42005 * string/memchr.c: Likewise.
42006 * string/memrchr.c: Likewise.
42007 * string/rawmemchr.c: Likewise.
42008 * string/strcat.c: Likewise.
42009 * string/strchr.c: Likewise.
42010 * string/strchrnul.c: Likewise.
42011 * string/strcmp.c: Likewise.
42012 * string/strcpy.c: Likewise.
42013 * string/strncat.c: Likewise.
42014 * string/strncmp.c: Likewise.
42015 * string/strncpy.c: Likewise.
42016
8ff41c46
WS
420172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42018
42019 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42020 __builtin_memcopy is called when src and dest ranges are known to not
42021 overlap.
42022
6b652f46
WS
420232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42024
42025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42026 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42027 fwd_align_merge macro call.
42028 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42029 bwd_align_merge macro call.
42030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42031
b282631e
WS
420322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42033
42034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42035 bwd_align_merge macros.
42036 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42037 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42039
95aa737c
DM
420402012-04-18 David S. Miller <davem@davemloft.net>
42041
42042 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42043
7a99a614
AJ
420442012-04-18 Andreas Jaeger <aj@suse.de>
42045
42046 [BZ# 6794]
42047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42049 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42050
42051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42052 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42054
42055 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42057 Adjust for changed ldbl-128 files.
42058
42059 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42060 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42062
e5270c23
DM
420632012-04-17 David S. Miller <davem@davemloft.net>
42064
42065 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42066
fb5e92c9
AS
420672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42068
42069 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42070 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42071 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42072 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42073 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42074 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42075
76da7265
AZ
420762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42077
42078 [BZ #6794]
42079 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42080 * math/libm-test.inc: Add ilogb errno and exception tests.
42081 * math/w_ilogb.c: New file: ilogb wrapper.
42082 * math/w_ilogbf.c: New file: ilogbf wrapper.
42083 * math/w_ilogbl.c: New file: ilogbl wrapper.
42084 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42085 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42086 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42087 exception being thrown with 0.0 as argument.
42088 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42089 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42090 exception being thrown with 0.0 as argument.
42091 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42092 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42093 exception being thrown with 0.0 as argument.
42094 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42095 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42096 exception being thrown with 0.0 as argument.
42097 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42098 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42100 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42102 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42103 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42104 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42105 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42106
0396e69d
PB
421072012-04-17 Petr Baudis <pasky@ucw.cz>
42108
42109 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42110 with altivec.
42111
750b5926
MP
421122012-04-16 Marek Polacek <polacek@redhat.com>
42113
42114 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42115
751728a1
MP
421162012-04-16 Marek Polacek <polacek@redhat.com>
42117
42118 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42119 operands of fdivp instruction.
42120
34a27407
L
421212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42122
42123 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42124 * elf/tst-auditmod3b.c: Likewise.
42125 * elf/tst-auditmod4b.c: Likewise.
42126 * elf/tst-auditmod5b.c: Likewise.
42127 * elf/tst-auditmod6b.c: Likewise.
42128 * elf/tst-auditmod6c.c: Likewise.
42129 * elf/tst-auditmod7b.c: Likewise.
42130 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42131 * sysdeps/x86_64/preconfigure.in: Likewise.
42132 * sysdeps/x86_64/preconfigure: Regenerated.
42133
7e73e17d
L
421342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42135
42136 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42137 __ILP32__.
42138
c7a6ab72
AB
421392012-04-13 Antoine Balestrat <merkil33@gmail.com>
42140
42141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42142 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42143
a9e8e0e0
CL
421442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42145
42146 [BZ #13973]
42147 * locale/iso-639.def: Fix gl language name. Spotted by
42148 Yaron Shahrabani.
42149
ec98af7d
RM
421502012-04-12 Roland McGrath <roland@hack.frob.com>
42151
42152 [BZ #2074]
42153 * libio/libio.h (__io_write_fn): Update comment.
42154
247c3ede
PB
421552012-04-12 Petr Baudis <pasky@ucw.cz>
42156
42157 [BZ #2074]
42158 * stdio.texi (Hook Functions): The user provided writer function
42159 is not allowed to return -1.
42160
55939d6d
DM
421612012-04-11 David S. Miller <davem@davemloft.net>
42162
42163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42164
90020f5a
MF
421652012-04-11 Mike Frysinger <vapier@gentoo.org>
42166
42167 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42168 Add a leading slash to rtkaio.
42169
288f9098
JM
421702012-04-11 Jim Meyering <meyering@redhat.com>
42171
90020f5a
MF
42172 [BZ #11959]
42173 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42174 It is not necessarily an error to ignore fwrite's return
42175 value. One can reliably use ferror to test for errors after
42176 the fact.
288f9098 42177
4be2b570
L
421782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42179
42180 * bits/types.h (__snseconds_t): New type.
42181 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42182
42183 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42185 (__SNSECONDS_T_TYPE): Likewise.
42186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42187 (__SNSECONDS_T_TYPE): Likewise.
42188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42189 (__SNSECONDS_T_TYPE): Likewise.
42190
288f9098 421912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42192
42193 [BZ #2636]
42194 * manual/time.texi (Processor Time): Return type of times is
42195 elapsed real time since an arbitrary point in the past.
42196 (CPU Time): Move CLK_TCK from here...
42197 (Processor Time): ...to here. Correct description.
42198 * manual/conf.texi (Constants for Sysconf): Correct description of
42199 _SC_CLK_TCK.
42200
d7dd4413
DM
422012012-04-10 David S. Miller <davem@davemloft.net>
42202
42203 [BZ #13967]
42204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42205 where the is a gap between DT_REL(A) and DT_JMPREL.
42206
b46068fc
L
422072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42208
42209 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42212
73d65cc3
SP
422132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42214
42215 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42216 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42217 (dl_main): Handle --inhibit-cache.
42218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42219 _dl_inhibit_cache.
42220 * elf/dl-load.c (_dl_map_object): Use it.
42221 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42222
bcc8d661
JM
422232012-04-09 Joseph Myers <joseph@codesourcery.com>
42224
8f9a2fae
JM
42225 [BZ #13872]
42226 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42227 (__ieee754_powl): Saturate large exponents rather than testing for
42228 overflow of y*log2(x).
42229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42230 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42231 exceptions.
42232
bcc8d661
JM
42233 [BZ #11521]
42234 * math/s_ctan.c: Include <float.h>.
42235 (__ctan): Avoid internal overflow or cancellation in calculating
42236 denominator.
42237 * math/s_ctanf.c: Likewise.
42238 * math/s_ctanl.c: Likewise.
42239 * math/s_ctanh.c: Likewise.
42240 * math/s_ctanhf.c: Likewise.
42241 * math/s_ctanhl.c: Likewise.
42242 * math/libm-test.inc (ctan_test): Add more tests.
42243 (ctanh_test): Likewise.
42244 * sysdeps/i386/fpu/libm-test-ulps: Update.
42245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42246
823fbbb4
AJ
422472012-04-09 Andreas Jaeger <aj@suse.de>
42248
03879793
AJ
42249 [BZ #6894]
42250 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42251 is an optional BSD extension.
42252
823fbbb4
AJ
42253 [BZ #10254]
42254 * manual/stdio.texi (Opening Streams): Document additional fopen
42255 parameters.
42256
8de131cb
RM
422572012-04-09 Roland McGrath <roland@hack.frob.com>
42258
42259 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42260 %eax without telling the compiler.
42261
c0ed9d7d
CD
422622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42263
42264 [BZ # 13963]
42265 * manual/install.texi: Use sourceware.org.
42266
c483f6b4
JM
422672012-04-09 Joseph Myers <joseph@codesourcery.com>
42268
d7dd9453
JM
42269 [BZ #13873]
42270 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42271 (__ieee754_pow): Generate overflow and underflow using huge*huge
42272 and tiny*tiny rather than just returning constant infinity or zero
42273 for large exponents.
42274 * math/libm-test.inc (pow_test): Require overflow exceptions for
42275 applicable cases of large exponents.
42276
c483f6b4
JM
42277 [BZ #706]
42278 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42279 (__ieee754_pow): Use iterative multiplication algorithm only for
42280 integer exponents with absolute value below 1024. Check for odd
42281 integer exponents when using algorithm for real exponents.
42282 * math/libm-test.inc (pow_test): Add more tests.
42283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42284
d2de7579
JM
422852012-04-08 Joseph Myers <joseph@codesourcery.com>
42286
42287 [BZ #13705]
42288 * math/libm-test.inc (exp_test): Do not allow overflow exception
42289 on underflow test.
42290
f77f1232
AJ
422912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42292
42293 [BZ #13705]
42294 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42295 instead of __kernel_standard_f.
42296
3884932b
MF
422972012-04-08 Mike Frysinger <vapier@gentoo.org>
42298
42299 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42300 * sysdeps/x86_64/memset_chk.S: Likewise.
42301
54472e9c
AJ
423022012-04-08 Andreas Jaeger <aj@suse.de>
42303
6ab0fbfc
AJ
42304 [BZ #10153]
42305 * manual/startup.texi (Environment Access): Describe return value
42306 for putenv and setenv.
42307
61efba8c
AJ
42308 [BZ #6895]
42309 * manual/filesys.texi (Directory Entries): Add description for
42310 DT_LNK.
42311
95c3f29a
AJ
42312 [BZ #6890]
42313 * manual/filesys.texi (Directory Entries): Clarify that it's file
42314 system not operating system in the description of DT_UNKNOWN.
42315
54472e9c
AJ
42316 [BZ #6578]
42317 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42318
624254b1
SC
423192012-04-08 Stephen Compall <s11@member.fsf.org>
42320
42321 [BZ #6649]
42322 * manual/llio.texi (Opening and Closing Files): Add cross
42323 reference to explain mode argument.
42324
1e4920e0
MF
423252012-04-07 Mike Frysinger <vapier@gentoo.org>
42326
42327 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42328 * sysdeps/x86_64/memset_chk.S: Likewise.
42329
5ed848f3
DM
423302012-04-07 David S. Miller <davem@davemloft.net>
42331
42332 * elf/elf.h (R_SPARC_WDISP10): Define.
42333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42334 R_SPARC_SIZE32.
42335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42336 R_SPARC_SIZE64 and R_SPARC_H34.
42337
96154cd8
CD
423382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42339
42340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42341 conditions and remove no longer applicable assertion.
42342
9904dc47
L
423432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42344
42345 * bits/byteswap.h: Include <features.h>.
42346 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42347 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42348
f8887d0a
L
423492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42350
42351 * bits/byteswap.h (__bswap_16): Removed.
42352 Include <bits/byteswap-16.h> to get __bswap_16.
42353 * sysdeps/i386/bits/byteswap.h: Likewise.
42354 * sysdeps/s390/bits/byteswap.h: Likewise.
42355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42356 * bits/byteswap-16.h: New file.
42357 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42358 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42359 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42360 * string/Makefile (headers): Add bits/byteswap-16.h.
42361
62470f60
PP
423622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42363
42364 [BZ #13895]
42365 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42366 extra indirection.
42367 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42368 * nss/tst-nss-static.c: New.
42369
4dad7bab
RM
423702012-04-06 Robert Millan <rmh@gnu.org>
42371
42372 [BZ #6486]
42373 * manual/llio.texi (File Position Primitive): lseek
42374 refers to WHENCE when it really means OFFSET.
42375
e9142a17
AJ
423762012-04-06 Andreas Jaeger <aj@suse.de>
42377
2c040eff
AJ
42378 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42379 strncmp declarations.
42380
e9142a17
AJ
42381 * abilist/libc.abilist: Add __poll and __ppoll.
42382
ff9f1c5f
DM
423832012-04-05 David S. Miller <davem@davemloft.net>
42384
dcd2ae90
DM
42385 * scripts/check-local-headers.sh: Accept a host triplet in the
42386 path matched by the exclude regexp.
42387
993eb054
DM
42388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42389 definition.
42390 * sysdeps/powerpc/powerpc32/dl-machine.h
42391 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42392 * sysdeps/s390/s390-32/dl-machine.h
42393 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42394 * sysdeps/sparc/sparc32/dl-machine.h
42395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42396 * sysdeps/sparc/sparc64/dl-machine.h
42397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42398
ff9f1c5f
DM
42399 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42400 lazy binding.
48e2e132 42401 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42402 undefined symbol errors.
42403
48e2e132 42404 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42405 DT_NEEDED entries.
42406
e80d6f94
MM
424072012-04-05 Michael Matz <matz@suse.de>
42408
42409 [BZ #13592]
42410 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42411
349fa79f
AJ
424122012-04-05 Andreas Jaeger <aj@suse.de>
42413
42414 [BZ #13908]
42415 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42416 comment.
42417
f402708f
KK
424182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42419
42420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42421 which ROUND is no valid rounding mode.
42422
2ecccfc9
KK
424232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42424
42425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42426 read again.
42427 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42428
8a53f50f
KK
424292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42430
42431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42432 an exception using FPU order intentionally.
42433
424342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42435
42436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42437 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42438 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42439 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42440
d653abb7
SJ
424412012-04-05 Simon Josefsson <simon@josefsson.org>
42442
42443 [BZ #12340]
42444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42445 EINVAL when BUFLEN is too smal.
42446
c3b1bf7d
TS
424472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42448
42449 [BZ #13553]
42450 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42451 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42452
b1aa60f3
AJ
424532012-04-03 Andreas Jaeger <aj@suse.de>
42454
c3b1bf7d 42455 [BZ #13938]
67f60a26
AJ
42456 * manual/setjmp.texi (System V contexts): Fix sentence.
42457
b1aa60f3
AJ
42458 [BZ #13926]
42459 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42460 New macro for this case.
42461 [!__GNUC__] (__bswap_64): New inline function for this case.
42462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42463 * bits/byteswap.h: Likewise.
42464 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42465 ull, guard with __GLIBC_HAVE_LONG_LONG.
42466
42467 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42468 __GLIBC_HAVE_LONG_LONG.
42469
42470 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42471 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42472
39c59c35
TMQMF
424732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42474
42475 [BZ #13691]
42476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42477 inptr and inend, rather than using last_ch.
42478
135ffda8
DM
424792012-04-02 David S. Miller <davem@davemloft.net>
42480
42481 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42482 * stdio-common/printf-parse.h (read_int): Change return type to
42483 'int', return -1 on INT_MAX overflow.
42484 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42485 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42486 overflows INT_MAX. Check for overflow of in-format-string precision
42487 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42488 SIZE_MAX not INT_MAX for integer overflow test.
42489 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42490 skip the construct in the format string but do not record anything.
42491 * stdio-common/bug22.c: Adjust to test both width/prevision
42492 INT_MAX overflow as well as total length INT_MAX overflow. Check
42493 explicitly for proper errno values.
42494
228c019e
TS
424952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42496
302cadd3
TS
42497 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42498 CHAR_MAX.
42499 * string/test-strcmp.c [! WIDE]: Likewise.
42500 * time/tst-mktime2.c: Likewise for INT_MAX.
42501 * string/test-string.h: #include <sys/param.h> for MIN.
42502
228c019e
TS
42503 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42504 * sysdeps/i386/init-first.c (init): Likewise.
42505 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42506 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42507 * sysdeps/sh/init-first.c (init): Likewise.
42508
cfa633f5
UD
425092012-04-01 Ulrich Drepper <drepper@gmail.com>
42510
42511 * po/ru.po: Update from translation team.
d1635ef8 42512 * po/vi.po: Likewise.
cfa633f5 42513
6cd0a5ea
SP
425142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42515
42516 * resolv/nss_dns/dns-host.c: Merge copyright years.
42517
4b43400f
LD
425182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42519
42520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42521 Optimize memcpy with prefetch if
42522 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42523 src, dst pointers have unequal 16 byte alignments.
42524
48c41d04
SP
425252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42526
42527 [BZ #13928]
42528 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42529 from a CNAME entry and return the minimum ttl for the query.
42530 (gaih_getanswer_slice): Likewise.
42531
b8dc394d
JL
425322012-03-30 Jeff Law <law@redhat.com>
42533
42534 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42535 due to long keys.
42536 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42537 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42538
2f5a5ed0
JL
42539 * resolv/nss_dns/dns-host.c: Update copyright year.
42540
1d39e359
UD
425412012-03-30 Ulrich Drepper <drepper@gmail.com>
42542
c030f70c 42543 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42544 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42545
1d39e359
UD
42546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42547 comments for sendmmsg.
42548
425492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42550
42551 [BZ #13691]
42552 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42553 with only 1 character between 0x0041 and 0x01b0.
42554 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42555 * wcsmbs/tst-mbsnrtowcs.c: New file.
42556
20fde227
DM
425572012-03-29 David S. Miller <davem@davemloft.net>
42558
42559 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42560 small copies by hand.
42561
984a4237
JL
425622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42563
42564 [BZ #13761]
57f41c40
AS
42565 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42566 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42567 group memberships.
984a4237 42568
18c9d62b
DM
425692012-03-28 David S. Miller <davem@davemloft.net>
42570
88d85d4f
DM
42571 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42572 that branches into memcpy.
42573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42576 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42578 bits.
42579 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42580 implementation too.
42581 * sysdeps/sparc/mempcpy.S: New file.
42582
e5aa83e1
DM
42583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42584 the IFUNC routine in the libc case.
42585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42586
88570753
DM
42587 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42589 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42590 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42591 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42592 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42593 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42594 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42595
249d7567
DM
42596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42597 loop to 256 bytes instead of 64 bytes and fix test signedness.
42598
18c9d62b
DM
42599 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42600 * sysdeps/sparc/sparc32/Makefile: rather than here...
42601 * sysdeps/sparc/sparc64/Makefile: and here.
42602
05f3d1f6
UD
426032012-03-28 Ulrich Drepper <drepper@gmail.com>
42604
42605 * malloc/mallocbug.c: Avoid warnings about unused variables.
42606
86ae07a8
JL
426072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42608
42609 [BZ #13760]
42610 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42611 in the right place. Discard and retry query if response is
42612 larger than input buffer size.
42613
41bf21a1
JM
426142012-03-28 Joseph Myers <joseph@codesourcery.com>
42615
d6270972
JM
42616 [BZ #369]
42617 [BZ #2678]
42618 [BZ #3866]
42619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42620 x for large integer exponent.
42621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42622 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42623 sign of result as needed afterwards.
42624 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42626 result for underflowing pow the same as for overflow.
42627 (__kernel_standard_l): Handle powl overflow and underflow here
42628 rather than calling __kernel_standard.
42629 * math/libm-test.inc (pow_test): Add more tests.
42630
414fca03 42631 [BZ #3868]
41bf21a1
JM
42632 [BZ #13879]
42633 [BZ #13910]
42634 [BZ #13911]
42635 [BZ #13912]
42636 [BZ #13913]
42637 [BZ #13915]
42638 [BZ #13916]
42639 [BZ #13917]
42640 [BZ #13918]
42641 [BZ #13919]
42642 [BZ #13920]
42643 [BZ #13921]
42644 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42645 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42646 (__kernel_standard_l): New function.
42647 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42648 __kernel_standard.
42649 * math/w_acosl.c (__acosl): Likewise.
42650 * math/w_asinl.c (__asinl): Likewise.
42651 * math/w_atan2l.c (__atan2l): Likewise.
42652 * math/w_atanhl.c (__atanhl): Likewise.
42653 * math/w_coshl.c (__coshl): Likewise.
42654 * math/w_exp10l.c (__exp10l): Likewise.
42655 * math/w_exp2l.c (__exp2l): Likewise.
42656 * math/w_fmodl.c (__fmodl): Likewise.
42657 * math/w_hypotl.c (__hypotl): Likewise.
42658 * math/w_j0l.c (__j0l, __y0l): Likewise.
42659 * math/w_j1l.c (__j1l, __y1l): Likewise.
42660 * math/w_jnl.c (__jnl, __ynl): Likewise.
42661 * math/w_lgammal.c (__lgammal): Likewise.
42662 * math/w_log10l.c (__log10l): Likewise.
42663 * math/w_log2l.c (__log2l): Likewise.
42664 * math/w_logl.c (__logl): Likewise.
42665 * math/w_powl.c (__powl): Likewise.
42666 * math/w_remainderl.c (__remainderl): Likewise.
42667 * math/w_scalbl.c (sysv_scalbl): Likewise.
42668 * math/w_sinhl.c (__sinhl): Likewise.
42669 * math/w_sqrtl.c (__sqrtl): Likewise.
42670 * math/w_tgammal.c (__tgammal): Likewise.
42671 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42672 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42673 * math/libm-test.inc (acos_test): Add more tests.
42674 (acosh_test): Likewise.
42675 (asin_test): Likewise.
42676 (atanh_test): Likewise.
42677 (exp_test): Likewise.
42678 (exp10_test): Likewise.
42679 (exp2_test): Likewise.
42680 (expm1_test): Likewise.
42681 (lgamma_test): Likewise.
42682 (log_test): Likewise.
42683 (log10_test): Likewise.
42684 (log1p_test): Likewise.
42685 (log2_test): Likewise.
42686 (pow_test): Do not allow some spurious overflow exceptions.
42687 (sqrt_test): Add more tests.
42688 (tgamma_test): Likewise.
42689 (y0_test): Likewise.
42690 (y1_test): Likewise.
42691 (yn_test): Likewise.
42692
dd62fda6
AB
426932012-03-27 Anton Blanchard <anton@samba.org>
42694
42695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42696 MAP_HUGETLB.
42697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42700
1e3cdfda
AJ
427012012-03-27 David S. Miller <davem@davemloft.net>
42702
b855ab85
DM
42703 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42704
1e3cdfda
AJ
42705 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42706 have-as-vis3 check.
42707
427082012-03-27 Andreas Jaeger <aj@suse.de>
42709
42710 * sysdeps/x86_64/elf/configure.in: Moved to ...
42711 * sysdeps/x86_64/configure.in: ... here.
42712 * sysdeps/x86_64/elf/start.S: Moved to ...
42713 * sysdeps/x86_64/start.S: ... here.
42714 * sysdeps/x86_64/elf/configure: Delete.
42715
42716 * sysdeps/x86_64/configure.in: Merge contents from
42717 sysdeps/i386/configure.in (without i686 check).
42718
42719 * sysdeps/i386/elf/Versions: Merge into ...
42720 * sysdeps/i386/Versions: ... this.
42721 * sysdeps/i386/elf/Versions: Delete file.
42722 * sysdeps/i386/elf/start.S: Moved to ...
42723 * sysdeps/i386/start.S: ...here.
42724 * sysdeps/i386/elf/configure.in: Merge into...
42725 * sysdeps/i386/configure.in: ...here.
42726 * sysdeps/i386/elf/configure.in: Delete file.
42727 * sysdeps/i386/elf/configure: Delete file.
42728
42729 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42730 * debug/backtracesyms.c: ... here.
42731 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42732 * debug/backtracesymsfd.c: ... here.
42733 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42734 * sysdeps/generic/ifunc-sel.h: ... here.
42735
42736 * sysdeps/unix/i386/start.c: Delete file.
42737 * sysdeps/unix/sparc/start.c: Delete file.
42738 * sysdeps/unix/start.c: Delete file.
42739
42740 * sysdeps/sh/elf/configure.in: Moved to ...
42741 * sysdeps/sh/configure.in: ... here.
42742 * sysdeps/sh/elf/start.S: Moved to ...
42743 * sysdeps/sh/start.S: ... here.
42744 * sysdeps/sh/elf/configure: Delete file.
42745
42746 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42747 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42748 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42749 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42750 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42751 * sysdeps/powerpc/powerpc64/start.S: here.
42752 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42753 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42754 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42755 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42756 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42757
42758 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42759 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42760 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42761 * sysdeps/powerpc/powerpc32/start.S: ... here.
42762 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42763 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42764 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42765
42766 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42767 * sysdeps/powerpc/ifunc-sel.h: ... here.
42768 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42769 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42770
42771 * sysdeps/sparc/elf/configure.in: Moved to ...
42772 * sysdeps/sparc/configure.in: ... here.
42773 * sysdeps/sparc/elf/configure: Delete file.
42774 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42775 * sysdeps/sparc/sparc32/start.S: ... here.
42776 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42777 * sysdeps/sparc/sparc64/start.S: ... here.
42778 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42779 * sysdeps/sparc/sparc32/Makefile: ... this.
42780 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42781 * sysdeps/sparc/sparc64/Makefile: ... this.
42782
42783 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42784 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42785 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42786 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42787 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42788 * sysdeps/s390/s390-32/setjmp.S: ... here.
42789 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42790 * sysdeps/s390/s390-32/configure.in: ... here.
42791 * sysdeps/s390/s390-32/elf/configure: Delete file.
42792 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42793 * sysdeps/s390/s390-32/start.S: ... here.
42794
42795 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42796 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42797 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42798 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42799 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42800 * sysdeps/s390/s390-64/setjmp.S: ... here.
42801 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42802 * sysdeps/s390/s390-64/configure.in: ... here
42803 * sysdeps/s390/s390-64/elf/configure: Delete file.
42804 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42805 * sysdeps/s390/s390-64/start.S: ... here.
42806 * sysdeps/s390/s390-64/elf/configure: Delete.
42807
42808 * configure.in: Remove support for elf directories in sysdeps.
42809
42810 * configure: Regenerated.
42811 * sysdeps/i386/configure: Regenerated.
42812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42814 * sysdeps/s390/s390-32/configure: Regenerated.
42815 * sysdeps/s390/s390-64/configure: Regenerated.
42816 * sysdeps/sh/configure: Regenerated.
42817 * sysdeps/sparc/configure: Regenerated.
42818 * sysdeps/x86_64/configure: Regenerated.
42819
a3f61311
AS
428202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42821
c876e002
AS
42822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42823
a3f61311
AS
42824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42825 denormal result into account.
42826
ac4c54f0
RM
428272012-03-25 Roland McGrath <roland@hack.frob.com>
42828
42829 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42830 Reported by Allan McRae <allan@archlinux.org>.
42831
6a9b9c02
JL
428322012-03-23 Jeff Law <law@redhat.com>
42833
42834 * nss/getnssent.c (__nss_getent): Fix typo.
42835
4c42a0c1
DM
428362012-03-23 David S. Miller <davem@davemloft.net>
42837
42838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42839
1532c7ac
L
428402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42841
42842 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42843 to pad to uint64_t for each field.
42844 (dl_tls_index): Replace unsigned long with uint64_t.
42845
3ff42526
PP
428462012-03-23 Daniel Jacobowitz <dmj@google.com>
42847 Paul Pluzhnikov <ppluzhnikov@google.com>
42848
42849 [BZ #6528]
42850 * grp/Makefile (otherlibs): Don't set it.
42851 * inet/Makefile (otherlibs): Likewise.
42852 * login/Makefile (otherlibs): Likewise.
42853 * nscd/Makefile (otherlibs): Likewise.
42854 * posix/Makefile (otherlibs): Likewise.
42855 * pwd/Makefile (otherlibs): Likewise.
42856 * rt/Makefile (otherlibs): Likewise.
42857 * sunrpc/Makefile (otherlibs): Likewise.
42858 * nss/Makefile (otherlibs): Likewise.
42859 Add libnss_files to routines and static-only-routines.
42860 ($(objpfx)getent): Remove rule.
42861 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42862 static-only-routines.
42863
7c69cd14
JM
428642012-03-22 Joseph Myers <joseph@codesourcery.com>
42865
42866 [BZ #13892]
42867 * math/s_cexp.c: Include <float.h>.
42868 (__cexp): Handle exp result overflowing not necessarily
42869 overflowing both real and imaginary parts of result.
42870 * math/s_cexpf.c: Likewise.
42871 * math/s_cexpl.c: Likewise.
42872 * math/libm-test.inc (cexp_test): Add more tests.
42873 * sysdeps/i386/fpu/libm-test-ulps: Update.
42874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42875
81b035fe
L
428762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42877
42878 * include/link.h (ELFW): New macro.
42879 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42880 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42881
1da7940c
L
428822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42883
42884 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42885 with uint64_t.
42886
b749dbb9
L
428872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42888
42889 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42890 declaration.
42891 (struct La_x32_retval): Likewise.
42892
2ff87f3f
L
428932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 * sysdeps/x86_64/preconfigure.in: New file.
42896 * sysdeps/x86_64/preconfigure: New generated file.
42897
c0df8e69
JM
428982012-03-22 Joseph Myers <joseph@codesourcery.com>
42899
48e44791
JM
42900 [BZ #13824]
42901 * math/e_exp2l.c: Include <float.h>.
42902 (__ieee754_exp2l): Handle overflow and underflow cases
42903 separately. Only pass fractional part of argument to
42904 __ieee754_expl.
42905 * math/libm-test.inc (exp2_test): Add more tests.
42906
c0df8e69
JM
42907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42908 negating x to take absolute value.
42909 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42910 Likewise.
42911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42913 Likewise.
42914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42915 computing low part if x was negated.
42916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42917
c8e43ba7
L
429182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42919
42920 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42921 la_x32_gnu_pltexit.
42922 (pltexit): Cast int_retval to ptrdiff_t.
42923 * elf/tst-auditmod3b.c: Likewise.
42924 * elf/tst-auditmod4b.c: Likewise.
42925 * elf/tst-auditmod5b.c: Likewise.
42926 * elf/tst-auditmod6b.c: Likewise.
42927 * elf/tst-auditmod6c.c: Likewise.
42928 * elf/tst-auditmod7b.c: Likewise.
42929
42930 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42931 and x32_gnu_pltexit.
42932
42933 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42934 __ELF_NATIVE_CLASS.
42935 (La_x32_regs): New macro.
42936 (La_x32_retval): Likewise.
42937 (la_x32_gnu_pltenter): New function prototype.
42938 (la_x32_gnu_pltexit): Likewise.
42939
7998fa78
AS
429402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42941
dcb33988
AS
42942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42943 exponent.
42944
233fc563
AS
42945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42946
7998fa78
AS
42947 * configure.in (libc_cv_cc_nofma): Check for option to disable
42948 generation of FMA instructions.
42949 * configure: Regenerate.
42950 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42951 * sysdeps/ieee754/dbl-64/Makefile: New file.
42952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42953 Remove brandred-fma4.
42954 (CFLAGS-brandred-fma4.c): Remove.
42955 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42957 define.
42958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42959 define.
42960
8e95c99a
L
429612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42962
42963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42964 LLONG_MAX != LONG_MAX.
42965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42966 (_fitoa_word): Likewise.
42967 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42968 LLONG_MAX != LONG_MAX.
42969 * stdio-common/_itowa.h: Include <_itoa.h>.
42970 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42971 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42972 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42973 only if not defined.
42974 (_ITOA_WORD_TYPE): Likewise.
42975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42976 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42977
6f4db457
DM
429782012-03-21 David S. Miller <davem@davemloft.net>
42979
42980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42981
7785fe5a
L
429822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42983
42984 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42985 of x86_64 when setting libc_cv_slibdir, libdir and
42986 libc_cv_localedir.
42987 * sysdeps/unix/sysv/linux/configure: Regenerated.
42988
4535cd55
JM
429892012-03-21 Joseph Myers <joseph@codesourcery.com>
42990
42991 * manual/lang.texi (Old Varargs): Remove section.
42992 (How Variadic): Update menu.
42993 (va_start): Do not mention varargs.h.
42994
17228132
TS
429952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42996 Joseph Myers <joseph@codesourcery.com>
42997
42998 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42999 link test.
43000 * configure: Regenerated.
43001
8149f976
TS
430022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43003
05f3d1f6
UD
43004 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43005 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43006 conformtest.pl
8149f976 43007
1a4ac776
JM
430082012-03-21 Joseph Myers <joseph@codesourcery.com>
43009
be22ce65
JM
43010 * NOTES: Remove.
43011 * Makefile (files-for-dist): Remove NOTES.
43012 (NOTES): Remove rule.
43013 * README: Don't refer to NOTES.
43014 * manual/creature.texi: Don't include macros.texi.
43015 * manual/intro.texi (creature.texi): Remove comment referring to
43016 NOTES.
43017
40b601fb
JM
43018 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43019 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43020 * configure: Regenerated.
43021 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43022 LIBC_TRY_CC_OPTION.
43023 (libc_cv_as_i686): Likewise.
43024 (libc_cv_cc_avx): Likewise.
43025 (libc_cv_cc_sse2avx): Likewise.
43026 (libc_cv_cc_fma4): Likewise.
43027 (libc_cv_cc_novzeroupper): Likewise.
43028 * sysdeps/i386/configure: Regenerated.
43029
1a4ac776
JM
43030 [BZ #13883]
43031 * sysdeps/i386/fpu/s_cexp.S: Remove.
43032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43033 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43034 * math/libm-test.inc (cexp_test): Add more tests.
43035 * sysdeps/i386/fpu/libm-test-ulps: Update.
43036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43037
a458e7fe
AM
430382012-03-21 Allan McRae <allan@archlinux.org>
43039
43040 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43041
0cb7efc5
JM
430422012-03-21 Joseph Myers <joseph@codesourcery.com>
43043
43044 [BZ #13871]
43045 * math/w_exp2.c: Do not include <float.h>.
43046 (o_threshold, u_threshold): Remove.
43047 (__exp2): Calculate result before checking finiteness and calling
43048 __kernel_standard.
43049 * math/w_exp2f.c: Likewise.
43050 * math/w_exp2l.c: Likewise.
43051 * math/libm-test.inc (exp2_test): Require overflow exception for
43052 1e6 input.
2460d3aa
JM
43053
43054 [BZ #3866]
43055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43056 range of signed 64-bit integers before using fistpll. Remove
43057 checks for whether integers fit in mantissa bits.
43058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43059 the range of signed 32-bit integers before using fistpl. Remove
43060 checks for whether integers fit in mantissa bits.
43061 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43062 (__ieee754_powl): Test for y outside the range of signed 64-bit
43063 integers before using fistpll. Reduce 64-bit values to 63-bit
43064 ones as needed.
43065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43066 divide-by-zero is raised for zero to large negative powers.
43067 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43068 (__ieee754_powl): Test for y outside the range of signed 64-bit
43069 integers before using fistpll. Reduce 64-bit values to 63-bit
43070 ones as needed.
43071 * math/libm-test.inc (pow_test): Add more tests.
43072
eb96ffb0
L
430732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43074
43075 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43076 <stdio-common/_itoa.h>.
43077 * debug/segfault.c: Likewise.
43078 * elf/dl-cache.c: Likewise.
43079 * elf/dl-minimal.c: Likewise.
43080 * elf/dl-misc.c: Likewise.
43081 * elf/dl-sysdep.c: Likewise.
43082 * elf/dl-version.c: Likewise.
43083 * elf/rtld.c: Likewise.
43084 * hurd/hurdsock.c: Likewise.
43085 * hurd/lookup-retry.c: Likewise.
43086 * malloc/malloc.c: Likewise.
43087 * malloc/mtrace.c: Likewise.
43088 * nscd/nscd_getgr_r.c: Likewise.
43089 * nscd/nscd_getpw_r.c: Likewise.
43090 * nscd/nscd_getserv_r.c: Likewise.
43091 * posix/getopt_init.c: Likewise.
43092 * posix/wordexp.c: Likewise.
43093 * stdio-common/_itoa.c: Likewise.
43094 * stdio-common/printf_fphex.c: Likewise.
43095 * stdio-common/vfprintf.c: Likewise.
43096 * string/_strerror.c: Likewise.
43097 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43098 * sysdeps/i386/i686/hp-timing.h: Likewise.
43099 * sysdeps/mach/_strerror.c: Likewise.
43100 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43101 * sysdeps/mach/hurd/sethostid.c: Likewise.
43102 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43103 * sysdeps/mach/xpg-strerror.c: Likewise.
43104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43106 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43107 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43108 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43109 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43111 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43112 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43113 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43114 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43116 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43120 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43121 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43122 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43123 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43124 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43125
43126 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43127
43128 * stdio-common/_itoa.h: Moved to ...
43129 * sysdeps/generic/_itoa.h: Here.
43130
43131 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43132
43133 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43134 instead of "_itoa.h" and "_itowa.h".
43135 * stdio-common/vfprintf.: Likewise.
43136
d1af992d
L
431372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43138
43139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43140 <bits/wordsize.h>.
43141 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43142 (__signbit): Likwise.
43143 (llrintf): Likwise.
43144 (llrint): Likwise.
43145
114883e0
L
431462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43147
43148 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43149 __WORDSIZE != 64.
43150
c135cc1b
JM
431512012-03-20 Joseph Myers <joseph@codesourcery.com>
43152
43153 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43154 OVERFLOW_EXCEPTION_OK.
43155 * math/libm-test.inc ("Philosophy"): Update comment about
43156 exception testing.
43157 (OVERFLOW_EXCEPTION): Define.
43158 (OVERFLOW_EXCEPTION_OK): Likewise.
43159 (INVALID_EXCEPTION_OK): Renumber.
43160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43161 (IGNORE_ZERO_INF_SIGN): Likewise.
43162 (test_exceptions): Handle FE_OVERFLOW.
43163 (exp10_test): Expect overflow exceptions.
43164 (exp2_test): Likewise.
43165 (expm1_test): Likewise.
43166 (nextafter_test): Likewise.
43167 (pow_test): Likewise.
43168 (scalbn_test): Likewise.
43169 (scalbln_test): Likewise.
43170
95443d88
L
431712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43172
43173 * sysdeps/x86_64/bits/atomic.h
43174 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43175 64bit integer.
43176 (atomic_exchange_acq): Likewise.
43177 (__arch_exchange_and_add_body): Likewise.
43178 (__arch_add_body): Likewise.
43179 (atomic_add_negative): Likewise.
43180 (atomic_add_zero): Likewise.
43181
490df6c4
L
431822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43183
c2722551 43184 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43185 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43186
5e52b189
L
431872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43188
43189 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43190 Check __x86_64__ instead of __WORDSIZE.
43191
a9879d4c
L
431922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43193
43194 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43195
5df98260
DM
431962012-03-19 David S. Miller <davem@davemloft.net>
43197
e1497744
DM
43198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43199
5df98260
DM
43200 * sysdeps/sparc/fpu/fenv_private.h: New file.
43201 * sysdeps/sparc/fpu/math_private.h: Use it.
43202 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43203 Remove.
57f41c40 43204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43205 (libc_feholdexcept_setroundl): Remove.
43206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43207 Remove.
43208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43210
b4c35121
L
432112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43212
43213 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43214 int64_t instead of long int.
43215 (INSERT_WORDS64): Likwise.
43216
56965fd7
L
432172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43218
43219 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43220 _Unwind_GetCFA return to _Unwind_Ptr first.
43221
83d1aec8
JM
432222012-03-19 Joseph Myers <joseph@codesourcery.com>
43223
1897ad44
JM
43224 [BZ #13629]
43225 * math/s_clog.c: Include <float.h>.
43226 (__clog): Scale large or subnormal inputs.
43227 * math/s_clogf.c: Likewise.
43228 * math/s_clogl.c: Likewise.
43229 * math/s_clog10.c: Include <float.h>.
43230 (M_LOG10_2): Define.
43231 (__clog10): Scale large or subnormal inputs.
43232 * math/s_clog10f.c: Likewise.
43233 * math/s_clog10l.c: Likewise.
43234 * math/libm-test.inc (clog_test): Add more tests.
43235 (clog10_test): Likewise.
43236 * sysdeps/i386/fpu/libm-test-ulps: Update.
43237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43238
7726d6a9
JM
43239 [BZ #11451]
43240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43241 x and y.
43242 * math/libm-test.inc (atan2_test): Add another test.
43243
83d1aec8
JM
43244 * Makerules (common-objdir-compile): Remove.
43245 * sysdeps/unix/Makefile (config-generated): Do not add
43246 $(unix-generated) to variable.
43247 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43248 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43249 Remove rule.
43250 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43251 Likewise.
43252 [generic bits/local_lim.h] (before-compile): Do not append to
43253 variable.
43254 [generic bits/local_lim.h] (common-generated): Likewise.
43255 [generic sys/param.h] (before-compile): Do not append to variable.
43256 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43257 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43258 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43260 include.
43261 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43262 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43263 [generic sys/param.h] ($(addprefix
43264 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43265 [generic sys/param.h] (common-generated): Do not append to
43266 variable.
43267 [generic sys/param.h] (sysdep_headers): Likewise.
43268 [generic bits/errno.h] (before-compile): Do not append to
43269 variable.
43270 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43271 rule.
43272 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43273 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43274 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43275 [generic bits/errno.h] (common-generated): Do not append to
43276 variable.
43277 [generic bits/ioctls.h] (before-compile): Do not append to
43278 variable.
43279 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43280 rule.
43281 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43282 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43283 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43284 rule.
43285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43286 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43287 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43288 [generic bits/ioctls.h] (common-generated): Do not append to
43289 variable.
43290 [generic sys/syscall.h] (syscall.h): Remove variable.
43291 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43292 rule.
43293 [generic sys/syscall.h] (before-compile): Do not append to
43294 variable.
43295 [generic sys/syscall.h] (common-generated): Likewise.
43296 * sysdeps/unix/errnos-tmpl.c: Remove file.
43297 * sysdeps/unix/errnos.awk: Likewise.
43298 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43299 * sysdeps/unix/ioctls.awk: Likewise.
43300 * sysdeps/unix/mk-local_lim.c: Likewise.
43301 * sysdeps/unix/snarf-ioctls: Likewise.
43302
4851a949
RH
433032012-03-19 Richard Henderson <rth@twiddle.net>
43304
bd37f2ee
RH
43305 * sysdeps/i386/fpu/fenv_private.h: New file.
43306 * sysdeps/i386/fpu/math_private.h: Use it.
43307 (math_opt_barrier, math_force_eval): Remove.
43308 (libc_feholdexcept_setround_53bit): Remove.
43309 (libc_feupdateenv_53bit): Remove.
43310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43311 (math_opt_barrier, math_force_eval): Remove.
43312 (libc_feholdexcept): Remove.
43313 (libc_feholdexcept_setround): Remove.
43314 (libc_fetestexcept, libc_fesetenv): Remove.
43315 (libc_feupdateenv_test): Remove.
43316 (libc_feupdateenv, libc_feholdsetround): Remove.
43317 (libc_feresetround): Remove.
43318
d0adc922
RH
43319 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43320 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43321
0fe0f1f8
RH
43322 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43323 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43324 (libc_feupdateenv_testl): New.
43325 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43326 (libc_feupdateenv_testf): New.
43327 (libc_feupdateenv): Use libc_feupdateenv_test.
43328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43330
eb92c487
RH
43331 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43332 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43333 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43334 (libc_feresetround_noex): New.
43335 (libc_feresetround_noexf): New.
43336 (libc_feresetround_noexl): New.
43337 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43338 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43339 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43341 SET_RESTORE_ROUND.
43342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43344 (__cos): Likewise.
43345 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43347 SET_RESTORE_ROUND_NOEX.
43348 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43349 SET_RESTORE_ROUND_NOEXF.
43350 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43351 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43352 (libc_feholdsetroundf): New.
43353 (libc_feresetround, libc_feresetroundf): New.
43354
7d2e8012
RH
43355 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43356 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43357 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43358
b4dabbb4
RH
43359 * sysdeps/generic/math_private.h: Include <fenv.h>.
43360 (default_libc_feholdexcept): New.
43361 (default_libc_feholdexcept_setround): New.
43362 (default_libc_fesetenv, default_libc_feupdateenv): New.
43363 (libc_feholdexcept): Only define if undefined.
43364 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43366 (libc_feholdexcept_setroundl): Likewise.
43367 (libc_feholdexcept_setround_53bit): Likewise.
43368 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43371 (libc_feupdateenv_53bit): Likewise.
43372 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43373 (libc_feholdexcept): Convert from macro to inline function.
43374 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43375 (libc_fesetenv, libc_feupdateenv): Likewise.
43376
4851a949
RH
43377 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43378 not previously defined.
43379 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43380 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43381 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43383 * sysdeps/ieee754/flt-32/math_private.h: New file.
43384 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43385 math_private.h below SET_FLOAT_WORD.
43386 (__isnan, __isinf_ns, __finite): Remove.
43387 (__isnanf, __isinf_nsf, __finitef): Remove.
43388
e79d442e
AS
433892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43390
43391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43392
90b80344
DM
433932012-03-17 David S. Miller <davem@davemloft.net>
43394
43395 [BZ #6471]
43396 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43397 for 2.16.
43398
edc21804
DM
433992012-03-16 David S. Miller <davem@davemloft.net>
43400
77e927af
DM
43401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43402 warnings.
43403
374976dd
DM
43404 [BZ #6471]
43405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43406 properly.
43407 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43408 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43409 sysdep_routines when subdir is sysvipc.
43410 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43411 __getshmlba helper.
43412
edc21804
DM
43413 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43414
473c3ef3
L
434152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43416
43417 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43418 [__LP64__].
43419
eb0f39b6
L
434202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43421
43422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43424 (__lround): Renamed to ...
43425 (__llround): This. Replace long int with long long int.
43426 Define lround functions as aliases of llround functions.
43427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43428
6b6cd74b
L
434292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43430
43431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43432 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43433 adresses to uintptr_t. Replace "long int" and "unsigned long
43434 int" with "greg_t" on va_arg.
43435
f1a77b01
L
434362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43437
43438 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43439 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43440
43441 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43442 Move e_machine check before EI_CLASS check. Handle x32
43443 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43444 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43445 SKIP_EM_IA_64 and include
43446 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43447
43448 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43449 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43450 (add_system_dir): New macro.
43451
43452 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43453 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43454
11b90b9f
JM
434552012-03-16 Joseph Myers <joseph@codesourcery.com>
43456
c36e1d23
JM
43457 [BZ #2551]
43458 [BZ #2552]
43459 [BZ #2553]
43460 [BZ #2554]
43461 [BZ #2562]
43462 [BZ #2563]
43463 [BZ #2565]
43464 [BZ #2566]
43465 [BZ #2576]
43466 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43467 (y0): Likewise.
43468 * math/w_j0f.c (j0f): Likewise.
43469 (y0f): Likewise.
43470 * math/w_j0l.c (__j0l): Likewise.
43471 (__y0l): Likewise.
43472 * math/w_j1.c (j1): Likewise.
43473 (y1): Likewise.
43474 * math/w_j1f.c (j1f): Likewise.
43475 (y1f): Likewise.
43476 * math/w_j1l.c (__j1l): Likewise.
43477 (__y1l): Likewise.
43478 * math/w_jn.c (jn): Likewise.
43479 (yn): Likewise.
43480 * math/w_jnf.c (jnf): Likewise.
43481 (ynf): Likewise.
43482 * math/w_jnl.c (__jnl): Likewise.
43483 (__ynl): Likewise.
43484 * math/libm-test.inc (j0_test): Add more tests.
43485 (j1_test): Likewise.
43486 (jn_test): Likewise. Add trailing semicolon to existing test.
43487 (y0_test): Likewise.
43488 (y1_test): Likewise.
43489 * sysdeps/i386/fpu/libm-test-ulps: Update.
43490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43491
11b90b9f
JM
43492 [BZ #13851]
43493 [BZ #13854]
43494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43495 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43496 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43498 (__tanl): Set errno for infinite argument.
43499 * sysdeps/i386/fpu/mptan.c: Remove.
43500 * sysdeps/i386/fpu/s_tan.S: Likewise.
43501 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43502 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43503 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43504 * math/libm-test.inc (tan_test): Add more tests and enable more
43505 tests for double and long double.
43506 * sysdeps/i386/fpu/libm-test-ulps: Update.
43507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43508
6a1bd2a1
JK
435092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43510
43511 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43512 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43513
10a803e0
RM
435142012-03-16 Roland McGrath <roland@hack.frob.com>
43515
43516 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43517 * configure.in: Use it for both main tree and add-ons.
43518 * configure: Regenerated.
43519
f196c7f7
L
435202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43521
43522 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43523
8848d99d
JM
435242012-03-16 Joseph Myers <joseph@codesourcery.com>
43525
96cbe7f4
JM
43526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43527 in comment.
43528
8848d99d
JM
43529 [BZ #13851]
43530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43531 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43532 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43534 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43535 infinite argument.
43536 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43538 != 0 for prec == 2.
43539 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43540 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43541 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43542 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43543 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43544 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43545 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43546 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43547 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43548 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43549 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43550 * math/libm-test.inc (cos_test): Add more tests and enable more
43551 tests for long double.
43552 (sin_test): Likewise.
43553 (sincos_test): Likewise.
43554 * sysdeps/i386/fpu/libm-test-ulps: Update.
43555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43556
dd7f4703
DM
435572012-03-16 David S. Miller <davem@davemloft.net>
43558
43559 * sysdeps/sparc/fpu/math_private.h: New file.
43560
006f1daa
DM
435612012-03-15 David S. Miller <davem@davemloft.net>
43562
c0c83bc8
DM
43563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43564 file.
e6a62e18 43565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43567 file.
e6a62e18
DM
43568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43574 sysdep routines.
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43576
88cb87d9
DM
43577 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43578 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43579
006f1daa 43580 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43582 sparc-ifunc.h
006f1daa 43583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43585 Likewise.
43586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43587 Likewise.
006f1daa
DM
43588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43592 Likewise.
006f1daa
DM
43593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43598 Likewise.
43599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43600 Likewise.
006f1daa
DM
43601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43625
11e0098e
AS
436262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43627
43628 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43629 scaling.
43630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43631
e85b09d0
AJ
436322012-03-15 Andreas Jaeger <aj@suse.de>
43633
43634 [BZ #13852]
43635 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43636 ieee754/flt-32 implementation for sin, cos and sincos.
43637 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43638 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43639 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43640 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43641 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43642 ieee754/flt-32 implementation for tan.
43643
43644 * math/libm-test.inc (cos_test): Enable some large input tests for
43645 float as well
43646 (sin_test): Likewise.
43647 (sincos_test): Likewise.
43648 (tan_test): Add tests for large input.
43649
43650 * sysdeps/i386/fpu/libm-test-ulps: Update.
43651
81c64153
AJ
436522012-03-15 Andreas Jaeger <aj@suse.de>
43653
43654 [BZ #13658]
43655 * math/libm-test.inc (cos_test): Add more test cases.
43656 (sin_test): Likewise.
43657 (sincos_test): Likewise.
43658
7bbfa5c6
AJ
436592012-03-15 Andreas Jaeger <aj@suse.de>
43660
43661 [BZ #13837]
43662 * math/libm-test.inc (cos_test): Add a test case for large input
43663 value.
43664 (sin_test): Likewise.
43665 (sincos_test): Likewise.
43666
57f41c40
AS
436672012-03-15 Andreas Jaeger <aj@suse.de>
43668 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43669
43670 [BZ #13658]
0671f479 43671 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43672 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43673 * sysdeps/i386/fpu/branred.c: Likewise.
43674 * sysdeps/i386/fpu/dosincos.c: Likewise.
43675 * sysdeps/i386/fpu/mpa.c: Likewise.
43676 * sysdeps/i386/fpu/s_cos.S: Likewise.
43677 * sysdeps/i386/fpu/s_sin.S: Likewise.
43678 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43679 * sysdeps/i386/fpu/sincos32.c: Likewise.
43680
43681 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43682 Define.
43683 (libc_feupdateenv_53bit): Define.
43684 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43685 Define.
43686 (libc_feupdateenv_53bit): Define.
43687
43688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43689 53 bit (without extend i386 double precision).
43690
43691 * math/libm-test.inc (sincos_test): Add tests for large input.
43692 (sin): Likewise.
43693 (cos): Likewise.
43694
43695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43696
9cad04ea
AS
436972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43698
43699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43700
f7062b9a
DM
437012012-03-15 David S. Miller <davem@davemloft.net>
43702
43703 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43704 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43705 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43706 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43719 file.
f7062b9a 43720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43722 file.
f7062b9a 43723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43725 file.
f7062b9a 43726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43728 file.
f7062b9a
DM
43729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43731 fmin/fmax sysdep routines.
43732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43733
7bd951ff
DM
437342012-03-14 David S. Miller <davem@davemloft.net>
43735
559398ab
DM
43736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43765 routines.
43766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43767 file.
559398ab 43768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43770 file.
559398ab 43771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43773 file.
559398ab 43774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43776 file.
559398ab 43777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43779 file.
559398ab 43780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43782 file.
43783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43784 file.
43785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43786 file.
43787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43788 file.
43789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43790 New file.
43791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43792 file.
43793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43794 file.
559398ab 43795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43797 file.
559398ab 43798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43800 file.
559398ab 43801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43803 file.
559398ab 43804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
43805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43806 VIS3 routines.
559398ab
DM
43807
43808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43809 New file.
43810
5a1c1e32
DM
43811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43812
eae47a36
DM
43813 * sysdeps/sparc/configure.in: New file.
43814 * sysdeps/sparc/configure: Generate.
43815 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43816 * configure: Regenerate.
43817 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43818 * config.make.in (have-as-vis3): New.
43819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43820 available use -Av9d instead of -Av9a.
43821 * sysdeps/sparc/sparc64/Makefile: Likewise.
43822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43824 New file.
43825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43826 file.
43827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43828 New file.
43829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43830 file.
eae47a36
DM
43831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43836
c0c83bc8
DM
43837 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43838 fzeros/fnegs to load 0x80000000 into a float register instead of
43839 using the stack.
7bd951ff
DM
43840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43841
bd951ccb
JM
438422012-03-14 Joseph Myers <joseph@codesourcery.com>
43843
43844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43845 bits/syscall.h.
43846 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43847 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43848 ($(inst_includedir)/bits/syscall.h): Remove rule.
43849 ($(objpfx)bits/syscall.d): Include instead of
43850 $(objpfx)syscall-list.d.
43851 (generated): Change syscall-list.h and syscall-list.d to
43852 bits/syscall.h and bits/syscall.d.
43853
bb4e6db2
RM
438542012-03-14 Roland McGrath <roland@hack.frob.com>
43855
43856 [BZ #13846]
43857 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43858
aa4a2ae1
JM
438592012-03-14 Joseph Myers <joseph@codesourcery.com>
43860
e456826d
JM
43861 [BZ #13841]
43862 * math/s_csqrt.c: Include <float.h>.
43863 (__csqrt): Scale large or subnormal inputs.
43864 * math/s_csqrtf.c: Likewise.
43865 * math/s_csqrtl.c: Likewise.
43866 * math/libm-test.inc (csqrt_test): Add more tests.
43867 * sysdeps/i386/fpu/libm-test-ulps: Update.
43868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43869
aa4a2ae1
JM
43870 [BZ #13840]
43871 * math/libm-test.inc (hypot_test): Add more tests.
43872
7c10fd35
DM
438732012-03-13 David S. Miller <davem@davemloft.net>
43874
43875 [BZ #13840]
43876 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43877 double-precision for the calculation instead of scaling.
43878
f453b98b
JM
438792012-03-13 Joseph Myers <joseph@codesourcery.com>
43880
43881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43882 manipulate bits before adding and subtracting TWO52[sx].
43883 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43885 Likewise.
43886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43887
09a3453f
DM
438882012-03-13 David S. Miller <davem@davemloft.net>
43889
8e59da90
DM
43890 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43891 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43893 rtld-global-offsets.h
43894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43895
2a8ab7f2
DM
43896 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43897 large parameters.
43898
10f62770
DM
43899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43900
5f0bdb18
DM
43901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43902 'err' in the ifdef scope in which it is actually used.
43903
09a3453f
DM
43904 * nss/nss_db/db-init.c: Include string.h
43905
b4b2eb5e
DM
439062012-03-12 David S. Miller <davem@davemloft.net>
43907
98bb2f1c
DM
43908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43909 masking out of the most significant byte of random value used.
43910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43911 Fix coding style in previous change.
43912
b4b2eb5e
DM
43913 * sysdeps/unix/sysv/linux/kernel-features.h
43914 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43915 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43916 expression.
43917 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43918 later.
43919
6e226b09
DM
439202012-03-11 David S. Miller <davem@davemloft.net>
43921
a1bcbd40
DM
43922 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43923 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43925 for 'resultvar' otherwise things get truncated on 64-bit.
43926
cb9d6174
DM
43927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43928 Fix masking out of the most significant byte of random value used.
43929
6e226b09
DM
43930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43931
058c132d
AS
439322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43933
43934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43935
2d2cd515
DM
439362012-03-09 David S. Miller <davem@davemloft.net>
43937
43938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43939 variables with appropriate CPP guards.
57f41c40
AS
43940 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43941 from the frame pointer, not the stack pointer. Correct layout
43942 comments. Fix test on resulting framesize and the management of
43943 the outregs buffer for pltexit. Preserve floating point return
43944 values across _dl_call_pltexit call.
2d2cd515
DM
43945 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43946 framesize and the management of the outregs buffer for pltexit.
43947 Preserve floating point return values across _dl_call_pltexit
43948 call.
57f41c40
AS
43949 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43950 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43951 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
43952 (print_exit): Fix format string for return register value.
43953
9a07f9d0
JM
439542012-03-10 Joseph Myers <joseph@codesourcery.com>
43955
43956 * sunrpc/Makefile (others): Add rpcgen.
43957 ($(objpfx)rpcgen): Remove special build rule and dependency on
43958 libc.
43959 * sunrpc/rpcgen.c: New file.
43960
547b5e30
PE
439612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43962
c524201a
PE
43963 [BZ #13673]
43964 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43965 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43966 * sysdeps/i386/crti.S: Likewise.
43967 * sysdeps/i386/crtn.S: Likewise.
43968 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43969 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43970 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43971 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43972 * sysdeps/sh/crti.S: Likewise.
43973 * sysdeps/sh/crtn.S: Likewise.
43974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43975
7b6235f2
PE
43976 [BZ #13673]
43977 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43978 with URL.
43979 * locale/programs/locfile-kw.gperf: Likewise.
43980 * locale/programs/charmap-kw.h: Regenerated.
43981 * locale/programs/locfile-kw.h: Likewise.
43982
547b5e30
PE
43983 [BZ #13673]
43984 * intl/plural.y: Replace FSF snail mail address with URL.
43985 * intl/plural.c: Regenerated.
43986
5f0a5dae
RH
439872012-03-09 Richard Henderson <rth@twiddle.net>
43988
43989 * include/math_private.h: Remove file.
43990 * math/math_private.h: Move file ...
43991 * sysdeps/generic/math_private.h: ... here.
43992
b8c03620
RH
43993 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43994 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43996
4e234f5d 43997 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43998 and <math_private.h>.
43999 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44000 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44001 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44002 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44003 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44045 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44049 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44063 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44064 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44065 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44066 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44067 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44070 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44086 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44087 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44090 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44093 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44094 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44095 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44096 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44099 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44100 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44101 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44102 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44104 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44105 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44106 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44107 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44109 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44110 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44112 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44114 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44122 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44125 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44126 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44127 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44129 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44130 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44132 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44133 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44137 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44138 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44141 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44142 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44143 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44144 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44145 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44147 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44148 * sysdeps/ieee754/k_standard.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44187 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44192 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44194 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44200 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44202 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44208 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44209 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44226 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44232 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44235 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44237 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44240 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44242 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44245 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44256 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44257 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44258 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44259 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44260 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44274 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44282 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44286 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44290 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44291 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44292 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44296 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44297 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44298 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44300 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44303 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44304 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44305 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44306 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44307 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44308 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44309 * sysdeps/ieee754/s_lib_version.c: Likewise.
44310 * sysdeps/ieee754/s_matherr.c: Likewise.
44311 * sysdeps/ieee754/s_signgam.c: Likewise.
44312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44314 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44315 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44318 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44319 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44320 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44321 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44322 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44323 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44326 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44328 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44333
1991fa03
JM
443342012-03-09 Joseph Myers <joseph@codesourcery.com>
44335
44336 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44337 * sunrpc/rpc_main.c: Likewise.
44338 * sunrpc/rpc_svcout.c: Likewise.
44339
60d6f5a6
DM
443402012-03-09 David S. Miller <davem@davemloft.net>
44341
44342 * include/math_private.h: New file.
44343
4962050e
JM
443442012-03-09 Joseph Myers <joseph@codesourcery.com>
44345
02a6f887
JM
44346 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44347 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44348 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44349 from <bits/socket_type.h>.
44350 (enum __socket_type): Don't define here.
44351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44353 bits/socket_type.h.
44354
c6e013c1
JM
44355 [BZ #13566]
44356 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44357 checking __USE_GNU.
44358
4962050e
JM
44359 * Makerules ($(inst_includedir)/%.h): New rule.
44360 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44361 (install-others): Remove variable setting.
44362 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44363
38842f45
RH
443642012-03-08 Richard Henderson <rth@twiddle.net>
44365
67bb6da6
RH
44366 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44367 from macro to inline function; merge with the
44368 !__LIBC_INTERNAL_MATH_INLINES version.
44369 (__ieee754_sqrtf): Likewise.
44370
15194b4b
RH
44371 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44372 to inline function.
44373 (__rintf, __floor, __floorf): Likewise.
44374
64e21ede
RH
44375 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44376 macro to inline function.
44377 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44378
38842f45
RH
44379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44380 not <math/math_private.h>.
44381
c64bf5fe
DM
443822012-03-08 David S. Miller <davem@davemloft.net>
44383
44384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44385 copyright year.
44386 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44387
82d86f28
TS
443882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44389
44390 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44391 normalization.
44392 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44393 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44394
aea5d727
UD
443952012-03-08 Ulrich Drepper <drepper@gmail.com>
44396
44397 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44398 be defined individually, they must be defined as a block. Define
44399 S for printing a string instead of hidint the different by using a
44400 macro for adding the 'l'.
44401 * stdio-common/tst-fphex-wide.c: Adjust.
44402
70bca0a3
MP
444032012-03-07 Marek Polacek <polacek@redhat.com>
44404
44405 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44406
65b81130
MP
444072012-03-08 Marek Polacek <polacek@redhat.com>
44408
44409 [BZ #13806]
44410 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44411 * stdio-common/tst-fphex.c: Define a few macros to make the
44412 test reusable. Use them.
44413 * stdio-common/tst-fphex-wide.c: New file.
44414
07037eeb
JM
444152012-03-08 Joseph Myers <joseph@codesourcery.com>
44416
a7a93d50
JM
44417 [BZ #6911]
44418 * manual/macros.texi (gnusystems): New macro.
44419 (nongnusystems): Likewise.
44420 (gnulinuxhurdsystems): Likewise.
44421 (gnuhurdsystems): Likewise..
44422 (gnulinuxsystems): Likewise.
44423 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44424 variants of the GNU system, not "GNU system".
44425 * manual/conf.texi: Likewise.
44426 * manual/errno.texi: Likewise. Update example of errno macro
44427 expansion.
44428 * manual/filesys.texi: Likewise.
44429 (getumask): Document as specific to GNU/Hurd.
44430 * manual/install.texi: Likewise. Reword some references to
44431 GNU/Linux.
44432 * manual/intro.texi: Likewise.
44433 * manual/io.texi: Likewise.
44434 (File Name Portability): Detail which constraints are inapplicable
44435 to all GNU systems and which are only inapplicable to GNU/Hurd.
44436 * manual/job.texi: Likewise.
44437 * manual/llio.texi: Likewise.
44438 (O_NOCTTY): Document as present on GNU/Linux.
44439 * manual/maint.texi: Likewise.
44440 * manual/memory.texi: Likewise.
44441 * manual/pattern.texi: Likewise.
44442 * manual/pipe.texi: Likewise.
44443 * manual/process.texi: Likewise.
44444 * manual/resource.texi: Likewise.
44445 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44446 child on GNU/Hurd.
44447 * manual/setjmp.texi: Likewise.
44448 * manual/signal.texi: Likewise.
44449 * manual/startup.texi: Likewise.
44450 * manual/stdio.texi: Likewise.
44451 * manual/terminal.texi: Likewise.
44452 (ONLCR): Document as POSIX.
44453 (OXTABS): Document availability on GNU/Linux as XTABS.
44454 (ONOEOT): Document availability separately from other bits.
44455 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44456 * manual/time.texi: Likewise.
44457 * manual/users.texi: Likewise.
44458 * INSTALL: Regenerated.
44459 * sysdeps/gnu/errlist.c: Regenerated.
44460
07037eeb
JM
44461 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44462 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44463 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44464 puts.
44465 * configure: Regenerated.
44466
d1d3431a
JM
444672012-03-07 Joseph Myers <joseph@codesourcery.com>
44468
af6a1e37
JM
44469 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44470 default includes instead of AC_HEADER_CHECK.
44471 * sysdeps/i386/configure: Regenerated.
44472
d1d3431a
JM
44473 [BZ #10716]
44474 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44475 * math/s_cacoshf.c (__cacoshf): Likewise.
44476 * math/s_cacoshl.c (__cacoshl): Likewise.
44477 * math/s_casinh.c (__casinh): Set signs of result from argument.
44478 * math/s_casinhf.c (__casinhf): Likewise.
44479 * math/s_casinhl.c (__casinhl): Likewise.
44480 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44481 (casinh_test): Add more tests.
44482 * sysdeps/i386/fpu/libm-test-ulps: Update.
44483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44484
482ff4da
UD
444852012-03-07 Ulrich Drepper <drepper@gmail.com>
44486
872fda05
UD
44487 * po/zh_TW.po: Update from translation team.
44488
a4300c7a
UD
44489 * login/Makefile (distribute): Remove variable.
44490 * catgets/Makefile: Likewise.
44491 * mach/Makefile: Likewise.
44492 * malloc/Makefile: Likewise.
44493 * misc/Makefile: Likewise.
44494 * iconv/Makefile: Likewise.
44495 * nscd/Makefile: Likewise.
44496 * hurd/Makefile: Likewise.
44497 * manual/Makefile: Likewise.
44498 * locale/Makefile: Likewise.
44499 * intl/Makefile: Likewise.
44500 * conform/Makefile: Likewise.
44501 * nss/Makefile: Likewise.
44502 * time/Makefile: Likewise.
44503 * soft-fp/Makefile: Likewise.
44504 * dirent/Makefile: Likewise.
44505 * gmon/Makefile: Likewise.
44506 * po/Makefile: Likewise.
44507 * rt/Makefile: Likewise.
44508 * socket/Makefile: Likewise.
44509 * math/Makefile: Likewise.
44510 * signal/Makefile: Likewise.
44511 * debug/Makefile: Likewise.
44512 * elf/Makefile: Likewise.
44513 * timezone/Makefile: Likewise.
44514 * stdlib/Makefile: Likewise.
44515 * iconvdata/Makefile: Likewise.
44516 * sunrpc/Makefile: Likewise.
44517 * io/Makefile: Likewise.
44518 * argp/Makefile: Likewise.
44519 * inet/Makefile: Likewise.
44520 * hesiod/Makefile: Likewise.
44521 * grp/Makefile: Likewise.
44522 * csu/Makefile: Likewise.
44523 * wctype/Makefile: Likewise.
44524 * crypt/Makefile: Likewise.
44525 * libio/Makefile: Likewise.
44526 * string/Makefile: Likewise.
44527 * nis/Makefile: Likewise.
44528 * resolv/Makefile: Likewise.
44529 * stdio-common/Makefile: Likewise.
44530 * wcsmbs/Makefile: Likewise.
44531 * dlfcn/Makefile: Likewise.
44532 * posix/Makefile: Likewise.
44533
3b7c4e74 44534 [BZ #6959]
482ff4da
UD
44535 * timezone/Makefile: Don't install timezone files, just the programs
44536 and scripts.
44537
f72ed77d
UD
445382012-03-06 Ulrich Drepper <drepper@gmail.com>
44539
a000466f
UD
44540 * nss/databases.def: Add missing gshadow entry.
44541
f72ed77d
UD
44542 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44543
a53b7a4e
MP
445442012-03-06 Marek Polacek <polacek@redhat.com>
44545
44546 [BZ #13726]
44547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44549 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44550 * stdio-common/tst-long-dbl-fphex.c: New file.
44551
e9258400
DM
445522012-03-06 David S. Miller <davem@davemloft.net>
44553
44554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44555 (set_obp_int): New function.
44556 (get_obp_int): New function.
44557 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44559 Avoid unused variable warnings on 'val' and use builtin_expect.
44560 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44561 __builtin_expect.
e9258400
DM
44562 (INLINE_CLONE_SYSCALL): Likewise.
44563
3bd2c723
DM
445642012-03-05 David S. Miller <davem@davemloft.net>
44565
44566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44567
bbb78d03
AS
445682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44569
884c5db4
AS
44570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44571
bbb78d03
AS
44572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44573 only for |x| >= 40.
44574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44575
1c9f702a 445762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44577
44578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44579 Replace gettimeofday with __vdso_gettimeofday.
44580
7be16f82
RM
44581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44582 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44583 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44584
44585 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44586 time with __vdso_time.
44587
ed58a00f
JM
445882012-03-05 Joseph Myers <joseph@codesourcery.com>
44589
44590 * manual/lang.texi (size_t): Note types to which size_t may be
44591 equivalent with the GNU C Library, but do not describe when
44592 differences between them are significant.
44593
30ee4ced
AJ
445942012-03-05 Andreas Jaeger <aj@suse.de>
44595
44596 * sysdeps/i386/fpu/libm-test-ulps: Update.
44597
b7cd39e8
JM
445982012-03-05 Joseph Myers <joseph@codesourcery.com>
44599
44600 [BZ #3976]
44601 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44602 (__ieee754_pow): Save and restore rounding mode and use
44603 round-to-nearest for main computations.
44604 * math/libm-test.inc (pow_test_tonearest): New function.
44605 (pow_test_towardzero): Likewise.
44606 (pow_test_downward): Likewise.
44607 (pow_test_upward): Likewise.
44608 (main): Call the new functions.
44609 * sysdeps/i386/fpu/libm-test-ulps: Update.
44610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44611
44612 [BZ #3976]
44613 * math/libm-test.inc (cosh_test_tonearest): New function.
44614 (cosh_test_towardzero): Likewise.
44615 (cosh_test_downward): Likewise.
44616 (cosh_test_upward): Likewise.
44617 (sinh_test_tonearest): Likewise.
44618 (sinh_test_towardzero): Likewise.
44619 (sinh_test_downward): Likewise.
44620 (sinh_test_upward): Likewise.
44621 (main): Call the new functions.
44622 * sysdeps/i386/fpu/libm-test-ulps: Update.
44623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44624
6c6a98c9
TV
446252012-03-05 Tom de Vries <tom@codesourcery.com>
44626
44627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44628 default stack guard is set in last bytes.
44629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44630
21bb2d2e 446312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44632
21bb2d2e 44633 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44634
21bb2d2e
AJ
44635 [BZ #13656]
44636 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44637 possibly allocate from heap instead of stack.
44638 * stdio-common/bug-vfprintf-nargs.c: New file.
44639 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44640
c6922934
AS
446412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44642
44643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44644
bc957d53
MP
446452012-03-03 Marek Polacek <polacek@redhat.com>
44646
44647 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44648 * math/math_private.h: Likewise.
44649 * stdlib/tst-strtod.c: Likewise.
44650 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44651 * sysdeps/x86_64/bits/atomic.h: Likewise.
44652
6358490d
DM
446532012-03-02 David S. Miller <davem@davemloft.net>
44654
44655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44659 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44660 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44661 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44662 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44663
01ae168d
RM
446642012-03-02 Roland McGrath <roland@hack.frob.com>
44665
d9a17c07
RM
44666 [BZ #13792]
44667 * manual/examples/README: New file, says the example source files
44668 can be used under GPL>=2.
44669 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44670 line containing just "*/".
44671 * manual/examples/add.c: Add copyright header (GPL>=2).
44672 * manual/examples/argp-ex1.c: Likewise.
44673 * manual/examples/argp-ex2.c: Likewise.
44674 * manual/examples/argp-ex3.c: Likewise.
44675 * manual/examples/argp-ex4.c: Likewise.
44676 * manual/examples/atexit.c: Likewise.
44677 * manual/examples/db.c: Likewise.
44678 * manual/examples/dir.c: Likewise.
44679 * manual/examples/dir2.c: Likewise.
44680 * manual/examples/execinfo.c: Likewise.
44681 * manual/examples/filecli.c: Likewise.
44682 * manual/examples/filesrv.c: Likewise.
44683 * manual/examples/fmtmsgexpl.c: Likewise.
44684 * manual/examples/genpass.c: Likewise.
44685 * manual/examples/inetcli.c: Likewise.
44686 * manual/examples/inetsrv.c: Likewise.
44687 * manual/examples/isockad.c: Likewise.
44688 * manual/examples/longopt.c: Likewise.
44689 * manual/examples/memopen.c: Likewise.
44690 * manual/examples/memstrm.c: Likewise.
44691 * manual/examples/mkfsock.c: Likewise.
44692 * manual/examples/mkisock.c: Likewise.
44693 * manual/examples/mygetpass.c: Likewise.
44694 * manual/examples/pipe.c: Likewise.
44695 * manual/examples/popen.c: Likewise.
44696 * manual/examples/rprintf.c: Likewise.
44697 * manual/examples/search.c: Likewise.
44698 * manual/examples/select.c: Likewise.
44699 * manual/examples/setjmp.c: Likewise.
44700 * manual/examples/sigh1.c: Likewise.
44701 * manual/examples/sigusr.c: Likewise.
44702 * manual/examples/stpcpy.c: Likewise.
44703 * manual/examples/strdupa.c: Likewise.
44704 * manual/examples/strftim.c: Likewise.
44705 * manual/examples/strncat.c: Likewise.
44706 * manual/examples/subopt.c: Likewise.
44707 * manual/examples/swapcontext.c: Likewise.
44708 * manual/examples/termios.c: Likewise.
44709 * manual/examples/testopt.c: Likewise.
44710 * manual/examples/testpass.c: Likewise.
44711 * manual/examples/timeval_subtract.c: Likewise.
44712
01ae168d
RM
44713 [BZ #13792]
44714 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44715 function to ...
44716 * manual/timeval_subtract.c.texi: ... here, new file.
44717
49efa33d
DM
447182012-03-02 David S. Miller <davem@davemloft.net>
44719
44720 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44721
28afd92d
JM
447222012-03-02 Joseph Myers <joseph@codesourcery.com>
44723
804360ed
JM
44724 [BZ #3976]
44725 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44726 (__sin): Save and restore rounding mode and use round-to-nearest
44727 for all computations.
44728 (__cos): Save and restore rounding mode and use round-to-nearest
44729 for all computations.
44730 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44731 <fenv.h>.
44732 (tan): Save and restore rounding mode and use round-to-nearest for
44733 all computations.
44734 * math/libm-test.inc (cos_test_tonearest): New function.
44735 (cos_test_towardzero): Likewise.
44736 (cos_test_downward): Likewise.
44737 (cos_test_upward): Likewise.
44738 (sin_test_tonearest): Likewise.
44739 (sin_test_towardzero): Likewise.
44740 (sin_test_downward): Likewise.
44741 (sin_test_upward): Likewise.
44742 (tan_test_tonearest): Likewise.
44743 (tan_test_towardzero): Likewise.
44744 (tan_test_downward): Likewise.
44745 (tan_test_upward): Likewise.
44746 (main): Call the new functions.
44747 * sysdeps/i386/fpu/libm-test-ulps: Update.
44748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44749
a6d06d7b
JM
44750 [BZ #10135]
44751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44752 small n, then large n, before computing and testing k+n.
44753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44755 Likewise.
44756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44757 Likewise.
44758 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44759 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44766 * math/libm-test.inc (scalbn_test): Add more tests.
44767 (scalbln_test): Likewise.
44768
07e12bb3
JM
44769 * manual/filesys.texi (mode_t): Describe constraints on size and
44770 signedness, not exact equivalence to a particular type.
44771 (ino_t): Likewise.
44772 (ino64_t): Likewise.
44773 (dev_t): Likewise.
44774 (nlink_t): Likewise.
44775 (blkcnt_t): Likewise.
44776 (blkcnt64_t): Likewise.
44777 * manual/llio.texi (off_t): Likewise.
44778
28afd92d
JM
44779 [BZ #3976]
44780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44781 (__ieee754_exp): Save and restore rounding mode and use
44782 round-to-nearest for all computations.
44783 * math/libm-test.inc (exp_test_tonearest): New function.
44784 (exp_test_towardzero): Likewise.
44785 (exp_test_downward): Likewise.
44786 (exp_test_upward): Likewise.
44787 (main): Call the new functions.
44788 * sysdeps/i386/fpu/libm-test-ulps: Update.
44789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44790
b1eeb65d
CD
447912012-03-01 Chris Demetriou <cgd@google.com>
44792
44793 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44794 have predictable order.
44795
53362a4b
DM
447962012-03-01 David S. Miller <davem@davemloft.net>
44797
3c969083
DM
44798 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44799
759707de
DM
44800 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44801 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44802 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44803 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44804
dfdb8ff2
DM
44805 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44806 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44807 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44809 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44810 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44811 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44812 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44813 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44814
ead89f96
DM
44815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44816
7f66bd07
DM
44817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44818 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44820
53362a4b
DM
44821 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44822 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44837 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44838 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44839 * sysdeps/sparc/elf/configure: Regenerated.
44840
7b1902cb
JM
448412012-03-01 Joseph Myers <joseph@codesourcery.com>
44842
bec039bc
JM
44843 * configure.in (AS, LD): Require binutils 2.20 or later.
44844 * configure: Regenerated.
44845 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44846 as required minimum version.
44847 * INSTALL: Regenerated.
44848
7b1902cb
JM
44849 [BZ #2541]
44850 [BZ #4108]
44851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44852 before squaring exponent.
44853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44854 bottom long double and 27 bits of top long double before squaring
44855 exponent.
44856 * math/libm-test.inc (erfc_test): Add more tests.
44857 * sysdeps/i386/fpu/libm-test-ulps: Update.
44858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44860
f775c276
KT
448612012-03-01 Kai Tietz <ktietz@redhat.com>
44862
44863 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44864 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44865 containing bit-fields.
44866 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44867 * soft-fp/single.h (_FP_UNION_S): Likewise.
44868 * soft-fp/double.h (_FP_UNION_D): Likewise.
44869
5b8a4d4a
JM
448702012-02-29 Joseph Myers <joseph@codesourcery.com>
44871
0bab47b6
JM
44872 [BZ #13786]
44873 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44874 not include ../strcmp.S.
44875 [USE_AS_STRNCASECMP_L]: Likewise.
44876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44877 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44878 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44879 (__strncasecmp_l_ia32): Define as alias to
44880 __strncasecmp_l_nonascii.
44881
0fcad3e2
JM
44882 [BZ #5794]
44883 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44884 * sysdeps/i386/fpu/libm-test-ulps: Update.
44885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44886
5b8a4d4a
JM
44887 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44889
8fdceb2e
JL
448902012-02-29 Jeff Law <law@redhat.com>
44891
44892 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44893 out of bounds read.
44894
1f393a11
MP
448952012-02-29 Marek Polacek <polacek@redhat.com>
44896
44897 [BZ #13706]
44898 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44899 * elf/Makefile: Add rules to run tst-unused-dep.out.
44900
8847f037
DM
449012012-02-28 David S. Miller <davem@davemloft.net>
44902
44903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44909
169d7f11
JM
449102012-02-29 Joseph Myers <joseph@codesourcery.com>
44911
44912 * math/libm-test.inc (llround_test): Move one test from
44913 lround_test. Use TEST_f_L in moved test.
44914 (lround_test): Move misplaced test to llround_test. Add testcase
44915 from bug 2561.
44916
39adf059
UD
449172012-02-28 Ulrich Drepper <drepper@gmail.com>
44918
44919 * sysdeps/x86_64/fpu/e_expf.S: New file.
44920 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44921
71b5d1c5
SB
449222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44923
44924 [BZ #13637]
44925 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44926 of remain_len that may cause incomplete multi-byte character and
44927 false match.
44928 * posix/bug-regex33.c: New file.
44929 * posix/Makefile (tests): Add bug-regex33.
44930
1f77f049
JM
449312012-02-28 Joseph Myers <joseph@codesourcery.com>
44932
44933 * manual/macros.texi: New file.
44934 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44935 * manual/libc.texinfo: Include macros.texi.
44936 * manual/creatute.texi: Likewise.
44937 * manual/install.texi: Likewise.
44938 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44939 @glibcadj{} in references to the GNU C Library.
44940 * manual/charset.texi: Likewise.
44941 * manual/conf.texi: Likewise.
44942 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44943 when not using those macros.
44944 * manual/creature.texi: Likewise.
44945 * manual/crypt.texi: Likewise.
44946 * manual/errno.texi: Likewise.
44947 * manual/filesys.texi: Likewise.
44948 * manual/header.texi: Likewise.
44949 * manual/install.texi: Likewise.
44950 * manual/intro.texi: Likewise.
44951 * manual/io.texi: Likewise.
44952 * manual/job.texi: Likewise.
44953 * manual/lang.texi: Likewise.
44954 * manual/libc.texiinfo: Likewise.
44955 * manual/llio.texi: Likewise.
44956 * manual/locale.texi: Likewise.
44957 * manual/maint.texi: Likewise.
44958 * manual/math.texi: Likewise.
44959 * manual/memory.texi: Likewise.
44960 * manual/message.texi: Likewise.
44961 * manual/nss.texi: Likewise.
44962 * manual/pattern.texi: Likewise.
44963 * manual/process.texi: Likewise.
44964 * manual/resource.texi: Likewise.
44965 * manual/search.texi: Likewise.
44966 * manual/setjmp.texi: Likewise.
44967 * manual/signal.texi: Likewise.
44968 * manual/socket.texi: Likewise.
44969 * manual/startup.texi: Likewise.
44970 * manual/stdio.texi: Likewise.
44971 * manual/string.texi: Likewise.
44972 * manual/sysinfo.texi: Likewise.
44973 * manual/syslog.texi: Likewise.
44974 * manual/terminal.texi: Likewise.
44975 * manual/time.texi: Likewise.
44976 * manual/users.texi: Likewise.
44977 * INSTALL: Regenerated.
44978 * NOTES: Regenerated.
d40c5d54 44979 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44980
450bf206
AS
449812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44982
44983 * include/dirent.h: Include <dirstream.h> before
44984 <dirent/dirent.h>.
44985
741a235b
DM
449862012-02-28 David S. Miller <davem@davemloft.net>
44987
44988 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44989 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44990 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44991 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44992
d6b5aa58
DM
449932012-02-27 David S. Miller <davem@davemloft.net>
44994
1aff59a3
DM
44995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44997 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44998 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44999
d6b5aa58
DM
45000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45001 frame pointer instead of stack pointer relative arg slot.
45002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45003 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45004 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45005
433f48bf
CD
450062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45007
45008 [BZ #3992]
45009 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45010
d674b76d
DM
450112012-02-27 David S. Miller <davem@davemloft.net>
45012
45013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45019 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45021
0e7727f7
JM
450222012-02-27 Joseph Myers <joseph@codesourcery.com>
45023
45024 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45025 later. Allow versions 5-9.
43be4ca2 45026 * configure: Regenerated.
0e7727f7
JM
45027 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45028 required minimum version and 4.6 as recommended version. Do not
45029 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45030 * INSTALL: Regenerated.
0e7727f7 45031
a78bc654
DM
450322012-02-27 David S. Miller <davem@davemloft.net>
45033
428d5830
DM
45034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45040 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45042
a78bc654
DM
45043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45044 manipulate bits before adding and subtracting TWO112[sx].
45045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45046
4579f81c
RM
450472012-02-27 Roland McGrath <roland@hack.frob.com>
45048
36c8acb4
RM
45049 [BZ #13775]
45050 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45051 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45052 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45053 being in POSIX, because they are in 1003.1-2008.
45054
84ad622b
RM
45055 * rt/tst-aio.c: Include <fcntl.h>.
45056 * rt/tst-aio7.c: Likewise.
45057 * rt/tst-aio64.c: Likewise.
45058
4579f81c
RM
45059 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45060
abd923db
JM
450612012-02-27 Joseph Myers <joseph@codesourcery.com>
45062
45063 * manual/install.texi (--with-headers): Describe headers as
45064 interface headers, not private headers.
45065 (Specific advice for GNU/Linux systems): Describe use of headers
45066 from "make headers_install", not private headers from older
45067 kernels.
43be4ca2 45068 * INSTALL: Regenerated.
abd923db
JM
45069 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45070 Change to 2.6.19.
45071 * sysdeps/unix/sysv/linux/configure: Regenerated.
45072
6664049b
JM
45073 * manual/llio.texi (fclean): Remove documentation.
45074
bb8b6697
JM
45075 * manual/Makefile (libc-texi-generated): New variable. Include
45076 version.texi.
45077 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45078 $(libc-texi-generated), not duplicated list of files.
45079 (version.texi, stamp-version): New rules.
45080 (realclean): Remove $(libc-texi-generated), not individual files
45081 from that list. Do not remove dir-add.texinfo.
45082 * manual/libc.texinfo: Comment out uses of edition numbers and
45083 references to printed manual. Remove last-updated dates.
45084 (EDITION): Comment out.
45085 (ISBN): Likewise.
45086 (VERSION, UPDATED): Remove.
45087 (version.texi): Include.
45088
12e5c3b9
AS
450892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45090
45091 * sysdeps/posix/spawni.c: Include <signal.h>.
45092 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45093 * sysdeps/pthread/aio_fsync.c: Likewise.
45094
4efeffc1 450952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45096
ba63ba08
UD
45097 * conform/Makefile (tests): Run only when not cross-compiling and
45098 when fast-check is not defined.
45099
d94a4670
UD
45100 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45101 * conform/data/limits.h-data: Fixes for POSIX2008.
45102 * conform/run-conformtest.sh: Run all tests.
45103 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45104 headers.
45105 * include/bits/dlfcn.h: Likewise.
45106 * include/langinfo.h: Likewise.
45107 * include/monetary.h: Likewise.
45108 * include/sys/poll.h: Likewise.
45109
45110 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45111 for __USE_GNU.
45112 * posix/spawn.h: Define __need_sigset_t.
45113 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45114 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45115 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45116 to get sigevent_t only.
45117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45118 only for __USE_GNU.
45119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45121 process_vm_writev only for __USE_GNU.
45122 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45123
45124 * conform/Makefile: For now ignore errors from run-conformtest.
45125 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45126 POSIX to avoid namespace pollution. Don't prepend headers.
45127 * conform/data/aio.h-data: Fixes for POSIX testing.
45128 * conform/data/fcntl.h-data: Likewise.
45129 * conform/data/glob.h-data: Likewise.
45130 * conform/data/grp.h-data: Likewise.
45131 * conform/data/pthread.h-data: Likewise.
45132 * conform/data/pwd.h-data: Likewise.
45133 * conform/data/signal.h-data: Likewise.
45134 * conform/data/spawn.h-data: Likewise.
45135 * conform/data/stdio.h-data: Likewise.
45136 * conform/data/stdlib.h-data: Likewise.
45137 * conform/data/stropts.h-data: Likewise.
45138 * conform/data/sys/mman.h-data: Likewise.
45139 * conform/data/sys/stat.h-data: Likewise.
45140 * conform/data/sys/types.h-data: Likewise.
45141 * conform/data/sys/wait.h-data: Likewise.
45142 * conform/data/time.h-data: Likewise.
45143 * conform/data/unistd.h-data: Likewise.
45144 * conform/data/utime.h-data: Likewise.
45145
45146 * io/sys/stat.h: fchmod was always in POSIX.
45147 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45148 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45149 * rt/aio.h: Define __need_timespec before including <time.h>.
45150 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45151 struct. Add forward declaration of pthread_attr_t and use it in
45152 sigevent.
45153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45155 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45156 always remove CLK_TCK definition.
45157
c20105c3
AS
451582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45159
45160 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45161
7a270350
UD
451622012-02-25 Ulrich Drepper <drepper@gmail.com>
45163
31341567
UD
45164 * conform/run-conformtest.sh: New file.
45165 * conform/Makefile: Run run-conformtest for tests.
45166 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45167 support.
45168
45169 * conform/data/uchar.h-data: New file.
45170 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45171 * conform/data/arpa/inet.h-data: Likewise.
45172 * conform/data/assert.h-data: Likewise.
45173 * conform/data/complex.h-data: Likewise.
45174 * conform/data/cpio.h-data: Likewise.
45175 * conform/data/ctype.h-data: Likewise.
45176 * conform/data/dirent.h-data: Likewise.
45177 * conform/data/dlfcn.h-data: Likewise.
45178 * conform/data/errno.h-data: Likewise.
45179 * conform/data/fcntl.h-data: Likewise.
45180 * conform/data/float.h-data: Likewise.
45181 * conform/data/fmtmsg.h-data: Likewise.
45182 * conform/data/fnmatch.h-data: Likewise.
45183 * conform/data/ftw.h-data: Likewise.
45184 * conform/data/glob.h-data: Likewise.
45185 * conform/data/grp.h-data: Likewise.
45186 * conform/data/iconv.h-data: Likewise.
45187 * conform/data/inttypes.h-data: Likewise.
45188 * conform/data/langinfo.h-data: Likewise.
45189 * conform/data/libgen.h-data: Likewise.
45190 * conform/data/limits.h-data: Likewise.
45191 * conform/data/locale.h-data: Likewise.
45192 * conform/data/math.h-data: Likewise.
45193 * conform/data/monetary.h-data: Likewise.
45194 * conform/data/mqueue.h-data: Likewise.
45195 * conform/data/ndbm.h-data: Likewise.
45196 * conform/data/net/if.h-data: Likewise.
45197 * conform/data/netdb.h-data: Likewise.
45198 * conform/data/netinet/in.h-data: Likewise.
45199 * conform/data/nl_types.h-data: Likewise.
45200 * conform/data/poll.h-data: Likewise.
45201 * conform/data/pthread.h-data: Likewise.
45202 * conform/data/pwd.h-data: Likewise.
45203 * conform/data/regex.h-data: Likewise.
45204 * conform/data/sched.h-data: Likewise.
45205 * conform/data/search.h-data: Likewise.
45206 * conform/data/semaphore.h-data: Likewise.
45207 * conform/data/setjmp.h-data: Likewise.
45208 * conform/data/signal.h-data: Likewise.
45209 * conform/data/spawn.h-data: Likewise.
45210 * conform/data/stdarg.h-data: Likewise.
45211 * conform/data/stdio.h-data: Likewise.
45212 * conform/data/stdlib.h-data: Likewise.
45213 * conform/data/string.h-data: Likewise.
45214 * conform/data/strings.h-data: Likewise.
45215 * conform/data/stropts.h-data: Likewise.
45216 * conform/data/sys/ipc.h-data: Likewise.
45217 * conform/data/sys/mman.h-data: Likewise.
45218 * conform/data/sys/msg.h-data: Likewise.
45219 * conform/data/sys/resource.h-data: Likewise.
45220 * conform/data/sys/select.h-data: Likewise.
45221 * conform/data/sys/sem.h-data: Likewise.
45222 * conform/data/sys/shm.h-data: Likewise.
45223 * conform/data/sys/socket.h-data: Likewise.
45224 * conform/data/sys/stat.h-data: Likewise.
45225 * conform/data/sys/statvfs.h-data: Likewise.
45226 * conform/data/sys/time.h-data: Likewise.
45227 * conform/data/sys/timeb.h-data: Likewise.
45228 * conform/data/sys/times.h-data: Likewise.
45229 * conform/data/sys/types.h-data: Likewise.
45230 * conform/data/sys/uio.h-data: Likewise.
45231 * conform/data/sys/un.h-data: Likewise.
45232 * conform/data/sys/utsname.h-data: Likewise.
45233 * conform/data/sys/wait.h-data: Likewise.
45234 * conform/data/syslog.h-data: Likewise.
45235 * conform/data/tar.h-data: Likewise.
45236 * conform/data/termios.h-data: Likewise.
45237 * conform/data/utime.h-data: Likewise.
45238 * conform/data/utmpx.h-data: Likewise.
45239 * conform/data/varargs.h-data: Likewise.
45240 * conform/data/wchar.h-data: Likewise.
45241 * conform/data/wctype.h-data: Likewise.
45242 * conform/data/wordexp.h-data: Likewise.
45243
45244 * include/stropts.h: New file.
45245 * include/uchar.h: New file.
45246 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45247 * include/assert.h: Likewise.
45248 * include/ctype.h: Likewise.
45249 * include/dirent.h: Likewise.
45250 * include/dlfcn.h: Likewise.
45251 * include/fcntl.h: Likewise.
45252 * include/fnmatch.h: Likewise.
45253 * include/glob.h: Likewise.
45254 * include/grp.h: Likewise.
45255 * include/libio.h: Likewise.
45256 * include/locale.h: Likewise.
45257 * include/math.h: Likewise.
45258 * include/net/if.h: Likewise.
45259 * include/netdb.h: Likewise.
45260 * include/netinet/in.h: Likewise.
45261 * include/pthread.h: Likewise.
45262 * include/pwd.h: Likewise.
45263 * include/regex.h: Likewise.
45264 * include/sched.h: Likewise.
45265 * include/search.h: Likewise.
45266 * include/setjmp.h: Likewise.
45267 * include/signal.h: Likewise.
45268 * include/stdio.h: Likewise.
45269 * include/stdlib.h: Likewise.
45270 * include/string.h: Likewise.
45271 * include/sys/cdefs.h: Likewise.
45272 * include/sys/mman.h: Likewise.
45273 * include/sys/msg.h: Likewise.
45274 * include/sys/resource.h: Likewise.
45275 * include/sys/select.h: Likewise.
45276 * include/sys/socket.h: Likewise.
45277 * include/sys/stat.h: Likewise.
45278 * include/sys/statvfs.h: Likewise.
45279 * include/sys/time.h: Likewise.
45280 * include/sys/times.h: Likewise.
45281 * include/sys/uio.h: Likewise.
45282 * include/sys/utsname.h: Likewise.
45283 * include/sys/wait.h: Likewise.
45284 * include/termios.h: Likewise.
45285 * include/time.h: Likewise.
45286 * include/ulimit.h: Likewise.
45287 * include/unistd.h: Likewise.
45288 * include/utime.h: Likewise.
45289 * include/wchar.h: Likewise.
45290 * include/wctype.h: Likewise.
45291 * include/wordexp.h: Likewise.
45292
45293 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45294
7a270350
UD
45295 * time/time.h: TIME_UTC must be a macro.
45296 Make timespec_get available for ISO C11 only as well.
45297
7724defc
UD
452982012-02-24 Ulrich Drepper <drepper@gmail.com>
45299
45300 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45301 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45302
6b1d1d46
JM
453032012-02-24 Joseph Myers <joseph@codesourcery.com>
45304
45305 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45306
0f8bbd69
JM
453072012-02-24 Joseph Myers <joseph@codesourcery.com>
45308
45309 * manual/texinfo.tex: Update to version 2012-01-19.16.
45310
66ab80bc
JM
453112012-02-24 Joseph Myers <joseph@codesourcery.com>
45312
45313 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45314
74981cc5
RM
453152012-02-24 Roland McGrath <roland@hack.frob.com>
45316
ee968201
RM
45317 [BZ #13738]
45318 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45319 * manual/fdl-1.3.texi: New file.
45320 * manual/fdl-1.1.texi: File removed.
45321
74981cc5
RM
45322 [BZ #13738]
45323 * manual/libc.texinfo (FDL_VERSION): New @set.
45324 Use it for mention of FDL in cover text.
45325 (Documentation License): Use it in @include file name.
45326
7bb764bc
JM
453272012-02-22 Joseph Myers <joseph@codesourcery.com>
45328 Roland McGrath <roland@hack.frob.com>
45329
45330 [BZ #5461]
57f41c40
AS
45331 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45332 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45333 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45334 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45335 name.
45336 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45337
6cbeae47
JM
453382012-02-22 Joseph Myers <joseph@codesourcery.com>
45339
45340 [BZ #2547]
45341 [BZ #11365]
45342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45343 manipulate bits before adding and subtracting TWO23[sx].
45344 * math/libm-test.inc (nearbyint_test): Add more tests.
45345
fe45ce09
JM
453462012-02-22 Joseph Myers <joseph@codesourcery.com>
45347
45348 [BZ #2548]
45349 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45350 bits before adding and subtracting TWO23[sx].
45351 * math/libm-test.inc (rint_test): Add more tests.
45352 (rint_test_tonearest): Likewise.
45353 (rint_test_towardzero): Likewise.
45354 (rint_test_downward): Likewise.
45355 (rint_test_upward: Likewise.
45356
ff3b3d82
JM
453572012-02-22 Joseph Myers <joseph@codesourcery.com>
45358
45359 [BZ #10110]
45360 * include/stdc-predef.h: New file. Extracted from features.h.
45361 * include/features.h: Include stdc-predef.h.
45362 * Makefile (headers): Add stdc-predef.h.
45363 * CONFORMANCE (Compiler limitations): Update.
45364
ef0aab35
JM
453652012-02-22 Joseph Myers <joseph@codesourcery.com>
45366
45367 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45368
58639409
DM
453692012-02-21 David S. Miller <davem@davemloft.net>
45370
45371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45373
c0e70b25
DM
453742012-02-20 David S. Miller <davem@davemloft.net>
45375
45376 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45377 using a normal save/restore sequence, rather than allocating a
45378 dummy stack frame just to store a frame pointer and restore.
45379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45380
fb06851d
JM
453812012-02-21 Joseph Myers <joseph@codesourcery.com>
45382
45383 * manual/install.texi: Fix stray word in line-wrapped comment.
45384
7a8b71c3
DM
453852012-02-20 David S. Miller <davem@davemloft.net>
45386
d510c123
DM
45387 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45388 both binutils and gcc support GOTDATA.
45389
0722d7c2
DM
45390 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45391 "rd %pc" in the PIC register setup sequences.
45392
3d2b3019
DM
45393 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45402 (SYSCALL_ERROR_HANDLER): Likewise.
45403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45406 (SYSCALL_ERROR_HANDLER): Likewise.
45407
c80098a9
DM
45408 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45409 (HAVE_GCC_GOTDATA): New.
45410 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45411 relocation support in both binutils and gcc.
45412 * sysdeps/sparc/elf/configure: Regenerate.
45413
3a2545a0
DM
45414 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45415 * sysdeps/sparc/sparc32/elf/configure: Delete.
45416 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45417 * sysdeps/sparc/sparc64/elf/configure: Delete.
45418 * sysdeps/sparc/elf/configure.in: New file.
45419 * sysdeps/sparc/elf/configure: Generate.
45420
7a8b71c3
DM
45421 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45422 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45423 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45424 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45425 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45426
f1e86fca
JM
454272012-02-21 Joseph Myers <joseph@codesourcery.com>
45428
45429 * manual/install.texi: Do not mention specific glibc version
45430 numbers.
45431 * manual/libc.texinfo (VERSION, UPDATED): Update.
45432 (@copying): Use @copyright{} and range of years.
45433
0e7dfaef
JM
454342012-02-21 Joseph Myers <joseph@codesourcery.com>
45435
45436 [BZ #13695]
45437 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45438 [crti.S not in sysdirs] (generated): Do not append.
45439 [crti.S not in sysdirs] (omit-deps): Likewise.
45440 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45441 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45442 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45443 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45444 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45445 Likewise.
45446 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45447 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45448 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45449 * csu/defs.awk: Remove file.
45450 * sysdeps/generic/initfini.c: Likewise.
45451 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45452 variable.
45453 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45454 Likewise.
45455
599af3ca
JM
454562012-02-20 Joseph Myers <joseph@codesourcery.com>
45457
45458 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45463 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45464 <bits/epoll.h>.
45465 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45466 (__EPOLL_PACKED): Define to empty if not defined by
45467 <bits/epoll.h>.
45468 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45470 bits/epoll.h.
45471
0e499750
JM
454722012-02-20 Joseph Myers <joseph@codesourcery.com>
45473
45474 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45475 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45476 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45478 <bits/timerfd.h>.
45479 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45481 bits/timerfd.h.
45482
5ad91f6e
JM
454832012-02-20 Joseph Myers <joseph@codesourcery.com>
45484
45485 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45486 in C locale.
45487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45488 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45491
06b99b02
AJ
454922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45493
45494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45496
7638c0fd
AS
454972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45498
45499 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45500 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45501 defined.
45502 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45503 Likewise.
45504 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45505 entry for 2.16.
45506
92221550
AJ
455072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45508
45509 * math/w_acos.c: Use non-signaling floating-point comparisons.
45510 * math/w_acosf.c: Likewise.
45511 * math/w_acosh.c: Likewise.
45512 * math/w_acoshf.c: Likewise.
45513 * math/w_acoshl.c: Likewise.
45514 * math/w_acosl.c: Likewise.
45515 * math/w_asin.c: Likewise.
45516 * math/w_asinf.c: Likewise.
45517 * math/w_asinl.c: Likewise.
45518 * math/w_atanh.c: Likewise.
45519 * math/w_atanhf.c: Likewise.
45520 * math/w_atanhl.c: Likewise.
45521 * math/w_exp2.c: Likewise.
45522 * math/w_exp2f.c: Likewise.
45523 * math/w_exp2l.c: Likewise.
45524 * math/w_j0.c: Likewise.
45525 * math/w_j0f.c: Likewise.
45526 * math/w_j0l.c: Likewise.
45527 * math/w_j1.c: Likewise.
45528 * math/w_j1f.c: Likewise.
45529 * math/w_j1l.c: Likewise.
45530 * math/w_jn.c: Likewise.
45531 * math/w_jnf.c: Likewise.
45532 * math/w_log.c: Likewise.
45533 * math/w_log10.c: Likewise.
45534 * math/w_log10f.c: Likewise.
45535 * math/w_log10l.c: Likewise.
45536 * math/w_log2.c: Likewise.
45537 * math/w_log2f.c: Likewise.
45538 * math/w_log2l.c: Likewise.
45539 * math/w_logf.c: Likewise.
45540 * math/w_logl.c: Likewise.
45541 * math/w_sqrt.c: Likewise.
45542 * math/w_sqrtf.c: Likewise.
45543 * math/w_sqrtl.c: Likewise.
45544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45545 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45549
ebaf36eb
JM
455502012-02-19 Joseph Myers <joseph@codesourcery.com>
45551
45552 [BZ #9739]
45553 * manual/string.texi (strnlen): Use correct parameter name in
45554 equivalent expression.
45555
71c254a6
JM
455562012-02-19 Joseph Myers <joseph@codesourcery.com>
45557
45558 [BZ #11174]
45559 * manual/users.texi (seteuid): Consistently use neweuid for
45560 argument name.
45561
16d2c631
JM
455622012-02-19 Joseph Myers <joseph@codesourcery.com>
45563
45564 [BZ #13704]
45565 * manual/nss.texi (Services in the NSS configuration): Correct
45566 list of services in example configuration file.
45567
cd837b09
NB
455682012-02-19 Nick Bowler <nbowler@draconx.ca>
45569
45570 [BZ #11322]
45571 * manual/arith.texi: Remove statements about negative zero
45572 behaving identically to zero.
45573
02c4bbad
JM
455742012-02-18 Joseph Myers <joseph@codesourcery.com>
45575
45576 [BZ #5993]
45577 * manual/install.texi: Do not document upgrading from libc5.
45578
366842e7
JM
455792012-02-18 Joseph Myers <joseph@codesourcery.com>
45580
45581 [BZ #4596]
45582 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45583
dd54084d
DM
455842012-02-18 David S. Miller <davem@davemloft.net>
45585
45586 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45587 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45588 %o7 across the call.
45589 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45590 instead.
45591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45592 SETUP_PIC_REG_LEAF.
45593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45594 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45595 * sysdeps/sparc/crtn.S: Likewise.
45596
2bcc53a3
UD
455972012-02-17 Ulrich Drepper <drepper@gmail.com>
45598
45599 * aout/Makefile: Remove.
45600
09c093b5
RK
456012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45602
45603 [BZ #13058]
45604 * manual/examples/argp-ex1.c (main): Format definition in GNU
45605 style.
45606 * manual/examples/argp-ex2.c (main): Likewise.
45607 * manual/examples/argp-ex3.c (main): Likewise.
45608 * manual/examples/argp-ex4.c (main): Likewise.
45609 * manual/examples/longopt.c (main): Use new-style prototype
45610 definition.
45611 * manual/examples/strncat.c (main): Specify return type and use
45612 (void) for arguments.
45613 * manual/examples/subopt.c (main): Use char **argv argument.
45614
2ee633a2
JM
456152012-02-17 Joseph Myers <joseph@codesourcery.com>
45616
45617 [BZ #5077]
45618 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45619 rounding modes.
45620
0520adde
FB
456212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45622
45623 [BZ #6907]
45624 * manual/string.texi (strchr): Change when strchrnul is
45625 recommended.
45626
3f4081cd
DGM
456272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45628
45629 [BZ #174]
45630 * manual/locale.texi (setlocale): Document LOCPATH.
45631
d1b10e78
JM
456322012-02-17 Joseph Myers <joseph@codesourcery.com>
45633
45634 [BZ #10210]
45635 * manual/process.texi (execle): Move @dots{} before last argument.
45636
79c6869c
PB
456372012-02-17 Paul Bolle <pebolle@tiscali.nl>
45638
45639 [BZ #12047]
45640 * manual/charset.texi (Generic Charset Conversion): Fix typo
45641 (LC_TYPE -> LC_CTYPE).
45642
cc6e48bc
NB
456432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45644
45645 [BZ #5805]
45646 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45647 (scalbnf): Likewise.
45648 (scalbnl): Likewise.
45649 (scalbln): Likewise.
45650 (scalblnf): Likewise.
45651 (scalblnl): Likewise.
45652 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45653 (vwarnx): Likewise.
45654 (verr): Likewise.
45655 (verrx): Likewise.
45656 * manual/filesys.texi (telldir): Use braces around return type.
45657 * manual/llio.texi (mmap): Add space after comma.
45658 (mmap64): Likewise.
45659 * manual/math.texi (jn): Use @var{} on parameter names.
45660 (jnf): Likewise.
45661 (jnl): Likewise.
45662 (yn): Likewise.
45663 (ynf): Likewise.
45664 (ynl): Likewise.
45665 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45666 line.
45667 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45668 "...".
45669 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45670 (sched_get_priority_max): Likewise.
45671 * manual/signal.texi (sigvec): Add space after comma.
45672 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45673 names.
45674 (if_indextoname): Likewise.
45675 (if_freenameindex): Likewise.
45676 (sendto): Use ',' instead of '.' in prototype.
45677 * manual/startup.texi (syscall): Use @dots{} instead of literal
45678 "...".
45679 * manual/stdio.texi (__fpending): Separate initial words of
45680 paragraph from @deftypefun line.
45681 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45682 "...".
45683 (vsyslog): Use @var{} on parameter names.
45684 * manual/terminal.texi (stty): Use @var{} on parameter names.
45685 * manual/users.texi (getutmp): Use @var{} on parameter names.
45686 (getutmpx): Likewise.
45687
5b23062f
JM
456882012-02-17 Joseph Myers <joseph@codesourcery.com>
45689
45690 [BZ #6884]
45691 * manual/stdio.texi (fopen): Fix typos in description of
45692 ",ccs=STRING".
45693
8dee4833
AJ
456942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45695
45696 [BZ #4026]
45697 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45698 get clock_id definition.
45699
9078ce93
TS
457002012-02-17 Thomas Schwinge <thomas@schwinge.name>
45701
45702 [BZ #4822]
45703 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45704 (madvise): Cast every argument to void on its own.
45705
3835c55f
JM
457062012-02-17 Joseph Myers <joseph@codesourcery.com>
45707
45708 [BZ #9902]
45709 * manual/startup.texi (Exit Status): Fix typo.
45710
35c47e37
JM
457112012-02-17 Joseph Myers <joseph@codesourcery.com>
45712
45713 [BZ #10140]
45714 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45715 * manual/examples/argp-ex2.c: Likewise.
45716 * manual/examples/argp-ex3.c: Likewise.
45717
e3b69ca7
RH
457182012-02-16 Richard Henderson <rth@redhat.com>
45719
45720 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45721 * sysdeps/s390/s390-32/initfini.c: Remove.
45722 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45723 * sysdeps/s390/s390-64/initfini.c: Remove.
45724
df83af67
KK
457252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45726
45727 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45728 compiler output for sysdeps/generic/initfini.c.
45729 * sysdeps/sh/elf/initfini.c: Remove file.
45730
f63f3380
DM
457312012-02-16 David S. Miller <davem@davemloft.net>
45732
fb59b3a4
DM
45733 [BZ #11494]
45734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45735
f63f3380
DM
45736 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45737 * sysdeps/sparc/crti.S: New file.
45738 * sysdeps/sparc/crtn.S: New file.
45739 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45740 * sysdeps/sparc/sparc64/Makefile: Likewise.
45741
df6a4a4a
MF
457422012-02-15 Mike Frysinger <vapier@gentoo.org>
45743
6dd8f3dc 45744 [BZ #3335]
df6a4a4a
MF
45745 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45746
1cac7236
RM
457472012-02-15 Roland McGrath <roland@hack.frob.com>
45748
d2c736f8
RM
45749 [BZ #4822]
45750 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45751
1cac7236
RM
45752 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45753 (write, read, close): Likewise.
45754 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45755
8e475601
JM
457562012-02-15 Joseph Myers <joseph@codesourcery.com>
45757
45758 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45759 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45760 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45761 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45762 <bits/signalfd.h>.
45763 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45765 bits/signalfd.h.
45766
ed656b40
MP
457672012-02-14 Marek Polacek <polacek@redhat.com>
45768
45769 * sysdeps/x86_64/crti.S: New file.
45770 * sysdeps/x86_64/crtn.S: New file.
45771 * sysdeps/x86_64/elf/initfini.c: Remove file.
45772
2a979d3a
JM
457732012-02-13 Joseph Myers <joseph@codesourcery.com>
45774
45775 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45776 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45777 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45778 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45779 <bits/inotify.h>.
45780 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45782 bits/inotify.h.
45783
2a418ac3
JM
457842012-02-13 Joseph Myers <joseph@codesourcery.com>
45785
45786 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45787 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45788 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45790 <bits/eventfd.h>.
45791 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45793 bits/eventfd.h.
45794
fb779be7
TS
457952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45796
e19e83c5
RM
45797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45798 __feraiseexcept instead of feraiseexcept.
7c35ffed 45799
fb779be7
TS
45800 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45801 nanosleep invocations.
45802 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45803 strings, and add error checking for a nanosleep invocations.
45804
59ba27a6
PE
458052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45806
45807 Replace FSF snail mail address with URLs, as per GNU coding standards.
45808 Most of the snail mail addresses were wrong anyway, and omitting
45809 them makes the source code easier to maintain. Almost all of the
45810 changes are to license notices and to locale LC_IDENTIFICATION
45811 addresses, except for this one:
45812 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45813 not its snail mail address.
45814
57b957eb
RH
458152012-02-09 Richard Henderson <rth@twiddle.net>
45816
af850b1c
RH
45817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45818 of kernel-features.h.
45819
57b957eb
RH
45820 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45821
6b73181a
MP
458222012-02-08 Marek Polacek <polacek@redhat.com>
45823
45824 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45825 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45826 * sysdeps/gnu/_G_config.h: Likewise.
45827 * sysdeps/generic/_G_config.h: Likewise.
45828
26ecc33a
AS
458292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45830
6c6dbc63
AS
45831 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45832 tests.
45833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45834
e216c012
AS
45835 * sysdeps/powerpc/powerpc32/crti.S: New file.
45836 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45837 * sysdeps/powerpc/powerpc64/crti.S: New file.
45838 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45839
26ecc33a
AS
45840 * Makeconfig (have-initfini): Don't set.
45841 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45842 * configure.in (nopic_initfini): Don't substitute.
45843 * config.h.in (HAVE_INITFINI): Don't #undef.
45844 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45845 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45846
3add8e13
JM
458472012-02-08 Joseph Myers <joseph@codesourcery.com>
45848
45849 Support crti.S and crtn.S provided directly by architectures.
45850 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45851 [crti.S in sysdirs] (omit-deps): Likewise.
45852 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45853 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45854 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45855 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45856 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45857 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45858 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45859 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45860 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45861 compiler output for sysdeps/generic/initfini.c.
45862 * sysdeps/i386/elf/Makefile: Remove file.
45863 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45864
a22f12b4
MP
458652012-02-07 Marek Polacek <polacek@redhat.com>
45866
45867 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45868 * sysdeps/gnu/_G_config.h: Likewise.
45869 * sysdeps/mach/hurd/_G_config.h: Likewise.
45870
148cf100
MP
458712012-02-07 Marek Polacek <polacek@redhat.com>
45872
45873 * math/Makefile (tests): Add tst-CMPLX2.
45874 * math/tst-CMPLX2.c: New file.
45875
cfdc0dd7
AS
458762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45877
84ba42c4
AS
45878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45879
cfdc0dd7
AS
45880 * math/libm-test.inc (jn_test): Add missing L suffix.
45881
622c86f4
MP
458822012-02-06 Marek Polacek <polacek@redhat.com>
45883
45884 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45885 * sysdeps/i386/fpu/e_powf.S: Likewise.
45886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45888 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45889 * sysdeps/i386/fpu/e_pow.S: Likewise.
45890 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45892 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45893 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45894 * sysdeps/i386/fpu/e_log2.S: Likewise.
45895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45897 * sysdeps/i386/fpu/e_powl.S: Likewise.
45898 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45901 * sysdeps/i386/fpu/e_logl.S: Likewise.
45902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45903 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45908 * sysdeps/i386/fpu/e_log.S: Likewise.
45909 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45911 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45912 * sysdeps/i386/fpu/e_logf.S: Likewise.
45913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45915 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45918 * sysdeps/i386/fpu/e_log10.S: Likewise.
45919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45925 * sysdeps/i386/asm-syntax.h: Likewise.
45926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45929 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45930 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45931 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45932 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45933 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45935 * sysdeps/powerpc/sysdep.h: Likewise.
45936 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45937 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45938
d4a54ac6
JM
459392012-02-06 Joseph Myers <joseph@codesourcery.com>
45940
45941 [BZ #411]
45942 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45943
314054ea
JM
459442012-02-06 Joseph Myers <joseph@codesourcery.com>
45945
45946 * sysdeps/i386/sysdep.h: Include <features.h>.
45947 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45948 version.
45949
d8e0ca50
JM
459502012-02-05 Joseph Myers <joseph@codesourcery.com>
45951
45952 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45953 Define.
45954 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45955 LOAD_PIC_REG_STR.
45956
b1da7dd9
JM
459572012-02-03 Joseph Myers <joseph@codesourcery.com>
45958
45959 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45960 (SETUP_PIC_REG): Use GET_PC_THUNK.
45961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45962 macro.
45963
9a1d9254
JM
459642012-02-03 Joseph Myers <joseph@codesourcery.com>
45965
45966 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45967 for non-PIC compilation.
45968 (SETUP_PIC_REG): Add .p2align directive.
45969 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45970 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45971 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45972 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45995 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46010
65dc3b75
JM
460112012-02-03 Joseph Myers <joseph@codesourcery.com>
46012
46013 * math/tst-CMPLX.c: Include <stdio.h>.
46014
d55bf177
JM
460152012-01-31 Joseph Myers <joseph@codesourcery.com>
46016
46017 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46018 float.
46019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46020 * sysdeps/sparc/bits/mathdef.h: Likewise.
46021
69db4f8f
MP
460222012-01-31 Marek Polacek <polacek@redhat.com>
46023
46024 * libio/libio.h: Don't define _PARAMS.
46025 * locale/programs/config.h: Don't define PARAMS.
46026 * stdlib/strtol_l.c: Likewise.
46027 (__strtol_l): Remove PARAMS from the prototype.
46028
41b81892
UD
460292012-01-31 Ulrich Drepper <drepper@gmail.com>
46030
3b49edc0
UD
46031 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46032 names. Just use the correct names. Remove unnecessary wrapper
46033 functions.
46034 * malloc/arena.c: Likewise.
46035 * malloc/hooks.c: Likewise.
46036
41b81892
UD
46037 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46038 ARENA_TEST says not to. Simplify test for creation of a new arena.
46039 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46040
27a25b6e
UD
460412012-01-30 Ulrich Drepper <drepper@gmail.com>
46042
46043 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46044 into tail calls.
46045 (update_get_addr): New function.
46046 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46047 GET_ADDR_MODULE parameter.
46048
c8a89e7d
JM
460492012-01-30 Joseph Myers <joseph@codesourcery.com>
46050
46051 * crypt/cert.c: Remove __STDC__ conditionals.
46052 * crypt/crypt-entry.c: Likewise.
46053 * crypt/crypt_util.c: Likewise.
46054 * libio/filedoalloc.c: Likewise.
46055 * libio/fileops.c: Likewise.
46056 * libio/genops.c: Likewise.
46057 * libio/iofclose.c: Likewise.
46058 * libio/iofdopen.c: Likewise.
46059 * libio/iofopen.c: Likewise.
46060 * libio/iofopen64.c: Likewise.
46061 * libio/iogetdelim.c: Likewise.
46062 * libio/iopopen.c: Likewise.
46063 * libio/obprintf.c: Likewise.
46064 * libio/oldfileops.c: Likewise.
46065 * libio/oldiofclose.c: Likewise.
46066 * libio/oldiofdopen.c: Likewise.
46067 * libio/oldiofopen.c: Likewise.
46068 * libio/oldiopopen.c: Likewise.
46069 * libio/wfiledoalloc.c: Likewise.
46070 * libio/wgenops.c: Likewise.
46071 * locale/programs/xmalloc.c: Likewise.
46072 * misc/syslog.c: Likewise.
46073 * stdio-common/xbug.c: Likewise.
46074 * string/memchr.c: Likewise.
46075 * string/memcmp.c: Likewise.
46076 * string/memrchr.c: Likewise.
46077 * string/rawmemchr.c: Likewise.
46078 * sysdeps/posix/getcwd.c: Likewise.
46079 * time/strftime_l.c: Likewise.
46080
3b100462
JM
460812012-01-30 Joseph Myers <joseph@codesourcery.com>
46082
46083 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46084 * config.make.in (config-cflags-sse2avx): Define.
46085 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46086 Fix typo.
46087
607998af
CM
460882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46089
46090 * scripts/config.guess: Update from upstream config git repository.
46091 * scripts/config.sub: Likewise.
46092
3601428f
CM
460932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46094
3ac8b282
CM
46095 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46096 (EM_NUM): Update.
46097 (R_TILEPRO_*, R_TILEGX_*): New macros.
46098
e034841e
CM
46099 * scripts/firstversions.awk: Fix bug in version range handling.
46100
540d7568
CM
46101 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46102
3601428f
CM
46103 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46104
463de862
CM
46105 * include/sys/epoll.h: New file.
46106 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46107 libc_hidden_def.
46108
73139a76
UD
461092012-01-28 Ulrich Drepper <drepper@gmail.com>
46110
96bc5b45
UD
46111 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46112 Avoid unnecessary __WORDSIZE == 64 test.
46113 (fmaxf): Use VEX format if possible.
46114 (fmax): Likewise.
46115 (fminf): Likewise.
46116 (fmin): Likewise.
46117
56f6f6a2
UD
46118 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46119 * math/math_private.h: Remove libc_fegetround* and
46120 libc_fesetround*.
46121 * sysdeps/i386/configure.in: Check for -msse2avx.
46122 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46123 also if SSE2AVX is defined.
46124 Remove libc_fegetround* and libc_fesetround*.
46125 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46126 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46128 of HAS_YMM_USABLE.
46129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46134
73139a76
UD
46135 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46136
d73f93a4
AZ
461372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46138
46139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46140 size is not set.
46141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46142
6ee65ed6
UD
461432012-01-27 Ulrich Drepper <drepper@gmail.com>
46144
46145 [BZ #13618]
46146 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46147 relocation.
46148 * Makeconfig (libm): Define.
46149 * elf/Makefile: Add rules to build and run tst-relsort1.
46150 * elf/tst-relsort1.c: New file.
46151 * elf/tst-relsort1mod1.c: New file.
46152 * elf/tst-relsort1mod2.c: New file.
46153
8db21882
JM
461542012-01-27 Joseph Myers <joseph@codesourcery.com>
46155
46156 * math/s_ldexp.c: Remove __STDC__ conditionals.
46157 * math/s_ldexpf.c: Likewise.
46158 * math/s_ldexpl.c: Likewise.
46159 * math/s_nextafter.c: Likewise.
46160 * math/s_nexttowardf.c: Likewise.
46161 * math/s_significand.c: Likewise.
46162 * math/s_significandf.c: Likewise.
46163 * math/s_significandl.c: Likewise.
46164 * math/w_jnl.c: Likewise.
46165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46171 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46201 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46205 * sysdeps/ieee754/k_standard.c: Likewise.
46206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46215 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46225 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46242 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46256 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46273 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46285 * sysdeps/ieee754/s_matherr.c: Likewise.
46286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46290
965a54a4
JM
462912012-01-26 Joseph Myers <joseph@codesourcery.com>
46292
46293 * crypt/md5.h: Remove __STDC__ conditionals.
46294 * libio/libioP.h: Likewise.
46295 * locale/programs/config.h: Likewise.
46296 * sysdeps/generic/sysdep.h: Likewise.
46297 * sysdeps/i386/asm-syntax.h: Likewise.
46298 * sysdeps/s390/asm-syntax.h: Likewise.
46299 * sysdeps/unix/sysdep.h: Likewise.
46300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46302
7071ad79
JM
463032012-01-26 Joseph Myers <joseph@codesourcery.com>
46304
46305 * libio/libio.h: Remove __STDC__ conditionals.
46306 * malloc/obstack.h: Likewise.
46307 * math/complex.h: Likewise.
46308 * math/math.h: Likewise.
46309 * sysdeps/generic/_G_config.h: Likewise.
46310 * sysdeps/gnu/_G_config.h: Likewise.
46311 * sysdeps/mach/hurd/_G_config.h: Likewise.
46312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46313 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46314 * sysdeps/sparc/bits/mathdef.h: Likewise.
46315
afc5ed09
UD
463162012-01-26 Ulrich Drepper <drepper@gmail.com>
46317
46318 [BZ #13583]
46319 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46320 Clean up HAS_* macros.
afc5ed09 46321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46322 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46323 possible.
46324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46325 HAS_AVX.
46326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46331
bdb6de1d
JM
463322012-01-25 Joseph Myers <joseph@codesourcery.com>
46333
46334 * elf/tst-unique3.cc (gets): Remove declaration.
46335 * elf/tst-unique3lib.cc (gets): Likewise.
46336 * elf/tst-unique3lib2.cc (gets): Likewise.
46337 * elf/tst-unique4.cc (gets): Likewise.
46338
b15549e6
UD
463392012-01-24 Ulrich Drepper <drepper@gmail.com>
46340
46341 * include/stdio.h: Add C++ protection. Add gets declarations and
46342 definitions.
46343 * debug/tst-chk1.c: Don't declare gets here.
46344 * stdio-common/tst-gets.c: Likewise.
46345
a037381f
JM
463462012-01-24 Joseph Myers <joseph@codesourcery.com>
46347
46348 * posix/glob: Remove directory.
46349
f1d4aa75
JM
463502012-01-24 Joseph Myers <joseph@codesourcery.com>
46351
46352 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46353
81c0c964
PT
463542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46355
46356 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46357 of the non-standard EPFNOSUPPORT.
46358
0ea698ae
ST
463592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46360
46361 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46362 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46363 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46364
d220b117
UD
463652012-01-21 Ulrich Drepper <drepper@gmail.com>
46366
46367 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46368
3e1aa84e
UD
463692012-01-20 Ulrich Drepper <drepper@gmail.com>
46370
46371 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46372 transient errors.
46373 * nscd/grpcache.c (cache_addgr): Likewise.
46374 * nscd/hstcache.c (cache_addhst): Likewise.
46375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46376 * nscd/pwdcache.c (cache_addpw): Likewise.
46377 * nscd/servicescache.c (cache_addserv): Likewise.
46378
400aa020
UD
463792012-01-16 Ulrich Drepper <drepper@gmail.com>
46380
d77e7869
UD
46381 * malloc/malloc.c: Various cleanups.
46382 * malloc/hooks.c: Likewise.
46383
400aa020
UD
46384 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46385 * stdlib/bug-fmtmsg1.c: New file.
46386
46387 * stdlib/fmtmsg.c (init): Add missing unlock.
46388 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46389
e0a309cf
MP
463902012-01-12 Marek Polacek <polacek@redhat.com>
46391
46392 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46393 and _GNU_SOURCE.
46394
929d11c7
WS
463952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46396
46397 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46399 macro to ensure uniqueness of label name.
46400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46402
41d0e869
UD
464032012-01-11 Ulrich Drepper <drepper@gmail.com>
46404
0cc5ed3b
UD
46405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46406
41d0e869
UD
46407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46408 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46411
a47a831a
UD
464122012-01-10 Ulrich Drepper <drepper@gmail.com>
46413
daa891c0
UD
46414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46415
46416 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46419
e58ef0f2
UD
46420 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46421
a47a831a 46422 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46423 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46426
46427 * math/bits/math-finite.h: Add ldexp support.
46428
a0bfc9c7
MP
464292012-01-10 Marek Polacek <polacek@redhat.com>
46430
46431 * locale/programs/localedef.h (show_archive_content): Add noreturn
46432 attribute.
46433
d6e97a1d
UD
464342012-01-09 Ulrich Drepper <drepper@gmail.com>
46435
46436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46437
d5835c26
UD
464382012-01-08 Ulrich Drepper <drepper@gmail.com>
46439
e5f484c6
UD
46440 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46441
d5835c26
UD
46442 * io/Makefile (headers): Add bits/poll2.h.
46443
d1f741e9
WS
464442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46445
46446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46447 typo #include statement.
46448
ec09c1c4
UD
464492012-01-08 Ulrich Drepper <drepper@gmail.com>
46450
46451 * include/sys/cdefs.h: Define __attribute_alloc_size.
46452 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46453 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46454 * elf/pldd.c: Likewise.
46455 * iconv/iconv_charmap.c: Likewise.
46456 * iconv/iconvconfig.c: Likewise.
46457 * iconv/strtab.c: Likewise.
46458 * locale/programs/locale.c: Likewise.
46459 * locale/programs/localedef.h: Likewise.
46460 * locale/programs/simple-hash.c: Likewise.
46461 * nscd/nscd.h: Likewise.
46462 * nss/makedb.c: Likewise.
46463 * sysdeps/generic/ldconfig.h: Likewise.
46464 * locale/programs/localedef.c: Remove xmalloc prototype.
46465 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46466
20b38e03
PP
464672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46468
46469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46470 appropriate.
46471
a0da5fe1
UD
464722012-01-08 Ulrich Drepper <drepper@gmail.com>
46473
1d5a644a 46474 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46475 * math/tst-CMPLX.c: New file.
1d5a644a 46476
8784a6db
UD
46477 * math/complex.h (CMPLXL): Fix typo.
46478
d9a216c0
UD
46479 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46480 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46481 GLIBC_2.16.
46482 * debug/tst-chk1.c: Add poll and ppoll tests.
46483 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46484 * include/sys/poll.h: Add hidden proto for ppoll.
46485 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46486 * sysdeps/mach/hurd/ppoll.c: Likewise.
46487 * io/ppoll.c: Likewise.
46488 * debug/poll_chk.c: New file.
46489 * debug/ppoll_chk.c: New file.
46490 * include/bits/poll2.h: New file.
46491 * io/bits/poll2.h: New file.
46492
ac097f5c
UD
46493 [BZ #1350]
46494 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46495
2119dcfa
UD
46496 * configure.in: static is always set to yes. Remove.
46497 * config.make.in: Don't set build-static.
46498 * Makeconfig: Remove use of build-static.
46499 * dlfcn/Makefile: Likewise.
46500 * elf/Makefile: Likewise.
46501 * math/Makefile: Likewise.
46502 * misc/Makefile: Likewise.
46503 * nptl/Makefile: Likewise.
46504 * sysdeps/mach/hurd/Makefile: Likewise.
46505
121766a9
UD
46506 * configure.in: PWD_P is not used anymore.
46507 * config.make.in: Remove PWD_P entry.
46508
51a1d39c 46509 * configure.in: Remove last remnants of RANLIB.
8720d066 46510 No need to check for signed size_t anymore.
215f4bdc
UD
46511 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46512 and IA-64.
3857022a 46513 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46514 * aclocal.m4: Likewise.
46515
d3ed7225
UD
46516 * wcsmbs/mbrtoc16.c: Implement using towc function.
46517 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46518 * wcsmbs/wcsmbsload.c: Likewise.
46519 * iconv/gconv_simple.c: Likewise.
46520 * iconv/gconv_int.h: Likewise.
46521 * iconv/gconv_builtin.h: Likewise.
46522 * iconv/iconv_prog.c: Remove CHAR16 handling.
46523
46524 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46525
46526 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46527
a0da5fe1
UD
46528 * configure.in: Remove --with-elf and --enable-bounded options.
46529 Dont set base_machine for ia64. More non-ELF conditions removed.
46530 Remove testing and setting of leading underscore information.
46531 * config.make.in (build-bounded): Set to no.
46532 * config.h.in: Remove NO_UNDERSCORES entry.
46533 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46534 them.
46535 * csu/start.c: Remove !NO_UNDERSCORE code.
46536 * locale/localeinfo.h: Likewise.
46537 * sysdeps/generic/machine-gmon.h: Likewise.
46538 * sysdeps/generic/sysdep.h: Likewise.
46539 * sysdeps/i386/sysdep.h: Likewise.
46540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46541 * sysdeps/mach/sysdep.h: Likewise.
46542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46544 * sysdeps/sh/sysdep.h: Likewise.
46545 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46546 * sysdeps/unix/i386/sysdep.S: Likewise.
46547 * sysdeps/unix/sparc/start.c: Likewise.
46548 * sysdeps/unix/sparc/sysdep.S: Likewise.
46549 * sysdeps/unix/sparc/sysdep.h: Likewise.
46550 * sysdeps/unix/start.c: Likewise.
46551 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46552 * sysdeps/x86_64/sysdep.h: Likewise.
46553
df78418a
UD
465542012-01-07 Ulrich Drepper <drepper@gmail.com>
46555
a784e502
UD
46556 [BZ #13553]
46557 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46558 for non-gcc.
46559 * argp/argp-fmtstream.h: Use const instead __const.
46560 * argp/argp.h: Likewise.
46561 * assert/assert.h: Likewise.
46562 * bits/fenv.h: Likewise.
46563 * bits/sched.h: Likewise.
46564 * bits/sigset.h: Likewise.
46565 * bits/sigthread.h: Likewise.
46566 * catgets/nl_types.h: Likewise.
46567 * conform/data/pthread.h-data: Likewise.
46568 * crypt/crypt-private.h: Likewise.
46569 * crypt/crypt.h: Likewise.
46570 * crypt/crypt_util.c: Likewise.
46571 * ctype/ctype.h: Likewise.
46572 * debug/execinfo.h: Likewise.
46573 * debug/mbsnrtowcs_chk.c: Likewise.
46574 * debug/mbsrtowcs_chk.c: Likewise.
46575 * debug/wcsnrtombs_chk.c: Likewise.
46576 * debug/wcsrtombs_chk.c: Likewise.
46577 * debug/wcstombs_chk.c: Likewise.
46578 * dirent/dirent.h: Likewise.
46579 * dlfcn/dlfcn.h: Likewise.
46580 * elf/neededtest4.c: Likewise.
46581 * grp/grp.h: Likewise.
46582 * gshadow/gshadow.h: Likewise.
46583 * iconv/gconv.h: Likewise.
46584 * iconv/gconv_int.h: Likewise.
46585 * iconv/gconv_simple.c: Likewise.
46586 * iconv/iconv.h: Likewise.
46587 * iconv/loop.c: Likewise.
46588 * iconv/skeleton.c: Likewise.
46589 * include/aio.h: Likewise.
46590 * include/aliases.h: Likewise.
46591 * include/argz.h: Likewise.
46592 * include/arpa/inet.h: Likewise.
46593 * include/assert.h: Likewise.
46594 * include/dirent.h: Likewise.
46595 * include/dlfcn.h: Likewise.
46596 * include/execinfo.h: Likewise.
46597 * include/fcntl.h: Likewise.
46598 * include/fenv.h: Likewise.
46599 * include/glob.h: Likewise.
46600 * include/grp.h: Likewise.
46601 * include/libintl.h: Likewise.
46602 * include/mntent.h: Likewise.
46603 * include/netdb.h: Likewise.
46604 * include/pwd.h: Likewise.
46605 * include/rpc/netdb.h: Likewise.
46606 * include/sched.h: Likewise.
46607 * include/search.h: Likewise.
46608 * include/shadow.h: Likewise.
46609 * include/signal.h: Likewise.
46610 * include/stdio.h: Likewise.
46611 * include/stdlib.h: Likewise.
46612 * include/string.h: Likewise.
46613 * include/sys/socket.h: Likewise.
46614 * include/sys/stat.h: Likewise.
46615 * include/sys/statfs.h: Likewise.
46616 * include/sys/statvfs.h: Likewise.
46617 * include/sys/syslog.h: Likewise.
46618 * include/sys/time.h: Likewise.
46619 * include/sys/uio.h: Likewise.
46620 * include/time.h: Likewise.
46621 * include/unistd.h: Likewise.
46622 * include/utmp.h: Likewise.
46623 * include/wchar.h: Likewise.
46624 * include/wctype.h: Likewise.
46625 * inet/aliases.h: Likewise.
46626 * inet/arpa/inet.h: Likewise.
46627 * inet/netinet/ether.h: Likewise.
46628 * inet/netinet/in.h: Likewise.
46629 * intl/libintl.h: Likewise.
46630 * io/bits/fcntl2.h: Likewise.
46631 * io/fcntl.h: Likewise.
46632 * io/ftw.h: Likewise.
46633 * io/sys/poll.h: Likewise.
46634 * io/sys/stat.h: Likewise.
46635 * io/sys/statfs.h: Likewise.
46636 * io/sys/statvfs.h: Likewise.
46637 * io/utime.h: Likewise.
46638 * libio/bits/stdio.h: Likewise.
46639 * libio/bits/stdio2.h: Likewise.
46640 * libio/libio.h: Likewise.
46641 * libio/libioP.h: Likewise.
46642 * libio/stdio.h: Likewise.
46643 * locale/lc-ctype.c: Likewise.
46644 * locale/locale.h: Likewise.
46645 * login/utmp.h: Likewise.
46646 * malloc/arena.c: Likewise.
46647 * malloc/malloc.c: Likewise.
46648 * malloc/malloc.h: Likewise.
46649 * malloc/mcheck.c: Likewise.
46650 * malloc/mtrace.c: Likewise.
46651 * math/bits/mathcalls.h: Likewise.
46652 * math/fenv.h: Likewise.
46653 * math/math_private.h: Likewise.
46654 * misc/bits/error.h: Likewise.
46655 * misc/bits/syslog.h: Likewise.
46656 * misc/err.h: Likewise.
46657 * misc/error.h: Likewise.
46658 * misc/fstab.h: Likewise.
46659 * misc/mntent.h: Likewise.
46660 * misc/regexp.h: Likewise.
46661 * misc/search.h: Likewise.
46662 * misc/sgtty.h: Likewise.
46663 * misc/sys/mman.h: Likewise.
46664 * misc/sys/syslog.h: Likewise.
46665 * misc/sys/uio.h: Likewise.
46666 * misc/sys/xattr.h: Likewise.
46667 * misc/ttyent.h: Likewise.
46668 * nis/rpcsvc/ypclnt.h: Likewise.
46669 * nss/nss.h: Likewise.
46670 * posix/bits/unistd.h: Likewise.
46671 * posix/fnmatch.h: Likewise.
46672 * posix/glob.h: Likewise.
46673 * posix/sched.h: Likewise.
46674 * posix/spawn.h: Likewise.
46675 * posix/sys/wait.h: Likewise.
46676 * posix/unistd.h: Likewise.
46677 * posix/wordexp.h: Likewise.
46678 * pwd/pwd.h: Likewise.
46679 * resolv/netdb.h: Likewise.
46680 * resource/sys/resource.h: Likewise.
46681 * rt/aio.h: Likewise.
46682 * rt/bits/mqueue2.h: Likewise.
46683 * rt/mqueue.h: Likewise.
46684 * shadow/shadow.h: Likewise.
46685 * signal/signal.h: Likewise.
46686 * socket/send.c: Likewise.
46687 * socket/sendto.c: Likewise.
46688 * socket/sys/socket.h: Likewise.
46689 * stdio-common/printf.h: Likewise.
46690 * stdlib/bits/stdlib.h: Likewise.
46691 * stdlib/fmtmsg.h: Likewise.
46692 * stdlib/monetary.h: Likewise.
46693 * stdlib/stdlib.h: Likewise.
46694 * stdlib/ucontext.h: Likewise.
46695 * streams/stropts.h: Likewise.
46696 * string/argz.h: Likewise.
46697 * string/bits/string2.h: Likewise.
46698 * string/string.h: Likewise.
46699 * string/strings.h: Likewise.
46700 * sunrpc/rpc/auth.h: Likewise.
46701 * sunrpc/rpc/auth_des.h: Likewise.
46702 * sunrpc/rpc/clnt.h: Likewise.
46703 * sunrpc/rpc/netdb.h: Likewise.
46704 * sunrpc/rpc/pmap_clnt.h: Likewise.
46705 * sunrpc/rpc/xdr.h: Likewise.
46706 * sysdeps/generic/inttypes.h: Likewise.
46707 * sysdeps/generic/net/if.h: Likewise.
46708 * sysdeps/generic/sys/swap.h: Likewise.
46709 * sysdeps/gnu/net/if.h: Likewise.
46710 * sysdeps/gnu/utmpx.h: Likewise.
46711 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46712 * sysdeps/i386/i486/bits/string.h: Likewise.
46713 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46714 * sysdeps/s390/bits/string.h: Likewise.
46715 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46716 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46717 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46718 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46720 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46721 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46722 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46723 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46724 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46725 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46726 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46727 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46730 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46731 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46737 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46738 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46739 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46740 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46743 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46745 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46746 * sysvipc/sys/ipc.h: Likewise.
46747 * sysvipc/sys/msg.h: Likewise.
46748 * sysvipc/sys/sem.h: Likewise.
46749 * sysvipc/sys/shm.h: Likewise.
46750 * termios/termios.h: Likewise.
46751 * time/sys/time.h: Likewise.
46752 * time/time.h: Likewise.
46753 * wcsmbs/bits/wchar2.h: Likewise.
46754 * wcsmbs/uchar.h: Likewise.
46755 * wcsmbs/wchar.h: Likewise.
46756 * wctype/wctype.h: Likewise.
46757
0269750c
UD
46758 [BZ #13551]
46759 * Makeconfig: Remove all but ELF support including AIX support.
46760 * Makerules: Likewise.
46761 * config.h.in: Likewise.
46762 * config.make.in: Likewise.
46763 * configure: Likewise.
46764 * configure.in: Likewise.
46765 * csu/Makefile: Likewise.
46766 * csu/version.c: Likewise.
46767 * debug/Makefile: Likewise.
46768 * dlfcn/Makefile: Likewise.
46769 * elf/Makefile: Likewise.
46770 * extra-lib.mk: Likewise.
46771 * iconv/Makefile: Likewise.
46772 * include/libc-symbols.h: Likewise.
46773 * include/shlib-compat.h: Likewise.
46774 * resolv/Makefile: Likewise.
46775 * resolv/res_libc.c: Likewise.
46776 * rt/Makefile: Likewise.
46777 * sysdeps/i386/asm-syntax.h: Likewise.
46778 * sysdeps/i386/sysdep.h: Likewise.
46779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46780 * sysdeps/mach/sysdep.h: Likewise.
46781 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46782 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46783 * sysdeps/s390/asm-syntax.h: Likewise.
46784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46786 * sysdeps/sh/sysdep.h: Likewise.
46787 * sysdeps/unix/sparc/sysdep.h: Likewise.
46788 * sysdeps/wordsize-32/divdi3.c: Likewise.
46789 * sysdeps/x86_64/sysdep.h: Likewise.
46790
00bbd29b
UD
46791 * argp/Versions: Remove _argp_unlock_xxx.
46792
46793 [BZ #13559]
46794 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46795 * abilist/libBrokenLocale.abilist: Likewise.
46796 * abilist/libanl.abilist: Likewise.
46797 * abilist/libc.abilist: Likewise.
46798 * abilist/libcrypt.abilist: Likewise.
46799 * abilist/libdl.abilist: Likewise.
46800 * abilist/libm.abilist: Likewise.
46801 * abilist/libnsl.abilist: Likewise.
46802 * abilist/libpthread.abilist: Likewise.
46803 * abilist/libresolv.abilist: Likewise.
46804 * abilist/librt.abilist: Likewise.
46805 * abilist/libthread_db.abilist: Likewise.
46806 * abilist/libutil.abilist: Likewise.
46807 * abilist/libnss_db.abilist: New file.
46808
46809 * scripts/abilist.awk: Add support for indirect functions.
46810
a2693a0e
UD
46811 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46812
3f05895f
UD
46813 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46814
ecb6fb48
UD
46815 * shlib-versions: Remove entries for ports architectures.
46816
664f8cb9
UD
46817 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46818 files in ports.
46819 * elf/stackguard-macros.h: Remove support for IA-64.
46820 * elf/tst-auditmod1.c: Likewise.
46821 * sysdeps/generic/ldsodefs.h: Likewise.
46822
7ae81d88
UD
46823 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46824 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46825 configure files.
46826
bdeba135
UD
46827 [BZ #13552]
46828 * configure.in: Remove --enable-omitfp support.
46829 * FAQ.in: Adjust.
46830 * config.make.in: Likewise.
46831 * Makeconfig: Likewise.
46832 * manual/install.texi: Likewise.
46833
d75a0a62
UD
46834 In case anyone cares, the IA-64 architecture could move to ports.
46835 * sysdeps/ia64/*: Removed.
46836 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 46837 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 46838
dcc9756b
UD
46839 [BZ #13555]
46840 * configure.in: Remove entries for unsupported architectures.
46841
d3761ebc 46842 [BZ #13533]
9954432e
UD
46843 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46844 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46845 routines.
46846 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46847 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46848 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46849 fall back to using wcrtomb.
46850 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46851 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46852 renaming.
46853 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46854 * wcsmbs/tst-c16c32-1.c: New file.
46855
46856 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46857 local variable.
46858
c3a87236
UD
46859 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46860
28926a1b
UD
46861 * elf/tst-unique3.cc: Add explicit declaration of gets.
46862 * elf/tst-unique3lib.cc: Likewise.
46863 * elf/tst-unique3lib2.cc: Likewise.
46864 * elf/tst-unique4.cc: Likewise.
46865
df78418a
UD
46866 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46867
8ecd6b2a
JM
468682012-01-06 Joseph Myers <joseph@codesourcery.com>
46869
46870 [BZ #13566]
46871 * assert/assert.h (static_assert): Don't define for C++.
46872 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46873 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46874
9f115170
UD
468752012-01-03 Ulrich Drepper <drepper@gmail.com>
46876
5e0d0300
UD
46877 * iconv/loop.c (single loop): Fix assertion in storing of
46878 remaining bytes.
46879
9f115170
UD
46880 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46881
81fb02b0
UD
468822012-01-01 Ulrich Drepper <drepper@gmail.com>
46883
46884 * posix/getconf.c: Update copyright year.
46885 * nss/getent.c: Likewise.
a316c1f6 46886 * nss/makedb.c: Likewise.
81fb02b0
UD
46887 * iconv/iconvconfig.c: Likewise.
46888 * iconv/iconv_prog.c: Likewise.
46889 * elf/ldconfig.c: Likewise.
a316c1f6
UD
46890 * elf/pldd.c: Likewise.
46891 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
46892 * catgets/gencat.c: Likewise.
46893 * csu/version.c: Likewise.
46894 * elf/ldd.bash.in: Likewise.
46895 * elf/sprof.c (print_version): Likewise.
46896 * locale/programs/locale.c: Likewise.
46897 * locale/programs/localedef.c: Likewise.
a316c1f6 46898 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
46899 * nscd/nscd.c (print_version): Likewise.
46900 * debug/xtrace.sh: Likewise.
46901 * malloc/memusage.sh: Likewise.
46902 * malloc/mtrace.pl: Likewise.
46903 * debug/catchsegv.sh: Likewise.
46904
2ba92745
JJ
469052011-12-30 Jakub Jelinek <jakub@redhat.com>
46906
46907 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46908 pure attribute.
46909
dadebdae
UD
469102011-12-24 Ulrich Drepper <drepper@gmail.com>
46911
d3761ebc 46912 [BZ #13533]
db6af3eb
UD
46913 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46914 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46915 transformations.
46916 * iconv/gconv_int.h: Likewise.
46917 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46918 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46919 from libc for GLIBC_2.16.
46920 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46921 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46922 * wcsmbs/uchar.h: Really define mbstate_t.
46923 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46924 * wcsmbs/c16rtomb.c: New file.
46925 * wcsmbs/mbrtoc16.c: New file.
46926 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46927 for C/POSIX locale.
46928 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46929 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46930
dadebdae
UD
46931 * wcsmbs/wchar.h: Add missing __restrict.
46932
67371b56
UD
469332011-12-23 Ulrich Drepper <drepper@gmail.com>
46934
74033a25
UD
46935 [BZ #13532]
46936 * time/Makefile (routines): Add timespec_get.
46937 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46938 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46939 timespec for ISO C11.
46940 * time/timespec_get.c: New file.
46941 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46942 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46943
380d7e87
UD
46944 [BZ #13531]
46945 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46946 * stdlib/stdlib.h: Declare aligned_alloc.
46947 * Versions.def: Add GLIBC_2.16 for libc.
46948 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46949
4e9e7a35
UD
46950 [BZ 13527]
46951 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46952 ISO C11.
46953
380d7e87 46954 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
46955 code.
46956
03a71829
UD
46957 [BZ #13528]
46958 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46959
839e283e
UD
46960 [BZ #13529]
46961 * assert/assert.h (static_assert): Define.
46962
ce5294e2 46963 * version.h: Update for 2.16 development version.
90fa7312 46964
8d44e150 46965 [BZ #13526]
d7809905
UD
46966 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46967 _ISOC11_SOURCE.
46968
c0da14cd
UD
46969 * version.h (RELEASE): Bump for 2.15 release.
46970 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46971
530a3249
MP
46972 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46973 Patch by Marek Polacek <mpolacek@redhat.com>.
46974
67371b56
UD
46975 * bits/byteswap.h: Protect long long constants with __extension__.
46976 * sysdeps/i386/bits/byteswap.h: Likewise.
46977 * sysdeps/ia64/bits/byteswap.h: Likewise.
46978 * sysdeps/s390/bits/byteswap.h: Likewise.
46979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46980
15db4de1
LD
469812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46982
46983 [BZ #13540]
bbe315ea
LD
46984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46985 destination buffer.
15db4de1
LD
46986 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46987
2b2596b1
MP
469882011-12-23 Marek Polacek <polacek@redhat.com>
46989
46990 * elf/dl-addr.c (determine_info): Add inline keyword.
46991 * elf/tst-auditmod4b.c (check_avx): Likewise.
46992 * elf/tst-auditmod6b.c (check_avx): Likewise.
46993 * elf/tst-auditmod6c.c (check_avx): Likewise.
46994 * elf/tst-auditmod7b.c (check_avx): Likewise.
46995
70c6c246
UD
469962011-12-23 Ulrich Drepper <drepper@gmail.com>
46997
46998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46999 !__SSE_MATH__.
47000
c044cf14
LD
470012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47002
15db4de1 47003 [BZ #13540]
c044cf14
LD
47004 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47005 processing for last bytes.
47006
6b13d9d9
BH
470072011-08-06 Bruno Haible <bruno@clisp.org>
47008
d455f537
BH
47009 [BZ #13061]
47010 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47011 U+0385, not to U+1FEE.
47012
6b13d9d9
BH
47013 [BZ #13062]
47014 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47015 entry for U+00A5 U+0301.
47016
db910efd
UD
470172011-12-22 Ulrich Drepper <drepper@gmail.com>
47018
27deeafc
UD
47019 [BZ #13166]
47020 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47021 buffer for the output is too small.
47022
aed9d171
UD
47023 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47024 optimization.
47025
db910efd
UD
47026 [BZ #13185]
47027 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47028 SSE flags if possible.
47029
2bd779ae
LD
470302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47031
e7f9dac3 47032 [BZ #13540]
2bd779ae
LD
47033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47034 processing for last bytes.
47035
154bfc16
JM
470362011-12-22 Joseph Myers <joseph@codesourcery.com>
47037
47038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47039 (syscall-list-default-options, syscall-list-default-condition)
47040 (syscall-list-includes): Define.
47041 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47042 list of ABIs and options and #if conditions for each ABI. Do not
47043 handle common syscalls between ABIs specially.
47044 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47045 Remove.
47046 (syscall-list-variants, syscall-list-32bit-options)
47047 (syscall-list-32bit-condition, syscall-list-64bit-options)
47048 (syscall-list-64bit-condition): Define.
47049 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47050 (syscall-list-variants, syscall-list-32bit-options)
47051 (syscall-list-32bit-condition, syscall-list-64bit-options)
47052 (syscall-list-64bit-condition): Define.
47053 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47054 Remove.
47055 (syscall-list-variants, syscall-list-32bit-options)
47056 (syscall-list-32bit-condition, syscall-list-64bit-options)
47057 (syscall-list-64bit-condition): Define.
47058 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47059 Remove.
47060 (syscall-list-variants, syscall-list-32bit-options)
47061 (syscall-list-32bit-condition, syscall-list-64bit-options)
47062 (syscall-list-64bit-condition): Define.
47063
21eaf3a5
UD
470642011-12-22 Ulrich Drepper <drepper@gmail.com>
47065
16c6f992
UD
47066 * locale/iso-639.def: Add brx entry.
47067
41043168
UD
47068 [BZ #13328]
47069 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47070 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47071
21eaf3a5
UD
47072 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47073 __feraiseexcept_renamed.
47074
e3a851a2
UD
470752011-12-21 Ulrich Drepper <drepper@gmail.com>
47076
4920765e
UD
47077 [BZ #13538]
47078 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47079 EPOLLET with unsigned values.
47080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47082
e3a851a2
UD
47083 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47084 to large cancellation.
47085 * math/s_cacoshf.c: Likewise.
47086 * math/s_cacoshl.c: Likewise.
47087
b27e24b8
RK
470882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47089
47090 [BZ #13305]
aebefeee 47091 [BZ #12786]
b27e24b8
RK
47092 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47093 * math/s_cacoshf.c: Likewise.
47094 * math/s_cacoshl.c: Likewise.
47095
ee190f67
UD
470962011-12-21 Ulrich Drepper <drepper@gmail.com>
47097
47098 [BZ #13439]
47099 * iconv/gconv.h: Define __GCONV_SWAP.
47100 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47101 * iconvdata/utf-16.c: Likewise.
47102 * iconvdata/utf-32.c: Likewise.
47103
707f25df
AS
471042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47105
47106 [BZ #13524]
47107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47108 numerator after shifting it by one limb.
47109
d2daaa1e
RÁE
471102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47111
47112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47113 under [__USE_EXTERN_INLINES].
47114
a4647e72
UD
471152011-12-17 Ulrich Drepper <drepper@gmail.com>
47116
47117 [BZ #13446]
47118 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47119
f0b264f1
AZ
471202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47121
47122 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47123 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47124 optimized code.
47125 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47127 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47128 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47129 for strncasecmp/strncasecmp_l compilation.
47130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47131 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47132
8ef4f244
MP
471332011-12-08 Marek Polacek <mpolacek@redhat.com>
47134
47135 [BZ #13484]
47136 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47137 of __asm__.
47138
97ac2654
UD
471392011-12-17 Ulrich Drepper <drepper@gmail.com>
47140
47141 [BZ #13506]
47142 * time/tzfile.c (__tzfile_read): Check values from file header.
47143
91d2a845
WS
471442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47145
47146 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47147 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47148 * powerpc/powerpc32/dl-start.S: Likewise.
47149 * powerpc/powerpc32/elf/start.S: Likewise.
47150 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47151 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47152 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47153 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47154 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47155 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47156 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47157 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47158 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47159 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47160 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47161 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47162 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47163 * powerpc/powerpc32/memset.S: Likewise.
47164 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47165 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47166 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47167 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47168 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47169 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47170 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47171 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47172 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47173 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47177
a1267ba1
AZ
471782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47179
47180 * math/libm-test.inc: Added more nearbyint tests.
47181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47185
ad8ac1bd
RL
471862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47187
47188 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47189 FD_CLOEXEC.
47190
1d3e4b61
UD
471912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47192
47193 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47194 Add wcscpy-ssse3 wcscpy-c.
47195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47196 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47197 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47198 * sysdeps/x86_64/wcschr.S: New file.
47199 * sysdeps/x86_64/wcsrchr.S: New file.
47200 * string/test-strcmp.c: Remove checking of wcscmp function for
47201 wrong alignments.
47202 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47203 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47204 wcsrchr-sse2 wcsrchr-c.
47205 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47206 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47207 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47208 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47209 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47210 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47211 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47212 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47214 * wcsmbc/wcschr.c (WCSCHR): New macro.
47215
5b330a2d
UD
472162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47217
47218 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47219 * wcsmbs/test-wcsrchr.c: New file.
47220 * string/test-strrchr.c: Add wcsrchr support.
47221 (WIDE): New macro.
47222 * wcsmbs/test-wcscpy.c: New file.
47223 * string/test-strcpy.c: Add wcscpy support.
47224 (WIDE): New macro.
26428b7c 47225
f039c043
UD
472262011-12-10 Ulrich Drepper <drepper@gmail.com>
47227
47228 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47229 the inner loop.
47230
850fb039
AS
472312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47232
47233 [BZ #13472]
47234 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47235
4efbd5cb
UD
472362011-12-04 Ulrich Drepper <drepper@gmail.com>
47237
52ff5dd0 47238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47239 Minor optimizations.
52ff5dd0 47240
4efbd5cb
UD
47241 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47242 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47243 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47244
8a426e12
UD
472452011-12-03 Ulrich Drepper <drepper@gmail.com>
47246
aff2453d
UD
47247 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47248 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47249 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47250 for gcc to avoid warnings.
47251 * inet/Makefile (tests): Add tst-checks.
47252 * inet/tst-checks.c: New file.
47253
47254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47255 warning.
47256
47257 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47258 __wmemcmp_sse2.
47259
47260 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47261 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47262
8a426e12
UD
47263 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47264
9bea3473
UD
472652011-12-02 Ulrich Drepper <drepper@gmail.com>
47266
3a965496
UD
47267 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47268 problem.
47269
9bea3473
UD
47270 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47271
f101631b
UD
472722011-11-29 Joseph Myers <joseph@codesourcery.com>
47273
47274 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47275 conditional on GCC version.
47276 (__arch_compare_and_exchange_val_8_acq)
47277 (__arch_compare_and_exchange_val_16_acq)
47278 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47279 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47280 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47281
a98275aa
UD
472822011-12-02 Joseph Myers <joseph@codesourcery.com>
47283
47284 * sysdeps/sh/backtrace.c: New file.
47285
d4cc29a2
AS
472862011-12-02 Andreas Schwab <schwab@redhat.com>
47287
47288 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47289 parenthesis.
47290
6257af2d
AS
472912011-12-01 Andreas Schwab <schwab@redhat.com>
47292
47293 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47294 falling back to utime.
47295
b5f44c1a
AS
472962011-11-30 Andreas Schwab <schwab@redhat.com>
47297
47298 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47299 expectations for float.
47300
f3a6cc0a
AS
473012011-11-29 Andreas Schwab <schwab@redhat.com>
47302
47303 * locale/weight.h (findidx): Add parameter len.
47304 * locale/weightwc.h (findidx): Likewise.
47305 * posix/fnmatch_loop.c (FCT): Adjust caller.
47306 * posix/regcomp.c (build_equiv_class): Likewise.
47307 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47308 * posix/regexec.c (check_node_accept_bytes): Likewise.
47309 * string/strcoll_l.c (STRCOLL): Likewise.
47310 * string/strxfrm_l.c (STRXFRM): Likewise.
47311
9d65ea3a
UD
473122011-11-17 Ulrich Drepper <drepper@gmail.com>
47313
47314 * Makefile.in: Remove CVSOPT handling.
47315 * configure.in: Remove use of AC_REVISION.
47316 * iconvdata/Makefile (distribute): No need to filter out CVS.
47317 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47318 handling.
47319
5583a086
AS
473202011-11-16 Andreas Schwab <schwab@redhat.com>
47321
47322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47323 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47324 [USE_AS_STRNCASECMP_L]: Likewise.
47325 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47326 NO_TLS_DIRECT_SEG_REFS.
47327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47328 Fix argument offsets for non-PIC.
47329 [USE_AS_STRNCASECMP_L]: Likewise.
47330 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47331 NO_TLS_DIRECT_SEG_REFS.
47332
d62a8200
UD
473332011-11-15 Ulrich Drepper <drepper@gmail.com>
47334
9d65ea3a 47335 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47336 O_CLOEXEC.
47337 * locale/loadlocale.c (_nl_load_locale): Likewise.
47338
09f93bd3
AS
473392011-11-15 Andreas Schwab <schwab@redhat.com>
47340
446514f9
AS
47341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47342 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47344 (SYSCALL_GETTIME): Set errno on error.
47345
09f93bd3
AS
47346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47347 count references to noai6ai_cached.
47348
312be3f9
UD
473492011-11-15 Ulrich Drepper <drepper@gmail.com>
47350
47351 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47352
47353 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47354 FD_CLOEXEC for /proc/self/maps.
47355
47356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47357 FD_CLOEXEC for /proc/meminfo.
47358
47359 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47360 gai.conf.
47361
47362 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47363 FD_CLOEXEC for given file.
47364
47365 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47366
47367 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47368 FD_CLOEXEC for /etc/hosts.
47369 (_gethtent): Likewise.
47370
47371 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47372
47373 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47374 cancellation and set FD_CLOEXEC for /etc/netgroup.
47375
47376 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47377 reading /etc/publickey.
47378
47379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47380 allow cancellation when reading /etc/group.
47381
47382 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47383 cancellation.
47384 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47385
47386 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47387 when using data file.
47388
47389 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47390
47391 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47392 (write_nis_obj): Use "c" and "e" in fopen.
47393
47394 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47395
47396 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47397
47398 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47399
47400 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47401
47402 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47403 locale.alias.
47404
47405 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47406
47407 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47408
47409 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47410
47411 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47412 file parsing and set FD_CLOEXEC.
47413
82af0fa8
UD
474142011-11-14 Ulrich Drepper <drepper@gmail.com>
47415
47416 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47417
a5fb313c
AS
474182011-11-14 Andreas Schwab <schwab@redhat.com>
47419
47420 * malloc/arena.c (arena_get2): Don't call reused_arena when
47421 _int_new_arena failed.
47422
6abf3465
UD
474232011-11-14 Ulrich Drepper <drepper@gmail.com>
47424
47425 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47426 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47431 to compile strcasecmp and strncasecmp.
47432 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47433 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47434
47435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47436
76e3966e
UD
474372011-11-13 Ulrich Drepper <drepper@gmail.com>
47438
47439 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47440 locale-defines.sym to gen-as-const-headers.
47441 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47442 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47444 to compile strcasecmp and strncasecmp.
47445 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47446 strcasecmp_l and strncasecmp_l.
47447 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47448 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47449 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47451 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47453 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47454 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47455 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47456 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47457 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47458
ab26144e
UD
474592011-11-12 Ulrich Drepper <drepper@gmail.com>
47460
7edb22ef
UD
47461 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47462 result of SYSDEP_GETTIME_CPU to retval.
47463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47464 parameter list to macro. Remove trailing semicolon. Adjust users.
47465
9694fc44
UD
47466 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47467 variable.
47468
8ad89ef8
UD
47469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47470 mantissa words.
47471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47472
0c822ef9
UD
47473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47474 from unused variable.
47475
874e0564
UD
47476 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47477 DWARF definitions.
47478 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47479 for assembling.
47480
3a2edc79
UD
47481 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47482 over namespaces.
47483
f3c2577f
UD
47484 * sunrpc/rpc_prot.c (rejected): Fix case value.
47485
294ce126
UD
47486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47487 unsigned long long int to avoid warnings in shift.
47488
5e2b63c6
UD
47489 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47490 of use of trans.
47491 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47492 variable tmp.
47493
e7f4b08e
UD
47494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47495 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47497
ab26144e
UD
47498 * nis/nis_table.c (nis_list): Use variable of correct type for
47499 result of __follow_path call.
47500
8a6d5255
AZ
475012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47502
47503 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47504 of math functions ceil, trunc, floor, round, and sqrt, when
47505 avaliable on the platform.
47506 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47507 name clash.
47508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47511
aaddc98c
MP
475122011-10-30 Marek Polacek <mpolacek@redhat.com>
47513
47514 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47516
95b7042b
RM
475172011-11-11 Roland McGrath <roland@hack.frob.com>
47518
47519 * include/unistd.h: Fix __readlink return type.
47520 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47521
57769839
UD
475222011-11-11 Ulrich Drepper <drepper@gmail.com>
47523
47524 * stdlib/ucontext.h: Undo last change for makecontext.
47525
edc5984d
AS
475262011-11-11 Andreas Schwab <schwab@redhat.com>
47527
98591e58
AS
47528 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47529
edc5984d
AS
47530 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47531 * setjmp/setjmp.h: Mark functions as non-leaf.
47532 * setjmp/bits/setjmp2.h: Likewise.
47533 * stdlib/ucontext.h: Likewise.
47534
77cdc054
AS
475352011-11-10 Andreas Schwab <schwab@redhat.com>
47536
47537 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47538 (reused_arena): Don't check arena limit.
47539 (arena_get2): Atomically check arena limit.
47540
fe72eebd
UD
475412011-11-08 Ulrich Drepper <drepper@gmail.com>
47542
5f078c32
UD
47543 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47544 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47545
fe72eebd
UD
47546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47547 instructions.
47548
ae1bc2fa
AS
475492011-11-07 Andreas Schwab <schwab@redhat.com>
47550
7583a88d
AS
47551 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47552 handler when locking.
47553
ae1bc2fa
AS
47554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47555 Fix size of allocated buffer.
47556
10fb0bfa
AS
475572011-11-04 Andreas Schwab <schwab@redhat.com>
47558
998832a4
AS
47559 [BZ #10103]
47560 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47561 declarations for long double functions.
47562 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47563
10fb0bfa
AS
47564 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47565
3d7ba52b
AS
475662011-11-03 Andreas Schwab <schwab@redhat.com>
47567
a9ae54a1
AS
47568 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47569 installed.
47570
3d7ba52b
AS
47571 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47572 is disabled.
47573
bc8db248
ST
475742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47575
47576 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47577
45b96dd6
AS
475782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47579
647776f6
AS
47580 * include/alloca.h (stackinfo_alloca_round): Define.
47581 (extend_alloca): Use it.
47582 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47583 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47584 here.
47585
d91a8b93
AS
47586 * scripts/check-local-headers.sh: Ignore libaudit.h.
47587
45b96dd6
AS
47588 * nscd/Makefile (extra-objs): Make recursively expanded.
47589
432d41ce
UD
475902011-11-01 Ulrich Drepper <drepper@gmail.com>
47591
34372fc6
UD
47592 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47594
fadb59f8
UD
47595 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47596 * posix/tst-rfc3484-2.c: Likewise.
47597 * posix/tst-rfc3484-3.c: Likewise.
47598
78239589
UD
47599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47600 process_vm_writev.
47601 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47602 process_vm_writev.
47603 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47604 process_vm_writev from libc using GLIBC_2.15 version.
47605
432d41ce
UD
47606 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47607
02f9c6cf
PP
476082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47609
47610 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47611 stack usage.
47612
3a2c0242
UD
476132011-10-31 Ulrich Drepper <drepper@gmail.com>
47614
f4ec4833
UD
47615 [BZ #13367]
47616 * nss/getent.c (initgroups_keys): Show error message in case no group
47617 names are given.
47618
3a2c0242
UD
47619 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47620 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47621 __bump_nl_timestamp.
47622 * nscd/connections (nscd_init): When host database is served open
47623 netlink socket and request notification about configuration changes.
47624 (main_loop_poll): Track netlink file descriptor and bump timestamp
47625 in case data becomes available.
47626 (main_loop_epoll): Likewise.
47627 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47628 (database_pers_head): Add extra_data fileds.
47629 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47630 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47631 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47632 Adjust caller.
47633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47634 in6ai data, call __free_in6ai.
47635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47636 Add -DHAVE_NETLINK.
47637 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47638 interface information. Reuse previous data if netlink timestamp
47639 is not changed.
47640 (__bump_nl_timestamp): New function.
47641 (__free_in6ai): New function.
47642
636064eb
UD
476432011-10-30 Ulrich Drepper <drepper@gmail.com>
47644
47645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47646 close_not_cancel_no_status here.
47647 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47648
9beb2334
UD
476492011-10-29 Ulrich Drepper <drepper@gmail.com>
47650
6ef76f3b
UD
47651 [BZ #13276]
47652 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47653 return value.
47654
0ffc4f3e 47655 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47656 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47657 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47658
cb95113e
UD
476592011-07-03 Andreas Jaeger <aj@suse.de>
47660
47661 [BZ #10709]
47662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47663 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47664 * math/libm-test.inc (sin_test): Add test case.
47665
a1b560ff
UD
476662011-10-29 Ulrich Drepper <drepper@gmail.com>
47667
c9aaface
UD
47668 [BZ #13337]
47669 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47671
d272e7f1
UD
47672 * elf/chroot_canon.c (chroot_canon): Cleanups.
47673
1bc33071
UD
47674 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47675
1760874d
TJ
47676 [BZ #13335]
47677 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47679
51d91b18
UD
47680 * string/test-strchr.c: Make usable for strchrnul testing.
47681 * string/test-strchrnul.c: New file.
47682 * string/Makefile (strop-tests): Add strchrnul.
47683
a1b560ff 47684 * po/it.po: Update from translation team.
b611fb81 47685 * po/es.po: Likewise.
a1b560ff 47686
a5b81e1f
UD
476872011-10-28 Ulrich Drepper <drepper@gmail.com>
47688
fd52bc6d
UD
47689 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47690 the three constants needed as parameters. Drop the others.
47691 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47692 __m128i_strloadu_tolower.
52e4b9eb
UD
47693 Create and initialize variable zero and use it in all the places
47694 where _mm_setzero_si128 was used.
fd52bc6d 47695
a5b81e1f
UD
47696 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47697 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47698 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47700 anymore.
47701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47704 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47705 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47706 __mpranred, __mptan.
47707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47711 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47712 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47716
b4343346
AS
477172011-10-28 Andreas Schwab <schwab@redhat.com>
47718
0c92d8a8
AS
47719 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47720 redefine if SHARED.
47721 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47722
b4343346
AS
47723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47724 wide char related routines to wcsmbs subdir.
47725
3871f58f
AS
477262011-10-27 Andreas Schwab <schwab@redhat.com>
47727
47728 [BZ #13344]
47729 * misc/sys/cdefs.h (__THROWNL): Define.
47730 * posix/unistd.h: Use __THREADNL instead of __THREAD
47731 for memory synchronization functions.
47732
94d44d9f
RM
477332011-10-26 Roland McGrath <roland@hack.frob.com>
47734
21b64b15 47735 [BZ #13349]
94d44d9f
RM
47736 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47737 doesn't exist.
47738 * manual/stdio.texi (Obstack Streams): Node removed.
47739
f6ce9294
AS
477402011-10-26 Andreas Schwab <schwab@redhat.com>
47741
80479147
AS
47742 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47745
f6ce9294
AS
47746 * math/math_private.h (math_force_eval): Allow non-addressable
47747 arguments.
47748 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47749
618280a1
UD
477502011-10-25 Ulrich Drepper <drepper@gmail.com>
47751
e0016b11
UD
47752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47753 file is not needed.
47754
47755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47762 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47763 Add AVX variants.
47764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47770 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47771 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47774 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47775 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47783
47784 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47785 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47786
618280a1
UD
47787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47788 place. Use VEX encoding when compiling for AVX.
47789
37822576
AS
477902011-10-25 Andreas Schwab <schwab@redhat.com>
47791
1f1e1947
AS
47792 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47794
37822576
AS
47795 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47796
31ea014d
UD
477972011-10-25 Ulrich Drepper <drepper@gmail.com>
47798
d7826aa1 47799 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47800 useless if() expression.
d7826aa1
UD
47801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47813 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47820
31ea014d
UD
47821 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47822
16437fec
AS
478232011-10-25 Andreas Schwab <schwab@redhat.com>
47824
47825 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47826 condition.
47827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47828
31d3cc00
UD
478292011-10-25 Ulrich Drepper <drepper@gmail.com>
47830
47831 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47832 .text section. Avoid duplicate constants.
47833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47842 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47863 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47864 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47866 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47867 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47868 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47869 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47871 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47878
58985aa9
UD
478792011-10-24 Ulrich Drepper <drepper@gmail.com>
47880
202c9deb
UD
47881 * sysdeps/x86_64/dla.h: Move to ...
47882 * sysdeps/x86_64/fpu/dla.h: ...here.
47883 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47884 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 47885
af968f62
UD
47886 * config.make.in: Add have-mfma4 entry.
47887 * configure.in: Substitute libc_cv_cc_fma4.
47888 * math/Makefile (dbl-only-routines): Add sincostab.
47889 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47890 Use __sincostab not sincos.
47891 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47892 name is a macro.
47893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47897 using __copysign.
47898 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47899 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47900 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47901 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47902 and __inv.
47903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47904 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47905 __copysign.
47906 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47907 define aliases when function name is a macro.
47908 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47909 sysdeps/ieee754/dbl-64/sincos.tbl.
47910 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47911 fma4-enabled routines.
47912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47913 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47921 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47922 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47924 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47939 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47940 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47942
58985aa9
UD
47943 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47944 rename.
47945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47953
a201fbcf
AS
479542011-10-24 Andreas Schwab <schwab@redhat.com>
47955
47956 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47957
fc2ee42a
LD
479582011-10-23 Ulrich Drepper <drepper@gmail.com>
47959
bb3129bd
UD
47960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47961
0275fff8
UD
47962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47963 prediction.
47964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47965
2fa2ae85
UD
47966 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47967 Remove unused variable magic_bits.
47968 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47969
fc2ee42a
LD
47970 * string/strnlen.c: Define and use STRNLEN macro.
47971 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47972 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47974 * wcsmbs/wcslen.c: Define and use WCSLEN.
47975 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47976 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47977 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47978 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47979 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47980 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47981 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47982
ce7dd29f
LD
479832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47984
47985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47986 strnlen-sse2-no-bsf.
47987 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47990 Add strnlen support.
47991 (USE_AS_STRNLEN): New macro.
47992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47994 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47995 * sysdeps/x86_64/wcslen.S: New file.
47996
979c70a3
MZ
479972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47998
47999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48000 XMM-moves are used for copying on small sizes.
48001
2d09f82f
LD
480022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48003
48004 * wcsmbs/Makefile (strop-tests): Add wcschr.
48005 * wcsmbs/test-wcschr.c: New file.
48006 * string/test-strchr.c: Update.
48007 Add wcschr support.
48008 (WIDE): New macro.
48009
619fccca
LD
480102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48011
2d09f82f 48012 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48013 * wcsmbs/test-wcslen.c: New file.
48014 * string/test-strlen.c: Update.
48015 Add wcslen support.
48016 (WIDE): New macro.
48017
09f699ea
UD
480182011-10-23 Ulrich Drepper <drepper@gmail.com>
48019
48020 * po/it.po: Update from translation team.
48021
95584d3b
LD
480222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48023
48024 * sysdeps/x86_64/wcscmp.S: Update.
48025 Fix wrong comparison semantics.
48026 wcscmp shall use signed comparison not unsigned.
48027 Don't use substraction to avoid overflow bug.
48028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48029 * wcsmbc/wcscmp.c: Likewise.
48030 * string/test-strcmp.c: Likewise.
48031 Add new tests to check cases with negative values.
48032
c8b3296b
UD
480332011-10-23 Ulrich Drepper <drepper@gmail.com>
48034
48035 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48036 * sysdeps/x86_64/dla.h: ...here. New file.
48037 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48046
246ad57a
AS
480472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48048
48049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48050 __ynl_finite aliases.
48051
a1a87169
UD
480522011-10-22 Ulrich Drepper <drepper@gmail.com>
48053
0d355eb7
UD
48054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48055
a1a87169
UD
48056 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48057 define DLA_FMA.
48058 [DLA_FMA] (EMULV): Use DLA_FMA.
48059 [DLA_FMA] (MUL12): Use EMULV.
48060 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48061 that are not needed.
48062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48069
ee2aafe0
AS
480702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48071
48072 * math/s_nan.c: Undef __nan.
48073 * math/s_nanf.c: Undef __nanf.
48074 * math/s_nanl.c: Undef __nanl.
48075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48076 "math_private.h".
48077
bc62c2fb
UD
480782011-10-22 Ulrich Drepper <drepper@gmail.com>
48079
77425c63
UD
48080 * math/s_catan.c: Add branch predictions.
48081 * math/s_catanf.c: Likewise.
48082 * math/s_catanh.c: Likewise.
48083 * math/s_catanhf.c: Likewise.
48084 * math/s_catanhl.c: Likewise.
48085 * math/s_catanl.c: Likewise.
48086 * math/s_cexp.c: Likewise.
48087 * math/s_cexpf.c: Likewise.
48088 * math/s_cexpl.c: Likewise.
48089 * math/s_clog.c: Likewise.
48090 * math/s_clog10.c: Likewise.
48091 * math/s_clog10f.c: Likewise.
48092 * math/s_clog10l.c: Likewise.
48093 * math/s_clogf.c: Likewise.
48094 * math/s_clogl.c: Likewise.
48095 * math/s_csqrt.c: Likewise.
48096 * math/s_csqrtf.c: Likewise.
48097 * math/s_csqrtl.c: Likewise.
48098 * math/s_ctanf.c: Likewise.
48099 * math/s_ctanh.c: Likewise.
48100 * math/s_ctanhf.c: Likewise.
48101 * math/s_ctanhl.c: Likewise.
48102 * math/s_ctanl.c: Likewise.
48103
bc62c2fb
UD
48104 * math/math_private.h: Define __nan, __nanf, __nanl.
48105 * math/s_cacosh.c: Include <math_private.h>.
48106 * math/s_cacoshl.c: Likewise.
48107 * math/s_casinh.c: Likewise.
48108 * math/s_casinhf.c: Likewise.
48109 * math/s_casinhl.c: Likewise.
48110 * math/s_ccos.c: Rely entire on ccosh.
48111 * math/s_ccosf.c: Rely entire on ccoshf.
48112 * math/s_ccosl.c: Rely entirely on ccoshl.
48113 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48114 Remove tests for FE_INVALID.
48115 * math/s_ccoshf.c: Likewise.
48116 * math/s_ccoshl.c: Likewise.
48117 * math/s_csin.c: Likewise.
48118 * math/s_csinf.c: Likewise.
48119 * math/s_csinh.c Likewise.
48120 * math/s_csinhf.c: Likewise.
48121 * math/s_csinhl.c: Likewise.
48122 * math/s_csinl.c: Likewise.
48123 * math/s_ctan.c: Likewise.
48124 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48125 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48127
8ec250a4
UD
481282011-10-21 Ulrich Drepper <drepper@gmail.com>
48129
c196fed8
UD
48130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48131 compilation problems.
48132
8ec250a4
UD
48133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48134 __builtin_expect.
48135
8d4f46c6
UD
481362011-10-20 Ulrich Drepper <drepper@gmail.com>
48137
ed72b654
UD
48138 * sysdeps/i386/configure.in: Test for -mfma4 option.
48139 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48140 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48141 COMMON_CPUID_INDEX_80000001.
48142 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48143 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48144 use it if FMA3 is not supported.
48145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48146
8d4f46c6
UD
48147 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48149
d45c60c2
AS
481502011-10-20 Andreas Schwab <schwab@redhat.com>
48151
48152 [BZ #12892]
48153 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48154 it would create a cycle with a link time dependency.
48155
d9a4d2ab
UD
481562011-10-19 Ulrich Drepper <drepper@gmail.com>
48157
855d1560
UD
48158 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48159 instruction.
48160 * string/Makefile (strop-tests): Add rawmemchr.
48161 * string/test-rawmemchr.c: New file.
48162
d9a4d2ab
UD
48163 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48165 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48166 when compiling str{,n}casecmp and when AVX is available. Hook up
48167 new optimized code in initializers.
48168
8f3b1ffe
AS
481692011-10-19 Andreas Schwab <schwab@redhat.com>
48170
48171 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48172 __feraiseexcept instead of feraiseexcept.
48173
d38f1dba
UD
481742011-10-18 Ulrich Drepper <drepper@gmail.com>
48175
d9a8d0ab
UD
48176 * math/math_private.h: Define defaults for libc_fetestexcept and
48177 libc_feupdateenv.
48178 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48181 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48184 libc_fetestexcept and libc_feupdateenv.
48185
4855e3dd
UD
48186 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48187 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48188 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48189 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48190 libc_feholdexcept_setround.
48191
581d30e3
UD
48192 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48193 Add s_nearbyint-c and s_nearbyintf-c.
48194 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48195 nearbyintf inlines.
48196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48200
d38f1dba
UD
48201 * math/math_private.h: Define defaults for libc_fegetround,
48202 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48203 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48204 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48206 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48207 standard functions.
48208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48209 Remove comments and hacks for old compiler versions.
48210 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48211 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48212 libc_feholdexceptl.
48213
caa6c9d8
AS
482142011-10-18 Andreas Schwab <schwab@redhat.com>
48215
48216 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48217 (__feraiseexcept_renamed): Add __NTH.
48218 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48219 namespace violations.
48220
97c066e6
UD
482212011-10-17 Ulrich Drepper <drepper@gmail.com>
48222
99ce7b04
UD
48223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48224
1004d182
UD
48225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48226
228a984d
UD
48227 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48228 recently added interfaces.
48229 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48230
c8553a6a
UD
48231 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48232 about macro parameter expansion.
48233
ed22dcf6
UD
48234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48235 __NO_MATH_INLINES is defined. Cleanups.
48236
48237 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48238 and __floorf is target has SSE4.1.
48239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48243
b171c137
UD
48244 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48245 name.
48246 (floorf): Likewise.
48247
97c066e6
UD
48248 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48249
629f62ef
AS
482502011-10-17 Andreas Schwab <schwab@redhat.com>
48251
49a43d80
AS
48252 * misc/sys/cdefs.h: Fix last change.
48253
629f62ef
AS
48254 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48255 database lookup.
48256
e453f6cd
UD
482572011-10-16 Ulrich Drepper <drepper@gmail.com>
48258
aa78043a
UD
48259 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48260
ad0f5cad
UD
48261 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48270 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48271 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48274 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48278 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48282 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48283
48284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48285 ceil, ceilf, floor, floorf.
48286
48287 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48288 Perform IRELATIVE relocations last.
48289
e453f6cd
UD
48290 * elf/do-rel.h: Add another parameter nrelative, replacing the
48291 local variable with the same name. Change name of the function
48292 to end in Rel or Rela (uppercase).
48293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48294 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48295 elf_dynamic_do_##reloc function.
48296
fd5bdc09
UD
482972011-10-15 Ulrich Drepper <drepper@gmail.com>
48298
79b195b5
UD
48299 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48300 is sufficient, at least on modern CPUs.
48301
d4a28569
UD
48302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48303
b61099b5
UD
48304 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48306
bcf01e6d
UD
48307 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48308 __expl_finite.
48309 * math/bits/math-finite.h: Add entries for exp.
48310 * math/e_expl.c: Add __*_finite alias.
48311 * sysdeps/i386/fpu/e_exp.S: Likewise.
48312 * sysdeps/i386/fpu/e_expf.S: Likewise.
48313 * sysdeps/i386/fpu/e_expl.c: Likewise.
48314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48315 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48318 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48321
ba1a0d59
UD
48322 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48323 is sufficient, at least on modern CPUs.
48324
fd5bdc09
UD
48325 * ctype/ctype-info.c (__ctype_init): Define.
48326 * include/ctype.h (__ctype_init): Declare.
48327 (__ctype_b_loc): The variable is always initialized.
48328 (__ctype_toupper_loc): Likewise.
48329 (__ctype_tolower_loc): Likewise.
48330 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48331 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48332
7872cfb0
AS
483332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48334
b468825a
AS
48335 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48336
7872cfb0
AS
48337 * configure.in: Also look in $cxxmachine/include for C++ system
48338 headers.
48339
be13f7bf
LD
483402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48341
48342 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48343 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48344 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48345 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48347 (USE_AS_WMEMCMP): New macro.
48348 Fixing indents.
48349 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48350 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48351 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48352 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48354 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48355 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48357 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48358 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48360 (USE_AS_WMEMCMP): New macro.
48361 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48362 * sysdeps/string/test-memcmp.c: Update.
48363 Fix simple_wmemcmp.
48364 Add new tests.
48365 * wcsmbs/wmemcmp.c: Update.
48366 (WMEMCMP): New macro.
48367 Fix overflow bug.
48368
556a2007
AJ
483692011-10-12 Andreas Jaeger <aj@suse.de>
48370
48371 [BZ #13268]
48372 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48373
538faaa7
UD
483742011-10-15 Ulrich Drepper <drepper@gmail.com>
48375
ab6737ff
UD
48376 * libio/iofwide.c (do_length): Avoid warning.
48377
538faaa7
UD
48378 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48379
396a21b1
UD
483802011-10-14 Ulrich Drepper <drepper@gmail.com>
48381
cdf2901f
UD
48382 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48383
38ad40ce
UD
48384 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48385 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48386 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48387 * sysdeps/i386/i686/fpu/e_log.S: New file.
48388 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48389 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48390
396a21b1
UD
48391 * ctype/ctype.h: Add support for inlined isXXX functions when
48392 compiling C++ code.
48393
6b1f68c9
AS
483942011-10-14 Andreas Schwab <schwab@redhat.com>
48395
349290c0
AS
48396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48397
6b1f68c9
AS
48398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48399
f2282d42
RM
484002011-10-13 Roland McGrath <roland@hack.frob.com>
48401
48402 [BZ #13291]
48403 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48404
5298ffa8
AS
484052011-10-13 Andreas Schwab <schwab@redhat.com>
48406
714fad23
AS
48407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48408 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48409 feraiseexcept.
48410
81dcc7fb
AS
48411 * sysdeps/x86_64/memrchr.S: Check for zero size.
48412
5298ffa8
AS
48413 * string/stratcliff.c: Add memrchr tests.
48414
951fbcec
LD
484152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48416
48417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48418 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48419 rawmemchr-sse2 rawmemchr-sse2-bsf.
48420 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48421 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48422 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48423 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48424 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48425 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48426 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48427 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48430 * string/memrchr.c (MEMRCHR): New macro.
48431
0ac5ae23
UD
484322011-10-12 Ulrich Drepper <drepper@gmail.com>
48433
48434 Add integration with gcc's -ffinite-math-only and optimize wrapper
48435 functions in libm.
48436 * Versions.def: Define GLIBC_2.15 version for libm.
48437 * math/Makefile (headers): Add bits/math-finite.h.
48438 * math/bits/math-finite.h: New file.
48439 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48440 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48441 * math/e_acoshl.c: Add __*_finite alias.
48442 * math/e_acosl.c: Likewise.
48443 * math/e_asinl.c: Likewise.
48444 * math/e_atan2l.c: Likewise.
48445 * math/e_atanhl.c: Likewise.
48446 * math/e_coshl.c: Likewise.
48447 * math/e_exp10.c: Likewise.
48448 * math/e_exp10f.c: Likewise.
48449 * math/e_exp10l.c: Likewise.
48450 * math/e_exp2l.c: Likewise.
48451 * math/e_fmodl.c: Likewise.
48452 * math/e_gammal_r.c: Likewise.
48453 * math/e_hypotl.c: Likewise.
48454 * math/e_j0l.c: Likewise.
48455 * math/e_j1l.c: Likewise.
48456 * math/e_jnl.c: Likewise.
48457 * math/e_lgammal_r.c: Likewise.
48458 * math/e_log10l.c: Likewise.
48459 * math/e_log2l.c: Likewise.
48460 * math/e_logl.c: Likewise.
48461 * math/e_powl.c: Likewise.
48462 * math/e_sinhl.c: Likewise.
48463 * math/e_sqrtl.c: Likewise.
48464 * math/e_scalb.c: Completely rewritten and optimized.
48465 * math/e_scalbf.c: Likewise.
48466 * math/e_scalbl.c: Likewise.
48467 * math/w_acos.c: Likewise.
48468 * math/w_acosf.c: Likewise.
48469 * math/w_acosl.c: Likewise.
48470 * math/w_acosh.c: Likewise.
48471 * math/w_acoshf.c: Likewise.
48472 * math/w_acoshl.c: Likewise.
48473 * math/w_asin.c: Likewise.
48474 * math/w_asinf.c: Likewise.
48475 * math/w_asinl.c: Likewise.
48476 * math/w_atan2.c: Likewise.
48477 * math/w_atan2f.c: Likewise.
48478 * math/w_atan2l.c: Likewise.
48479 * math/w_atanh.c: Likewise.
48480 * math/w_atanhf.c: Likewise.
48481 * math/w_atanhl.c: Likewise.
48482 * math/w_exp10.c: Likewise.
48483 * math/w_exp10f.c: Likewise.
48484 * math/w_exp10l.c: Likewise.
48485 * math/w_fmod.c: Likewise.
48486 * math/w_fmodf.c: Likewise.
48487 * math/w_fmodl.c: Likewise.
48488 * math/w_j0.c: Likewise.
48489 * math/w_j0f.c: Likewise.
48490 * math/w_j0l.c: Likewise.
48491 * math/w_j1.c: Likewise.
48492 * math/w_j1f.c: Likewise.
48493 * math/w_j1l.c: Likewise.
48494 * math/w_jn.c: Likewise.
48495 * math/w_jnf.c: Likewise.
48496 * math/w_log.c: Likewise.
48497 * math/w_logf.c: Likewise.
48498 * math/w_logl.c: Likewise.
48499 * math/w_log10.c: Likewise.
48500 * math/w_log10f.c: Likewise.
48501 * math/w_log10l.c: Likewise.
48502 * math/w_log2.c: Likewise.
48503 * math/w_log2f.c: Likewise.
48504 * math/w_log2l.c: Likewise.
48505 * math/w_pow.c: Likewise.
48506 * math/w_powf.c: Likewise.
48507 * math/w_powl.c: Likewise.
48508 * math/w_remainder.c: Likewise.
48509 * math/w_remainderf.c: Likewise.
48510 * math/w_remainderl.c: Likewise.
48511 * math/w_scalb.c: Likewise.
48512 * math/w_scalbf.c: Likewise.
48513 * math/w_scalbl.c: Likewise.
48514 * math/w_sqrt.c: Likewise.
48515 * math/w_sqrtf.c: Likewise.
48516 * math/w_sqrtl.c: Likewise.
48517 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48518 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48519 used.
48520 * math/math_private.h: Declare __kernel_standard_f.
48521 * math/w_cosh.c: Remove cruft and optimize a bit.
48522 * math/w_coshf.c: Likewise.
48523 * math/w_coshl.c: Likewise.
48524 * math/w_exp2.c: Likewise.
48525 * math/w_exp2f.c: Likewise.
48526 * math/w_exp2l.c: Likewise.
48527 * math/w_hypot.c: Likewise.
48528 * math/w_hypotf.c: Likewise.
48529 * math/w_hypotl.c: Likewise.
48530 * math/w_lgamma.c: Likewise.
48531 * math/w_lgamma_r.c: Likewise.
48532 * math/w_lgammaf.c: Likewise.
48533 * math/w_lgammaf_r.c: Likewise.
48534 * math/w_lgammal.c: Likewise.
48535 * math/w_lgammal_r.c: Likewise.
48536 * math/w_sinh.c: Likewise.
48537 * math/w_sinhf.c: Likewise.
48538 * math/w_sinhl.c: Likewise.
48539 * math/w_tgamma.c: Likewise.
48540 * math/w_tgammaf.c: Likewise.
48541 * math/w_tgammal.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48544 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48545 Minor optimizations. Pretty printing. Remove cruft.
48546 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48550 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48551 * sysdeps/i386/fpu/e_asin.S: Likewise.
48552 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48553 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48554 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48555 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48559 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48560 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48561 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48562 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48563 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48564 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48565 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48566 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48567 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48568 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48569 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48570 * sysdeps/i386/fpu/e_log.S: Likewise.
48571 * sysdeps/i386/fpu/e_log10.S: Likewise.
48572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48574 * sysdeps/i386/fpu/e_log2.S: Likewise.
48575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48577 * sysdeps/i386/fpu/e_logf.S: Likewise.
48578 * sysdeps/i386/fpu/e_logl.S: Likewise.
48579 * sysdeps/i386/fpu/e_pow.S: Likewise.
48580 * sysdeps/i386/fpu/e_powf.S: Likewise.
48581 * sysdeps/i386/fpu/e_powl.S: Likewise.
48582 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48583 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48584 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48588 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48589 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48590 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48616 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48620 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48622 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48624 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48625 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48626 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48627 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48628 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48688 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48689 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48690 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48691 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48692 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48693 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48694 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48699 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48701 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48702 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48703 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48704 (__isnanf): Likewise.
48705 (__isinf_ns): Likewise.
48706 (__isinf_nsf): Likewise.
48707 (__finite): Likewise.
48708 (__finitef): Likewise.
48709 (__ieee754_sqrt): Define as macro.
48710 (__ieee754_sqrtf): Define as macro.
48711 (__ieee754_sqrtl): Define as macro.
48712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48713 inlined copy.
48714 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48715 __FINITE_MATH_ONLY__ consistent.
48716 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48717
12cc2fcd
AS
487182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48719
a843a204
AS
48720 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48721 of rawmemchr.
48722
12cc2fcd
AS
48723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48724
c853acd5
UD
487252011-10-09 Ulrich Drepper <drepper@gmail.com>
48726
48727 * po/ja.po: Update from translation team.
48728
c658d255
RM
487292011-10-08 Roland McGrath <roland@hack.frob.com>
48730
110946e4
RM
48731 * locale/programs/locarchive.c (prepare_address_space): New function.
48732 (create_archive, enlarge_archive, open_archive): Use it.
48733
50604220
RM
48734 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48735 inside [SHARED], where it is used.
48736
c658d255
RM
48737 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48738
48739 * nss/getent.c (netgroup_keys): Remove unused variable.
48740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48741
6a621eb7
UD
487422011-10-08 Ulrich Drepper <drepper@gmail.com>
48743
7edb55ce
UD
48744 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48750 * math/Makefile (libm-calls): Add s_isinf_ns.
48751 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48752 * math/multc3.c: Likewise.
48753 * math/s_casin.c: Likewise.
48754 * math/s_casinf.c: Likewise.
48755 * math/s_casinl.c: Likewise.
48756 * math/s_ccos.c: Likewise.
48757 * math/s_ccosf.c: Likewise.
48758 * math/s_ccosl.c: Likewise.
48759 * math/s_ctan.c: Likewise.
48760 * math/s_ctanf.c: Likewise.
48761 * math/s_ctanh.c: Likewise.
48762 * math/s_ctanhf.c: Likewise.
48763 * math/s_ctanhl.c: Likewise.
48764 * math/s_ctanl.c: Likewise.
48765 * math/w_fmod.c: Likewise.
48766 * math/w_fmodf.c: Likewise.
48767 * math/w_fmodl.c: Likewise.
48768 * math/w_remainder.c: Likewise.
48769 * math/w_remainderf.c: Likewise.
48770 * math/w_remainderl.c: Likewise.
48771 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48772 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48775 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48776 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48777 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48778 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48779
187da0ae
UD
48780 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48781 of the number.
48782 * stdio-common/printf_fphex.c: Likewise.
48783 * stdio-common/printf_size.c: Likewise.
48784
9277c064
UD
48785 * math/e_exp10.c: Include math_private.h using <...> not "...".
48786 * math/e_exp10f.c: Likewise.
48787 * math/e_exp10l.c: Likewise.
48788 * math/e_exp2l.c: Likewise.
48789 * math/e_j0l.c: Likewise.
48790 * math/e_j1l.c: Likewise.
48791 * math/e_jnl.c: Likewise.
48792 * math/e_lgammal_r.c: Likewise.
48793 * math/e_rem_pio2l.c: Likewise.
48794 * math/e_scalb.c: Likewise.
48795 * math/e_scalbf.c: Likewise.
48796 * math/e_scalbl.c: Likewise.
48797 * math/k_cosl.c: Likewise.
48798 * math/k_sinl.c: Likewise.
48799 * math/k_tanl.c: Likewise.
48800 * math/s_cacoshf.c: Likewise.
48801 * math/s_catan.c: Likewise.
48802 * math/s_catanf.c: Likewise.
48803 * math/s_catanh.c: Likewise.
48804 * math/s_catanhf.c: Likewise.
48805 * math/s_catanhl.c: Likewise.
48806 * math/s_catanl.c: Likewise.
48807 * math/s_ccosh.c: Likewise.
48808 * math/s_ccoshf.c: Likewise.
48809 * math/s_ccoshl.c: Likewise.
48810 * math/s_cexp.c: Likewise.
48811 * math/s_cexpf.c: Likewise.
48812 * math/s_cexpl.c: Likewise.
48813 * math/s_clog.c: Likewise.
48814 * math/s_clog10.c: Likewise.
48815 * math/s_clog10f.c: Likewise.
48816 * math/s_clog10l.c: Likewise.
48817 * math/s_clogf.c: Likewise.
48818 * math/s_clogl.c: Likewise.
48819 * math/s_csin.c: Likewise.
48820 * math/s_csinf.c: Likewise.
48821 * math/s_csinh.c: Likewise.
48822 * math/s_csinhf.c: Likewise.
48823 * math/s_csinhl.c: Likewise.
48824 * math/s_csinl.c: Likewise.
48825 * math/s_csqrt.c: Likewise.
48826 * math/s_csqrtf.c: Likewise.
48827 * math/s_csqrtl.c: Likewise.
48828 * math/s_ctan.c: Likewise.
48829 * math/s_ctanf.c: Likewise.
48830 * math/s_ctanh.c: Likewise.
48831 * math/s_ctanhf.c: Likewise.
48832 * math/s_ctanhl.c: Likewise.
48833 * math/s_ctanl.c: Likewise.
48834 * math/s_ldexp.c: Likewise.
48835 * math/s_ldexpf.c: Likewise.
48836 * math/s_ldexpl.c: Likewise.
48837 * math/s_significand.c: Likewise.
48838 * math/s_significandf.c: Likewise.
48839 * math/s_significandl.c: Likewise.
48840 * math/w_acos.c: Likewise.
48841 * math/w_acosf.c: Likewise.
48842 * math/w_acosh.c: Likewise.
48843 * math/w_acoshf.c: Likewise.
48844 * math/w_acoshl.c: Likewise.
48845 * math/w_acosl.c: Likewise.
48846 * math/w_asin.c: Likewise.
48847 * math/w_asinf.c: Likewise.
48848 * math/w_asinl.c: Likewise.
48849 * math/w_atan2.c: Likewise.
48850 * math/w_atan2f.c: Likewise.
48851 * math/w_atan2l.c: Likewise.
48852 * math/w_atanh.c: Likewise.
48853 * math/w_atanhf.c: Likewise.
48854 * math/w_atanhl.c: Likewise.
48855 * math/w_cosh.c: Likewise.
48856 * math/w_coshf.c: Likewise.
48857 * math/w_coshl.c: Likewise.
48858 * math/w_dremf.c: Likewise.
48859 * math/w_exp10.c: Likewise.
48860 * math/w_exp10f.c: Likewise.
48861 * math/w_exp10l.c: Likewise.
48862 * math/w_exp2.c: Likewise.
48863 * math/w_exp2f.c: Likewise.
48864 * math/w_fmod.c: Likewise.
48865 * math/w_fmodf.c: Likewise.
48866 * math/w_fmodl.c: Likewise.
48867 * math/w_hypot.c: Likewise.
48868 * math/w_hypotf.c: Likewise.
48869 * math/w_hypotl.c: Likewise.
48870 * math/w_j0.c: Likewise.
48871 * math/w_j0f.c: Likewise.
48872 * math/w_j0l.c: Likewise.
48873 * math/w_j1.c: Likewise.
48874 * math/w_j1f.c: Likewise.
48875 * math/w_j1l.c: Likewise.
48876 * math/w_jn.c: Likewise.
48877 * math/w_jnf.c: Likewise.
48878 * math/w_jnl.c: Likewise.
48879 * math/w_lgamma.c: Likewise.
48880 * math/w_lgamma_r.c: Likewise.
48881 * math/w_lgammaf.c: Likewise.
48882 * math/w_lgammaf_r.c: Likewise.
48883 * math/w_lgammal.c: Likewise.
48884 * math/w_lgammal_r.c: Likewise.
48885 * math/w_log.c: Likewise.
48886 * math/w_log10.c: Likewise.
48887 * math/w_log10f.c: Likewise.
48888 * math/w_log10l.c: Likewise.
48889 * math/w_log2.c: Likewise.
48890 * math/w_log2f.c: Likewise.
48891 * math/w_log2l.c: Likewise.
48892 * math/w_logf.c: Likewise.
48893 * math/w_logl.c: Likewise.
48894 * math/w_pow.c: Likewise.
48895 * math/w_powf.c: Likewise.
48896 * math/w_powl.c: Likewise.
48897 * math/w_remainder.c: Likewise.
48898 * math/w_remainderf.c: Likewise.
48899 * math/w_remainderl.c: Likewise.
48900 * math/w_scalb.c: Likewise.
48901 * math/w_scalbf.c: Likewise.
48902 * math/w_scalbl.c: Likewise.
48903 * math/w_sinh.c: Likewise.
48904 * math/w_sinhf.c: Likewise.
48905 * math/w_sinhl.c: Likewise.
48906 * math/w_sqrt.c: Likewise.
48907 * math/w_sqrtf.c: Likewise.
48908 * math/w_sqrtl.c: Likewise.
48909 * math/w_tgamma.c: Likewise.
48910 * math/w_tgammaf.c: Likewise.
48911 * math/w_tgammal.c: Likewise.
48912
6a621eb7
UD
48913 * po/ja.po: Update from translation team.
48914
bf582445
AJ
489152011-09-29 Andreas Jaeger <aj@suse.de>
48916
f9efbf3a
AJ
48917 [BZ #13179]
48918 * sunrpc/netname.c (netname2host): Fix logic.
48919
bf582445
AJ
48920 [BZ #6779]
48921 [BZ #6783]
48922 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48923 correctly.
48924 * math/w_remainder.c (__remainder): Likewise.
48925 * math/w_remainderf.c (__remainderf): Likewise.
48926 * math/libm-test.inc (remainder_test): Add test cases.
48927
48693bea
AK
489282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48929
48930 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48931 sdiv_qrnnd.
48932
42622229
LD
489332011-10-07 Ulrich Drepper <drepper@gmail.com>
48934
48935 * string/test-memcmp.c: Avoid unncessary #defines.
48936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48937
093ecf92
LD
489382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48939
48940 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48941 Use new sse2 version for core i3 - i7 as it's faster
48942 than sse42 version.
48943 (bit_Prefer_PMINUB_for_stringop): New.
48944 * sysdeps/x86_64/rawmemchr.S: Update.
48945 Replace with faster SSE2 version.
48946 * sysdeps/x86_64/memrchr.S: New file.
48947 * sysdeps/x86_64/memchr.S: Update.
48948 Replace with faster SSE2 version.
48949
fde56e5c
MP
489502011-09-12 Marek Polacek <mpolacek@redhat.com>
48951
48952 * elf/dl-load.c (lose): Add cast to avoid warning.
48953
21fd49a9
UD
489542011-10-07 Ulrich Drepper <drepper@gmail.com>
48955
5a06e643
UD
48956 * po/ca.po: Update from translation team.
48957
684ae515
UD
48958 * inet/getnetgrent_r.c: Hook up nscd.
48959 * nscd/Makefile (routines): Add nscd_netgroup.
48960 (nscd-modules): Add netgroupcache.
48961 (CFLAGS-netgroupcache.c): Define.
48962 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48963 (cache_search): Add const to second parameter.
48964 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48965 INNETGR.
48966 (dbs): Add netgrdb entry.
48967 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48968 (verify_persistent_db): Handle netgrdb.
48969 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48970 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48971 GETFDNETGR.
48972 (netgroup_response_header): Define.
48973 (innetgroup_response_header): Define.
48974 (datahead): Add netgroup_response_header and innetgroup_response_header
48975 elements.
48976 * nscd/nscd.conf: Add entries for netgroup cache.
48977 * nscd/nscd.h (dbtype): Add netgrdb.
48978 (_PATH_NSCD_NETGROUP_DB): Define.
48979 (netgroup_iov_disabled): Declare.
48980 (xmalloc, xcalloc, xrealloc): Move declarations here.
48981 (cache_search): Adjust prototype.
48982 Add netgroup-related prototypes.
48983 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48984 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48985 (__nscd_innetgr): Declare.
48986 * nscd/selinux.c (perms): Use access_vector_t as element type and
48987 add netgroup-related initializers.
48988 * nscd/netgroupcache.c: New file.
48989 * nscd/nscd_netgroup.c: New file.
48990 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48991 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48992 For four parameters use innetgr.
48993 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48994 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48995 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48996 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48997
21fd49a9
UD
48998 * nscd/connections.c (register_traced_file): Don't register file
48999 for disabled databases.
49000
054c0457
UD
490012011-10-06 Ulrich Drepper <drepper@gmail.com>
49002
32b63198
UD
49003 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49004
054c0457
UD
49005 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49006 from tree and freeing node.
49007
64031225
JO
490082011-09-25 Jiri Olsa <jolsa@redhat.com>
49009
49010 * nss/nsswitch.c (__nss_database_lookup): Handle
49011 nss_parse_service_list out of memory case.
49012
0490345c
JO
490132011-09-15 Jiri Olsa <jolsa@redhat.com>
49014
49015 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49016 out of memory case.
49017
3a62d00d
AS
490182011-10-04 Andreas Schwab <schwab@redhat.com>
49019
49020 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49021 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49022 pass it down.
49023 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49024 elf_machine_rela, elf_machine_lazy_rel.
49025 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49026 (ELF_DYNAMIC_DO_REL): Likewise.
49027 (ELF_DYNAMIC_DO_RELA): Likewise.
49028 (ELF_DYNAMIC_RELOCATE): Likewise.
49029 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49030 to ELF_DYNAMIC_DO_REL.
49031 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49032 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49033 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49034 elf_machine_rela.
49035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49036 skip_ifunc, don't call ifunc function if non-zero.
49037 (elf_machine_rela): Likewise.
49038 (elf_machine_lazy_rel): Likewise.
49039 (elf_machine_lazy_rela): Likewise.
49040 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49041 (elf_machine_lazy_rel): Likewise.
49042 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49043 Likewise.
49044 (elf_machine_lazy_rel): Likewise.
49045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49046 Likewise.
49047 (elf_machine_lazy_rel): Likewise.
49048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49049 (elf_machine_lazy_rel): Likewise.
49050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49051 (elf_machine_lazy_rel): Likewise.
49052 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49053 (elf_machine_lazy_rel): Likewise.
49054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49055 (elf_machine_lazy_rel): Likewise.
49056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49057 (elf_machine_lazy_rel): Likewise.
49058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49059 (elf_machine_lazy_rel): Likewise.
49060
68577918
UD
490612011-09-28 Ulrich Drepper <drepper@gmail.com>
49062
49063 * nss/nss_files/files-init.c (_nss_files_init): Use static
49064 initialization for all the *_traced_file variables.
49065
68822d74
AS
490662011-09-28 Andreas Schwab <schwab@redhat.com>
49067
49068 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49069
2056100b
RM
490702011-09-27 Roland McGrath <roland@hack.frob.com>
49071
49072 [BZ #13226]
49073 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49074
32c76b63
AS
490752011-09-27 Andreas Schwab <schwab@redhat.com>
49076
49077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49078 Reread the line before reparsing it.
49079
bf972c9d
AS
490802011-09-26 Andreas Schwab <schwab@redhat.com>
49081
49082 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49083
e057a1b5
JM
490842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49085 Maxim Kuvyrkov <maxim@codesourcery.com>
49086 Joseph Myers <joseph@codesourcery.com>
49087
49088 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49089 if needed for __stack_chk_guard.
49090
bc7e1c36
RM
490912011-09-19 Roland McGrath <roland@hack.frob.com>
49092
ecb1482f
RM
49093 * sysdeps/posix/spawni.c (script_execute): Always define it.
49094 It will be optimized away if unused.
49095 (maybe_script_execute): New function.
49096 (__spawni): Call it.
49097
bc7e1c36
RM
49098 * Makerules: Don't include tls.make.
49099 (config-tls): Always set to thread.
49100 * tls.make.c: File removed.
49101
1c3b002b
MF
491022011-09-19 Mike Frysinger <vapier@gentoo.org>
49103
49104 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49105 * config.make.in (CPPFLAGS-config): New substituted variable.
49106
2840865d
UD
491072011-09-15 Ulrich Drepper <drepper@gmail.com>
49108
88738eb6
UD
49109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49110
cbf645a6 49111 [BZ #13192]
2840865d
UD
49112 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49113 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49114
b402e91a
RM
491152011-09-15 Roland McGrath <roland@hack.frob.com>
49116
49117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49118 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49120 (CALL_FAIL): Likewise.
49121 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49122 (CALL_FAIL): Macro removed.
49123 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49124
4c1a1f71
UD
491252011-09-15 Ulrich Drepper <drepper@gmail.com>
49126
49127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49128 for __FINITE_MATH_ONLY__ == 1.
49129
edc121be
AS
491302011-09-15 Andreas Schwab <schwab@redhat.com>
49131
49132 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49133 __ieee754_sqrt instead of sqrt.
49134 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49135 __ieee754_sqrtf instead of sqrtf.
49136 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49137 __floorf instead of floorf.
49138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49139 __floorf, __truncf instead of floorf, truncf.
49140
cd205654
UD
491412011-09-14 Ulrich Drepper <drepper@gmail.com>
49142
ee4d0315
UD
49143 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49144
cd205654
UD
49145 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49146 __extern_always_inline.
49147 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49148 32-bit.
49149
48b67d71
AS
491502011-09-14 Andreas Schwab <schwab@redhat.com>
49151
49152 * elf/rtld.c (dl_main): Also relocate in dependency order when
49153 doing symbol dependency testing.
49154
1ae12c75
AS
491552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49156
49157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49158 Always define `refsym'.
49159
995a80df
AS
491602011-09-13 Andreas Schwab <schwab@redhat.com>
49161
e529793b
AS
49162 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49163 (__FD_ELT): Renamed from __FDELT.
49164 * misc/bits/select2.h (__FD_ELT): Likewise.
49165 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49166 __FD_MASK instead of __FDELT, __FDMASK.
49167 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49168 Likewise.
49169 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49170 Likewise.
49171
52d4fef8
AS
49172 * elf/Makefile (gen-ldd): Fix pattern.
49173
995a80df
AS
49174 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49175 (init_tls): Likewise.
49176
8682f8b0
UD
491772011-09-12 Ulrich Drepper <drepper@gmail.com>
49178
49179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49180
de82006d
AS
491812011-09-12 Andreas Schwab <schwab@redhat.com>
49182
a7c8e6a1
AS
49183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49184 `struct cmsghdr *' instead of `void *'.
49185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49186 Likewise.
49187
0f31fe77
AS
491882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49189
49190 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49191 if non-absolute.
49192 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49193 ldd_rewrite_script.
0f31fe77 49194
32b4c839
UD
491952011-09-11 Ulrich Drepper <drepper@gmail.com>
49196
83cd1420
UD
49197 * configure.in: Remove --with-tls option.
49198 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49199 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49200 out in case it is missing.
49201 * sysdeps/ia64/elf/configure.in: Likewise.
49202 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49203 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49204 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49205 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49206 * sysdeps/sh/elf/configure.in: Likewise.
49207 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49209 * sysdeps/x86_64/elf/configure.in: Likewise.
49210 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49211 * sysdeps/mach/hurd/tls.h: Likewise.
49212
633f745d
UD
49213 [BZ #13067]
49214 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49215
f318beb8
UD
49216 [BZ #13090]
49217 * configure.in: Fix use of AC_INIT.
49218
32b4c839
UD
49219 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49220
3ce1f295
UD
492212011-09-10 Ulrich Drepper <drepper@gmail.com>
49222
bb016596
UD
49223 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49224 __set_errno.
8e58439c
UD
49225 * malloc/hooks.c: Likewise.
49226
aebae053 49227 [BZ #11929]
02d46fc4
UD
49228 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49229 variables statically.
49230 (narenas): Initialize.
49231 (list_lock): Initialize.
bb016596
UD
49232 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49233 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49234 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49235 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49236 Add initializers to main_arena and mp_.
49237 (malloc_state): Remove pagesize member. Change all users to use
49238 GLRO(dl_pagesize).
49239
49240 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49241 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49242 is always initialized.
49243
22a89187
UD
49244 * malloc/malloc.c: Removed unused configurations and dead code.
49245 * malloc/arena.c: Likewise.
49246 * malloc/hooks.c: Likewise.
02d46fc4 49247 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49248
d063d164
UD
49249 * include/tls.h: Removed. USE___THREAD must always be defined.
49250 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49251 * elf/dl-libc.c: Likewise.
49252 * elf/dl-tsd.c: Likewise.
49253 * include/errno.h: Likewise.
49254 * include/netdb.h: Likewise.
49255 * include/resolv.h: Likewise.
49256 * inet/herrno-loc.c: Likewise.
49257 * inet/herrno.c: Likewise.
49258 * malloc/arena.c: Likewise.
49259 * malloc/hooks.c: Likewise.
49260 * malloc/malloc.c: Likewise.
49261 * resolv/res-state.c: Likewise.
49262 * resolv/res_libc.c: Likewise.
49263 * sysdeps/i386/dl-machine.h: Likewise.
49264 * sysdeps/ia64/dl-machine.h: Likewise.
49265 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49267 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49268 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49269 * sysdeps/sh/dl-machine.h: Likewise.
49270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49272 * sysdeps/unix/i386/sysdep.S: Likewise.
49273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49274 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49279 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49284 * sysdeps/x86_64/dl-machine.h: Likewise.
49285 * tls.make.c: Likewise.
49286
3ce1f295
UD
49287 * configure.in: Remove --with-__thread option. Make tests for
49288 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49289 tls_model attribute fail if no support is available. Remove
49290 USE_IN_LIBIO.
49291 * Makeconfig: Adjust for dropped configure option. All features are
49292 now mandatory.
49293 * Makerules: Likewise.
49294 * Versions.def: Likewise.
49295 * argp/argp-fmtstream.c: Likewise.
49296 * argp/argp-fmtstream.h: Likewise.
49297 * argp/argp-help.c: Likewise.
49298 * assert/assert.c: Likewise.
49299 * config.h.in: Likewise.
49300 * config.make.in: Likewise.
49301 * configure: Likewise.
49302 * configure.in: Likewise.
49303 * csu/Versions: Likewise.
49304 * csu/init.c: Likewise.
49305 * elf/tst-audit2.c: Likewise.
49306 * elf/tst-tls10.c: Likewise.
49307 * elf/tst-tls10.h: Likewise.
49308 * elf/tst-tls11.c: Likewise.
49309 * elf/tst-tls12.c: Likewise.
49310 * elf/tst-tls14.c: Likewise.
49311 * elf/tst-tlsmod11.c: Likewise.
49312 * elf/tst-tlsmod12.c: Likewise.
49313 * elf/tst-tlsmod13.c: Likewise.
49314 * elf/tst-tlsmod13a.c: Likewise.
49315 * elf/tst-tlsmod14a.c: Likewise.
49316 * elf/tst-tlsmod15b.c: Likewise.
49317 * elf/tst-tlsmod16a.c: Likewise.
49318 * elf/tst-tlsmod16b.c: Likewise.
49319 * elf/tst-tlsmod7.c: Likewise.
49320 * elf/tst-tlsmod8.c: Likewise.
49321 * elf/tst-tlsmod9.c: Likewise.
49322 * gmon/gmon.c: Likewise.
49323 * grp/fgetgrent_r.c: Likewise.
49324 * grp/putgrent.c: Likewise.
49325 * hurd/fopenport.c: Likewise.
49326 * include/libc-symbols.h: Likewise.
49327 * include/tls.h: Likewise.
49328 * intl/gettextP.h: Likewise.
49329 * intl/loadinfo.h: Likewise.
49330 * locale/global-locale.c: Likewise.
49331 * locale/localeinfo.h: Likewise.
49332 * mach/devstream.c: Likewise.
49333 * malloc/arena.c: Likewise.
49334 * malloc/set-freeres.c: Likewise.
49335 * misc/err.c: Likewise.
49336 * misc/getttyent.c: Likewise.
49337 * misc/mntent_r.c: Likewise.
49338 * posix/getopt.c: Likewise.
49339 * posix/wordexp.c: Likewise.
49340 * pwd/fgetpwent_r.c: Likewise.
49341 * resolv/Versions: Likewise.
49342 * resolv/res_hconf.c: Likewise.
49343 * shadow/fgetspent_r.c: Likewise.
49344 * shadow/putspent.c: Likewise.
49345 * stdio-common/printf_fphex.c: Likewise.
49346 * stdio-common/tmpfile.c: Likewise.
49347 * stdlib/abort.c: Likewise.
49348 * stdlib/fmtmsg.c: Likewise.
49349 * sunrpc/auth_unix.c: Likewise.
49350 * sunrpc/clnt_perr.c: Likewise.
49351 * sunrpc/clnt_tcp.c: Likewise.
49352 * sunrpc/clnt_udp.c: Likewise.
49353 * sunrpc/clnt_unix.c: Likewise.
49354 * sunrpc/openchild.c: Likewise.
49355 * sunrpc/svc_simple.c: Likewise.
49356 * sunrpc/svc_tcp.c: Likewise.
49357 * sunrpc/svc_udp.c: Likewise.
49358 * sunrpc/svc_unix.c: Likewise.
49359 * sunrpc/xdr.c: Likewise.
49360 * sunrpc/xdr_array.c: Likewise.
49361 * sunrpc/xdr_rec.c: Likewise.
49362 * sunrpc/xdr_ref.c: Likewise.
49363 * sunrpc/xdr_stdio.c: Likewise.
49364
1248c1c4
PB
493652011-09-09 Ulrich Drepper <drepper@gmail.com>
49366
49367 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49368
493692011-07-03 Andreas Jaeger <aj@suse.de>
49370
49371 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49372 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49373 regenerate with gen-libm-tests.pl.
49374
493752010-05-12 Petr Baudis <pasky@suse.cz>
49376
49377 [BZ #11589]
49378 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49379 around j0() zero points by switching to j1().
49380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49384
f22e1074
UD
493852011-09-09 Ulrich Drepper <drepper@gmail.com>
49386
f19009c1
UD
49387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49388 instead of 0.
49389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49390 instead of 0.
f19009c1
UD
49391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49392 Patch in part by Pavel Roskin <proski@gnu.org>.
49393
3f8cc204
UD
49394 [BZ #13138]
49395 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49396 realloc.
49397 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49398 Free memory block if necessary.
49399
f22e1074
UD
49400 [BZ #12847]
49401 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49402 be NULL. Don't lock in this case.
49403
0a2349f9
RM
494042011-09-09 Roland McGrath <roland@hack.frob.com>
49405
49406 * elf/elf.h (ELFOSABI_GNU): New macro.
49407 (ELFOSABI_LINUX): Define to that.
49408
f3cdd467
DZ
494092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49410
49411 * string/strncat.c (strncat): Undef the symbol in case it has been
49412 defined in bits/string.h.
49413
74718d13
UD
494142011-09-09 Ulrich Drepper <drepper@gmail.com>
49415
633e9e0f
UD
49416 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49417
0a2349f9 49418 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49419 link map.
49420
f9924780
AJ
494212011-08-17 Andreas Jaeger <aj@suse.de>
49422
49423 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49424
7f5517aa
PP
494252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49426 Ian Lance Taylor <iant@google.com>
49427
49428 * math/libm-test.inc (lround_test): New testcase.
49429 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49430
762011fe
UD
494312011-09-08 Ulrich Drepper <drepper@gmail.com>
49432
92963737
UD
49433 * Makefile: Remove support for automatic cvs check-ins.
49434 * Makerules: Likewise.
49435 * config.make.in: Likewise.
49436 * configure.in: Likewise.
49437 * intl/Makefile: Likewise.
49438 * locale/Makefile: Likewise.
49439 * po/Makefile: Likewise.
49440 * posix/Makefile: Likewise.
49441 * sysdeps/gnu/Makefile: Likewise.
49442 * sysdeps/mach/hurd/Makefile: Likewise.
49443 * sysdeps/sparc/sparc32/Makefile: Likewise.
49444
b0727fd8
JS
49445 [BZ #13118]
49446 * posix/Makefile (bug-regex32-ENV): Define.
49447 Patch by John Stanley <jpsinthemix@verizon.net>.
49448
a0f33f99
UD
49449 * misc/Makefile (headers): Add bits/select2.h.
49450 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49451 * misc/bits/select2.h: New file.
49452 * include/bits/select2.h: New file.
49453 * debug/Makefile (routines): Add fdelt_chk.
49454 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49455 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49456 FD_ISSET.
49457 * debug/fdelt_chk.c: New file.
49458
762011fe
UD
49459 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49460 * wcsmbs/test-wmemcmp.c: Likewise.
49461 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49462 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49463
494642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49465
49466 * string/Makefile (strop-tests): Add memcmp.
49467 * string/test-wmemcmp.c: New file.
49468 * string/test-memcmp.c: Add wmemcmp support.
49469
7f513ec8
RM
494702011-09-08 Roland McGrath <roland@hack.frob.com>
49471
0442afb4
RM
49472 [BZ #13153]
49473 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49474 2011-07-19 change.
49475
7f513ec8
RM
49476 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49477 garbage value in a __mach_port_mod_refs call in the cases of the
49478 task-self and thread-self ports.
49479
a12b2239
ST
494802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49481
49482 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49483
610f9ab4
AS
494842011-09-08 Andreas Schwab <schwab@redhat.com>
49485
7f513ec8 49486 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49487
48882a1a
LD
494882011-09-07 Ulrich Drepper <drepper@gmail.com>
49489
b49865be
UD
49490 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49491
fdc86bc9
UD
49492 * elf/dl-libc.c (dlerror_run): Pass back error code from
49493 dl_catch_error.
49494
c966526a
UD
49495 [BZ #13123]
49496 * elf/dl-load.c (lose): Free l_origin if it is valid.
49497
48882a1a
LD
49498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49499 names.
49500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49504 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49505 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49506
77a2a8b4
AZ
495072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49508
49509 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49510 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49513 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49514 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49515 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49516 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49517 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49518 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49519
24f579d8
AM
495202011-08-15 Alan Modra <amodra@gmail.com>
49521
49522 [BZ #13092]
49523 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49524 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49525 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49526 ppc_mcount to static-only-routines.
49527 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49528 __mcount_internal.
49529 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49530 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49531
3d4837df
UD
495322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49533
49534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49535 for finite and infinity parameters.
49536
22700377
WS
495372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49538
49539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49540 and add nop instructions for throughput optimization.
49541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49542
5025581e
WS
495432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49544
49545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49546 aligned copy for power7 with vector-scalar instructions.
49547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49548
08a300c9
L
495492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49550
49551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49552 AVX check.
49553
59178ef9
AS
495542011-09-07 Andreas Schwab <schwab@redhat.com>
49555
49556 [BZ #13144]
49557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49558 last change.
49559
e38ba7ab
UD
495602011-09-07 Ulrich Drepper <drepper@gmail.com>
49561
49562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49563 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49564 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49566 clock_gettime.
49567
d53a73ac
UD
495682011-09-06 Ulrich Drepper <drepper@gmail.com>
49569
fc8bffcc
UD
49570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49571 Forgot to demangle the pointer.
49572
ceaa0c5d
UD
49573 * sysdeps/i386/sysdep.h: Define atom_text_section.
49574 * sysdeps/x86_64/sysdep.h: Likewise.
49575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49576 section with atom_text_section.
49577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49582
a77d3c17
UD
49583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49585 already be defined. Change to take two parameters and don't assign
49586 result to variable. Adjust all users.
49587 Define INTERNAL_GETTIME if not already defined.
49588 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49589 call.
49590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49591 HAVE_CLOCK_GETTIME_VSYSCALL.
49592 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49593
d53a73ac
UD
49594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49595 gettimeofday vsyscall, just use time.
49596
a8f84144
AS
495972011-09-06 Andreas Schwab <schwab@redhat.com>
49598
49599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49600 <errno.h>.
49601
ef606249
UD
496022011-09-06 Ulrich Drepper <drepper@gmail.com>
49603
49604 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49605 syscall on x86-64.
49606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49607 syscall.
49608 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49610 syscall if possible.
49611
6585cb60
UD
496122011-09-05 Ulrich Drepper <drepper@gmail.com>
49613
49614 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49615 e_ident. Don't pass to find_mapsXX.
49616 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49617
a5f524e4
LD
496182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49619
49620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49621 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49622 * sysdeps/x86_64/multiarch/strchr.S: Update.
49623 Check bit_slow_BSF bit.
49624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49627
554881ef
UD
496282011-09-05 Ulrich Drepper <drepper@gmail.com>
49629
d96de963
UD
49630 [BZ #13134]
49631 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49632 before glibc 2.15.
49633 (tryshell): Define.
49634 (__spawni): Change last parameter to be flag. Test
49635 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49636 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49637 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49638 * posix/spawni.c: Likewise.
49639 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49640 * posix/spawnp.c: Likewise. Change normal version to use
49641 SPAWN_XFLAGS_USE_PATH.
49642 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49643 SPAWN_XFLAGS_TRY_SHELL.
49644
d48e5868
UD
49645 [BZ #13150]
49646 * posix/glob.h: Remove gcc 1.x support.
49647
554881ef
UD
49648 [BZ #13068]
49649 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49650
693fb948
LD
496512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49652
49653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49654 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49655 strrchr-sse2-bsf
49656 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49657 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49662
1b48c537
UD
496632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49664
49d42c37
UD
49665 * sysdeps/x86_64/wcscmp.S: New file.
49666
1b48c537
UD
49667 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49668 wcscmp-c wcscmp-sse2
49669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49670 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49672 * wcsmbs/wcscmp.c: Allow renaming.
49673
15c95c5d
DM
496742011-09-05 David S. Miller <davem@davemloft.net>
49675
49676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49677 stack slot, rather than the struct return pointer slot.
49678 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49682
2f0ad8f3
UD
496832011-09-05 Ulrich Drepper <drepper@gmail.com>
49684
d88ae418
UD
49685 * po/ja.po: Update from translation team.
49686
2f0ad8f3
UD
49687 [BZ #13144]
49688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49689 kernel in 64-bit binaries.
49690
5f4318d1
DM
496912011-09-01 David S. Miller <davem@davemloft.net>
49692
49693 * elf/elf.h (HWCAP_SPARC_*): Move to..
49694 * sysdeps/sparc/sysdep.h: this new file and add new values.
49695 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49696 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49697 _DL_HWCAP_COUNT to 24.
49698 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49699 entries.
49700 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49701 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49702 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49704 instead of magic constants.
49705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49706
3ba57516
DM
497072011-08-31 David S. Miller <davem@davemloft.net>
49708
49709 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49711 Reimplement to do errno handling inline.
49712 (SYSCALL_ERROR_HANDLER): New macro.
49713 (__SYSCALL_STRING): Do not do errno handling in asm.
49714 (__CLONE_SYSCALL_STRING): Delete.
49715 (__INTERNAL_SYSCALL_STRING): Delete.
49716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49717 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49718 (PSEUDO): Reimplement to do errno handling inline.
49719 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49720 (SYSCALL_ERROR_HANDLER): New macro.
49721 (__SYSCALL_STRING): Do not do errno handling in asm.
49722 (__CLONE_SYSCALL_STRING): Delete.
49723 (__INTERNAL_SYSCALL_STRING): Delete.
49724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49725 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49726 i386.
49727 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49728 (inline_syscall*): Add 'err' argument.
49729 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49730 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49731 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49732 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49733
49734 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49736
2bc17433
AS
497372011-08-30 Andreas Schwab <schwab@redhat.com>
49738
49739 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49740
fbeb5f4d
JO
497412011-08-29 Jiri Olsa <jolsa@redhat.com>
49742
49743 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49744 directive.
49745
ad69cc26
DM
497462011-08-24 David S. Miller <davem@davemloft.net>
49747
49748 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49749
39dd69df
AS
497502011-08-24 Andreas Schwab <schwab@redhat.com>
49751
49752 * elf/Makefile: Add rules to build and run unload8 test.
49753 * elf/unload8.c: New file.
49754 * elf/unload8mod1.c: New file.
49755 * elf/unload8mod1x.c: New file.
49756 * elf/unload8mod2.c: New file.
49757 * elf/unload8mod3.c: New file.
49758
49759 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49760 it wasn't used.
49761
2c0b250a
DM
497622011-08-23 David S. Miller <davem@davemloft.net>
49763
49764 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49765 subtract stack bias.
49766 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49767 %sp not %fp in calculations.
49768 (_JMPBUF_UNWINDS_ADJ): Likewise.
49769
22044b48
DM
49770 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49771 (aio_suspend): Call it to force an exception region around the
49772 AIO_MISC_WAIT() invocation.
49773
2cae4995
AS
497742011-08-23 Andreas Schwab <schwab@redhat.com>
49775
49776 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49777 backslash.
49778
873a772e
AJ
497792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49780
49781 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49782 protection macro.
49783 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49784 and <dl-machine.h>.
49785 (Elf64_FuncDesc): Remove.
49786
25ad0df1
DM
497872011-08-22 David S. Miller <davem@davemloft.net>
49788
49789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49790 sigaltstack check, add missing cfi directives.
49791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49792 missing cfi directives, and sigaltstack handling.
49793
e888bcbe
AS
497942011-08-16 Andreas Schwab <schwab@redhat.com>
49795
49796 [BZ #11724]
49797 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49798 object is seen twice.
49799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49800
49801 * elf/Makefile (distribute): Add tst-initorder2.c.
49802 (tests): Add tst-initorder2.
49803 (modules-names): Add tst-initorder2a tst-initorder2b
49804 tst-initorder2c tst-initorder2d. Add rules to build them.
49805 ($(objpfx)tst-initorder2.out): New rule.
49806 * elf/tst-initorder2.c: New file.
49807 * elf/tst-initorder2.exp: New file.
49808
87162f46
AS
498092011-08-22 Andreas Schwab <schwab@redhat.com>
49810
70538b7f
AS
49811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49812
f55ffe58
AS
49813 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49814 dependencies back to end of function.
49815
87162f46
AS
49816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49817 $(elfobjdir)/ld.so.
49818
91b392a4
UD
498192011-08-21 Ulrich Drepper <drepper@gmail.com>
49820
49821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49822 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49824 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49825 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49826 of __vdso_gettimeofday.
49827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49828 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49829 attribute_hidden.
49830 (_libc_vdso_platform_setup): Remove initialization of
49831 __vdso_gettimeofday and __vdso_time.
49832
5c43483f
UD
498332011-08-20 Ulrich Drepper <drepper@gmail.com>
49834
775a77e7
UD
49835 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49836 and fgetc_unlocked.
49837 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49838 getc_unlocked.
89f447ed 49839
49c74ba9
UD
49840 * elf/dl-open.c (add_to_global): Report additions to the global scope
49841 for LD_DEBUG=scopes.
49842 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 49843 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 49844
5c43483f
UD
49845 [BZ #13114]
49846 * stdio-common/Makefile (tests): Add bug24.
49847 * stdio-common/bug24.c: New file.
49848
a101b025
AJ
498492011-08-19 Andreas Jaeger <aj@suse.de>
49850
49851 [BZ #13114]
49852 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49853 non-existant file when using close-on-exec mode.
49854
c88f1766
UD
498552011-08-20 Ulrich Drepper <drepper@gmail.com>
49856
0276a718
UD
49857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49858 the very first instruction.
49859
c88f1766
UD
49860 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49861 the CFI state in the end.
49862 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49863 inclusion of dl-trampoline.h.
49864 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49865
51ccffa0
AS
498662011-08-19 Andreas Schwab <schwab@redhat.com>
49867
94d7165f
AS
49868 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49869 expectations for long double.
49870
51ccffa0
AS
49871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49872 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49873
fd708658 498742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
49875
49876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49877 artificual limit depends upon the system page size.
49878
44f0a71e
UD
498792011-08-17 Ulrich Drepper <drepper@gmail.com>
49880
49881 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49882 * resolv/Makefile: Define CFLAGS-libresolv.
49883
8de79a24
AS
498842011-08-17 Andreas Schwab <schwab@redhat.com>
49885
49886 * nss/makedb.c (compute_tables): Make variables used in nested
49887 function static.
49888
27724598
UD
498892011-08-17 Ulrich Drepper <drepper@gmail.com>
49890
c5305d88
UD
49891 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49892 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49893 if buffer was too small.
49894
27724598
UD
49895 * elf/pldd.c (main): Attach to all threads in the process.
49896 Rewrite /proc handling to use *at functions.
49897
076fe015
UD
498982011-08-16 Ulrich Drepper <drepper@gmail.com>
49899
174baab3
UD
49900 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49901 specifies first scope to show.
49902 (dl_open_worker): Update callers. Move printing scope of new
49903 object to before the relocation.
44f0a71e 49904 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
49905 * sysdeps/generic/ldsodefs.h: Update declaration.
49906
076fe015
UD
49907 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49908 string for the scope number.
49909
a60df2c3
UD
499102011-08-14 Ulrich Drepper <drepper@gmail.com>
49911
49912 * nscd/servicescache.c (cache_addserv): Make sure written is always
49913 initialized.
49914
5e4287d1
RM
499152011-08-14 Roland McGrath <roland@hack.frob.com>
49916
85ae0589
RM
49917 * sysdeps/i386/i486/bits/atomic.h
49918 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49919 statement expression, so as to suppress "set but not used" warning.
49920 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49921
69f63097
RM
49922 * string/strncat.c (STRNCAT): Use prototype definition.
49923
675456ef
RM
49924 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49925 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49926 -Iprograms here.
49927 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49928 (localedef-modules): Add localedef.
49929 (locale-modules): Add locale.
49930
5e4287d1
RM
49931 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49932 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49933 to avoid a warning.
49934
9c96ff23
DM
499352011-08-14 David S. Miller <davem@davemloft.net>
49936
49937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49938 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49939
f9ddf089
UD
499402011-08-13 Ulrich Drepper <drepper@gmail.com>
49941
44f0a71e 49942 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
49943 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49944 * elf/rtld.c (dl_main): Set l_name of vDSO.
49945 Call _dl_show_scope when DL_DEBUG_SCOPES.
49946 (process_dl_debug): Recognize scopes flag and also set it for all.
49947 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49948 Declare _dl_show_scope.
49949
1dc27704
UD
49950 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49951 (do_dlopen): Pass caller_dlopen to dl_open.
49952 (__libc_dlopen_mode): Initialize caller_dlopen.
49953
f9ddf089
UD
49954 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49955 of libc. Make tolower call locale-independent. Optimize a bit by
49956 using isdigit instead of isalnum.
49957 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49958
9ac533d3
UD
499592011-08-12 Ulrich Drepper <drepper@gmail.com>
49960
49961 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49962 was a dependency or dynamically loaded.
49963
89edf2e9
UD
499642011-08-11 Ulrich Drepper <drepper@gmail.com>
49965
8e999d29
UD
49966 * intl/l10nflist.c: Allow architecture-specific pop function.
49967 * sysdeps/x86_64/l10nflist.c: New file.
49968
89edf2e9
UD
49969 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49970 classification.
49971
14d96785
AS
499722011-08-10 Andreas Schwab <schwab@redhat.com>
49973
49974 * include/dirent.h: Add libc_hidden_proto for scandirat and
49975 scandirat64. Don't declare __scandirat64.
49976 * dirent/scandirat.c: Add libc_hidden_def.
49977 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49978 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49979
6761ac04
DM
499802011-08-10 David S. Miller <davem@davemloft.net>
49981
49982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49983 enum.
49984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49987
c55fbd1e
UD
499882011-08-09 Ulrich Drepper <drepper@gmail.com>
49989
49990 * Versions.def [libc]: Add GLIBC_2.15.
49991 * dirent/Makefile (routines): Add scandirat and scandirat64.
49992 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49993 GLIBC_2.15.
49994 * dirent/dirent.h: Declare scandirat and scandirat64.
49995 * dirent/scandirat.c: New file.
49996 * dirent/scandirat64.c: New file.
49997 * sysdeps/wordsize-64/scandirat.c: New file.
49998 * sysdeps/wordsize-64/scandirat64.c: New file.
49999 * dirent/opendir.c: Define opendirat.
50000 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50001 using scandirat.
50002 * dirent/scandir64.c: Adjust for scandir.c change.
50003 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50004 __scandirat64, and __scandir_cancel_handler.
50005 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50006 additional parameter and use openat instead of open (outside of ld.so).
50007 Add new __opendir as wrapper around __opendirat.
50008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50009 here without requiring old scandirat implementation.
50010
879165f2
UD
500112011-08-08 Ulrich Drepper <drepper@gmail.com>
50012
50013 * dirent/scandir.c (cancel_handler): Renamed to
50014 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50015 defined. Adjust users.
50016 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50018
cb7e923b
UD
500192011-08-04 Ulrich Drepper <drepper@gmail.com>
50020
16292edd
UD
50021 * string/test-string.h (IMPL): Use __STRING to expand name and then
50022 stringify it.
50023
cb7e923b
UD
50024 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50025 of cleanups.
50026
cff82933
LD
500272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50028
50029 * string/Makefile: Update.
50030 (strop-tests): Append strncat.
50031 * string/test-wcscmp.c: New file.
50032 New comprehensive test for wcscmp.
50033 * string/test-strcmp.c: Update.
50034 (WIDE): New define.
50035
9be9bfcc
AS
500362011-07-22 Andreas Schwab <schwab@redhat.com>
50037
50038 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50039 line.
50040
2e96f1c7
AS
500412011-07-26 Andreas Schwab <schwab@redhat.com>
50042
50043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50044 encoding to ACE if AI_IDN.
50045
85188888
JJ
500462011-08-01 Jakub Jelinek <jakub@redhat.com>
50047
50048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50049 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50050
5fa16e9b
LD
500512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50052
50053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50054 Fix overflow bug in strncat.
50055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50056
50057 * string/test-strncat.c: Update.
50058 Add new tests for checking overflow bugs.
50059
500602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50061
50062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50063 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50064 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50065 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50067 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50068 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50069 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50070 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50071
50072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50073 (USE_AS_STRCAT): Define.
50074 Add strcat and strncat support.
50075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50076
8c1a459f
AS
500772011-07-25 Andreas Schwab <schwab@redhat.com>
50078
50079 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50080 __n bigger than INT_MAX+1.
50081 (__strncmp_g): Likewise.
50082
bba33c28
UD
500832011-07-23 Ulrich Drepper <drepper@gmail.com>
50084
798be72d
UD
50085 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50086 * libio/stido.h: Likewise.
50087
8accd4dc
UD
50088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50089 (AF_NFC): Define.
50090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50091 (AF_NFC): Define.
50092
cbff0d96
UD
50093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50098
9191c04a
UD
50099 [BZ #13021]
50100 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50101 installed.
50102
bba33c28
UD
50103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50104 typo.
50105 (_dl_x86_64_save_sse): Likewise.
50106
90f139dd
UD
501072011-07-22 Ulrich Drepper <drepper@gmail.com>
50108
1aae088a
UD
50109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50110 OSXSAVE.
50111 (_dl_x86_64_save_sse): Likewise.
50112
8e2045f5
UD
50113 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50114
90f139dd
UD
50115 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50116
1d002f25
AS
501172011-07-21 Andreas Schwab <schwab@redhat.com>
50118
50119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50120 change.
50121 (_dl_x86_64_save_sse): Use correct AVX check.
50122
21137f89
UD
501232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50124
50125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50126 bug in strncpy/strncat.
50127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50128
a65c0b7a
UD
501292011-07-21 Ulrich Drepper <drepper@gmail.com>
50130
50131 * string/tester.c (test_strcat): Add tests for different alignments
50132 of source and destination.
50133 (test_strncat): Likewise.
50134
6986b98a
UD
501352011-07-20 Ulrich Drepper <drepper@gmail.com>
50136
90bb2039
UD
50137 [BZ #12852]
50138 * posix/glob.c (glob): Check passed in values before using them in
50139 expressions to avoid some overflows.
50140 (glob_in_dir): Likewise.
50141
5644ef54
UD
50142 [BZ #13007]
50143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50144 check for AVX enablement so that we don't crash with old kernels and
50145 new hardware.
50146 * elf/tst-audit4.c: Add same checks here.
50147 * elf/tst-audit6.c: Likewise.
50148
50149 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50150
bfc9dc9b
AS
501512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50152
50153 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50154
702e64bb
UD
501552011-07-20 Ulrich Drepper <drepper@gmail.com>
50156
50157 * po/cs.po: Update from translation team.
50158 * po/bg.po: Likewise.
50159
295e904f
MP
501602011-07-12 Marek Polacek <mpolacek@redhat.com>
50161
50162 * misc/sys/cdefs.h: Add support for const attribute.
50163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50164 to gnu_dev_{major,minor,makedev} functions.
50165
3ff94596
MP
501662011-07-20 Marek Polacek <mpolacek@redhat.com>
50167
50168 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50169
28b59fca
AS
501702011-07-20 Andreas Schwab <schwab@redhat.com>
50171
50172 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50173 strlen results.
50174
19df733e
AK
501752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50176
50177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50178 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50179 register in order to avoid conflicts with the soft frame pointer
50180 being held in r11 when necessary.
50181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50182 (INTERNAL_VSYSCALL_NCS): Likewise.
50183
c8835729
MP
501842011-07-14 Marek Polacek <mpolacek@redhat.com>
50185
50186 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50187 * elf/dl-fini.c (_dl_fini): Adjust caller.
50188 * elf/dl-close.c (_dl_close_worker): Likewise.
50189 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50190
b902330c
MP
501912011-07-15 Marek Polacek <mpolacek@redhat.com>
50192
8991e135
MP
50193 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50194 "aux_cache->nlibs < 0".
50195
b902330c
MP
50196 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50197 in the reload-count case.
50198
99710781
LD
501992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50200
50201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50202 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50203 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50205 * sysdeps/x86_64/multiarch/strcat.S: New file.
50206 * sysdeps/x86_64/multiarch/strncat.S: New file.
50207 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50209 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50210 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50212 (USE_AS_STRCAT): Define.
50213 Add strcat and strncat support.
50214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50217 * string/strncat.c: Update.
50218 (USE_AS_STRNCAT): Define.
50219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50220 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50221 and i7.
50222 * sysdeps/x86_64/multiarch/init-arch.h
50223 (bit_Prefer_PMINUB_for_stringop): New.
50224 (index_Prefer_PMINUB_for_stringop): Likewise.
50225 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50226 bit_Prefer_PMINUB_for_stringop.
50227
7dc6bd90
UD
502282011-07-19 Ulrich Drepper <drepper@gmail.com>
50229
50230 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50231 buffer64.
50232 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50233 of casting of buffer.
50234 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50235 buffer32 and buffer64.
50236 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50237 writes instead of casting of buffer.
50238 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50239 buffer32.
50240 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50241 casting of buffer.
50242
e0e72284
AS
502432011-07-19 Andreas Schwab <schwab@redhat.com>
50244
50245 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50246
feb1eb0b
UD
502472011-07-19 Ulrich Drepper <drepper@gmail.com>
50248
50249 * nscd/nscd.c (termination_handler): Don't do anything for a database
50250 if it has not yet been initialized.
50251
298711ff
UD
502522011-07-18 Ulrich Drepper <drepper@gmail.com>
50253
50254 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50255
502562011-07-15 Marek Polacek <mpolacek@redhat.com>
50257
50258 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50259
f9d68389
UD
502602011-07-18 Ulrich Drepper <drepper@gmail.com>
50261
50262 * po/nl.po: Update from translation team.
50263 * po/sv.po: Likewise.
50264
db290cf5
RM
502652011-07-16 Roland McGrath <roland@hack.frob.com>
50266
50267 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50268 now disallowed by GCC.
5c550700 50269
fd5e21c7
RM
50270 * configure.in (use-default-link): Default to yes if a test -shared
50271 link meets our qualifications.
50272 * configure: Regenerated.
50273
5c550700
RM
50274 * config.make.in (output-format): New variable.
50275 * configure.in: Check for ld --print-output-format support.
50276 * configure: Regenerated.
50277 * Makerules ($(common-objpfx)format.lds)
50278 [$(output-format) != unknown]: Just use $(output-format),
50279 instead of the linker-script munging.
50280
9fa2c032
RM
502812011-07-14 Roland McGrath <roland@hack.frob.com>
50282
a6928d51
RM
50283 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50284 of $(common-objpfx)shlib.lds.
50285 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50286
661607b3
RM
50287 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50288 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50289
9fa2c032
RM
50290 * configure.in (-z relro check): Adjust test code to add a large
50291 writable data section after it.
50292 * configure: Regenerated.
50293
defe9061
RM
502942011-07-11 Roland McGrath <roland@hack.frob.com>
50295
50296 * configure.in (-z relro check): Fix test code to make the variable
50297 truly const.
50298 * configure: Regenerated.
50299
319b9ad4
UD
503002011-07-11 Ulrich Drepper <drepper@gmail.com>
50301
50302 * nscd/nscd.h (struct traced_file): Define.
50303 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50304 elements. Add traced_files.
50305 (inotify_fd): Declare.
50306 (register_traced_file): Declare.
50307 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50308 (inotify_fd): Export.
50309 (resolv_conf_descr): Remove.
50310 (nscd_init): Move inotify descriptor creation to main.
50311 Don't register files for notification here.
50312 (register_traced_file): New function.
50313 (invalidate_cache): Don't use reset_res to determine whether to call
50314 res_init, go through the list of registered files.
50315 (main_loop_poll): The inotify descriptors are now stored in the
50316 structures for the traced files.
50317 (main_loop_epoll): Likewise
50318 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50319 to __nss_disable_nscd.
50320 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50321 for a database anymore. Check the records for all the registered
50322 files instead.
50323 * nss/Makefile (libnss_files-routines): Add files-init.
50324 (libnss_db-routines): Add db-init.
50325 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50326 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50327 * nss/nss_db/db-init.c: New file.
50328 * nss/nss_files/files-init.c: New file.
50329 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50330 __nss_lookup_function.
50331 (__nss_lookup_function): Call nss_load_library.
50332 (nss_load_all_libraries): New function.
50333 (__nss_disable_nscd): Take parameter with callback function for files
50334 to register. Set is_nscd. Load all the DSOs for the NSS modules
50335 used for the cached services.
50336 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50338 options for features to all the files in nscd.
50339
50340 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50341
23bee3e8
RM
503422011-07-10 Roland McGrath <roland@hack.frob.com>
50343
50344 * csu/elf-init.c (__libc_csu_init): Comment typo.
50345
46a5b7f0
UD
503462011-07-09 Ulrich Drepper <drepper@gmail.com>
50347
50348 * po/pl.po: Update from translation team.
50349 * po/ja.po: Likewise.
50350 * po/ru.po: Likewise.
50351 * po/ko.po: Likewise.
50352 * po/fr.po: Likewise.
50353
d30cf5bb
RM
503542011-07-09 Roland McGrath <roland@hack.frob.com>
50355
113ddea4
RM
50356 * configure.in (.ctors/.dtors header and trailer check):
50357 Use an empirical test on a built program.
50358 * configure: Regenerated.
50359
574920b4
RM
50360 * configure.in (-z relro check): Use an empirical test on a built DSO.
50361 Detect, but do not require, on ia64.
50362 * configure: Regenerated.
50363
d30cf5bb
RM
50364 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50365 Update tests that use readelf to use $READELF instead.
50366 * configure: Regenerated.
50367
8538fdb3
UD
503682011-07-08 Ulrich Drepper <drepper@gmail.com>
50369
50370 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50371 if the result is not used.
50372
04d08991
AJ
503732011-07-05 Andreas Jaeger <aj@suse.de>
50374
50375 [BZ#9696]
50376 * stdlib/tst-strtod.c: Add testcase.
50377
de283087
AD
503782011-07-07 Ulrich Drepper <drepper@gmail.com>
50379
4e5f31c8 50380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50381 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50382 The latter has a higher limit. Take additional parameter to pass to
50383 the new function.
50384 (__pathconf): Pass file to __statfs_link_max.
50385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50386 __statfs_link_max.
50387 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50388 __statfs_link_max.
50389
de283087
AD
50390 [BZ #12868]
50391 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50393 Handle Lustre.
50394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50395 (__statfs_filesize_max): Likewise.
50396 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50397
c75fa153
AJ
503982011-07-05 Andreas Jaeger <aj@suse.de>
50399
50400 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50401
1a544854
UD
504022011-07-06 Marek Polacek <mpolacek@redhat.com>
50403
50404 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50405 `status' variable.
50406 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50407 Likewise.
50408
6f0eec67
UD
504092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50410
50411 * Makefile (strop-tests): Add strncat.
50412 * string/test-strncat.c: New file.
50413
aae30307
UD
504142011-06-30 Marek Polacek <mpolacek@redhat.com>
50415
50416 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50417
c0cfb5eb
UD
504182011-06-21 Andreas Jaeger <aj@suse.de>
50419
50420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50421 Copy rule from iconvdata/Makefile.
50422
01636b21
UD
504232011-07-06 Ulrich Drepper <drepper@gmail.com>
50424
50425 [BZ #12922]
50426 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50427 but no long options are defined, just return 'W'.
50428
9895c8bc
UD
504292011-06-22 Marek Polacek <mpolacek@redhat.com>
50430
50431 [BZ #9696]
50432 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50433
5d4cf042
UD
504342011-07-06 Ulrich Drepper <drepper@gmail.com>
50435
50436 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50437 netgroups to read.
960e5535 50438 (innetgr): Likewise.
5d4cf042 50439
751eb97e
RM
504402011-07-05 Roland McGrath <roland@hack.frob.com>
50441
50442 * config.make.in (install_root): Default to $(DESTDIR).
50443
f15f1e45
UD
504442011-07-05 Ulrich Drepper <drepper@gmail.com>
50445
50446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50447
4e34ac6a
RM
504482011-07-02 Roland McGrath <roland@hack.frob.com>
50449
5e9b6af4
RM
50450 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50451
84f9ea0f
RM
50452 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50453 containing directory rather than embedding absolute directory names.
50454
ea5ee9f7
RM
50455 * scripts/check-local-headers.sh: Rewritten using awk.
50456 Match by word, not by line. Print error messages for matches.
50457 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50458
1b74661a
RM
50459 * Makerules [shlib-lds-flags empty]:
50460 ($(common-objpfx)libc_pic.opts): New target.
50461 ($(common-objpfx)libc_pic.os.clean): New target.
50462 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50463
50464 * config.make.in (OBJCOPY): New variable.
50465 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50466 * configure: Regenerated.
50467
f781ef40
RM
50468 * config.make.in (use-default-link): New variable.
50469 * configure.in (use_default_link): Grok --with-default-link to set it.
50470 * configure: Regenerated.
50471 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50472 (shlib-lds, shlib-lds-flags): Define to empty.
50473
2d4fa81e
RM
50474 * Makerules (shlib-lds): New variable.
50475 (shlib-lds-flags): New variable.
50476 (build-shlib, build-moduile, build-module-asneeded): Use it.
50477 ($(common-objpfx)libc.so): Use $(shlib-lds).
50478 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50480
31fffa6b
RM
50481 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50482 DT_FLAGS/DT_FLAGS_1 with zero flags.
50483
4e34ac6a
RM
50484 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50485 linker script munging.
50486
fcfc776b
UD
504872011-07-02 Ulrich Drepper <drepper@gmail.com>
50488
50489 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50490 as 128-bit value.
50491 * crypt/sha512.c (sha512_process_block): Perform total addition using
50492 128-bit if possible.
50493 (__sha512_finish_ctx): Likewise.
50494 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50495 as 64-bit value.
50496 * crypt/sha256.c (SWAP64): Define.
50497 (sha256_process_block): Perform total addition using 64-bit if
50498 possible.
50499 (__sha256_finish_ctx): Likewise.
50500
99231d9a
UD
505012011-07-01 Ulrich Drepper <drepper@gmail.com>
50502
50503 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50505 * nscd/hstcache.c (cache_addhst): Likewise.
50506 * nscd/grpcache.c (cache_addgr): Likewise.
50507 * nscd/aicache.c (addhstaiX): Likewise
50508 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50509
445b4a53
TK
505102011-07-01 Thorsten Kukuk <kukuk@suse.de>
50511
50512 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50514 * nscd/hstcache.c (cache_addhst): Likewise.
50515 * nscd/grpcache.c (cache_addgr): Likewise.
50516 * nscd/aicache.c (addhstaiX): Likewise
50517
6d4d8e8e
AS
505182011-07-01 Andreas Schwab <schwab@redhat.com>
50519
50520 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50521 domain only when needed.
50522
89f654c5
AS
505232011-06-30 Andreas Schwab <schwab@redhat.com>
50524
50525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50526 is always restored.
50527
cf3b23ff
UD
505282011-06-29 Ulrich Drepper <drepper@gmail.com>
50529
50530 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50531 are re-adding the entry.
50532 * nscd/servicescache.c (cache_addserv): Likewise.
50533
751626f9
AJ
505342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50535
50536 * sysdeps/generic/dl-irel.h: fix protection against multiple
50537 inclusions.
50538 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50539
9113ea1f
UD
505402011-06-28 Ulrich Drepper <drepper@gmail.com>
50541
5c0b8d90
UD
50542 [BZ #12935]
50543 * malloc/memusage.sh: Fix quoting in message.
50544 * debug/xtrace.sh: Likewise.
50545
9113ea1f
UD
50546 * configure.in: Remove support for --experimental-malloc option, make
50547 it the default.
50548 * config.make.in: Likewise.
50549 * malloc/Makefile: Likewise.
50550
a4172181
AS
505512011-06-27 Andreas Schwab <schwab@redhat.com>
50552
50553 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50554 two-byte characters.
50555
78a7eee7
RM
505562011-06-27 Roland McGrath <roland@hack.frob.com>
50557
62bede13
RM
50558 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50559 AC_CACHE_CHECK invocation.
50560 * configure: Regenerated.
50561
78a7eee7
RM
50562 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50563
5ce33a62
UD
505642011-06-27 Ulrich Drepper <drepper@gmail.com>
50565
034807a9
UD
50566 [BZ #12350]
50567 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50568 bit from old_res_options.
50569
4902da17
UD
50570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50571
5ce33a62
UD
50572 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50573 value type for setfct.
50574
c2344f56
L
505752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50576
50577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50578 __gettimeofday instead of gettimeofday.
50579
68468076
UD
505802011-06-26 Ulrich Drepper <drepper@gmail.com>
50581
50582 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50583
acb0d739
L
505842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50585
50586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50587
50588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50589 info.
50590
8912479f
L
505912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50592
50593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50594 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50595 strcpy-sse2-unaligned strncpy-sse2-unaligned
50596 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50597 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50598 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50599 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50600 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50603 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50604 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50605 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50606 (STRCPY): Support SSE2 and SSSE3 versions.
50607
d5495a11
UD
506082011-06-24 Ulrich Drepper <drepper@gmail.com>
50609
50610 [BZ #12874]
50611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50612 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50613 kernels which artificially limit size of requests.
50614
0b1cbaae
L
506152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50616
50617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50618 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50619 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50620 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50621 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50622 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50623 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50624 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50627 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50628 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50629 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50630 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50631 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50633 Enable unaligned load optimization for Intel Core i3, i5 and i7
50634 processors.
50635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50636 Define.
50637 (index_Fast_Unaligned_Load): Define.
50638 (HAS_FAST_UNALIGNED_LOAD): Define.
50639
07f494a0
MP
506402011-06-23 Marek Polacek <mpolacek@redhat.com>
50641
50642 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50643
fa3fc0fe
UD
506442011-06-22 Ulrich Drepper <drepper@gmail.com>
50645
50646 [BZ #12907]
50647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50648 until it is clear that the information is realy needed.
50649 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50650
e12df166
AS
506512011-06-22 Andreas Schwab <schwab@redhat.com>
50652
50653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50654
852eb34d
UD
506552011-06-22 Ulrich Drepper <drepper@gmail.com>
50656
84e2a551
UD
50657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50658 /sys/devices/system/cpu/online if it is usable.
50659
852eb34d
UD
50660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50661 reading the information from the /proc filesystem to once a second.
50662
6e502e19
UD
506632011-06-21 Andreas Jaeger <aj@suse.de>
50664
50665 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50666 NULL after inclusion of kernel headers.
50667
75d39ff2
UD
506682011-06-21 Ulrich Drepper <drepper@gmail.com>
50669
51f9aa6a
UD
50670 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50671 calls to internal_setent.
50672
c0244a9d
UD
50673 [BZ #12885]
50674 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50675 addresses using gethostbyname4_r ignore IPv4 addresses.
50676
c5e3c2ae
UD
50677 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50678 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50679
75d39ff2
UD
50680 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50681
42675c6f
DM
506822011-06-20 David S. Miller <davem@davemloft.net>
50683
50684 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50685 inclusions.
50686 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50687
50688 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50689 (elf_irel): Use it.
50690 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50691 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50692 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50693 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50694 * sysdeps/x86_64/dl-irel.h: Likewise.
50695
50696 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50697 * elf/dl-sym.c: Likewise.
50698
57912a71
UD
506992011-06-15 Ulrich Drepper <drepper@gmail.com>
50700
50701 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50702 need to dereference resplen2.
50703
ee22793d
AS
507042011-06-14 Andreas Schwab <schwab@redhat.com>
50705
50706 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50707
a9e836b0
UD
507082011-06-15 Ulrich Drepper <drepper@gmail.com>
50709
77fb9117
UD
50710 * Makeconfig: Define vardbdir and inst_vardbdir.
50711 * nss/Makefile: Add rules to install db-Makefile.
50712
40c1b22c
UD
50713 * nss/nss_db/db-XXX.c: Cleanup.
50714
9f2da732
UD
50715 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50716 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50717 GLIBC_PRIVATE.
50718 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50719 * nss/makedb.c: Implement -g option to specify that value strings
50720 are generated and should not be added to table iterated over for
50721 get*ent calls.
50722 * nss/nss_db/db-initgroups.c: New file.
50723
82e9a1f7
UD
50724 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50725 interface.
50726
c41af17e
UD
50727 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50728 (internal_getgrouplist): Adjust to name change.
50729 Update use_initgroups_entry if this is not the first call.
50730 * nss/databases.def: Add initgroups entry.
50731
a9e836b0
UD
50732 * nss/makedb.c (compute_tables): Check result of multiple hash table
50733 sizes to minimize maximum chain length.
50734
2666d441
UD
507352011-06-14 Ulrich Drepper <drepper@gmail.com>
50736
50737 * Versions.def: Add entry for libnss_db.
50738 * shlib-versions: Likewise.
50739 * nss/Makefile: Add rules to build libnss_db.
50740 * nss/Versions: Add libnss_db information. Organize libnss_files
50741 entries better.
50742 * nss/db-Makefile: Add gshadow support. Change rules for the new
50743 makedb progra. Some minor improvements to generate smaller files.
50744 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50745 here from...
50746 * nss/makedb.c: ...here.
50747 Improve database format to be smaller and require less memory at
50748 runtime.
50749 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50750 db anymore.
50751 * nss/nss_db/db-netgrp.c: Likewise.
50752 * nss/nss_db/db-open.c: Likewise.
50753 * nss/nss_files/flies-XXX.x: Adjust comments.
50754 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50755 * nss/nss_files/files-grp.c: Likewise.
50756 * nss/nss_files/files-hosts.c: Likewise.
50757 * nss/nss_files/files-network.c: Likewise.
50758 * nss/nss_files/files-proto.c: Likewise.
50759 * nss/nss_files/files-pwd.c: Likewise.
50760 * nss/nss_files/files-rpc.c: Likewise.
50761 * nss/nss_files/files-service.c: Likewise.
50762 * nss/nss_files/files-sgrp.c: Likewise.
50763 * nss/nss_files/files-spwd.c: Likewise.
50764 * nss/nss_db/db-alias.c: Removed.
50765 * nss/nss_db/dummy-db.h: Removed.
50766
9ee76b5a
UD
507672011-06-02 Ulrich Drepper <drepper@gmail.com>
50768
50769 * nss/makedb.c: Rewritten to not use database library.
50770 * nss/Makefile: Update to build new makedb program.
50771
c71ca1f8
AJ
507722011-06-14 Andreas Jaeger <aj@suse.de>
50773
50774 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50775 memset declaration.
50776
3154bfb8
UD
507772011-06-10 Andreas Schwab <schwab@redhat.com>
50778
50779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50780 tmpbuf.
50781
b350afab
RM
507822011-06-10 Roland McGrath <roland@hack.frob.com>
50783
decd4e50
RM
50784 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50785 * elf/Makefile ($(objpfx)ld.so): Likewise.
50786
5615eaf2
RM
50787 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50788 Don't list ld.so twice in dependencies.
50789
50790 * posix/bug-regex31.c: Include <stdlib.h>.
50791
50792 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50793
50794 * nis/nss_compat/compat-spwd.c
50795 (getspent_next_nss_netgr): Remove unused variable.
50796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50797
50798 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50799 nonmembers" output to use the right array.
50800
50801 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50802
50803 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50804
50805 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50806 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50807 * catgets/gencat.c (read_input_file): Likewise.
50808 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50809
50810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50811 variable definition inside #if's controlling its use.
50812
50813 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50814
50815 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50816
50817 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50818
50819 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50820 unreachable code.
50821
50822 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50823
b68e08db
RM
50824 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50825 * configure: Regenerated.
50826
b350afab
RM
50827 * Makerules: Revert last change.
50828 * elf/Makefile: Likewise.
50829
28368601
RM
508302011-06-09 Roland McGrath <roland@hack.frob.com>
50831
50832 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50833 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50834 (reloc-link): Likewise.
50835
11988f8f
UD
508362011-06-09 Ulrich Drepper <drepper@gmail.com>
50837
50838 * elf/Makefile: Add rules to build pldd.
50839 * elf/pldd.c: New file.
50840 * elf/pldd-xx.c: New file.
50841
e80fab37
UD
508422011-06-07 Ulrich Drepper <drepper@gmail.com>
50843
50844 * version.h: Update for 2.15 development version.
50845
9b849836
DM
508462011-06-07 David S. Miller <davem@davemloft.net>
50847
50848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50849 ifuncs.
50850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50851 elf_machine_lazy_rel): Likewise.
50852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50854 elf_machine_lazy_rel): Likewise.
50855 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50856 dl_hwcap via passed in argument.
50857 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50858 Likewise.
50859
5a31b283
AK
508602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50861
50862 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50863
069e52f8
RM
508642011-06-06 Roland McGrath <roland@hack.frob.com>
50865
50866 [BZ #12849]
50867 * manual/fdl-1.1.texi: New file, verbatim from:
50868 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50869 * manual/lgpl-2.1.texi: New file, verbatim from:
50870 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50871 * manual/Makefile (licenses): New variable, list those new file names.
50872 (texis): Use it.
50873 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50874
50875 * manual/fdl.texi: File removed.
50876 * manual/lesser.texi: File removed.
50877 * manual/libc.texinfo (Copying, Documentation License):
50878 Use new @include file names, put @appendix directive before @include.
50879
f16846a5
JJ
508802011-06-04 Jakub Jelinek <jakub@redhat.com>
50881
50882 [BZ #12841]
50883 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50884 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50885 (mq_open): Add __NTH.
50886
3d29045b
L
508872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50888
50889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50890 Assume Intel Core i3/i5/i7 processor if AVX is available.
50891
8c297311
UD
508922011-05-31 Ulrich Drepper <drepper@gmail.com>
50893
50894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50895 typo.
50896
c8fc0c91
UD
508972011-05-31 Andreas Schwab <schwab@redhat.com>
50898
50899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50900 memory. Use alloca_account. Fix memory leak when retrying.
50901
5b27a807
UD
509022011-05-31 Ulrich Drepper <drepper@gmail.com>
50903
356f8bc6
UD
50904 * version.h (RELEASE): Bump for 2.14 release.
50905 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50906
5b27a807
UD
50907 * config.make.in (RANLIB): Remove entry.
50908
01f16ab0
UD
509092011-05-30 Ulrich Drepper <drepper@gmail.com>
50910
41fce8bd
UD
50911 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50912 (libc.pot): Work around missing support for .ksh extension in xgettext.
50913
4769ae77
UD
50914 [BZ #12684]
50915 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50916 if both request failed.
50917 (send_dg): In case of server errors clear resplen or *resplen2.
50918
6b1e7d19
UD
50919 [BZ #12454]
50920 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50921 when there are multiple maps.
50922 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50923 (_dl_fini): Remove test here.
50924
01f16ab0
UD
50925 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50926
b1ebd700
UD
509272011-05-29 Ulrich Drepper <drepper@gmail.com>
50928
7ae22829
UD
50929 [BZ #12350]
50930 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50931 bit from old_res_options.
50932 (gaih_inet): Likewise.
50933
553149f6 50934 [BZ #11099]
18a84741 50935 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
50936 as signed.
50937
652ffab1
UD
50938 * resolv/res_init.c (res_setoptions): Make the code more compact.
50939
16985fd0
UD
50940 [BZ #11558]
50941 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50942 set RES_USEVC.
50943
0464f746
UD
50944 [BZ #11634]
50945 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50946
7d17596c
UD
50947 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50948
cf6bbbd7
UD
50949 [BZ #11781]
50950 * malloc/malloc.h: Declare malloc hook variables as volatile.
50951
13f1ab36
UD
50952 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50953 in last patch.
50954
b1ebd700
UD
50955 [BZ #11799]
50956 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 50957 raise in the comment.
80e2212d
UD
50958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 50961
ce67228d
UD
509622011-05-28 Ulrich Drepper <drepper@gmail.com>
50963
8887a920
UD
50964 [BZ #12811]
50965 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50966 grow the buffers more if it already has to be sufficient.
50967 (build_wcs_upper_buffer): Likewise.
50968 * posix/regexec.c (check_matching): Likewise.
50969 (clean_state_log_if_needed): Likewise.
50970 (extend_buffers): Don't enlarge buffers beyond size of the input
50971 buffer.
50972 Patches mostly by Emil Wojak <emil@wojak.eu>.
50973 * posix/bug-regex32.c: New file.
50974 * posix/Makefile (tests): Add bug-regex32.
50975
4f031072
UD
50976 * locale/findlocale.c (_nl_find_locale): Return right away if
50977 _nl_explode_name failed.
50978 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50979
d0478f0c
UD
50980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50981
de81b246
UD
50982 * debug/xtrace.sh: Unify messages.
50983 * malloc/memusage.sh: Likewise.
50984
c738465a
UD
50985 [BZ #12813]
50986 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50987 time symbol from vDSO. Substitute with vsyscall if not available.
50988 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50989 __vdso_time.
50990
f1f929d7
UD
50991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50992 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50994 Add sendmmsg and internal_sendmmsg.
50995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50998
ce67228d
UD
50999 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51000 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51002
e57420c6
UD
510032011-05-27 Ulrich Drepper <drepper@gmail.com>
51004
a8509ca5
UD
51005 [BZ #12813]
51006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51007 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51008 available.
51009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51010 __vdso_getcpu.
51011
e57420c6
UD
51012 [BZ #12814]
51013 * iconvdata/Makefile (tests): Add bug-iconv9.
51014 * iconvdata/bug-iconv9.c: New file.
51015
4d07db15
AS
510162011-05-27 Andreas Schwab <schwab@redhat.com>
51017
51018 [BZ #12814]
51019 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51020
ea486f69
JJ
510212011-05-25 Jakub Jelinek <jakub@redhat.com>
51022
51023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51024 (struct user_regs_struct): Change intcs field back to cs.
51025
6f038433
UD
510262011-05-25 Ulrich Drepper <drepper@gmail.com>
51027
51028 * po/ja.po: Update from translation team.
51029
67f86a25
UD
510302011-05-23 Ulrich Drepper <drepper@gmail.com>
51031
51032 [BZ #12795]
51033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51035
def7fbd6
AS
510362011-05-20 Andreas Schwab <schwab@redhat.com>
51037
51038 * stdlib/longlong.h: Update from GCC.
51039
f50ef8f1
AS
510402011-05-23 Andreas Schwab <schwab@redhat.com>
51041
51042 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51043 parameter name.
51044 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51045 Add parameter name.
51046 (__sysconf): Pass it down.
51047
de7ce8f1
UD
510482011-05-22 Ulrich Drepper <drepper@gmail.com>
51049
f2962a71
UD
51050 [BZ #12671]
51051 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51052 some situations.
51053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51054 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51055 add in in __libc_use_alloca calls. Adjust callers.
51056 (glob): Use malloc in some situations.
51057
de7ce8f1
UD
51058 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51059 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51060 pltexit.
51061
aec84f53
UD
510622011-05-21 Ulrich Drepper <drepper@gmail.com>
51063
05bb4a68
UD
51064 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51065 and CLOCK_BOOTTIME_ALARM.
51066
7ea72f99
UD
51067 [BZ #12782]
51068 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51069 is returned.
51070
7e4afad5
UD
51071 * string/_strerror.c (__strerror_r): Print negative errors as signed
51072 numbers.
51073
8e211fec
UD
51074 [BZ #12777]
51075 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51076 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51077 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51078
f7d82dc9
UD
51079 * configure.in: Fix typo in redirection and correct removal of test
51080 files in two cases.
51081
cc9e536d
UD
51082 [BZ #12788]
51083 * locale/setlocale.c (new_composite_name): Fix test to check for
51084 identical name of all categories.
51085
aec84f53
UD
51086 [BZ #12792]
51087 * libio/filedoalloc.c (local_isatty): New function.
51088 (_IO_file_doallocate): Use local_isatty.
51089 * stdio-common/perror.c (perror): In case a new stream is used
51090 forward the stream error.
51091 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51092 error flag.
51093
78e64fdc
RT
510942011-05-20 Ulrich Drepper <drepper@gmail.com>
51095
34a9094f
UD
51096 [BZ #11869]
51097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51098 alloca.
51099 * include/alloca.h (extend_alloca_account): Define.
51100
78e64fdc
RT
51101 [BZ #11857]
51102 * posix/regex.h: Fix comments with documentation of user-accessible
51103 fields after compilation and describe correct free'ing of pattern
51104 after re_compile_pattern.
51105 Patch by Reuben Thomas <rrt@sc3d.org>.
51106
457bddfc
RA
511072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51108
51109 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51110 and -mno-altivec to prevent the compiler from using Altivec and/or
51111 VSX instructions when the corresponding registers are not available.
51112
a4527b51
AS
511132011-05-19 Andreas Schwab <schwab@redhat.com>
51114
51115 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51116
ed690b2f
UD
511172011-05-19 Ulrich Drepper <drepper@gmail.com>
51118
51119 * libio/freopen.c (freopen): Use __dup2, not dup2.
51120 * libio/freopen64.c (freopen64): Likewise.
51121
8db73634
L
511222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51123
51124 [BZ #12775]
51125 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51126 * math/Makefile (tests): Add test-powl.
51127 (CFLAGS-test-powl.c): Define.
51128 * math/test-powl.c: New file.
51129
0a197a9d
L
511302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51131
51132 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51133
ee30c380
UD
511342011-05-17 Ulrich Drepper <drepper@gmail.com>
51135
51136 [BZ #11837]
51137 * iconvdata/gb18030.c: Update to GB18020-2005.
51138
6ce75379
UD
511392011-05-16 Ulrich Drepper <drepper@gmail.com>
51140
a4b89fd8
AR
51141 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51142 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51143 Patch by Aharon Robbins <arnold@skeeve.com>.
51144
ea389b12
UD
51145 [BZ #11892]
51146 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51147 on the stack.
51148
68a3f91f
UD
51149 [BZ #11895]
51150 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51151 through underflows.
51152
15cc7dd1
UD
51153 [BZ #12766]
51154 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51155 point to strings before performing equality test for error_one_per_line
51156 mode.
51157
f3799213
UD
51158 [BZ #11697]
51159 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51160
d79a9c94
UD
51161 [BZ #11820]
51162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51163 (struct user_fpregs_struct): Avoid __uint*_t types.
51164
56e5eb46
UD
51165 [BZ #6420]
51166 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51167 symbol info. Use it instead of calling _dl_addr locally.
51168 (lock_and_info): New function.
51169 (tr_freehook): Call lock_and_info and pass symbol info as additional
51170 parameter to tr_where.
51171 (tr_mallochook): Likewise.
51172 (tr_reallochook): Likewise.
51173 (tr_memalignhook): Likewise.
51174
6ce75379
UD
51175 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51176 used and couldn't be at all thread-safe.
51177
f8a3b5bf
UD
511782011-05-15 Ulrich Drepper <drepper@gmail.com>
51179
94b7cc37
UD
51180 * libio/freopen.c (freopen): Don't close old file descriptor
51181 before the new one is opened. Instead dup the new file descriptor
51182 to the old one after the new stream is created.
51183 * libio/freopen64.c (freopen64): Likewise.
51184 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51185 * libio/fileops.c (_IO_new_file_close_it): Handle new
51186 _IO_FLAGS2_NOCLOSE flag.
51187 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51188 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51189 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51190 _IO_FLAGS2_NOCLOSE flag.
51191 * include/unistd.h: Add hidden_proto for dup3.
51192 Define __have_dup3.
51193 * io/dup3.c: Define hidden symbol.
51194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51195
bd25564e
UD
51196 [BZ #7101]
51197 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51198 when an incomplete long option is used.
51199 * posix/tst-getopt_long1.c: New file.
51200 * posix/Makefile (tests): Add tst-getopt_long1.
51201
c84cfef4
UD
51202 [BZ #10138]
51203 * scripts/config.guess: Update from autoconf-2.68.
51204 * scripts/config.sub: Likewise.
51205
3b85df27
UD
51206 [BZ #10157]
51207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51208 tests into ...
51209 (has_cpuclock): ...this. New function.
51210 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51211 macro here based on has_cpuclock code.
51212
15a856b1
UD
51213 [BZ #10149]
51214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51215 First byte (not low byte) is now always NUL.
51216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51217
05f399e6
UD
51218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51219 Use non-cancelable interfaces.
51220
10a52685 51221 [BZ #9809]
94ecc67d
UD
51222 * locale/iso-639.def: Add entry for Sorani.
51223
f8a3b5bf
UD
51224 [BZ #11901]
51225 * include/stdlib.h: Move include protection to the right place.
51226 Define abort_msg_s. Declare __abort_msg with it.
51227 * stdlib/abort.c (__abort_msg): Adjust type.
51228 * assert/assert.c (__assert_fail_base): New function. Majority
51229 of code from __assert_fail. Allocate memory for __abort_msg with
51230 mmap.
51231 (__assert_fail): Now call __assert_fail_base.
51232 * assert/assert-perr.c: Remove bulk of implementation. Use
51233 __assert_fail_base.
51234 * include/assert.hL Declare __assert_fail_base.
51235 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51236 mmap.
51237 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51238
1af4e298
UD
512392011-05-14 Ulrich Drepper <drepper@gmail.com>
51240
f8a3b5bf 51241 [BZ #11952]
d26dfc60
MG
51242 [BZ #12453]
51243 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51244 until all modules are registered in the DTV.
51245 * elf/Makefile: Add rules to build and run tst-tls19.
51246 * elf/tst-tls19.c: New file.
51247 * elf/tst-tls19mod1.c: New file.
51248 * elf/tst-tls19mod2.c: New file.
51249 * elf/tst-tls19mod3.c: New file.
51250 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51251
2fc54d6f
UD
51252 [BZ #12083]
51253 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51254 correctly.
51255
98d76b46
UD
51256 [BZ #12601]
51257 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51258 two-byte sequence errors.
51259 * iconvdata/Makefile (tests): Add bug-iconv8.
51260 * iconvdata/bug-iconv8.c: New file.
51261
da3c19ef
UD
51262 [BZ #12626]
51263 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51264 buf2 definition.
51265
ca408c15
UD
51266 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51267
d6f67f7d
UD
51268 [BZ #12432]
51269 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51270 (dummy_getcfa): New function.
51271 (init): Get _Unwind_GetCFA address, use dummy if not found.
51272 (backtrace_helper): In recursion check, also check whether CFA changes.
51273 (__backtrace): Completely initialize arg.
51274
1af4e298 51275 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51276 storing incomplete byte sequence in state object. Avoid testing for
51277 guaranteed too small input if we know there is enough data available.
1af4e298 51278
da62f81b
AS
512792011-05-11 Andreas Schwab <schwab@redhat.com>
51280
51281 * Makeconfig (+link-pie): Indent.
51282 * Rules (binaries-pie): Define if $(have-fpie) and
51283 $(build-shared).
51284 (binaries-shared): Also filter out $(binaries-pie).
51285 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51286 * nscd/Makefile (others-pie): Add nscd.
51287 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51288 ($(objpfx)nscd): Remove command override.
51289 * login/Makefile (others-pie): Add pt_chown.
51290 ($(objpfx)pt_chown): Remove command override.
51291 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51292 remove command overrides.
51293
fcabc0f8
UD
512942011-05-13 Ulrich Drepper <drepper@gmail.com>
51295
20030ae6
UD
51296 * libio/tst_putwc.c: Fix error messages.
51297
fcabc0f8
UD
51298 [BZ #12724]
51299 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51300 currently writing and seek to current position when not.
51301 * libio/Makefile (tests): Add bug-fclose1.
51302 * libio/bug-fclose1.c: New file.
51303
320a5dc0
PB
513042011-05-12 Ulrich Drepper <drepper@gmail.com>
51305
51306 [BZ #12511]
51307 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51308 don't set DF_1_NODELETE here.
51309 (do_lookup_x): When entering new entry test for copy relocation
51310 and if necessary set DF_1_NODELETE flag.
51311 * elf/tst-unique4.cc: New file.
51312 * elf/tst-unique4.h: New file.
51313 * elf/tst-unique4lib.cc: New file.
51314 * elf/Makefile: Add rules to build and run tst-unique4.
51315 Patch by Piotr Bury <pbury@goahead.com>.
51316
22836f52
UD
513172011-05-11 Ulrich Drepper <drepper@gmail.com>
51318
f574184a
UD
51319 [BZ #12052]
51320 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51321
e1fb097f
UD
51322 [BZ #12625]
51323 * misc/mntent_r.c (addmntent): Flush the stream after the output
51324
22836f52
UD
51325 [BZ #12393]
51326 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51327 (is_trusted_path_normalize): Skip initial colon. Append slash
51328 to empty buffer. Duplicate is_trusted_path code but allow
51329 constructed patch to be prefix.
51330 (is_dst): Allow $ORIGIN followed by /.
51331 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51332 Correct testing of result of is_trusted_path_normalize
51333 (decompose_rpath): Fix warning.
51334
7b3b0b2a
UD
513352011-05-10 Ulrich Drepper <drepper@gmail.com>
51336
51337 [BZ #11257]
51338 * grp/initgroups.c (internal_getgrouplist): When we found the service
51339 list through the initgroups entry in nsswitch.conf do not always
51340 continue on a successful lookup. Don't always use the
eac80ce2 51341 __nss_group_database value if it is set.
7b3b0b2a
UD
51342 * nss/nsswitch.conf (initgroups): Change action for successful db
51343 lookup to continue for compatibility.
51344
2a81eaa5
UD
513452011-05-09 Ulrich Drepper <drepper@gmail.com>
51346
be97a69e
UD
51347 [BZ #11532]
51348 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51349 and CP774 modules.
51350 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51351 and CP774 modules.
51352 * iconvdata/tst-tables.sh: Likewise.
51353 * iconvdata/cp770.c: New file.
51354 * iconvdata/cp771.c: New file.
51355 * iconvdata/cp772.c: New file.
51356 * iconvdata/cp773.c: New file.
51357 * iconvdata/cp774.c: New file.
51358 * iconvdata/testdata/CP770: New file.
51359 * iconvdata/testdata/CP770..UTF8: New file.
51360 * iconvdata/testdata/CP771: New file.
51361 * iconvdata/testdata/CP771..UTF8: New file.
51362 * iconvdata/testdata/CP772: New file.
51363 * iconvdata/testdata/CP772..UTF8: New file.
51364 * iconvdata/testdata/CP773: New file.
51365 * iconvdata/testdata/CP773..UTF8: New file.
51366 * iconvdata/testdata/CP774: New file.
51367 * iconvdata/testdata/CP774..UTF8: New file.
51368
51369 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51370 END CHARMAP line.
51371 * iconvdata/gen-8bit-gap.sh: Likewise.
51372 * iconvdata/gen-8bit.sh: Likewise.
51373
c1e9e399
UD
51374 * locale/iso-639.def: Add ary entry.
51375
24c55fb3 51376 [BZ #11258]
96b4b1b0
UD
51377 * locale/C-translit.h.in: Add U20A1 transliteration.
51378
bdc2f971
KB
51379 [BZ #12178]
51380 * locale/iso-639.def: Add wae entry.
51381 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51382
2952b117
UD
51383 [BZ #12545]
51384 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51385 for n.
51386
2a81eaa5
UD
51387 [BZ #12711]
51388 * locale/C-translit.h.in: Add entry for U20B9.
51389 Patch by pravin.d.s@gmail.com.
51390
28377d1b
UD
513912011-05-08 Ulrich Drepper <drepper@gmail.com>
51392
7fb90fb8
UD
51393 [BZ #12713]
51394 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51395 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51396 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51397 in rtld. Use *stat64.
7fb90fb8 51398 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51399 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51400 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51401 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51402 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51403 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51404 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51405 __fstatat64 macros.
7fb90fb8
UD
51406 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51407 * dirent/rewinddir.c: Add libc_hidden_def.
51408 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51409 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51410
28377d1b
UD
51411 * include/dirent.h (__alloc_dir): Add flags parameter.
51412 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51413 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51414 __alloc_dir.
51415 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51416 from fdopendir if O_CLOEXEC is already set.
51417
66bdbaa4
AM
514182011-03-15 Alan Modra <amodra@gmail.com>
51419
51420 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51421 l_tls_firstbyte_offset non-zero. Save padding offset in
51422 l_tls_firstbyte_offset for later use.
51423 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51424 freeing static tls block.
51425
95721191
JN
514262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51427
51428 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51429 where #ifdef was intended. The intent is to prevent ARG_MAX from
51430 being defined by the kernel headers.
51431
f87dfb1f
UD
514322011-05-07 Ulrich Drepper <drepper@gmail.com>
51433
51434 [BZ #12734]
51435 * resolv/resolv.h: Define RES_NOTLDQUERY.
51436 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51437 no-tld-query and set RES_NOTLDQUERY.
51438 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51439 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51440 modern BIND to search name as TLD unless forbidden.
51441
47c3cd7a
UD
514422011-05-07 Petr Baudis <pasky@suse.cz>
51443 Ulrich Drepper <drepper@gmail.com>
51444
51445 [BZ #12393]
51446 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51447 (is_trusted_path): ...to here.
c1e9ea35 51448 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51449 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51450 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51451
8a35c912
PP
514522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51453
51454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51455 __BEGIN/__END_DECLS.
51456
acd41f47
UD
514572011-05-06 Ulrich Drepper <drepper@gmail.com>
51458
51459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51460 NSS_STATUS_NOTFOUND if no record was found.
51461
597df647
AS
514622011-05-05 Andreas Schwab <schwab@redhat.com>
51463
51464 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51465 (headers-not-in-tirpc): Remove rpc/netdb.h
51466 * resolv/netdb.h: Revert last change.
51467
b9af1301
PP
514682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51469
51470 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51471 circular dependency between libgcc.a and libc.a.
51472
4e34d5f5
AS
514732011-05-05 Andreas Schwab <schwab@redhat.com>
51474
51475 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51476 * nis/Makefile: Don't install rpcsvc/*.
51477 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51478 instead of <rpc/types.h>.
51479 (MAXHOSTNAMELEN): Define.
51480
00ee369c
AS
514812011-05-03 Andreas Schwab <schwab@redhat.com>
51482
51483 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51484
0b592a30
MB
514852011-04-28 Maciej Babinski <mbabinski@google.com>
51486
51487 [BZ #12714]
51488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51489 gethostbyname4_r when IPv6 results are possible.
51490
6e04cbbe
UD
514912011-05-02 Ulrich Drepper <drepper@gmail.com>
51492
51493 [BZ #12723]
51494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51495 _PC_PIPE_BUF handling.
51496
e4ecafe0
BH
514972011-04-30 Bruno Haible <bruno@clisp.org>
51498
51499 [BZ #12717]
51500 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51501 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51502 to 'int'.
51503 * inet/getnameinfo.c (getnameinfo): Likewise.
51504
125ee683
UD
515052011-04-29 Ulrich Drepper <drepper@gmail.com>
51506
51507 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51508 to groups setting in database lookup.
51509 * nss/nsswitch.conf: Add initgroups entry.
51510
b722481a
EB
515112011-04-22 Ulrich Drepper <drepper@gmail.com>
51512
51513 [BZ #12685]
51514 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51515 mode string.
51516 Patch by Eric Blake <eblake@redhat.com>.
51517
4df46dbd
L
515182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51519
51520 * sunrpc/Makefile (need-export-routines): Add svc_run.
51521 (routines): Remove svc_run.
51522 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51523 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51524 * sunrpc/svc_run.c (svc_run): Likewise.
51525 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51526
e84142d2
UD
515272011-04-21 Ulrich Drepper <drepper@gmail.com>
51528
51529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51530 problem in reallocation in last patch.
51531
877175d8
UD
515322011-04-20 Ulrich Drepper <drepper@gmail.com>
51533
51534 * sunrpc/Makefile: Move inclusion of Rules.
51535
ab8eed78
UD
515362011-04-19 Ulrich Drepper <drepper@gmail.com>
51537
51538 * nss/nss_files/files-initgroups.c: New file.
51539 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51540 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51541 _nss_files_initgroups_dyn.
51542
e3d8f584
RS
515432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51544
51545 * elf/elf.h (R_ARM_IRELATIVE): Define.
51546
af190f45
UD
515472011-04-19 Ulrich Drepper <drepper@gmail.com>
51548
51549 * po/ru.po: Update from translation team.
51550
53cf59ef
UD
515512011-04-17 Ulrich Drepper <drepper@gmail.com>
51552
51553 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51554 dependencies.
51555
4c559bcd
MF
515562011-02-06 Mike Frysinger <vapier@gentoo.org>
51557
51558 [BZ #12653]
51559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51560 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51564
4420675c
AS
515652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51566
51567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51568 differing bytes.
51569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51572
75ea32ab
UD
515732011-04-17 Ulrich Drepper <drepper@gmail.com>
51574
51575 [BZ #12420]
51576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51577 storing it.
51578 * stdlib/bug-getcontext.c: New file.
51579 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51580
27390476
AK
515812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51582
51583 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51584 instructions into .machine "z9-109".
51585 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51586 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51587
10442705
AK
515882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51589
51590 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51591 between environment variables and auxiliary vector.
51592
7b57bfe5
UD
515932011-04-16 Ulrich Drepper <drepper@gmail.com>
51594
51595 * Makefile: Add rules to build linkobj/libc.so.
51596 * include/libc-symbols.h: Define libc_hidden_nolink.
51597 * include/rpc/auth.h: Mark functions which are to be hidden.
51598 * include/rpc/auth_des.h: Likewise.
51599 * include/rpc/auth_unix.h: Likewise.
51600 * include/rpc/clnt.h: Likewise.
51601 * include/rpc/des_crypt.h: Likewise.
51602 * include/rpc/key_prot.h: Likewise.
51603 * include/rpc/pmap_clnt.h: Likewise.
51604 * include/rpc/pmap_prot.h: Likewise.
51605 * include/rpc/pmap_rmt.h: Likewise.
51606 * include/rpc/rpc_msg.h: Likewise.
51607 * include/rpc/svc.h: Likewise.
51608 * include/rpc/svc_auth.h: Likewise.
51609 * include/rpc/xdr.h: Likewise.
51610 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51611 * nss/Makefile: Likewise.
51612 * sunrpc/Makefile: Don't install headers. Build library with normal
51613 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51614 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51615 for the compat linking library. Remove use of INTDEF/INTUSE.
51616 * sunrpc/auth_none.c: Likewise.
51617 * sunrpc/auth_unix.c: Likewise.
51618 * sunrpc/authdes_prot.c: Likewise.
51619 * sunrpc/authuxprot.c: Likewise.
51620 * sunrpc/clnt_gen.c: Likewise.
51621 * sunrpc/clnt_perr.c: Likewise.
51622 * sunrpc/clnt_raw.c: Likewise.
51623 * sunrpc/clnt_simp.c: Likewise.
51624 * sunrpc/clnt_tcp.c: Likewise.
51625 * sunrpc/clnt_udp.c: Likewise.
51626 * sunrpc/clnt_unix.c: Likewise.
51627 * sunrpc/des_crypt.c: Likewise.
51628 * sunrpc/des_soft.c: Likewise.
51629 * sunrpc/get_myaddr.c: Likewise.
51630 * sunrpc/key_call.c: Likewise.
51631 * sunrpc/key_prot.c: Likewise.
51632 * sunrpc/netname.c: Likewise.
51633 * sunrpc/pm_getmaps.c: Likewise.
51634 * sunrpc/pm_getport.c: Likewise.
51635 * sunrpc/pmap_clnt.c: Likewise.
51636 * sunrpc/pmap_prot.c: Likewise.
51637 * sunrpc/pmap_prot2.c: Likewise.
51638 * sunrpc/pmap_rmt.c: Likewise.
51639 * sunrpc/publickey.c: Likewise.
51640 * sunrpc/rpc_cmsg.c: Likewise.
51641 * sunrpc/rpc_common.c: Likewise.
51642 * sunrpc/rpc_dtable.c: Likewise.
51643 * sunrpc/rpc_prot.c: Likewise.
51644 * sunrpc/rpc_thread.c: Likewise.
51645 * sunrpc/rtime.c: Likewise.
51646 * sunrpc/svc.c: Likewise.
51647 * sunrpc/svc_auth.c: Likewise.
51648 * sunrpc/svc_authux.c: Likewise.
51649 * sunrpc/svc_raw.c: Likewise.
51650 * sunrpc/svc_run.c: Likewise.
51651 * sunrpc/svc_simple.c: Likewise.
51652 * sunrpc/svc_tcp.c: Likewise.
51653 * sunrpc/svc_udp.c: Likewise.
51654 * sunrpc/svc_unix.c: Likewise.
51655 * sunrpc/svcauth_des.c: Likewise.
51656 * sunrpc/xcrypt.c: Likewise.
51657 * sunrpc/xdr.c: Likewise.
51658 * sunrpc/xdr_array.c: Likewise.
51659 * sunrpc/xdr_float.c: Likewise.
51660 * sunrpc/xdr_intXX_t.c: Likewise.
51661 * sunrpc/xdr_mem.c: Likewise.
51662 * sunrpc/xdr_rec.c: Likewise.
51663 * sunrpc/xdr_ref.c: Likewise.
51664 * sunrpc/xdr_sizeof.c: Likewise.
51665 * sunrpc/xdr_stdio.c: Likewise.
51666
e6c61494
UD
516672011-04-10 Ulrich Drepper <drepper@gmail.com>
51668
51669 [BZ #12650]
51670 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51671 * sysdeps/ia64/dl-tls.h: Likewise.
51672 * sysdeps/powerpc/dl-tls.h: Likewise.
51673 * sysdeps/s390/dl-tls.h: Likewise.
51674 * sysdeps/sh/dl-tls.h: Likewise.
51675 * sysdeps/sparc/dl-tls.h: Likewise.
51676 * sysdeps/x86_64/dl-tls.h: Likewise.
51677 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51678
34fe483e
AS
516792011-03-14 Andreas Schwab <schwab@redhat.com>
51680
51681 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51682 rpath element also skip the following colon.
51683 (expand_dynamic_string_token): Add is_path parameter and pass
51684 down to DL_DST_REQUIRED and _dl_dst_substitute.
51685 (decompose_rpath): Call expand_dynamic_string_token with
51686 non-zero is_path. Ignore empty rpaths.
51687 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51688 with zero is_path.
51689
f12a32e6
AS
516902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51691
51692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51693 Make cancelable.
51694
38a7d692
UD
516952011-04-09 Ulrich Drepper <drepper@gmail.com>
51696
51697 [BZ #12655]
51698 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51699 Patch by Filipe David Manana <fdmanana@apache.org>.
51700
e451d22b
AS
517012011-04-07 Andreas Schwab <schwab@redhat.com>
51702
51703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51704 Maintain aligned stack.
51705 (CHECK_RSP): Remove unused macro.
51706
dedc7c7b
UD
517072011-04-03 Ulrich Drepper <drepper@gmail.com>
51708
51709 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51711
94521213
UD
517122011-04-02 Ulrich Drepper <drepper@gmail.com>
51713
51714 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51715
8cb700c0 51716 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51717
0354e355
L
517182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51719
51720 [BZ #12518]
51721 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51722 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51723 * sysdeps/x86_64/memmove.c: New file.
51724 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51725 (memcpy): Renamed to ...
51726 (__new_memcpy): This.
51727 (memcpy): Provide GLIBC_2_14 memcpy.
51728 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51729 (memcpy): Provide GLIBC_2_2_5 memcpy.
51730
8593482f
UD
517312011-04-01 Ulrich Drepper <drepper@gmail.com>
51732
51733 [BZ #12631]
51734 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51735
81a5726b
AS
517362011-03-30 Andreas Schwab <schwab@redhat.com>
51737
51738 * misc/syncfs.c: New file.
51739 * misc/Makefile (routines): Add syncfs.
51740 * posix/unistd.h: Declare syncfs.
51741 * sysdeps/unix/syscalls.list: Add syncfs.
51742
00e5419f
AS
517432011-04-01 Andreas Schwab <schwab@redhat.com>
51744
51745 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51746 open_by_handle_at.
51747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51754
748876bf
UD
517552011-04-01 Ulrich Drepper <drepper@gmail.com>
51756
658e451d
UD
51757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51764
748876bf
UD
51765 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51766 sync_file_range.c with -fexceptions.
51767 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51768 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51769 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51770 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51771 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51774 sync_file_range as cancellation point
51775 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51776 now a wrapper around __call_sync_file_range with cancellation handling.
51777 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51779 function name to __call_sync_file_range.
51780 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51781 Add call_sync_file_range.
748876bf 51782
6e63d5e1
AS
517832011-04-01 Andreas Schwab <schwab@redhat.com>
51784
51785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51786 bits/timex.h.
6e63d5e1 51787
46998f74
UD
517882011-04-01 Ulrich Drepper <drepper@gmail.com>
51789
4c1423ed
UD
51790 * iconv/iconv.h: Fix typo in comment.
51791 * io/fcntl.h: Likewise.
51792 * libio/stdio.h: Likewise.
51793 * posix/spawn.h: Likewise.
51794 * posix/unistd.h: Likewise.
51795 * stdlib/stdlib.h: Likewise.
51796 * time/time.h: Likewise.
51797 * wcsmbs/wchar.h: Likewise.
51798
158648c0
UD
51799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51800 open_by_handle): Add.
51801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51802 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51803 Augment a few comments.
51804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51809 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51810 open_by_handle.
51811
46998f74
UD
51812 * io/fcntl.h (AT_EMPTY_PATH): Define.
51813
83fe108b
UD
518142011-03-30 Ulrich Drepper <drepper@gmail.com>
51815
51816 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51817 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51818 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51819 to...
51820 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
51821 * Versions.def: Add GLIBC_2.14.
51822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51823 Export.
83fe108b 51824
bb242059
UD
518252011-03-22 Ulrich Drepper <drepper@gmail.com>
51826
51827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51828 round counter.
51829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51830
c97a1282
L
518312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51832
51833 [BZ #12597]
51834 * string/test-strncmp.c (do_page_test): New function.
51835 (check2): Likewise.
51836 (test_main): Call check2.
51837 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51838
2a115601
UD
518392011-03-20 Ulrich Drepper <drepper@gmail.com>
51840
51841 [BZ #12587]
51842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51843 Handle cache information in CPU leaf 4.
51844 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51845
8126d904
UD
518462011-03-18 Ulrich Drepper <drepper@gmail.com>
51847
042c49c6 51848 [BZ #12583]
8126d904
UD
51849 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51850 character representation.
51851 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51852
ccfe366e
RA
518532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51854
51855 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51856 END(__isnan) to END(__isnanf) to match function entry point/label
51857 EALIGN(__isnanf,...).
51858
c6e13027
JJ
518592011-03-10 Jakub Jelinek <jakub@redhat.com>
51860
51861 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51862
33f85a3f
UD
518632011-03-10 Ulrich Drepper <drepper@gmail.com>
51864
028478fa
UD
51865 [BZ #12510]
51866 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51867 copy from the symbol referenced in the relocation to initialize the
51868 used variable.
51869 Patch by Piotr Bury <pbury@goahead.com>.
51870 * elf/Makefile: Add rules to build and tst-unique3.
51871 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51872 * elf/tst-unique3.cc: New file.
51873 * elf/tst-unique3.h: New file.
51874 * elf/tst-unique3lib.cc: New file.
51875 * elf/tst-unique3lib2.cc: New file.
51876
33f85a3f
UD
51877 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51878
03592fc7
MF
518792011-03-10 Mike Frysinger <vapier@gentoo.org>
51880
51881 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51882 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51883 to _start.
03592fc7 51884
6a5ee102
UD
518852011-03-06 Ulrich Drepper <drepper@gmail.com>
51886
51887 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51888 to-be-loaded object along a path to loader is ld.so.
51889
7e4ba49c
HJ
518902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51891 Ulrich Drepper <drepper@gmail.com>
51892
51893 * sysdeps/x86_64/memset.S: After aligning destination, code
51894 branches to different locations depending on the value of
51895 misalignment, when multiarch is enabled. Fix this.
51896
518972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51898
51899 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51900 Set _x86_64_preferred_memory_instruction for AMD processsors.
51901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51902 Set bit_Prefer_SSE_for_memop for AMD processors.
51903
13a804de
UD
519042011-03-04 Ulrich Drepper <drepper@gmail.com>
51905
51906 * libio/fmemopen.c (fmemopen): Optimize a bit.
51907
9d25c392
AS
519082011-03-03 Andreas Schwab <schwab@redhat.com>
51909
51910 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51911
a5543c6a
RM
519122011-03-03 Roland McGrath <roland@redhat.com>
51913
51914 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51915
012d35f7
DM
519162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51917
7e4ba49c 51918 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
51919 __bzero_ultra1 instead of __memset_ultra1.
51920
4bff6e01
AS
519212011-02-23 Andreas Schwab <schwab@redhat.com>
51922 Ulrich Drepper <drepper@gmail.com>
51923
51924 [BZ #12509]
51925 * include/link.h (struct link_map): Add l_orig_initfini.
51926 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51927 returning unsuccessfully.
51928 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51929 close of a file loaded at startup, restore the original l_initfini
51930 list.
51931 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51932 list, store the pointer.
51933 * elf/Makefile ($(objpfx)noload-mem): New rule.
51934 (noload-ENV): Define.
51935 (tests): Add $(objpfx)noload-mem.
51936 * elf/noload.c: Include <memcheck.h>.
51937 (main): Call mtrace. Close all opened handles.
51938
f2092faf
AS
519392011-02-17 Andreas Schwab <schwab@redhat.com>
51940
51941 [BZ #12454]
51942 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51943 dependencies are missing.
51944
6c8a2e88
ST
519452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51946
f2092faf 51947 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
51948 Hurd needs munmap.
51949 * sysdeps/mach/hurd/ifreq.h: New file.
51950
84a42118
PB
519512011-01-27 Petr Baudis <pasky@suse.cz>
51952 Ulrich Drepper <drepper@gmail.com>
51953
071f805e 51954 [BZ 12445]#
84a42118
PB
51955 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51956 to extend_alloca().
51957 * stdio-common/bug23.c: New file.
51958 * stdio-common/Makefile (tests): Add bug23.
51959
e23fe25b
AS
519602010-09-28 Andreas Schwab <schwab@redhat.com>
51961 Ulrich Drepper <drepper@gmail.com>
51962
51963 [BZ #12489]
51964 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51965 before performing relro protection. At old place add assertion
51966 to make sure nothing changed.
51967
d3f02e10
NS
519682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51969 Glauber de Oliveira Costa <glommer@gmail.com>
51970
51971 * elf/elf.h: Add new ARM TLS relocs.
51972
d55fd7a5
RA
519732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51974
51975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51976 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51977 cast from r3.
51978 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51979 'tests' variable.
51980 * sysdeps/wordsize-64/tst-writev.c: New file.
51981
2206397e
RA
519822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51983
51984 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51985 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51986 insns in _dl_start to prevent a TOC reference before relocs are
51987 resolved.
51988
e9433893
UD
519892011-02-15 Ulrich Drepper <drepper@gmail.com>
51990
51991 [BZ #12469]
51992 * Makeconfig: Remove RANLIB definition.
51993 * Makerules: Don't use RANLIB.
51994 * aclocal.m4: Remove ranlib test.
51995 * configure.in: No need to check for ranlib.
51996 * elf/rtld-Rules: Don't use RANLIB.
51997
f75286c6
ST
519982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51999
8e31c82d
ST
52000 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52001 protection macro.
52002 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52003 inclusion protection macro.
52004
f75286c6
ST
52005 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52006 SIGRTMIN and SIGRTMAX and print information in that case only when
52007 SIGRTMIN is defined.
52008
c1d0e639
JJ
520092011-02-11 Jakub Jelinek <jakub@redhat.com>
52010
52011 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52012 arginfo fn returning -1.
52013
52014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52015 and thousands string is zero terminated.
52016
edf9294e
AS
520172011-02-03 Andreas Schwab <schwab@redhat.com>
52018
52019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52020 sysdeps/unix/sysv/linux/bits/socket.h.
52021
2b7e92df
ST
520222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52023
edf9294e
AS
52024 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52025 (__CPU_COUNT): Remove old macros.
52026 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52027 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52028 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52029 (__sched_cpualloc, __sched_cpufree): Add declarations.
52030
a4c7ea7b
UD
520312011-02-05 Ulrich Drepper <drepper@gmail.com>
52032
52033 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52034 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52035 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52036 (readdhstai): Return value of addhstaiX call.
52037 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52038 (addgrbyX): Return value returned by cache_addgr.
52039 (readdgrbyname): Return value returned by addgrbyX.
52040 (readdgrbygid): Likewise.
52041 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52042 (addpwbyX): Return value returned by cache_addpw.
52043 (readdpwbyname): Return value returned by addhstbyX.
52044 (readdpwbyuid): Likewise.
52045 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52046 (addservbyX): Return value returned by cache_addserv.
52047 (readdservbyname): Return value returned by addservbyX:
52048 (readdservbyport): Likewise.
52049 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52050 (addhstbyX): Return value returned by cache_addhst.
52051 (readdhstbyname): Return value returned by addhstbyX.
52052 (readdhstbyaddr): Likewise.
52053 (readdhstbynamev6): Likewise.
52054 (readdhstbyaddrv6): Likewise.
52055 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52056 (readdinitgroups): Return value returned by addinitgroupsX.
52057 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52058 (prune_cache): Keep track of timeout value of re-added entries.
52059 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52060 * nscd/nscd.h: Adjust prototypes of readd* functions.
52061
a0bf67cc
RM
520622011-02-04 Roland McGrath <roland@redhat.com>
52063
52064 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52065 (nis_stats): Likewise.
52066 * nis/nis_modify.c (nis_modify): Likewise.
52067 * nis/nis_remove.c (nis_remove): Likewise.
52068 * nis/nis_add.c (nis_add): Likewise.
52069
52070 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52071
52072 * posix/fnmatch_loop.c: Add some consts.
52073
52074 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52075
435b95eb
L
520762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52077
52078 [BZ #12460]
52079 * config.make.in (config-cflags-novzeroupper): Define.
52080 * configure.in: Substitute libc_cv_cc_novzeroupper.
52081 * elf/Makefile (AVX-CFLAGS): Define.
52082 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52083 (CFLAGS-tst-auditmod4a.c): Likewise.
52084 (CFLAGS-tst-auditmod4b.c): Likewise.
52085 (CFLAGS-tst-auditmod6b.c): Likewise.
52086 (CFLAGS-tst-auditmod6c.c): Likewise.
52087 (CFLAGS-tst-auditmod7b.c): Likewise.
52088 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52089
8517b15e
UD
520902011-02-02 Ulrich Drepper <drepper@gmail.com>
52091
52092 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52093 function to the callback.
52094 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52095
10a656fe
AS
520962011-02-02 Andreas Schwab <schwab@redhat.com>
52097
52098 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52099 of errno.
52100
968dad0a
UD
521012011-01-19 Ulrich Drepper <drepper@gmail.com>
52102
9f94d2ea 52103 [BZ #11724]
968dad0a
UD
52104 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52105 of constructors.
52106 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52107 of destructors.
52108 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52109
52110 [BZ #11724]
52111 * elf/Makefile: Add rules to build and run new test.
52112 * elf/tst-initorder.c: New file.
52113 * elf/tst-initorder.exp: New file.
52114 * elf/tst-initordera1.c: New file.
52115 * elf/tst-initordera2.c: New file.
52116 * elf/tst-initordera3.c: New file.
52117 * elf/tst-initordera4.c: New file.
52118 * elf/tst-initorderb1.c: New file.
52119 * elf/tst-initorderb2.c: New file.
52120 * elf/tst-order-a1.c: New file.
52121 * elf/tst-order-a2.c: New file.
52122 * elf/tst-order-a3.c: New file.
52123 * elf/tst-order-a4.c: New file.
52124 * elf/tst-order-b1.c: New file.
52125 * elf/tst-order-b2.c: New file.
52126 * elf/tst-order-main.c: New file.
52127 New test case by George Gensure <werkt0@gmail.com>.
52128
86e92359
UD
521292010-10-01 Andreas Schwab <schwab@redhat.com>
52130
52131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52132 decoding ACE if AI_CANONIDN.
52133
5d5732b0
UD
521342011-01-18 Ulrich Drepper <drepper@gmail.com>
52135
52136 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52137
a77e8cbc
UD
521382011-01-17 Ulrich Drepper <drepper@gmail.com>
52139
6392473f
UD
52140 * version.h (RELEASE): Bump for 2.13 release.
52141 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52142
620a0529
UD
52143 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52144
18ba70a5
UD
52145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52146 MADV_NOHUGEPAGE.
32465c3e
UD
52147 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52153
c0dafcf1
UD
52154 * posix/getconf.c: Update copyright year.
52155 * catgets/gencat.c: Likewise.
52156 * csu/version.c: Likewise.
52157 * debug/catchsegv.sh: Likewise.
52158 * debug/xtrace.sh: Likewise.
52159 * elf/ldconfig.c: Likewise.
52160 * elf/ldd.bash.in: Likewise.
52161 * elf/sprof.c (print_version): Likewise.
52162 * iconv/iconv_prog.c: Likewise.
52163 * iconv/iconvconfig.c: Likewise.
52164 * locale/programs/locale.c: Likewise.
52165 * locale/programs/localedef.c: Likewise.
52166 * malloc/memusage.sh: Likewise.
52167 * malloc/mtrace.pl: Likewise.
52168 * nscd/nscd.c (print_version): Likewise.
52169 * nss/getent.c: Likewise.
52170
a77e8cbc
UD
52171 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52172 PF_CAIF, and PF_ALG.
52173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52174
77e8bddf
AS
521752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52176
1f20b93a
AS
52177 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52178 (modules-names): Use them.
52179 (ifunc-test-modules, ifunc-pie-tests): Define.
52180 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52181 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52182 (test-extras): Likewise.
52183 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52184 $(compile-command.c).
52185 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52186 (all-built-dso): Define.
52187 (check-textrel.out, check-execstack.out): Depend on it.
52188
77e8bddf
AS
52189 * configure.in: Don't override --enable-multi-arch.
52190
bc425b33
UD
521912011-01-15 Ulrich Drepper <drepper@gmail.com>
52192
52193 [BZ #6812]
52194 * nscd/hstcache.c (tryagain): Define.
52195 (cache_addhst): Return tryagain not notfound for temporary errors.
52196 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52197 failed.
52198
794c3ad3
UD
521992011-01-14 Ulrich Drepper <drepper@gmail.com>
52200
70181fdd
UD
52201 [BZ #10563]
52202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52203 to make the syscall.
52204 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52205
794c3ad3
UD
52206 [BZ #12378]
52207 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52208 and fall back to matching as normal character if the string ends before
52209 the matching ']' is found. This is what POSIX requires.
52210 * posix/testfnm.c: Adjust test result.
52211 * posix/globtest.sh: Adjust test result. Add new test.
52212 * posix/tst-fnmatch.input: Likewise.
52213 * posix/tst-fnmatch2.c: Add new test.
52214
68dc9497
AS
522152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52216
52217 * elf/Makefile (check-execstack): Revert last change. Depend on
52218 check-execstack.h.
52219 (check-execstack.h): New target.
52220 (generated): Add check-execstack.h.
52221 * elf/check-execstack.c: Include "check-execstack.h".
52222 (main): Revert last change.
52223 (handle_file): Return zero if GNU_STACK is absent and
52224 DEFAULT_STACK_PERMS doesn't include PF_X.
52225
451f001b
UD
522262011-01-13 Ulrich Drepper <drepper@gmail.com>
52227
cfa28e56
UD
52228 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52229 in child fails because the descriptor is already closed.
8cf8ce17
UD
52230 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52231 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52232 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52233
1086d70d
UD
52234 [BZ #12397]
52235 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52236 syscall.
52237
451f001b
UD
52238 [BZ #10484]
52239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52240 temporary buffer used to handle multi lookups locally.
a85b5cb4 52241 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52242
08769175
UD
522432011-01-12 Ulrich Drepper <drepper@gmail.com>
52244
52245 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52246 loader is ld.so.
52247
5e49c52e
UD
522482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52249
52250 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52251 alignment for SSE2.
52252
60522a5f
UD
522532011-01-12 Ulrich Drepper <drepper@gmail.com>
52254
52255 [BZ #12394]
52256 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52257 characters. When rounding increased number of integer digits recompute
52258 number of groups.
52259 * stdio-common/tst-grouping.c: New file.
52260 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52261
f257bbd7
UD
522622011-01-09 Ulrich Drepper <drepper@gmail.com>
52263
52264 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52265 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52266
52267 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52268 void.
52269 * bits/select.h: Likewise.
52270
fa9c15cb
UD
522712011-01-08 Ulrich Drepper <drepper@gmail.com>
52272
52273 * po/ja.po: Update from translation team.
52274
16c2895f
DM
522752011-01-04 David S. Miller <davem@sunset.davemloft.net>
52276
52277 [BZ #11155]
52278 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52279 implementation just like for lxstat, fxstatat, et al.
52280
2543fef2
JM
522812010-12-27 Jim Meyering <meyering@redhat.com>
52282
52283 [BZ #12348]
52284 * posix/regexec.c (build_trtable): Return failure indication upon
52285 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52286
98727dbe
UD
522872010-12-25 Ulrich Drepper <drepper@gmail.com>
52288
5bd6dc5c
UD
52289 [BZ #12201]
52290 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52291 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52294
97983464
UD
52295 [BZ #12207]
52296 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52297
98727dbe
UD
52298 [BZ #12204]
52299 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52300 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52301
4a531bb0
L
523022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52303
52304 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52305 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52306 script has SORT_BY_INIT_PRIORITY.
52307 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52308 NO_CTORS_DTORS_SECTIONS is defined.
52309 * elf/soinit.c: Likewise.
52310 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52311 NO_CTORS_DTORS_SECTIONS is defined.
52312 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52313 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52314 * sysdeps/sh/init-first.c: Likewise.
52315 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52316
07eb4b71
UD
523172010-12-24 Ulrich Drepper <drepper@gmail.com>
52318
52319 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52320 always use the slow path.
52321
30950a5f
RA
523222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52323
52324 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52325 similar rule which adds the sysdep directories to the header search in
52326 order to pick up the correct platform stackinfo.h.
52327 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52328 perform test if it is, otherwise return successfully without testing.
52329 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52330 DEFAULT_STACK_PERMS define in stackinfo.h.
52331 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52332 defined in stackinfo.h.
52333 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52334 DEFAULT_STACK_PERMS defined in stackinfo.h.
52335 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52336 * sysdeps/ia64/stackinfo.h: Likewise.
52337 * sysdeps/s390/stackinfo.h: Likewise.
52338 * sysdeps/sh/stackinfo.h: Likewise.
52339 * sysdeps/sparc/stackinfo.h: Likewise.
52340 * sysdeps/x86_64/stackinfo.h: Likewise.
52341 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52342 PF_X for powerpc64. Retain PF_X for powerpc32.
52343
db753e2c
UD
523442010-12-19 Ulrich Drepper <drepper@gmail.com>
52345
14b697f7
UD
52346 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52347 accurately.
db753e2c
UD
52348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52349 GETDENTS_64BIT_ALIGNED.
52350
28300719
UD
523512010-12-14 Ulrich Drepper <dreper@gmail.com>
52352
14b697f7 52353 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52354
4f197237
AS
523552010-12-10 Andreas Schwab <schwab@redhat.com>
52356
dbb0472f
AS
52357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52358 _GNU_SOURCE.
52359
4f197237
AS
52360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52361 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52362 Remove __restrict.
52363 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52364 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52365
fb88ac72
UD
523662010-12-09 Ulrich Drepper <drepper@gmail.com>
52367
52368 [BZ #11655]
52369 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52370 are initialized.
52371
42acbb92
JJ
523722010-12-09 Jakub Jelinek <jakub@redhat.com>
52373
52374 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52375
c038d98d
UD
523762010-12-03 Ulrich Drepper <drepper@gmail.com>
52377
52378 * po/it.po: Update from translation team.
52379
3a4a2499
L
523802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52381
52382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52383 unused codes.
52384
1e24cf6e
UD
523852010-11-30 Ulrich Drepper <drepper@gmail.com>
52386
52387 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52388
a7690819
AS
523892010-11-24 Andreas Schwab <schwab@redhat.com>
52390
52391 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52392 specially.
52393 (gaih_getanswer_slice): Likewise.
52394
3bf8d1b1
JJ
523952010-10-20 Jakub Jelinek <jakub@redhat.com>
52396
52397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52398
6db52fbb
PB
523992010-05-31 Petr Baudis <pasky@suse.cz>
52400
52401 [BZ #11149]
52402 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52403 silently even in the chroot mode.
52404
eaca7569
UD
524052010-11-22 Ulrich Drepper <drepper@gmail.com>
52406
52407 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52408 last patch a bit. Pretty printing
52409
3056dcdb
UD
524102010-05-31 Petr Baudis <pasky@suse.cz>
52411
52412 [BZ #10085]
52413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52414 initialization of skip_initgroups_dyn.
52415
cf7c9078
UD
524162010-11-19 Ulrich Drepper <drepper@gmail.com>
52417
52418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52420
a1fb5e3e
UD
524212010-11-16 Ulrich Drepper <drepper@gmail.com>
52422
52423 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52424
3540d66b
AS
524252010-11-11 Andreas Schwab <schwab@redhat.com>
52426
52427 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52428 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52429 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52430 ($(objpfx)tst-fnmatch-mem): New rule.
52431 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52432 * posix/tst-fnmatch.c (main): Call mtrace.
52433
13b69574
L
524342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52435
52436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52437 Support Intel processor model 6 and model 0x2c.
52438
da93d214
LM
524392010-11-10 Luis Machado <luisgpm@br.ibm.com>
52440
52441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52442 signed comparison.
52443
8ca52c6e
L
524442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52445
52446 [BZ #12205]
52447 * string/test-strncasecmp.c (check_result): New function.
52448 (do_one_test): Use it.
52449 (check1): New function.
52450 (test_main): Use it.
52451 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52452 Support strcasecmp and strncasecmp.
52453
69da074d
UD
524542010-11-08 Ulrich Drepper <drepper@gmail.com>
52455
52456 [BZ #12194]
52457 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52459
ff02d528
L
524602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52461
52462 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52463 IFUNC support.
52464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52465 memset-x86-64.
52466 * sysdeps/x86_64/multiarch/bzero.S: New file.
52467 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52468 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52469 * sysdeps/x86_64/multiarch/memset.S: New file.
52470 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52472 Set bit_Prefer_SSE_for_memop for Intel processors.
52473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52474 Define.
52475 (index_Prefer_SSE_for_memop): Define.
52476 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52477
344d0b54
LM
524782010-11-04 Luis Machado <luisgpm@br.ibm.com>
52479
52480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52482
c0dde15b
UD
524832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52484
52485 [BZ #12191]
52486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52487 (__x86_64_raw_data_cache_size_half): Likewise.
52488 (__x86_64_raw_shared_cache_size): Likewise.
52489 (__x86_64_raw_shared_cache_size_half): Likewise.
52490
52491 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52492 (__x86_64_raw_data_cache_size_half): Likewise.
52493 (__x86_64_raw_shared_cache_size): Likewise.
52494 (__x86_64_raw_shared_cache_size_half): Likewise.
52495 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52496 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52497 and __x86_64_raw_shared_cache_size_half. Round
52498 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52499 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52500 to multiple of 256 bytes.
52501
0e516e0e
MS
525022010-11-03 Ulrich Drepper <drepper@gmail.com>
52503
52504 [BZ #12167]
52505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52506 of inacessible symlinks. Verify result of symlink before returning it.
52507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52508 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52509
0e012e87
ER
525102010-10-28 Erich Ritz <erichritz@gmail.com>
52511
52512 * math/math.h (isinf): Fix typo in comment.
52513
de0ff7bc
UD
525142010-11-01 Ulrich Drepper <drepper@gmail.com>
52515
52516 * po/da.po: Update from translation team.
52517
fa41c84d
UD
525182010-10-26 Ulrich Drepper <drepper@gmail.com>
52519
52520 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52521 is added to the list.
52522
f0967738
AK
525232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52524 Ulrich Drepper <drepper@gmail.com>
52525
52526 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52527 the global list here. Move code to...
52528 (_dl_add_to_namespace_list): ...here. New function.
52529 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52530 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52531 * elf/dl-load.c (lose): Don't remove the element from the list.
52532 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52533 (_dl_map_object): Likewise.
52534
525352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52536
52537 [BZ #12159]
52538 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52539 into all bytes of SSE register.
52540 Patch by Richard Li <richardpku@gmail.com>.
52541
f0967738 525422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52543
52544 [BZ #12140]
52545 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52546 perturbing.
52547
d0b9e94f
MB
525482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52549
52550 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52551 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52555 submachine.
52556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52557
8e9f92e9
AS
525582010-10-22 Andreas Schwab <schwab@redhat.com>
52559
52560 * include/dlfcn.h (__RTLD_SECURE): Define.
52561 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52562 mode & __RTLD_SECURE instead.
52563 (open_path): Rename preloaded parameter to secure.
52564 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52565 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52566 * elf/dl-deps.c (openaux): Likewise.
52567 * elf/rtld.c (struct map_args): Remove is_preloaded.
52568 (map_doit): Don't use it.
52569 (dl_main): Likewise.
52570 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52571 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52572
bc96fbda
AS
525732010-09-09 Andreas Schwab <schwab@redhat.com>
52574
52575 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52576 (sysd-rules-targets): Remove duplicates.
52577 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52578 rtld-%.$o dependency.
52579
22cd1c9b
AS
525802010-10-18 Andreas Schwab <schwab@redhat.com>
52581
52582 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52583 _dl_map_object do it.
52584
18edac48
UD
525852010-10-19 Ulrich Drepper <drepper@gmail.com>
52586
52587 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52588 fast fma builtins, define the macros in the C99 standard.
52589 (FP_FAST_FMAF): Likewise.
52590 (FP_FAST_FMAL): Likewise.
52591 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52592
52593 * bits/mathdef.h: Update copyright year.
52594 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52595
d2050124
MM
525962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52597
52598 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52599 builtins, define the macros in the C99 standard.
52600 (FP_FAST_FMAF): Likewise.
52601 (FP_FAST_FMAL): Likewise.
52602 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52603 multiply/add.
52604 (FP_FAST_FMAF): Likewise.
52605
475facd1
JJ
526062010-10-15 Jakub Jelinek <jakub@redhat.com>
52607
52608 [BZ #3268]
52609 * math/libm-test.inc (fma_test): Some new testcases.
52610 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52612 y and infinite z. Do multiplication by C already in long double.
52613 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52615 y and infinite z. Do bitwise or of inexact bit into u.d.
52616 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52617 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52618 * sysdeps/i386/fpu/s_fma.S: Removed.
52619 * sysdeps/i386/fpu/s_fmal.S: Removed.
52620
7c08a05c
JJ
526212010-10-16 Jakub Jelinek <jakub@redhat.com>
52622
52623 [BZ #3268]
52624 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52626 computation is not scheduled after fetestexcept. Fix value
52627 of minimum denormal long double.
52628
f3f7372d
JJ
526292010-10-14 Jakub Jelinek <jakub@redhat.com>
52630
52631 [BZ #3268]
52632 * math/libm-test.inc (fma_test): Add some more tests.
52633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52634 correctly.
52635
14d43591
AS
526362010-10-15 Andreas Schwab <schwab@redhat.com>
52637
52638 * scripts/data/localplt-s390-linux-gnu.data: New file.
52639 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52640
5e908464
JJ
526412010-10-13 Jakub Jelinek <jakub@redhat.com>
52642
52643 [BZ #3268]
52644 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52645 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52646 instead of dbl-64.
52647 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52648 inlines.
52649 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52651 if one of x and y is very large and the other is subnormal.
52652 * sysdeps/s390/fpu/s_fmaf.c: New file.
52653 * sysdeps/s390/fpu/s_fma.c: New file.
52654 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52655 * sysdeps/powerpc/fpu/s_fma.S: New file.
52656 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52657 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52658 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52659
526602010-10-12 Jakub Jelinek <jakub@redhat.com>
52661
52662 [BZ #3268]
52663 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52664 fma tests.
52665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52666 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52667 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52668 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52669 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52670 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52672
b833d51f
UD
526732010-10-12 Ulrich Drepper <drepper@redhat.com>
52674
52675 [BZ #12078]
52676 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52677 * posix/bug-regex31.input: Add test case.
52678
1751705d
UD
526792010-10-11 Ulrich Drepper <drepper@gmail.com>
52680
e9b9cbf5
UD
52681 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52682 * posix/bug-regex31.input: New file.
52683
52684 [BZ #12078]
52685 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52686 (parse_sub_exp): Fix last change, use postorder.
52687
ef06edbe
UD
52688 * posix/bug-regex31.c: New file.
52689 * posix/Makefile: Add rules to build and run bug-regex31.
52690
a129c80d
UD
52691 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52692
52693 [BZ #12078]
52694 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52695
b76b818e
UD
52696 [BZ #12108]
52697 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52698 to have entries in sys_siglist.
52699
1751705d
UD
52700 [BZ #12093]
52701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52702 be NULL.
52703
9ff8d36f
JJ
527042010-10-07 Jakub Jelinek <jakub@redhat.com>
52705
52706 [BZ #3268]
52707 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52708 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52709 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52710 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52712 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52713 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52714 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52715 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52716 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52717 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52719 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52720 * math/ftestexcept.c (fetestexcept): Likewise.
52721 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52722 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52723 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52725 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52726 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52728
af325969
UD
527292010-10-11 Ulrich Drepper <drepper@gmail.com>
52730
c579b202 52731 [BZ #12107]
af325969
UD
52732 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52733 newline.
52734
67a67b95
UD
527352010-10-06 Ulrich Drepper <drepper@gmail.com>
52736
52737 * string/bug-strstr1.c: New file.
52738 * string/Makefile: Add rules to build and run bug-strstr1.
52739
5fb308bc
EB
527402010-10-05 Eric Blake <eblake@redhat.com>
52741
52742 [BZ #12092]
52743 * string/str-two-way.h (two_way_long_needle): Always clear memory
52744 when skipping input due to the shift table.
52745
45db99c7
UD
527462010-10-03 Ulrich Drepper <drepper@gmail.com>
52747
3b111893
UD
52748 [BZ #12005]
52749 * malloc/mcheck.c: Handle large requests.
52750
45db99c7
UD
52751 [BZ #12077]
52752 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52753 for strncmp and strncasecmp.
52754 * string/stratcliff.c: Add tests for strcmp and strncmp.
52755 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52756
cf7a1eb8
NI
527572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52758
52759 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52760 __set_fpscr.
52761
6484ba5e
AJ
527622010-09-30 Andreas Jaeger <aj@suse.de>
52763
52764 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52765 (CGROUP_SUPER_MAGIC): Define.
52766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52767 Handle btrfs and cgroup file systems.
52768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52769 Likewise.
52770
91c42559
LM
527712010-09-27 Luis Machado <luisgpm@br.ibm.com>
52772
52773 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52774 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52775
87a97932
AK
527762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52777
52778 [BZ #12067]
52779 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52780 trying to locate the ELF header.
52781
c21cc9bc
AS
527822010-09-27 Andreas Schwab <schwab@redhat.com>
52783
52784 [BZ #11611]
52785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52786 Mask out sign-bit copies when constructing f_fsid.
52787
315970f6
PB
527882010-09-24 Petr Baudis <pasky@suse.cz>
52789
52790 * debug/stack_chk_fail_local.c: Add missing licence exception.
52791 * debug/warning-nop.c: Likewise.
52792
1ac7a2c7
JM
527932010-09-15 Joseph Myers <joseph@codesourcery.com>
52794
52795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52796 implementing getdents64 using getdents syscall, set d_type if
52797 __ASSUME_GETDENTS32_D_TYPE.
52798
56801c50
AS
527992010-09-16 Andreas Schwab <schwab@redhat.com>
52800
52801 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52802 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52803
dda51327
UD
528042010-09-21 Ulrich Drepper <drepper@redhat.com>
52805
52806 [BZ #12037]
52807 * posix/unistd.h: Undo change of feature selection for ftruncate from
52808 2010-01-11.
52809
8ffcee4a
UD
528102010-09-20 Ulrich Drepper <drepper@redhat.com>
52811
a545ecd9 52812 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
52813 detection.
52814
e24f0a8b
AS
528152010-09-20 Andreas Schwab <schwab@redhat.com>
52816
52817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52818 fanotify_mark.
52819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52820
7291c56f
AS
528212010-09-14 Andreas Schwab <schwab@redhat.com>
52822
52823 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52824 variables after CHECK_SP call.
52825 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52826
bc5fb037
AS
528272010-09-13 Andreas Schwab <schwab@redhat.com>
52828 Ulrich Drepper <drepper@redhat.com>
52829
52830 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52831 re-relocationg ld.so.
52832 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52833 _dl_init_paths call.
52834 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52835 here anymore.
52836
e66e7419
UD
528372010-09-14 Ulrich Drepper <drepper@redhat.com>
52838
52839 * resolv/res_init.c (__res_vinit): Count the default server we added.
52840
c044aa75
CLT
528412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52842 Ulrich Drepper <drepper@redhat.com>
52843
52844 [BZ #11968]
52845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52846 (____longjmp_chk): Use %ebx for saving value across system call.
52847 Add unwind info.
52848
32cf4069
AS
528492010-09-06 Andreas Schwab <schwab@redhat.com>
52850
52851 * manual/Makefile: Don't mix pattern rules with normal rules.
52852
817328ee
AS
528532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52854
52855 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52856 operation.
52857 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52858 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52859 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52862 Likewise.
52863
29fddf61
UD
528642010-09-04 Ulrich Drepper <drepper@redhat.com>
52865
52866 [BZ #11979]
52867 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52868 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52869
0959ffc9
UD
528702010-09-02 Ulrich Drepper <drepper@redhat.com>
52871
52872 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52873 * sysdeps/x86_64/addmul_1.S: Likewise.
52874 * sysdeps/x86_64/lshift.S: Likewise.
52875 * sysdeps/x86_64/mul_1.S: Likewise.
52876 * sysdeps/x86_64/rshift.S: Likewise.
52877 * sysdeps/x86_64/sub_n.S: Likewise.
52878 * sysdeps/x86_64/submul_1.S: Likewise.
52879
ece29840
ST
528802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52881
0959ffc9
UD
52882 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52883 Define __sched_param instead of SCHED_* and sched_param when
ece29840 52884 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 52885 * bits/sched.h [__need_schedparam]
ece29840 52886 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
52887 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52888 (__defined_schedparam): Define to 1.
ece29840
ST
52889 (__sched_param): New structure, identical to sched_param.
52890 (__need_schedparam): Undefine.
52891
e53a31fe
MF
528922010-08-31 Mike Frysinger <vapier@gentoo.org>
52893
fdc0c10d
MF
52894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52895 (epoll_create1): Declare.
52896
e53a31fe
MF
52897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52898
a726d796
AS
528992010-08-31 Andreas Schwab <schwab@redhat.com>
52900
52901 [BZ #7066]
52902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52903 shifting retval into place.
52904
2f3e3dc7
UD
529052010-09-01 Ulrich Drepper <drepper@redhat.com>
52906
f2933da9
UD
52907 * nis/rpcsvc/nis.h: Update copyright notice.
52908 * nis/rpcsvc/nis.x: Likewise.
52909 * nis/rpcsvc/nis_callback.h: Likewise.
52910 * nis/rpcsvc/nis_callback.x: Likewise.
52911 * nis/rpcsvc/nis_object.x: Likewise.
52912 * nis/rpcsvc/nis_tags.h: Likewise.
52913 * nis/rpcsvc/yp.h: Likewise.
52914 * nis/rpcsvc/yp.x: Likewise.
52915 * nis/rpcsvc/ypupd.h: Likewise.
52916 * nis/yp_xdr.c: Likewise.
52917 * nis/ypupdate_xdr.c: Likewise.
52918
2f3e3dc7
UD
52919 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52920 mainly the body of pmap_getport. Add parameters to specify timeouts.
52921 (pmap_getport): Use __libc_rpc_getport.
52922 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52923 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52924 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52925
f3dcc2f9
AS
529262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52927
52928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52929 fanotify_mark.
52930
6d34eb5b
RM
529312010-08-27 Roland McGrath <roland@redhat.com>
52932
52933 * sysdeps/i386/i686/multiarch/Makefile
52934 (CFLAGS-varshift.c): New variable.
52935
9ea3de11
UD
529362010-08-27 Ulrich Drepper <drepper@redhat.com>
52937
c96d23fc
UD
52938 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52939 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52940
9ea3de11
UD
52941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52942
52943 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52944
623aac7f
L
529452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52946
52947 * sysdeps/x86_64/strlen.S: Unroll the loop.
52948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52949 strlen-sse2 strlen-sse2-bsf.
52950 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52951 __strlen_no_bsf if bit_Slow_BSF is set.
52952 (__strlen_sse42): Removed.
52953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52954 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52955
8b2b7715
RM
529562010-08-25 Roland McGrath <roland@redhat.com>
52957
52958 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52959 * sysdeps/x86_64/multiarch/varshift.c: New file.
52960 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52961 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52962 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52964
e73015f2
L
529652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52966
52967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52968 strlen-sse2 strlen-sse2-bsf.
52969 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52970 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52971 (__strlen_sse2): Removed.
52972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52975 bit_Slow_BSF for Atom.
52976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52977 (index_Slow_BSF): Define.
52978 (HAS_SLOW_BSF): Define.
52979
df24a73e
UD
529802010-08-25 Ulrich Drepper <drepper@redhat.com>
52981
52982 [BZ #10851]
52983 * resolv/res_init.c (__res_vinit): When no server address at all
52984 is given default to loopback.
52985
f2ac4868
RM
529862010-08-24 Roland McGrath <roland@redhat.com>
52987
09055553
RM
52988 * configure.in: Remove config-name.h generation.
52989 * configure: Regenerated.
52990 * config-name.in: File removed.
52991 * scripts/config-uname.sh: New file.
52992 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52993 ($(objdir)config-name.h): New target.
52994
f2ac4868
RM
52995 * sunrpc/rpc_parse.h: Avoid nested comment.
52996
73f27d5e
RH
529972010-08-24 Richard Henderson <rth@redhat.com>
52998 Ulrich Drepper <drepper@redhat.com>
52999 H.J. Lu <hongjiu.lu@intel.com>
53000
53001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53003 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53004 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53005 _mm_alignr_epi8 with _mm_loadu_si128.
53006 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53007 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53008 (__m128i_shift_right): Removed.
53009 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53010 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53011 * sysdeps/x86_64/multiarch/varshift.h: New file.
53012 * sysdeps/x86_64/multiarch/varshift.S: New file.
53013
84b9230c
MF
530142010-08-21 Mike Frysinger <vapier@gentoo.org>
53015
53016 * configure.in: Move assembler checks to before sysdep dir checking.
53017
9bbd0ddc
PB
530182010-08-20 Petr Baudis <pasky@suse.cz>
53019
53020 * LICENSES: Sync the sunrpc license.
53021
9da4bb31
UD
530222010-08-19 Ulrich Drepper <drepper@redhat.com>
53023
a7ab6ec8
UD
53024 * sunrpc/auth_des.c: Update copyright notice once again.
53025 * sunrpc/auth_none.c: Likewise.
53026 * sunrpc/auth_unix.c: Likewise.
53027 * sunrpc/authdes_prot.c: Likewise.
53028 * sunrpc/authuxprot.c: Likewise.
53029 * sunrpc/bindrsvprt.c: Likewise.
53030 * sunrpc/clnt_gen.c: Likewise.
53031 * sunrpc/clnt_perr.c: Likewise.
53032 * sunrpc/clnt_raw.c: Likewise.
53033 * sunrpc/clnt_simp.c: Likewise.
53034 * sunrpc/clnt_tcp.c: Likewise.
53035 * sunrpc/clnt_udp.c: Likewise.
53036 * sunrpc/clnt_unix.c: Likewise.
53037 * sunrpc/des_crypt.c: Likewise.
53038 * sunrpc/des_soft.c: Likewise.
53039 * sunrpc/get_myaddr.c: Likewise.
53040 * sunrpc/getrpcport.c: Likewise.
53041 * sunrpc/key_call.c: Likewise.
53042 * sunrpc/key_prot.c: Likewise.
53043 * sunrpc/openchild.c: Likewise.
53044 * sunrpc/pm_getmaps.c: Likewise.
53045 * sunrpc/pm_getport.c: Likewise.
53046 * sunrpc/pmap_clnt.c: Likewise.
53047 * sunrpc/pmap_prot.c: Likewise.
53048 * sunrpc/pmap_prot2.c: Likewise.
53049 * sunrpc/pmap_rmt.c: Likewise.
53050 * sunrpc/rpc/auth.h: Likewise.
53051 * sunrpc/rpc/auth_unix.h: Likewise.
53052 * sunrpc/rpc/clnt.h: Likewise.
53053 * sunrpc/rpc/des_crypt.h: Likewise.
53054 * sunrpc/rpc/key_prot.h: Likewise.
53055 * sunrpc/rpc/netdb.h: Likewise.
53056 * sunrpc/rpc/pmap_clnt.h: Likewise.
53057 * sunrpc/rpc/pmap_prot.h: Likewise.
53058 * sunrpc/rpc/pmap_rmt.h: Likewise.
53059 * sunrpc/rpc/rpc.h: Likewise.
53060 * sunrpc/rpc/rpc_des.h: Likewise.
53061 * sunrpc/rpc/rpc_msg.h: Likewise.
53062 * sunrpc/rpc/svc.h: Likewise.
53063 * sunrpc/rpc/svc_auth.h: Likewise.
53064 * sunrpc/rpc/types.h: Likewise.
53065 * sunrpc/rpc/xdr.h: Likewise.
53066 * sunrpc/rpc_clntout.c: Likewise.
53067 * sunrpc/rpc_cmsg.c: Likewise.
53068 * sunrpc/rpc_common.c: Likewise.
53069 * sunrpc/rpc_cout.c: Likewise.
53070 * sunrpc/rpc_dtable.c: Likewise.
53071 * sunrpc/rpc_hout.c: Likewise.
53072 * sunrpc/rpc_main.c: Likewise.
53073 * sunrpc/rpc_parse.c: Likewise.
53074 * sunrpc/rpc_parse.h: Likewise.
53075 * sunrpc/rpc_prot.c: Likewise.
53076 * sunrpc/rpc_sample.c: Likewise.
53077 * sunrpc/rpc_scan.c: Likewise.
53078 * sunrpc/rpc_scan.h: Likewise.
53079 * sunrpc/rpc_svcout.c: Likewise.
53080 * sunrpc/rpc_tblout.c: Likewise.
53081 * sunrpc/rpc_util.c: Likewise.
53082 * sunrpc/rpc_util.h: Likewise.
53083 * sunrpc/rpcinfo.c: Likewise.
53084 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53085 * sunrpc/rpcsvc/key_prot.x: Likewise.
53086 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53087 * sunrpc/rpcsvc/mount.x: Likewise.
53088 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53089 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53090 * sunrpc/rpcsvc/rex.x: Likewise.
53091 * sunrpc/rpcsvc/rstat.x: Likewise.
53092 * sunrpc/rpcsvc/rusers.x: Likewise.
53093 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53094 * sunrpc/rpcsvc/spray.x: Likewise.
53095 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53096 * sunrpc/rtime.c: Likewise.
53097 * sunrpc/svc.c: Likewise.
53098 * sunrpc/svc_auth.c: Likewise.
53099 * sunrpc/svc_authux.c: Likewise.
53100 * sunrpc/svc_raw.c: Likewise.
53101 * sunrpc/svc_run.c: Likewise.
53102 * sunrpc/svc_simple.c: Likewise.
53103 * sunrpc/svc_tcp.c: Likewise.
53104 * sunrpc/svc_udp.c: Likewise.
53105 * sunrpc/svc_unix.c: Likewise.
53106 * sunrpc/svcauth_des.c: Likewise.
53107 * sunrpc/xcrypt.c: Likewise.
53108 * sunrpc/xdr.c: Likewise.
53109 * sunrpc/xdr_array.c: Likewise.
53110 * sunrpc/xdr_float.c: Likewise.
53111 * sunrpc/xdr_mem.c: Likewise.
53112 * sunrpc/xdr_rec.c: Likewise.
53113 * sunrpc/xdr_ref.c: Likewise.
53114 * sunrpc/xdr_sizeof.c: Likewise.
53115 * sunrpc/xdr_stdio.c: Likewise.
53116
9da4bb31
UD
53117 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53118 handling.
53119
bdaa77bc
AS
531202010-08-19 Andreas Schwab <schwab@redhat.com>
53121
53122 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53123
fe2f79db
LM
531242010-08-19 Luis Machado <luisgpm@br.ibm.com>
53125
53126 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53129 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53131 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53133 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53135 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53136 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53138 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53139 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53140
b9b42ee0
AB
531412010-07-26 Anton Blanchard <anton@samba.org>
53142
53143 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53144 * malloc/arena.c (heap_trim): Likewise.
53145
1c06ba31
UD
531462010-08-16 Ulrich Drepper <drepper@redhat.com>
53147
53148 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53149 here. Not...
53150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53151 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53152
f8392f40
L
531532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53154
53155 * sysdeps/i386/elf/Makefile: New file.
53156
3162f12e
AS
531572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53158
53159 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53160 from fanotify_init.
53161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53163
28c90b2c
UD
531642010-08-15 Ulrich Drepper <drepper@redhat.com>
53165
53166 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53167 of strncasecmp_l.
1feccb6c 53168 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53169
ca6bb004
UD
531702010-08-14 Ulrich Drepper <drepper@redhat.com>
53171
e9f82e0d
UD
53172 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53173 strncase_l-nonascii.
53174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53175 Add strncase_l-ssse3.
53176 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53177 * sysdeps/x86_64/strcmp.S: Likewise.
53178 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53179 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53180 * sysdeps/x86_64/strncase.S: New file.
53181 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53182 * sysdeps/x86_64/strncase_l.S: New file.
53183 * string/Makefile (strop-tests): Add strncasecmp.
53184 * string/test-strncasecmp.c: New file.
53185
53186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53187 warning.
53188
ca6bb004
UD
53189 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53191
052fa7b3
AS
531922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53193
53194 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53195
962dba78
UD
531962010-08-12 Ulrich Drepper <drepper@redhat.com>
53197
53198 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53201
bebff237
AM
532022010-05-01 Alan Modra <amodra@gmail.com>
53203
53204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53205 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53206 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53207 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53208 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53209 tidying. Don't tail-call __sigjmp_save for static lib.
53210 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53211 save location.
53212 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53213 (CALL_MCOUNT): Add eh info, and nop after bl.
53214 (TAIL_CALL_SYSCALL_ERROR): New macro.
53215 (PSEUDO_RET): Use it.
53216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53217 Correct save location of integer regs and cr.
53218 (_dl_profile_resolve): Correct cr save location. Delete nops
53219 after bl when SHARED. Reduce cfi size a little by better
53220 placement of cfi directives.
53221 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53222 make a stack frame. Instead use parm save area as a temp.
53223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53224 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53226 Don't make a stack frame for parent, use parm save area.
53227 Increase child stack frame to 112 bytes. Don't save unused reg,
53228 and adjust reg usage. Set up cfi on error recovery and
53229 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53231 (__makecontext): Add dummy nop after jump to exit.
53232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53233 Use correct parm save area and cr save, reduce stack frame.
53234 Correct cfi for possible PSEUDO_RET frame setup.
53235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53236 Branch to local label emitted by PSEUDO_RET rather than
53237 __syscall_error.
53238
02637374
AS
532392010-08-12 Andreas Schwab <schwab@redhat.com>
53240
53241 [BZ #11904]
53242 * locale/programs/locale.c (print_assignment): New function.
53243 (show_locale_vars): Use it.
53244
c3e2f19b
UD
532452010-08-11 Ulrich Drepper <drepper@redhat.com>
53246
3cdaa6ad
UD
53247 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53248 field.
53249 (struct statfs64): Likewise.
53250 (_STATFS_F_FLAGS): Define.
53251 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53253 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53254 (ST_VALID): Define locally.
53255 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53256 __statvfs_getflags, use the provided value.
53257 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53258 __ASSUME_STATFS_F_FLAGS.
53259
754f7da3
UD
53260 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53261
10b3bedc
UD
53262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53263 Add sys/fanotify.h.
53264 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53265 fanotify_mask for GLIBC_2.13.
53266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53267 fanotify_init and fanotify_mark.
53268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53269 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53270
c08fb0d7
UD
53271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53272 Add prlimit.
53273 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53274 prlimit64 for GLIBC_2.13.
53275 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53276 prlimit64.
53277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53278 syscall.
53279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53281 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53284 add prlimit alias.
53285 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53286
15bac72b
UD
53287 [BZ #11903]
53288 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53289 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53290
c3e2f19b
UD
53291 * nss/Makefile: Add rules to build and run tst-nss-test1.
53292 * shlib-versions: Add entry for libnss_test1.
53293 * nss/nss_test1.c: New file.
53294 * nss/tst-nss-test1.c: New file.
53295
53296 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53297 (__nss_configure_lookup): Set appropriate entry in
53298 __nss_configure_lookup to true.
53299 * nss/nsswitch.h: Define enum with indeces of databases in
53300 databases and __nss_database_custom arrays. Declare
53301 __nss_database_custom.
53302 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53303 to avoid using nscd when custom rules are installed.
53304 * nss/getXXbyYY_r.c: Likewise.
53305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53306
53307 * nss/nss_files/files-parse.c: Whitespace fixes.
53308
f15ce4d8
UD
533092010-08-09 Ulrich Drepper <drepper@redhat.com>
53310
53311 [BZ #11883]
53312 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53313 * posix/fnmatch_loop.c: Likewise.
53314
d22e4cc9
AK
533152010-07-17 Andi Kleen <ak@linux.intel.com>
53316
53317 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53318 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53319 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53320 * Versions.def [GLIBC_2.13]: Add.
53321
805bc17d
UD
533222010-08-06 Ulrich Drepper <drepper@redhat.com>
53323
53324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53325 Also fail if tpwd after pwuid call is NULL.
53326
5a42321d
ST
533272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53328
53329 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53330 when converting to ms.
53331
fd3ebeda
ST
533322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53333
53334 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53335 EOPNOTSUPP errors with ENOTTY.
53336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53337 EOPNOTSUPP errors with ENOTTY.
53338
73507d3a
UD
533392010-07-31 Ulrich Drepper <drepper@redhat.com>
53340
53341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53342 Add strcasecmp_l-ssse3.
53343 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53344 strcasecmp.
53345 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53348
fe36dd02
UD
533492010-07-30 Ulrich Drepper <drepper@redhat.com>
53350
66f6765a
UD
53351 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53352
42e08a54
UD
53353 * string/Makefile (strop-tests): Add strcasecmp.
53354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53355 strcasecmp_l-nonascii.
53356 (gen-as-const-headers): Add locale-defines.sym.
53357 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53358 * sysdeps/x86_64/strcasecmp.S: New file.
53359 * sysdeps/x86_64/strcasecmp_l.S: New file.
53360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53361 * sysdeps/x86_64/locale-defines.sym: New file.
53362 * string/test-strcasecmp.c: New file.
53363
fe36dd02
UD
53364 * string/test-strcasestr.c: Test both ends of the range of characters.
53365 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53366
48cbc0d6
RM
533672010-07-29 Roland McGrath <roland@redhat.com>
53368
76e6d6bc 53369 [BZ #11856]
48cbc0d6
RM
53370 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53371
880113d9
UD
533722010-07-27 Ulrich Drepper <drepper@redhat.com>
53373
53374 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53375 for ld.so.
53376
deb9cabb
AS
533772010-07-27 Andreas Schwab <schwab@redhat.com>
53378
53379 * manual/memory.texi (Malloc Tunable Parameters): Document
53380 M_PERTURB.
53381
1c7570ff
RM
533822010-07-26 Roland McGrath <roland@redhat.com>
53383
53384 [BZ #11840]
53385 * configure.in (-fgnu89-inline check): Set and substitute
53386 gnu89_inline, not libc_cv_gnu89_inline.
53387 * configure: Regenerated.
53388 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53389
24fb0f88
UD
533902010-07-26 Ulrich Drepper <drepper@redhat.com>
53391
53392 * string/test-strnlen.c: New file.
53393 * string/Makefile (strop-tests): Add strnlen.
53394 * string/tester.c (test_strnlen): Add a few more test cases.
53395 * string/tst-strlen.c: Better error reporting.
53396
53397 * sysdeps/x86_64/strnlen.S: New file.
53398
8e96b93a
UD
533992010-07-24 Ulrich Drepper <drepper@redhat.com>
53400
53401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53402 lower-latency instructions.
53403
dbc676d4
UD
534042010-07-23 Ulrich Drepper <drepper@redhat.com>
53405
53406 * string/test-strcasestr.c: New file.
53407 * string/test-strstr.c: New file.
53408 * string/Makefile (strop-tests): Add strstr and strcasestr.
53409 * string/str-two-way.h: Don't undefine MAX.
53410 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53411
f6a31e0e
AS
534122010-07-21 Andreas Schwab <schwab@redhat.com>
53413
53414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53415 strcasestr-nonascii.
53416 (CFLAGS-strcasestr-nonascii.c): Define.
53417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53419 Remove unused attribute.
53420
5dbc3b6c
RM
534212010-07-20 Roland McGrath <roland@redhat.com>
53422
53423 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53424 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53425 ld.so.cache was broken. With it, there is no way to disable dsocaps
53426 like LD_HWCAP_MASK can disable hwcaps.
53427
23d101d8
EPM
534282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53429
53430 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53431
cc9f2e47
UD
534322010-07-16 Ulrich Drepper <drepper@redhat.com>
53433
53434 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53435 call in strcasestr.
53436 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53437 __strcasestr_sse42_nonascii.
53438 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53439 strcasestr-nonascii.c.
53440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53441
77c1b069
LM
534422010-06-15 Luis Machado <luisgpm@br.ibm.com>
53443
53444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53448
440566c3
UD
534492010-07-09 Ulrich Drepper <drepper@redhat.com>
53450
53451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53452 fcntl.
53453
5be9d05d
AS
534542010-07-06 Andreas Schwab <schwab@redhat.com>
53455
c30b7ee2 53456 [BZ #11577]
5be9d05d
AS
53457 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53458 dl_signal_cerror.
53459
8a492a67
UD
534602010-07-06 Ulrich Drepper <drepper@redhat.com>
53461
53462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53463 _PC_PIPE_BUF using F_GETPIPE_SZ.
53464
713df3d5
RM
534652010-07-05 Roland McGrath <roland@redhat.com>
53466
53467 * manual/arith.texi (Rounding Functions): Fix rint description
53468 implicit in round description.
53469
702e8f14
UD
534702010-07-02 Ulrich Drepper <drepper@redhat.com>
53471
53472 * elf/Makefile: Fix linking for a few tests to make recent linker
53473 happy.
53474
52ed8be9
AS
534752010-06-30 Andreas Schwab <schwab@redhat.com>
53476
53477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53478 $(common-objpfx)libc_nonshared.a.
53479
f47c9a11
LM
534802010-06-21 Luis Machado <luisgpm@br.ibm.com>
53481
53482 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53483 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53484 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53485 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53486 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53488 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53489 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53504 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53505 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53506 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53507 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53508 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53509 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53510 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53511 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53512 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53513 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53514 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53515 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53530
6fb8cbcb
L
535312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53532
53533 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53534 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53535 * string/memmove.c (memmove): Renamed to ...
53536 (MEMMOVE): ...this. Default to memmove.
53537 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53538 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53539 (END_CHK): Define.
53540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53541 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53542 mempcpy-ssse3-back memmove-ssse3-back.
53543 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53546 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53547 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53548 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53549 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53550 * sysdeps/x86_64/multiarch/memmove.c: New file.
53551 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53552 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53553 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53554 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53555 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53557 Define.
53558 (index_Fast_Copy_Backward): Define.
53559 (HAS_ARCH_FEATURE): Define.
53560 (HAS_FAST_REP_STRING): Define.
53561 (HAS_FAST_COPY_BACKWARD): Define.
53562
4e733bac 535632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53564
53565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53566 Restore proper fallback handling.
53567
63c4ed22
UD
535682010-06-19 Ulrich Drepper <drepper@redhat.com>
53569
ac2b484c
UD
53570 [BZ #11701]
53571 * posix/group_member.c (__group_member): Correct checking loop.
53572
63c4ed22
UD
53573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53574 OOM in getpwuid_r correctly. Return error number when the caller
53575 should return, otherwise -1.
53576 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53577 call returning > 0 value.
53578 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53579
765ade4b
AS
535802010-06-07 Andreas Schwab <schwab@redhat.com>
53581
53582 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53583 libc_nonshared.a from targets in modules-names.
53584
80da2e09
KS
535852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53586
53587 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53588 requires it.
53589
158db122
LM
535902010-06-10 Luis Machado <luisgpm@br.ibm.com>
53591
53592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53596
caa78cf8
AS
535972010-06-02 Andreas Schwab <schwab@redhat.com>
53598
53599 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53600
b2ef2c01
UD
536012010-06-14 Ulrich Drepper <drepper@redhat.com>
53602
53603 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53604 and F_GETPIPE_SZ.
53605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53611
fbd643b6
RM
536122010-06-14 Roland McGrath <roland@redhat.com>
53613
53614 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53615
f32f2869
JJ
536162010-06-07 Jakub Jelinek <jakub@redhat.com>
53617
53618 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53619 __REDIRECT followed by __THROW.
53620 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53621 * posix/getopt.h (getopt): Likewise.
53622
2a50c078
EPM
536232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53624
53625 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53626 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53627 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53628 in AT_FLAGS.
53629 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53630 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53631
eb5ad2eb
LM
536322010-05-28 Luis Machado <luisgpm@br.ibm.com>
53633
53634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53635
3c88fe1e
L
536362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53637
53638 [BZ #11640]
53639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53640 Properly check family and model.
53641
d2f73151
TY
536422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53643
53644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53645
ebd2e13d
LM
536462010-05-24 Luis Machado <luisgpm@br.ibm.com>
53647
53648 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53649
b32b8b45
UD
536502010-05-21 Ulrich Drepper <drepper@redhat.com>
53651
53652 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53653 symbol reference.
53654
9acbe24d
AS
536552010-05-19 Andreas Schwab <schwab@redhat.com>
53656
53657 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53658 symbol reference.
53659
f0ccf6ea
AS
536602010-05-21 Andreas Schwab <schwab@redhat.com>
53661
3d04ff3a
AS
53662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53663 and internal_recvmmsg.
53664 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53665 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53667 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53668
f0ccf6ea
AS
53669 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53670 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53671 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53672
5b08ac57
AS
536732010-05-20 Andreas Schwab <schwab@redhat.com>
53674
53675 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53676
4828935d
LM
536772010-05-17 Luis Machado <luisgpm@br.ibm.com>
53678
53679 POWER7 optimizations.
53680 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53681 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53682
373d545e
UD
536832010-05-19 Ulrich Drepper <drepper@redhat.com>
53684
53685 * version.h: Update for 2.13 development version.
53686
21a2b1ae
AS
536872010-05-12 Andrew Stubbs <ams@codesourcery.com>
53688
53689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53690 exceptions. Return 0.
53691
3f7dcb2b
RM
536922010-05-07 Roland McGrath <roland@redhat.com>
53693
53694 * elf/ldconfig.c (main): Add a const.
53695
5f24d53a 536962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53697
a160f8d8
UD
53698 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53699 (args_options): Add no-idn option.
53700 (ahosts_keys_int): Add idn_flags to ai_flags.
53701 (parse_option): Handle 'i' option to clear idn_flags.
53702
5f24d53a
UD
53703 * malloc/malloc.c (_int_free): Possible race in the most recently
53704 added check. Only act on the data if no current modification
53705 happened.
265bb1ce
UD
53706
53707See ChangeLog.17 for earlier changes.